﻿.Email-History {
    max-height: 700px;
    overflow-y: auto;
}

.hover-pointer {
    cursor: pointer;
}
h4{
    color:dimgray;
}
.film-container {
    max-width: 960px;
    padding-left: 10px;
    padding-right: 10px;
    margin-left: auto;
    margin-right: auto;
    position: relative;
}

.input-error {
    border-color: red;
}

.icon-red {
    color: red;
}
.red-text *{color:red;}
.green-text * {
    color: green;
}
.gray-text * {
    color: #EEEEEE;
}
.btn-info {
    color: #fff;
    background-color: #5bc0de;
    border-color: #46b8da;
}

/* Size Variants */
.btn-sm {
    padding: 0.25rem 0.5rem;
    font-size: 0.875rem;
    border-radius: 0.2rem;
}

.btn-md {
    padding: 0.375rem 0.75rem;
    font-size: 1rem;
    border-radius: 0.25rem;
}

.btn-lg {
    padding: 0.5rem 1rem;
    font-size: 1.25rem;
    border-radius: 0.3rem;
}

thead.table-light {
    background: linear-gradient(to bottom, rgba(167, 199, 220, 1) 0%, rgba(133, 178, 211, 1) 100%)
    !important;
}

.table-hover tbody tr:nth-child(odd) {
    background-color: #f5f5f5; /* light gray */
}

.table-hover tbody tr:nth-child(even) {
    background-color: #ffffff; /* white */
}

.table-hover tbody tr:hover {
    background-color: #e0e0e0 !important;
}

button:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

#pagination-table {
    border-collapse: separate;
    border-spacing: 0;
}

    #pagination-table thead,
    #pagination-table tfoot {
        background-color: #f8f9fa; 
    }

#draft-table thead,
#draft-table tfoot {
    background-color: #f8f9fa; 
}

    #pagination-table tbody {
        display: block;
        max-height: 300px; /*  Set height of tbody */
        overflow-y: auto;
        width: 100%;
    }

        /* Wrapper for scrolling table body */


        #pagination-table thead,
        #pagination-table tfoot,
        #pagination-table tbody tr {
            display: table;
            width: 100%;
            table-layout: fixed; /* Prevent layout shifts */
        }

    #pagination-table th,
    #pagination-table td {
        overflow: hidden;
        text-overflow: ellipsis;        
    }
td {
    white-space: normal;
    word-wrap: break-word;
}
.btn-submit {
    width: 120px !important;
    -moz-border-radius: 3px !important;
    -webkit-border-radius: 3px !important;
    border: 1px solid #1771b7 !important;
    background-color: #1771b7 !important;
    color: #fff !important;
    padding: 0 10px 0 10px !important;
    font-size: 12px !important;
    margin-right: 10px !important;
}

.btn-submit-2 {
    width: 180px !important;
    -moz-border-radius: 3px !important;
    -webkit-border-radius: 3px !important;
    border: 1px solid #1771b7 !important;
    background-color: #1771b7 !important;
    color: #fff !important;
    padding: 4px 0.5px 4px 1px !important;
    font-size: 16px !important;
    margin-right: 10px !important;
}

.validation-error {
    display: block;
    color: red;
    font-weight: bold;
    margin-bottom: 5px;
    position: relative;
    font-size: 0.9rem; /* 👈 or use 12px, 14px, etc. */
    line-height: 1.4; /* optional: improves readability */
}

    .validation-error:not(:empty)::before {
        content: "⚠ ";
        margin-right: 4px;
    }


.note-container {
    margin: 20px auto;
    /* max-width: 800px; */
    font-family: Arial, sans-serif;
}

.note-box {
    border-left: 5px solid #dc3545;
    background-color: #fff3f3;
    border-radius: 5px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.05);
    overflow: hidden;
    transition: all 0.3s ease;
}

.note-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #f8d7da;
    color: #721c24;
    padding: 15px 20px;
    cursor: pointer;
    user-select: none;
}

.note-icon {
    color: #dc3545;
    font-size: 20px;
    margin-right: 10px;
}

.note-title {
    margin: 0;
    flex-grow: 1;
}

.toggle-btn {
    background: none;
    border: none;
    font-size: 20px;
    font-weight: bold;
    color: #721c24;
    cursor: pointer;
    outline: none;
}

.note-message {
    padding: 10px;
    color: #333;
    border-top: 1px solid #f5c6cb;
    display: block;
    transition: max-height 0.3s ease, padding 0.3s ease;
}

.hidden-box {
    height: 150px;
    background-color: #f0f0f0;
    visibility: hidden;
}

.tab {
    display: flex;
    justify-content: center; /* Center the tab buttons horizontally */
    border-bottom: 1px solid #ccc;
    background-color: #f1f1f1;
    padding: 10px 0;
}

    .tab button {
        background-color: inherit;
        border: none;
        outline: none;
        cursor: pointer;
        padding: 14px 16px;
        transition: 0.3s;
        font-size: 17px;
    }

        .tab button:hover {
            background-color: #ddd;
        }

        .tab button.active {
            background-color: #ccc;
        }

.tabcontent {
    display: none;
    padding: 16px;
    border: 1px solid #ccc;
    border-top: none;
}

.spinner {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 80px;
}

    .spinner::after {
        content: '';
        width: 30px;
        height: 30px;
        border: 4px solid #ccc;
        border-top: 4px solid #333;
        border-radius: 50%;
        animation: spin 0.8s linear infinite;
    }

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

.btn-default {
    background-color: #DDDDDD;
    color: #333;
    border-color: #ccc;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.3s ease; /* Smooth transition for all properties */
}


    /* Hover Effect */
    .btn-default:hover {
        background-color: #b0b0b0; /* Darker grey background */
        color: #333;
        border-color: #999; /* Darker border */
    }

/* ========= Side bar code ==============*/

.pin-sidebar {
    display: flex;
    align-items: flex-start;
}

    /* Left column (wrapper for sidebar) */
    .pin-sidebar > div:first-child {
        flex-shrink: 0;
        width: 220px;
        border-right: 1px solid #ddd;
    }

/* Sidebar itself */
.sidebar {
    width: 202px;
    padding: 20px;
    background-color: #f8f9fa;
    position: sticky; /* stick relative to page scroll */
    top: 0; /* distance from viewport top */
    align-self: flex-start;
}

    .sidebar h2 {
        text-align: center;
        margin-bottom: 30px;
        font-size: 20px;
        font-weight: normal;
    }

.main-content {
    flex: 1;
    padding: 20px;
}

/* Hide hamburger on desktop */
.hamburger {
    display: none;
}
#nav-open-btn {
    display: block !important;
}

@media (max-width: 768px) {

    /* Show hamburger */
    .hamburger {
        display: block;
        position: fixed;
        right: 5%;
        top: 295px;
        z-index: 1100;
        font-size: 12px;
        background: white;
        border: 1px solid #ccc;
        padding: 6px 10px;
        cursor: pointer;
    }
    #nav-open-btn {
        display: none !important;
    }
    /* Sidebar off-canvas */
    .sidebar-wrapper {
        position: fixed;
        top: 0;
        left: -240px;
        height: 100vh;
        width: 220px;
        background: #f8f9fa;
        z-index: 1000;
        transition: left 0.3s ease;
    }

        .sidebar-wrapper.open {
            left: 0;
        }

    /* Main content full width */
    .main-content {
        width: 100%;
        padding: 20px;
    }
}


/* ======= Project steps ================*/

.nav-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 20px;
    border-bottom: 1px solid #34495e;
    cursor: pointer;
    color: black;
    text-decoration: none;
    font-size: 14px; 
    font-weight: normal; 
}

    .nav-item:hover {
        background-color: #d9dadb;
        color: black;
    }

    .nav-item label {
        flex: 1;
        cursor: pointer;
        font-weight: normal; 
    }

    .nav-item input[type="checkbox"] {
        margin-left: 10px;
    }

    .nav-item.active {
        background-color: #ced4da;
    }

.step-pill {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 18px;
    margin-bottom: 10px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    border: 1px solid transparent;
    transition: all 0.2s ease-in-out;
}
.step-link {
    flex: 1;
    text-decoration: none;
    font-size: 14.6px; /* slightly bigger */
    font-weight: 750; /* semi-bold */
    letter-spacing: 0.1px;
    text-shadow: 0 1px 1px rgba(0,0,0,0.35);
}


    .step-link.disabled {
        color: #7a7a7a;
        cursor: default;
    }
.step-completed {
    background: linear-gradient(to bottom, #90caf9, #64b5f6);
    border-color: #42a5f5;
    color: #0d47a1;
    background: linear-gradient(to bottom, #64b5f6, #42a5f5);
    border-color: #1e88e5;
}
.step-current {
    background: linear-gradient(to bottom, #dcedc8, #aed581);
    border-color: #9ccc65;
    color: #33691e;
}

.step-upcoming {
    background: linear-gradient(to bottom, #f5f5f5, #e0e0e0);
    border-color: #cfcfcf;
    color: #9e9e9e;
}

.step-pill input[type="checkbox"] {
    margin-left: 10px;
    transform: scale(1.1);
    accent-color: #1976d2; /* modern browsers */
}
.step-current .step-link {
    font-weight: 700;
    color: #1b5e20;
    text-shadow: 0 1px 1px rgba(255,255,255,0.6);
}

.step-completed .step-link {
    font-weight: 600;
    color: #ffffff;
    text-shadow: 0 1px 2px rgba(0,0,0,0.4);
}

.step-upcoming .step-link {
    font-weight: 500;
}
/* =======================*/
#payment-alert {
    margin-left: 6px;
    font-size: 13px;
    display: none;
}

.alert-box {
    position: fixed;
    bottom: 20px; /* Position it 20px from the bottom */
    left: 50%;
    transform: translateX(-50%); /* Center horizontally */
    padding: 30px 40px;
    border-radius: 8px;
    font-family: Arial, sans-serif;
    font-size: 18px; /* Increased font size */
    color: white;
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    min-width: 350px;
    max-width: 600px;
    text-align: center;
}

    .alert-box.success {
        background-color: #28a745;
    }

    .alert-box.error {
        background-color: #dc3545;
    }

    .alert-box.info {
        background-color: #007bff;
    }

    .alert-box.warning {
        background-color: #fffde7;
        color: #333;
        border: 1px solid #f5c542;
    }

    .alert-box button {
        background: none;
        border: none;
        color: white;
        font-size: 20px;
        cursor: pointer;
    }

.confirm-box {
    position: fixed;
    top: 30%;
    left: 50%;
    transform: translate(-50%, -30%);
    background-color: #fffde7;
    border: 1px solid #f5c542;
    padding: 25px;
    z-index: 1001;
    color: #333;
    border-radius: 6px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

    .confirm-box .button-group {
        margin-top: 15px;
        display: flex;
        justify-content: flex-end;
        gap: 10px;
    }

.hidden {
    display: none;
}

.help-info {
    position: relative;
    color: #007bff;
    margin-left: 5px;
    cursor: pointer;
    font-size: 1.2em;
    transition: color 0.3s ease, transform 0.2s ease;
    vertical-align: middle;
}

    .help-info:hover {
        color: #0056b3;
        transform: scale(1.2);
    }

    .help-info::after {
        content: attr(data-tooltip);
        position: absolute;
        bottom: 125%;
        left: 60%; 
        transform: translateX(-40%); 
        background-color: #333;
        color: #fff;
        padding: 12px 16px;
        font-size: 14px;
        border-radius: 8px;
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.4);
        white-space: normal;
        max-width: 320px;
        min-width: 250px;
        word-wrap: break-word;
        opacity: 0;
        visibility: hidden;
        transition: opacity 0.3s, visibility 0.3s;
        z-index: 100;
    }

    .help-info:hover::after {
        opacity: 1;
        visibility: visible;
    }

.filmSelect {
    height: 30px !important;
    padding: 2px;
}

.fee-message {
    border: 1px solid #f5c542;
    background-color: #fffde7;
    color: #333;
    padding: 15px;
    margin-top: 20px;
    position: relative;
    border-radius: 6px;
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
}

.fee-message-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: bold;
}

.fee-controls button {
    background: none;
    border: none;
    font-size: 18px;
    margin-left: 10px;
    cursor: pointer;
    color: #444;
}

    .fee-controls button:hover {
        color: red;
    }

.fee-message-body {
    margin-top: 10px;
    font-size: 14px;
    line-height: 1.4;
}



.body-container {
    max-width: 800px;
    margin: 20px auto;
    padding: 20px;
    background-color: #f9f9f9;
    border-radius: 8px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

    .body-container table {
        background: #fff !important;
    }

    .body-container ul {
        list-style-type: none;
        padding: 10px 0;
        margin: 0;
        display: flex;
        flex-wrap: wrap;
        border-bottom: 1px solid #ddd;
    }

        .body-container ul:last-child {
            border-bottom: none;
        }

    .body-container li {
        width: 40%;
        padding: 5px 10px;
        box-sizing: border-box;
    }

    .body-container label {
        font-weight: 600;
        color: #333;
    }

    .body-container li:nth-child(2) {
        color: #555;
        font-size: 1rem;
    }

.hidden-input {
    display: none;
}

.body-container #formContainerSummary ul li {
    border-bottom: none !important;
}

.review_header_links {
    color: #008bbf;
    text-align: right;
}



@media (max-width: 600px) {
    .body-container li {
        width: 100%;
    }
}

/* Basic scrollable container (vertical) */
.scrollable {
    max-height: 450px; /* change this to the height you want (px, rem, vh, etc.) */
    overflow-y: auto; /* enable vertical scrolling */
    overflow-x: auto; /* prevent horizontal scroll by default */
    -webkit-overflow-scrolling: touch; /* smooth scrolling on iOS */
    padding-right: 8px; /* avoid text being hidden behind vertical scrollbar */
}

/* Optional: allow both directions to scroll */
.scrollable--both {
    max-height: 400px;
    max-width: 100%;
    overflow: auto;
}

/* Optional: horizontal scrolling only */
.scrollable--horizontal {
    white-space: nowrap;
    overflow-x: auto;
    overflow-y: hidden;
}

/* Small aesthetic improvements for modern browsers (optional) */
.scrollable::-webkit-scrollbar {
    width: 10px;
    height: 10px;
}

.scrollable::-webkit-scrollbar-thumb {
    background-color: rgba(0,0,0,0.25);
    border-radius: 6px;
}

.scrollable:focus {
    outline: 2px solid #4d90fe; /* keyboard visible focus for accessibility */
}

.payment-note-container {
    margin: 20px 0;
    font-family: Arial, sans-serif;
}

.payment-note-box {
    border: 1px solid #ddd;
    border-radius: 6px;
    background-color: #fdfdfd;
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
    overflow: hidden;
}

.payment-note-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background-color: #f8f9fa;
    padding: 12px 16px;
    cursor: pointer;
}

    .payment-note-header:hover {
        background-color: #f1f1f1;
    }

.payment-note-icon {
    color: #007bff;
    font-size: 18px;
    margin-right: 8px;
}

.payment-note-title {
    flex-grow: 1;
    font-size: 16px;
    margin: 0;
    font-weight: bold;
    color: #333;
}

.toggle-btn {
    border: none;
    background: transparent;
    font-size: 20px;
    line-height: 1;
    cursor: pointer;
    color: #666;
    transition: transform 0.2s ease;
}

    .toggle-btn.rotate {
        transform: rotate(180deg);
    }

.payment-note-message {
    padding: 16px;
    font-size: 14px;
    color: #444;
    border-top: 1px solid #ddd;
    /*display: none;  hidden by default */
}

    .payment-note-message.active {
        display: block;
        animation: fadeIn 0.3s ease;
    }

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-5px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.btn-payment {
    background-color: #ffc107; /* Bootstrap-like yellow */
    color: #212529; /* dark text for contrast */
    border: none;
    padding: 10px 18px;
    font-size: 14px;
    border-radius: 4px;
    margin-top: 12px;
    cursor: pointer;
    font-weight: 600;
    transition: background-color 0.2s ease, transform 0.1s ease;
}

    .btn-payment:hover {
        background-color: #e0a800; /* darker yellow on hover */
    }

    .btn-payment:active {
        background-color: #d39e00; /* even darker yellow on click */
        transform: scale(0.97); /* subtle click effect */
    }

.btn-FeeWaivercodeBtn {
    background-color: #ffc107; /* Bootstrap-like yellow */
    color: #212529; /* dark text for contrast */
    border: none;
    padding: 5px 20px;
    font-size: 15px;
    border-radius: 4px;
    font-weight: 600;
    text-decoration: none;
    display: inline-block;
    text-align: center;
    cursor: pointer;
    transition: background-color 0.25s ease, transform 0.1s ease;
}

    .btn-FeeWaivercodeBtn:hover {
        background-color: #e0a800; /* darker yellow on hover */
    }

    .btn-FeeWaivercodeBtn:active {
        background-color: #d39e00; /* even darker yellow on click */
        transform: scale(0.97); /* subtle click effect */
    }

.error-message {
    display: none;
    border: 1px solid #e57373; /* red border */
    background-color: #ffebee; /* light pink background */
    color: #333;
    padding: 15px;
    margin-top: 20px;
    position: relative;
    border-radius: 6px;
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
}

.error-message-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: bold;
    color: #b71c1c; /* dark red header text */
}

.error-controls button {
    background: none;
    border: none;
    font-size: 18px;
    margin-left: 10px;
    cursor: pointer;
    color: #444;
}

    .error-controls button:hover {
        color: red;
    }

.error-message-body {
    margin-top: 10px;
    font-size: 14px;
    line-height: 1.4;
    color: #5a0000; /* darker red text */
}

/* Container */
.info-message-box {
    border: 1px solid #64b5f6; /* blue border */
    background-color: #e3f2fd; /* light blue background */
    color: #0d47a1;
    padding: 15px;
    margin-top: 20px;
    position: relative;
    border-radius: 6px;
    box-shadow: 0 0 8px rgba(0,0,0,0.08);
}

/* Header */
.info-message-box-header {
    font-weight: bold;
    color: #0d47a1;
    margin-bottom: 8px;
    font-size: 15px;
}

/* Info body */
.info-message-box-body {
    font-size: 14px;
    line-height: 1.5;
    color: #08306b;
}

/* Container */
.similar-streets-error-message {
    display: none; /* controlled by JS */
    border: 1px solid #64b5f6; /* blue border */
    background-color: #e3f2fd; /* light blue background */
    color: #0d47a1;
    padding: 15px;
    margin-top: 20px;
    position: relative;
    border-radius: 6px;
    box-shadow: 0 0 8px rgba(0,0,0,0.08);
}

/* Header */
.similar-streets-error-message-header {
    font-weight: bold;
    color: #0d47a1;
    margin-bottom: 8px;
    font-size: 15px;
}

/* Info body */
.similar-streets-info-body {
    font-size: 14px;
    line-height: 1.5;
    color: #08306b;
}


    /* Optional list styling if you switch to <ul><li> later */
    .similar-streets-info-body ul {
        margin: 0;
        padding-left: 18px;
    }

    .similar-streets-info-body li {
        margin-bottom: 4px;
    }


.vehicle-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px 30px;
    margin-top: 10px;
}

    .vehicle-list hr,
    .vehicle-list br {
        grid-column: 1 / -1;
    }

    .vehicle-list div {
        display: flex;
        align-items: center;
    }

    .vehicle-list label {
        width: 180px;
        margin-right: 8px;
        font-weight: 500;
    }

    .vehicle-list input.small {
        width: 80px;
        padding: 4px;
        text-align: right;
    }

#toggleVehicles {
    background-color: #DDDDDD;
    color: #333;
    border: none;
    border-radius: 6px;
    padding: 6px 12px;
    cursor: pointer;
}

    #toggleVehicles:hover {
        background-color: #b0b0b0; /* Darker grey background */
        color: #333;
        border-color: #999; /* Darker border */
    }

.toggleVehicles-class {
    background-color: #DDDDDD;
    color: #333;
    border: none;
    border-radius: 6px;
    padding: 6px 12px;
    cursor: pointer;
}

    .toggleVehicles-class:hover {
        background-color: #b0b0b0; /* Darker grey background */
        color: #333;
        border-color: #999; /* Darker border */
    }

.read-only-questionnaire input[type="text"],
.read-only-questionnaire input[type="number"],
.read-only-questionnaire input[type="email"],
.read-only-questionnaire input[type="tel"],
.read-only-questionnaire textarea,
.read-only-questionnaire input[type="radio"],
.read-only-questionnaire input[type="checkbox"] {
    pointer-events: none; /* disables clicking */
    opacity: 0.6; /* makes it look disabled */
    resize: none; /* Disable textarea resize handle */
    cursor: not-allowed; /* shows “disabled” cursor */
    background-color: #f8f9fa; /* Optional: light gray background to indicate read-only */
    color: #555;
}


.default-error {
    border: 1px solid #e57373; /* red border */
    background-color: #ffebee; /* light pink background */
    color: #333;
    padding: 15px;
    margin-top: 20px;
    position: relative;
    border-radius: 6px;
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
}

.default-error-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: bold;
    color: #b71c1c; /* dark red header text */
}

.default-error-controls button {
    background: none;
    border: none;
    font-size: 18px;
    margin-left: 10px;
    cursor: pointer;
    color: #444;
}

    .default-error-controls button:hover {
        color: red;
    }

.default-error-body {
    margin-top: 10px;
    font-size: 14px;
    line-height: 1.4;
    color: #5a0000; /* darker red text */
}

#scroll-down-arrow {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.6);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 9999;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

    #scroll-down-arrow.show {
        opacity: 1;
        pointer-events: auto;
    }

/* Animate ONLY the inner wrapper */
.arrow-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    animation: bounce 1.5s infinite;
}

    .arrow-icon i {
        font-size: 18px;
        line-height: 1;
        display: block;
    }

@keyframes bounce {
    0%, 100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(6px);
    }
}

