﻿.mainbody {
    display: flex;
    justify-content: center;
    flex-grow: 1;
    padding-top: 75px;
    position: relative;
    z-index: 1;
}

.bodycontainer {
    max-width: 1100px;
    min-width: 1100px;
}

.headernavContainer {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 10px 20px;
    background-color: white;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    position: relative;
    z-index: 1000;
}

.mainnav {
    max-width: 1100px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}


.mainsidebar {
    border-right: 0 solid rgba(0, 0, 0, 0);
    left: 0;
    right: auto;
    top: 75px;
    z-index: 1200;
    background-color: #e9ecef;
    margin-top: 75px;
    max-width: 200px;
}

.e-sidebar ul li {
    color: black;
    background: #e9ecef;
    border: 1px solid #dadada;
    font-family: Arial, Helvetica, sans-serif;
    padding: 12px 20px;
    cursor: pointer;
    transition: background-color 0.3s ease, padding-left 0.3s ease;
}

.fontStyle {
    font-family: Arial, Helvetica, sans-serif !important;
    font-size: 14px !important;
    cursor: pointer;
}

.e-sidebar ul li:hover {
    background-color: rgba(255, 255, 255, 0.2);
    padding-left: 25px;
}

.logineduser {
    padding: 12px 20px;
    font-weight: bold;
    background-color: #f1f1f1;
}

.rolemenu_ul {
    list-style: none;
    margin: 0;
    padding: 0;
    min-width: 160px;
}

.rolemenu_li {
    padding: 10px 20px;
    border-bottom: 1px solid #eee;
    cursor: pointer;
}

.logoutli {
    padding: 10px 20px;
    cursor: pointer;
    color: red;
}

.rolemenu_li:hover {
    background-color: #f5f5f5;
}

.active-role {
    background-color: royalblue;
    color: white;
    font-weight: bold;
}

.PageSectionTitle {
    color: #1877a8;
    font-weight: 400;
    text-align: center;
    margin-top: 2%;
    font-size: 1.3rem;
}

.PageSectionSubTitle {
    color: #948a8a;
    text-align: center;
    margin-bottom: 0px;
    font-size: 1rem;
}

.PageSectionTitleWarning {
    color: red;
    font-weight: 400;
    text-align: center;
    margin-bottom: 10px;
    font-size: 2rem;
}

.warningMessageInfo {
    color: red;
    margin-top: 40px;
    font-size: 1rem;
    text-align: center
}

.rb_applicationStatus_container {
    margin-bottom: 20px;
    display: flex;
    justify-content: space-between;
    gap: 35px;
}

.rb_applicationStatus {
    display: flex;
    align-items: center;
    gap: 10px;
    border: 1px solid #ccc;
    padding: 7px 10px;
    color: #9b9696;
    flex-grow: 1;
    cursor: pointer;
    border-radius: 6px;
    position: relative;
}

    .rb_applicationStatus input[type="radio"] {
        appearance: none;
        -webkit-appearance: none;
        background-color: #fff;
        margin: 0;
        font: inherit;
        width: 20px;
        height: 20px;
        border: 2px solid #ccc;
        border-radius: 50%;
        display: grid;
        place-content: center;
        cursor: pointer;
        transition: border-color 0.2s ease-in-out;
    }

        .rb_applicationStatus input[type="radio"]::before {
            content: "";
            width: 10px;
            height: 10px;
            border-radius: 50%;
            transform: scale(0);
            transition: transform 0.2s ease-in-out;
            background-color: black;
        }

        .rb_applicationStatus input[type="radio"]:checked {
            border-color: black;
        }

            .rb_applicationStatus input[type="radio"]:checked::before {
                transform: scale(1);
            }



.subtitle_applstatus {
    font-size: 1.1rem;
    font-weight: 400;
    color: #1c4250;
    margin-bottom: 12px;
}

.sectionStatusSelection,
.sectionFormTop {
    background: white;
    padding: 20px;
    margin-bottom: 30px;
    border-radius: 5px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.contentSubSection {
    background-color: white;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.1);
}

.subContentSectionTitleAdmin {
    font-weight: 600;
}


.subContentSectionTitle_small {
    font-size: 1.1rem;
    font-weight: 500;
    color: #1c4250;
    margin-bottom: 12px;
}

.search-filter-container {
    display: flex;
    gap: 2%;
    flex-wrap: nowrap;
    margin-bottom: 20px;
}

.filter-item {
    display: inline-block;
}

.filter-ref {
    width: 25%;
}

.filter-bar .e-input-group.e-control-container {
    width: 100% !important;
}

.filter-date,
.filter-status {
    width: 24%;
}

/* Optional: Make sure internal Syncfusion input doesn't override width */
.e-input {
    width: 100% !important;
}

.e-grid .e-gridheader {
    background-color: #f0f0f0;
}

.status-badge {
    padding: 2px 8px;
    border-radius: 6px;
    font-weight: bold;
    font-size: 0.9em;
    display: inline-block;
}

.status-submitted {
    background-color: #dcd1f2;
    color: #7655bb;
}

.status-completed {
    background-color: #d1f2df;
    color: #37a164;
}

.status-review {
    background-color: #f2e3d1;
    color: #c8922e;
}

.status-approved {
    background-color: #82e9f1;
    color: #199799;
}

.status-declined {
    background-color: #f2d1d1;
    color: #b44646;
}

.status-signature {
    background-color: #f8d7da;
    color: #721c24;
}

.action-link {
    color: #4d9fc2;
    text-decoration: underline;
    cursor: pointer;
    font-weight: 500;
    background: none;
    border: none;
    padding: 0;
}

.action_link_no_underline {
    color: #4d9fc2;
    text-decoration: none;
    cursor: pointer;
    font-weight: 500;
    background: none;
    border: none;
    padding: 0;
}

.flexgap {
    display: flex;
    gap: 20px;
    justify-content: space-between;
}

.flexgrow {
    flex-grow: 1;
}

.flexEnd {
    display: flex;
    justify-content: flex-start;
    align-items: center;
}

.buttonFooterSection {
    margin-top: 45px;
    margin-bottom: 45px;
}

.NextButton {
    padding: 10px 65px !important;
    border-radius: 5px;
    background-color: black !important;
    color: white;
    font-size: 12px;
    cursor: pointer;
}

.mcabButtonSm {
    padding: 4px 14px !important;
    border-radius: 5px;
    background-color: black !important;
    color: white;
    font-size: 12px;
    cursor: pointer;
}

.mcabButtonmd {
    padding: 2px 30px !important;
    border-radius: 5px;
    background-color: black !important;
    color: white;
    font-size: .9rem;
    cursor: pointer;
}

.mcaButton_black {
    padding: 1px 14px !important;
    border-radius: 5px;
    background-color: white !important;
    color: black !important;
    border: 2px solid black;
    outline: none;
    font-size: .8rem;
    font-weight: 600;
    margin-right: 2px;
}

.mcaButton_black_norightmargin {
    padding: 1px 14px !important;
    border-radius: 5px;
    background-color: white !important;
    color: black !important;
    border: 2px solid black;
    outline: none;
    font-size: .8rem;
    font-weight: 600;
}

.e-grid .e-headercell {
    background-color: #f5f5f5 !important;
    color: #000;
}

    .e-grid .e-headercell .e-headertext {
        font-weight: bold;
        text-align: center;
    }

.accessLevelSelections {
    display: flex;
    width: 100%;
    justify-content: space-evenly;
    align-items: center;
    border: 1px solid #ccc;
}

    .accessLevelSelections .e-frame {
        border: 1px solid black;
    }

.accessLevelLabel {
    font-size: 12px;
}

.nomargin-top {
    margin-top: 0px !important;
}

.e-toast-success {
    background: #4672a1 !important;
    color: white !important;
    border-radius: 10px;
    border: 2px solid black;
}

.e-toast-danger {
    background: rgb(235, 31, 31) !important;
    color: white !important;
    border-radius: 10px;
    border: 2px solid black;
}

.e-toast-title,
.e-toast-content {
    color: white !important;
}

.footerRowAddApplicant {
    display: flex;
    justify-content: center; /* Centers horizontally */
    margin-top: 10px; /* optional spacing */
}

    .footerRowAddApplicant .custom-cell {
        display: flex;
        justify-content: center;
    }

    .footerRowAddApplicant .name-cell {
        width: 70%;
    }

    .footerRowAddApplicant .action-cell {
        width: 30%;
        padding: 10px;
        text-align: right;
        padding-right: 10px;
    }

.divConsentCheck {
    padding-top: 30px;
}

    .divConsentCheck .e-frame {
        width: 25px;
        height: 25px;
    }

    .divConsentCheck .e-label {
        font-size: 1rem;
    }

.spaceBetweenFlex {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.mb15 {
    margin-bottom: 15px;
}

.mb10 {
    margin-bottom: 10px;
}

.gapColumns {
    gap: 25px;
}

.filterText {
    padding: 5px 10px;
}

.mb-15 {
    margin-bottom: 15px;
}

.mainform .e-ddl,
.mainform .e-textbox,
.mainform .e-datepicker {
    min-height: 37px;
}

.instructionright {
    text-align: right;
    font-size: .8rem;
    color: #57a5c6;
    font-weight: 350;
    padding: 5px 0px;
}

.flexColumn {
    display: flex;
    flex-direction: column;
}

.flexGrow {
    flex: 1
}

.e-dialog .e-dlg-header {
    display: block;
    font-size: 1.4rem;
    text-align: left;
    font-weight: 500;
    overflow: hidden;
    color: #50a1c2 !important;
    padding: 11px 0px 5px 20px !important;
    text-overflow: ellipsis;
}

.e-dialog .e-dlg-header-content {
    border-bottom: 1px solid #eef0f2 !important;
}

    .e-dialog .e-dlg-header-content + .e-dlg-content {
        padding-left: 33px;
    }

.e-dialog .e-footer-content {
    padding: 0px 30px 20px 19px !important;
    text-align: center !important;
    display: flex !important;
    justify-content: space-between;
    gap: 40px;
    border: 0px !important;
}

.btnConfirmYes {
    padding: 6px 30px !important;
    border-radius: 5px;
    background-color: black !important;
    color: white;
    font-size: .8rem;
    flex-grow: 1;
}

.btnConfirmNo {
    padding: 6px 30px !important;
    border-radius: 5px;
    background-color: white !important;
    color: black;
    border: 2px solid black;
    font-size: .8rem;
    flex-grow: 1;
}

    .btnConfirmNo:hover {
        color: #1877a8 !important;
    }


.app-layout {
    display: flex;
    min-height: 100vh;
}

.sidebar {
    width: 15%;
    background-color: #2c3e50;
    color: white;
    padding-top: 1rem;
}

    .sidebar ul {
        list-style-type: none;
        padding: 0;
    }

    .sidebar li {
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        margin-bottom: 1rem;
        padding-left: 1rem;
        padding-right: 1rem;
    }

    .sidebar a {
        color: white;
        text-decoration: none;
    }

    .sidebar li:has(a.active) {
        padding: 0.5rem;
        border-radius: 3px;
        padding-left: 1rem;
        background-color: #2563eb;
    }

    .sidebar a.active {
        font-weight: bold;
    }

.main-content {
    flex: 1;
}


.upload-status-table {
    width: 100%;
    border-collapse: collapse;
    font-family: 'Segoe UI', sans-serif;
    background-color: white;
    border: 1px solid #ddd;
    margin-bottom: 2rem;
}

    .upload-status-table th,
    .upload-status-table td {
        padding: 12px 16px;
        border-bottom: 1px solid #eee;
        text-align: center;
        font-size: 14px;
    }

    .upload-status-table th {
        background-color: #f4f6f8;
        font-weight: 600;
        color: #333;
    }

    .upload-status-table tr:hover {
        background-color: #f0f8ff;
    }

.status {
    padding: 4px 10px;
    border-radius: 12px;
    font-weight: 600;
    font-size: 13px;
    display: inline-block;
}

    .status.success {
        background-color: #e0f8e9;
        color: #27ae60;
    }

    .status.failed {
        background-color: #fdecea;
        color: #e74c3c;
    }

    .status.pending {
        background-color: #fff8e1;
        color: #f39c12;
    }

.e-file-status {
    display: none !important;
}

.emailTemp-column1 {
    flex: 1 1 40%;
    min-width: 250px;
}

.emailTemp-column2 {
    flex: 1 1 55%;
    min-width: 300px;
}

.email-draganddrop {
    background-color: #e3f2fd;
    border: 1px solid #90caf9;
    border-radius: 20px;
    padding: 0.4rem 1rem;
    font-size: 0.95rem;
    cursor: grab;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
    transition: all 0.2s ease-in-out;
}

.addbutton {
    width: 20%;
    text-align: center;
    display: flex;
}

.common-spacing {
    display: inline-flex !important;
    gap: 10px !important;
    justify-content: space-between !important;
    align-items: end !important;
}

.e-btn.e-primary {
    background-color: #0076A8 !important;
    border-color: #0076A8 !important; /* optional: matches border */
}

.e-btn.e-secondary {
    background-color: #002a3a !important;
}

.e-input-group.e-control-wrapper.e-valid-input input,
.e-input-group.e-control-wrapper input {
    border-color: #6355c7 !important;
}

.e-input-group:not(.e-success):not(.e-warning):not(.e-error)
.e-input-group.e-control-wrapper:not(.e-success):not(.e-warning):not(.e-error) {
    border-color: #6355c7 !important; /* Syncfusion default */
}

.grid-container {
    display: grid;
    grid-template-columns: 1fr 1fr; /* two columns */
    gap: 1.5rem;
    align-items: start;
}

.form-group {
    display: flex;
    flex-direction: column;
}

    .form-group label {
        font-weight: 600;
        margin-bottom: 0.3rem;
        color: #333;
    }

.subContentSectionTitle {
    font-size: 1.0rem;
    font-weight: 700;
}

.apply-size {
    width: 70px; /* fixed button width */
    min-width: 70px; /* prevent shrinking */
    text-align: center;
    padding: 4px 0; /* tighten vertical spacing */
    margin: 0 2px; /* little spacing between buttons */
}

.e-input-group.e-success input,
.e-input-group.e-control-container.e-control-wrapper.input,
.e-input-group.e-valid-input input {
    border: 1px solid #ccc !important; /* normal gray */
    box-shadow: none !important;
}

input:focus,
.e-input-group input:focus {
    outline: none !important;
    box-shadow: none !important;
    border-color: #ccc !important; /* or your preferred color */
}

/* 🔴 Error (empty / invalid value) */
.e-input-group.e-error input {
    border: 1px solid #dc3545 !important; /* Red (Bootstrap style) */
    box-shadow: none !important; /* remove blue glow */
}

/* ✅ Valid input (optional, you can skip this if you don’t want green) */
.e-input-group.e-success input {
    border: 1px solid #28a745 !important; /* Green */
    box-shadow: none !important;
}

/* ✨ Normal focus (when typing, not yet validated) */
.e-input-group input:focus {
    border: 1px solid #666 !important; /* Neutral gray or brand color */
    outline: none !important;
    box-shadow: none !important;
}
/* Error state (wrapper span itself) */
.e-input-group.e-error {
    border: 1px solid #dc3545 !important; /* Red */
    box-shadow: none !important;
}

/* Success state */
.e-input-group.e-success {
    border: 1px solid #28a745 !important; /* Green (optional) */
    box-shadow: none !important;
}

/* Default input inside wrapper */
.e-input-group input {
    border: none !important; /* Remove native input border */
    outline: none !important;
    width: 100% !important;
    box-sizing: border-box;
}

/* Force wrapper to fit the input */
.e-input-group {
    display: inline-block; /* shrink to fit */
    width: 50% !important; /* don’t let Syncfusion set width="" */
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: scale(0.98);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

.animate-fadeIn {
    animation: fadeIn 0.25s ease-out;
}

#popupOverlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.6);
    z-index: 999;
    animation: fadeIn 0.3s ease;
}

/* Popup Box */
#popupBox {
    background: #fff;
    width: 350px;
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.2);
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation: scaleUp 0.3s ease;
}

    /* Input */
    #popupBox input {
        width: 100%;
        padding: 10px;
        margin-bottom: 15px;
        border: 1px solid #ccc;
        border-radius: 8px;
        outline: none;
        font-size: 14px;
    }

        #popupBox input:focus {
            border-color: #4a90e2;
            box-shadow: 0 0 5px rgba(74,144,226,0.5);
        }

/* Buttons */
/* Buttons container - flex for left/right alignment */
.popup-actions {
    display: flex;
    justify-content: space-between;
    margin-top: 10px;
}

/* Both buttons same style */
.popup-btn {
    flex: 1;
    padding: 10px 16px;
    border-radius: 8px;
    font-size: 14px;
    border: none;
    cursor: pointer;
    color: #fff;
    background-color: #4a90e2;
    transition: background 0.2s ease;
}

    /* Space between buttons */
    .popup-btn:first-child {
        margin-right: 10px;
    }

    .popup-btn:hover {
        background-color: #357ab7;
    }


    .popup-btn.add {
        background-color: #4a90e2;
        color: #fff;
    }

    .popup-btn.cancel {
        background-color: #ccc;
        color: #333;
    }

        .popup-btn.cancel:hover {
            background-color: #aaa;
        }

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes scaleUp {
    from {
        transform: translate(-50%, -50%) scale(0.8);
        opacity: 0;
    }

    to {
        transform: translate(-50%, -50%) scale(1);
        opacity: 1;
    }
}

.brand {
    display: flex;
    align-items: center;
    padding: 0 10px;
}

.brand-logo {
    height: 40px; /* Adjust as needed */
    width: auto;
    cursor: pointer;
}

.title-logo {
    height: 32px; /* match text size */
    width: auto;
    vertical-align: middle;
}

input:-webkit-autofill {
    box-shadow: 0 0 0px 1000px white inset !important;
}

.hidden-column {
    display: none;
}

.flexStart {
    justify-content: flex-end;
    display: flex;
    gap: 10px;
}

.flexEnd button {
    width: 25%; /* prevents full width stretch */
}

#brokersigninpage {
    border: 1.2px dotted #e5e7eb;
}

    #brokersigninpage .e-upload.e-control-wrapper.e-control-container {
        border: none;
    }

    #brokersigninpage .e-upload-browse-btn {
        width: 100%;
    }

    #brokersigninpage .e-input-group {
        width: 97% !important;
        margin: 12px;
    }

.e-pager .e-pagerdropdown span {
    width: 70% !important;
}

.invalidfile-errormesssage {
    font-size: 12px;
    color: red;
    padding: 5px;
}

.e-toast-icon {
    background-image: url('favicon.png');
    background-position: center;
    width: auto;
    height: auto;
    min-height: 50px;
    min-width: 50px;
    background-size: 50px;
    border-radius: 50%;
}

.loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.6);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 100000;
}

.loading-container {
    text-align: center;
}

.spinner {
    width: 50px;
    height: 50px;
    border: 5px dotted #007bff;
    /*border-top: 5px dotted #007bff;*/
    border-radius: 50%;
    animation: spin 1.2s linear infinite;
    margin: auto;
}

.nav-link-disable {
    text-decoration: none !important;
    cursor: default;
}

#user-icon {
    width: 16px;
    height: 18px;
}

.logout {
    color: aqua;
}

    .logout:hover {
        color: red;
    }

#admin-application-detail .back-icon {
    width: 1em !important;
    height: 1em !important;
}

#admin-application-detail .message-icon {
    width: 2em !important;
    height: 2em !important;
}

.hide-div-data {
    display: none;
}

.show-div-data {
    display: block;
}

/* This style is applied to the error message in the Admin Application Details page */
.applicationdetail-error-message {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 80vh;
    font-size: 1.2rem;
    color: #d9534f;
    font-weight: 600;
    text-align: center;
    vertical-align: middle;
}

.toast {
    position: fixed;
    top: 13%;
    right: 1%;
    padding: 10px;
    border-radius: 8px;
    color: #fff;
    font-size: 12px;
    font-weight: 600;
    font-family: Arial, Helvetica, sans-serif;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    z-index: 9999;
    animation: fadein 0.3s, fadeout 0.5s 2.5s;
}

    .toast.success {
        background-color: #28a745;
    }

    .toast.error {
        color: #D8000C;
        background-color: #FFBABA;
    }

.toast-icon {
    margin-right: 3px;
}

.idle-warning {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: #ffcc00;
    padding: 12px 20px;
    border-radius: 8px;
    font-size: 14px;
    z-index: 1000;
    box-shadow: 0 2px 6px rgba(0,0,0,0.2);
    transition: opacity 0.3s ease-in-out;
}

.e-ascending.e-icon-ascending,
.e-descending.e-icon-descending {
    display: none !important;
}

#AdminAppDetails h2 {
    text-align: unset;
}

.a-macrologreport:hover {
    cursor: pointer;
}

@media print {
    /* Hide navigation, menus, headers, and footers */
    .sidebar, .nav-menu, .top-bar, .footer, .no-print {
        display: none !important;
    }

    /* Make only your content visible */
    body * {
        visibility: hidden;
    }

    #admin-application-detail, #admin-application-detail * {
        visibility: visible;
    }

    #admin-application-detail {
        position: absolute;
        left: 0;
        top: 0;
        width: 100%;
    }

    .no-print-section {
        display: none !important;
    }
}

.uploadhistory-grid .grid-header {
    font-size: medium !important;
}

.loginfailed-message {
    color: red;
}

.e-grid .e-spinner-pane {
    display: none !important;
}

.userlist {
    padding-bottom:6px;
}