/* ===================== FOOTER ===================== */
footer .section-footer {
    /* background-color: #202a4d; */
    /* background: linear-gradient(135deg, #0e2a4a 0%, #143762 60%, #2d5a1e 100%); */
    background: radial-gradient(circle at 85% 90%, rgb(115 181 74 / 45%) 0%, rgba(115, 181, 74, 0) 40%),
            radial-gradient(circle at 0% 0%, rgb(20 55 98 / 90%) 0%, #1a3a5c 60%);
    padding: 48px 0 24px;
}

/* ===== LOGO ===== */
.logo .logo-white {
    display: none;
}

footer .footer-logo {
    margin-bottom: 16px;
}

footer .logo {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
}

footer .logo img {
    height: 45px;
    width: auto;
    max-width: 100%;
    object-fit: contain;
}

footer .logo .logo-regular {
    display: none;
}

footer .logo .logo-white {
    display: block;
}

footer .logo .companyname p {
    font-size: 20px;
    font-weight: 700;
    margin: 0;
    color: #ffffff;
    background: linear-gradient(to right, #ffffff 0%, #ffffff 56%, #8cd45fff 54%, #8cd45fff 100%);

    white-space: nowrap;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ===== BRAND COL ===== */
footer .col-brand {
    margin-bottom: 40px;
}

footer .footer-desc {
    font-size: 15px;
    line-height: 1.7;
    color: #dbe4ed;
    margin: 0 0 24px;
}

footer .footer-timing {
    display: flex;
    gap: 32px;
}

footer .timing-col h6 {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.07em;
    text-transform: uppercase;
    color: #dbe4ed;
    margin: 0 0 6px;
}

footer .timing-col p {
    font-size: 16px;
    font-weight: 600;
    color: var(--global-color-primary-light-green);
    margin: 0;
}

/* ===== NAV ROW — nested row override ===== */
footer .footer-nav-row {
    max-width: 100%;
    gap: 20px;
}

/* ===== WIDGET ===== */
footer .col-widget {
    margin-bottom: 32px;
}

footer .footer-widget-title {
    font-size: 17px;
    font-weight: 600;
    color: #ffffff;
    margin: 0 0 18px;
    line-height: 1.4;
}

footer .footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

footer .footer-links li a {
    font-size: 14px;
    font-weight: 400;
    color: #dbe4ed;
    text-decoration: none;
    line-height: 1.5;
    transition: color 0.2s ease;
}

footer .footer-links li a:hover {
    color: var(--global-color-primary-light-green);
}

/* ===== BOTTOM ===== */
footer .footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 24px;
    margin-top: 8px;
    margin-bottom: 55px;
}

.col-copy {
    order: 2;
}

footer .footer-copyright {
    font-size: 13px;
    color: #8faecf;
    margin: 0 0 16px;
    line-height: 1.5;
}

footer .col-social {
    display: flex;
}

footer .social-icons {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

footer .social-icon-btn.footer-social-btn {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background-color: white;
    border: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    flex-shrink: 0;
    transition: background-color 0.2s ease, transform 0.2s ease;
}

footer .social-icon-btn.footer-social-btn:hover {
    background-color: var(--global-color-primary-light-green);
    transform: translateY(-3px);
}

footer .social-icon-btn.footer-social-btn:hover .icon-wrapper svg,
footer .social-icon-btn.footer-social-btn:hover .icon-wrapper svg path,
footer .social-icon-btn.footer-social-btn:hover .icon-wrapper svg circle,
footer .social-icon-btn.footer-social-btn:hover .icon-wrapper svg rect {
    fill: #fff ;
}

footer .icon-wrapper {
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

footer .icon-wrapper svg,
footer .social-icon-btn.footer-social-btn .icon-wrapper svg path,
footer .social-icon-btn.footer-social-btn .icon-wrapper svg circle,
footer .social-icon-btn.footer-social-btn .icon-wrapper svg rect {
    width: 20px;
    height: 20px;
    fill: var(--global-color-primary) ;
}

/* ===== TABLET — 768px ===== */
@media (min-width: 768px) {
    .col-social {
        order: 2;
    }

    footer .col-widget {
        margin-bottom: 0;
    }

    footer .footer-copyright {
        margin-bottom: 0;
    }

    footer .col-social {
        justify-content: flex-end;
    }
}

/* ===== DESKTOP — 1024px ===== */
@media (min-width: 1024px) {
    footer .footer-bottom {
        margin-bottom: 0;
    }

    footer .col-brand {
        margin-bottom: 0;
    }

    footer .col-nav {
        padding-left: 20px;
    }
}

.modal-login {
    display: none;
    /* DEFAULT HIDDEN */
    position: fixed;
    inset: 0;
    z-index: 999;
}

.modal-login.active {
    display: block;
    /* JS se active class lagegi tab dikhega */
}

/* ===== MOBILE/TAB - fullscreen, no close btn ===== */
.modal-login-container {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    /* Full height to go behind bottom nav */
    background: #ffffff;
    z-index: 2;
    overflow-y: auto;
    overflow-x: hidden;
    width: 100%;
}

.modal-login-close {
    display: none;
}

.modal-login-overlay {
    display: none;
}

/* ===== DESKTOP - centered popup ===== */
@media screen and (min-width: 992px) {

    /* Hide service type close button on desktop */
    .appt-sheet-close {
        display: none !important;
    }

    .modal-login-container {
        position: fixed;
        top: 50% !important;
        left: 50% !important;
        right: auto !important;
        bottom: auto !important;
        transform: translate(-50%, -50%);
        width: auto;
        height: auto;
        max-height: 90vh;
        border-radius: 16px;
        overflow-y: auto;
        box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    }

    .modal-login-overlay {
        display: block;
        position: fixed;
        inset: 0;
        background: rgba(0, 0, 0, 0.6);
        z-index: 1;
    }

    .modal-login-close {
        display: block;
        position: absolute;
        top: 12px;
        right: 16px;
        background: transparent;
        border: none;
        font-size: 28px;
        cursor: pointer;
        color: #333;
        z-index: 3;
        line-height: 1;
    }
}

body[data-page='login'] header {
    display: none !important;
}

body[data-page='login'] footer {
    display: none !important;
}

/* ===== SERVICE SELECT MODAL ===== */
@media screen and (min-width: 992px) {
    body[data-page='login'] header {
        display: flex !important;
    }
}

.section-login .row-1 {
    max-width: 100%;
}

.section-login {
    min-height: 95%;
    background: #ffffff;
    box-sizing: border-box;
    display: flex;
    align-items: center;
    justify-content: center;
}

.login-card {
    max-width: 100%;
    margin: 0 auto;
    background: #ffffff;
    padding: 35px 25px 100px;
    /* Extra bottom padding for floating nav */
}

.login-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 10px;
}

.login-logo a {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.login-logo .logo {
    display: flex;
    align-items: center;
    gap: 5px;
}

.login-logo picture img {
    width: 50px;
    height: 50px;
    object-fit: contain;
}

.login-logo .companyname p {
    font-size: 20px;
    font-weight: 700;
    background: linear-gradient(to right, #143762 0%, #143762 56%, #71b048 54%, #71b048 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.login-title {
    font-size: 22px;
    font-weight: 700;
    text-align: center;
    color: #143762;
    margin: 8px 0 6px 0;
}

.login-sub {
    font-size: 13px;
    text-align: center;
    color: #666;
    margin-bottom: 16px;
}

.input-group {
    position: relative;
    margin-bottom: 12px;
}

.input-group .icon {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.input-group .icon svg {
    width: 18px;
    height: 18px;
    color: #888;
}

.input-group .toggle-pass {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: none;
    background: transparent;
    padding: 0;
    cursor: pointer;
}

.input-group .toggle-pass svg {
    width: 20px;
    height: 20px;
}

.input-group input {
    width: 100%;
    border: 1px solid #e3e3e3;
    background: #fafafa;
    border-radius: 10px;
    padding: 12px 12px 12px 42px;
    font-size: 14px;
    outline: none;
}

.input-group .static-input-text {
    border: 1px solid #e3e3e3;
    background: #fafafa;
    border-radius: 10px;
    display: block;
    width: 100%;
    padding: 12px 12px 12px 42px;
    font-size: 14px;
    color: #143762;
    font-weight: 600;
}


.input-group select {
    width: 100%;
    border: 1px solid #e3e3e3;
    background: #fafafa;
    border-radius: 10px;
    padding: 12px 12px 12px 42px;
    font-size: 14px;
    outline: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' width='18' height='18'%3E%3Cpath d='M7 10l5 5 5-5z' fill='%23888'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
}

.input-group input[type="date"]::-webkit-calendar-picker-indicator {
    opacity: 0.5;
    cursor: pointer;
    filter: invert(0.5);
}

.error-message {
    color: #D8000C;
    font-size: 12px;
    padding: 5px 0 0 5px;
    display: none;
    /* Hidden by default */
    margin-bottom: 8px;
}


.section-signup .row-special,
.section-therapist-signup .row-special {
    gap: 16px;
}

.login-btn {
    width: 100%;
    margin: 12px 0 16px 0;
    border: none;
    outline: none;
    border-radius: 999px;
    padding: 12px 16px;
    background: #0b6a68;
    color: #ffffff;
    font-weight: 700;
    font-size: 15px;
    cursor: pointer;
}

.or-row {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 8px;
    margin: 12px 0 16px 0;
    color: #999;
    font-size: 13px;
}

.or-row .line {
    height: 1px;
    background: #e6e6e6;
}

.social-btn {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 10px;
    justify-content: center;
    border: 1px solid #e3e3e3;
    border-radius: 10px;
    padding: 10px 12px;
    color: #143762;
    background: #fff;
    font-size: 14px;
    margin-bottom: 10px;
}

.social-btn .icon svg {
    width: 18px;
    height: 18px;
}

.social-btn.facebook .icon svg path {
    fill: #3d6ad6 !important;
}

.login-links {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    margin-top: 8px;
}

.login-links a {
    color: #1e84b5;
    font-size: 13px;
}

.signup-row {
    font-size: 13px;
    color: #777;
    text-align: center;
}

.signup-row a {
    color: #1e84b5;
    font-weight: 600;
}

.modal-login .role-group {
    display: flex;
    justify-content: space-around;
    align-items: center;
    gap: 16px;
    margin: 8px 0 14px 0;
}

.modal-login .role-group label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: #143762;
}

.modal-login .role-group input[type="radio"] {
    width: 16px;
    height: 16px;
}

.modal-login .otp-group {
    display: flex;
    flex-wrap: nowrap;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin: 12px 0 8px 0;
}

.modal-login .otp-input {
    width: clamp(34px, 9.5vw, 54px);
    height: clamp(34px, 9.5vw, 54px);
    text-align: center;
    font-size: clamp(16px, 4.5vw, 22px);
    border: 1px solid #e3e3e3;
    background: #fafafa;
    border-radius: 10px;
    outline: none;
}

.modal-login .otp-input:focus {
    border-color: #badcf1;
    background: #ffffff;
}


@media screen and (min-width: 992px) {
    .modal-login .otp-input {
        width: 54px;
        height: 54px;
        font-size: 22px;
    }
}

@media screen and (max-width: 360px) {
    .modal-login .otp-group {
        gap: 8px;
    }
}

@media screen and (max-width: 320px) {
    .modal-login .otp-group {
        gap: 6px;
    }
}

/* ===== TABLET ===== */
@media screen and (min-width: 768px) {
    .login-card {
        padding: 28px;
    }

    .login-title {
        font-size: 24px;
    }
}

/* ===== DESKTOP ===== */
@media screen and (min-width: 992px) {
    .login-card {
        max-width: 520px;
        padding: 32px;
    }

    .login-title {
        font-size: 26px;
    }
}

.social-btns-row {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

@media screen and (min-width: 992px) {
    .modal-login .social-btns-row {
        flex-direction: row;
    }

    .modal-login .social-btns-row .social-btn {
        flex: 1;
        margin-bottom: 0;
        font-size: 12px;
        padding: 8px 6px;
    }
}

@media screen and (min-width: 992px) {
    .modal-login .login-logo {
        margin-bottom: 8px;
    }

    .modal-login .login-title {
        margin: 4px 0 4px 0;
    }

    .modal-login .login-sub {
        margin-bottom: 10px;
    }

    .modal-login .input-group {
        margin-bottom: 8px;
    }

    .modal-login .login-btn {
        margin: 8px 0 10px 0;
    }

    .modal-login .or-row {
        margin: 8px 0 10px 0;
    }

    .modal-login .login-card {
        padding: 24px 32px;
    }
}

/* ===== THERAPIST SIGNUP STYLES ===== */
.therapist-signup-card {
    max-width: 700px !important;
}

/* Profile Upload */
.profile-upload-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 24px;
    position: relative;
}

.profile-preview {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: #f5f5f5;
    border: 2px dashed #e3e3e3;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    margin-bottom: 10px;
}

.profile-preview img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.profile-preview svg {
    width: 50px;
    height: 50px;
    color: #ccc;
}

.upload-btn {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    font-weight: 600;
    color: #1e84b5;
    cursor: pointer;
    background: #f0f8ff;
    padding: 6px 12px;
    border-radius: 20px;
    transition: background 0.2s;
}

.upload-btn:hover {
    background: #e1f0ff;
}

.upload-btn svg {
    width: 14px;
    height: 14px;
}

/* Multi-select Specialization */
.multi-select-container {
    position: relative;
    width: 100%;
}

.multi-select-trigger {
    width: 100%;
    border: 1px solid #e3e3e3;
    background: #fafafa;
    border-radius: 10px;
    padding: 12px 12px 12px 42px;
    font-size: 14px;
    text-align: left;
    color: #666;
    cursor: pointer;
    outline: none;
}

.multi-select-options {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    border: 1px solid #e3e3e3;
    border-radius: 10px;
    margin-top: 5px;
    max-height: 200px;
    overflow-y: auto;
    z-index: 10;
    display: none;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.multi-select-options.active {
    display: block;
}

.multi-select-options label {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 12px;
    padding: 12px 15px;
    font-size: 14px;
    cursor: pointer;
    transition: background 0.2s;
    width: 100%;
    text-align: left;
}

.multi-select-options label input {
    margin: 0;
    width: 16px;
    height: 16px;
    cursor: pointer;
    flex-shrink: 0;
}

.multi-select-options label:hover {
    background: #f9f9f9;
}

.selected-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 10px;
    margin-bottom: 15px;
}

.tag {
    background: #e1f0ff;
    color: #1e84b5;
    padding: 4px 10px;
    border-radius: 15px;
    font-size: 12px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 6px;
}

.selected-tags:empty {
    display: none;
    margin: 0;
}

.tag .remove-tag {
    cursor: pointer;
    font-size: 14px;
}

/* Days Selection */
.label-heading {
    font-size: 14px;
    font-weight: 700;
    color: #143762;
    margin-bottom: 10px;
    margin-top: 10px;
}

.field-label {
    display: block;
    font-size: 12px;
    font-weight: 600;
    color: #666;
    margin-bottom: 5px;
    margin-left: 2px;
}

.days-selection {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 15px;
}

.day-checkbox {
    cursor: pointer;
}

.day-checkbox input {
    display: none;
}

.day-checkbox span {
    display: inline-block;
    padding: 8px 12px;
    background: #f5f5f5;
    border: 1px solid #e3e3e3;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
    color: #666;
    transition: all 0.2s;
}

.day-checkbox input:checked+span {
    background: #0b6a68;
    color: #fff;
    border-color: #0b6a68;
}

/* Form Steps Layout */
.btn-row {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.login-btn.secondary {
    background: #f0f0f0;
    color: #666;
}

.login-btn.secondary:hover {
    background: #e6e6e6;
}

.textarea-group {
    align-items: flex-start;
}

.textarea-group .icon {
    top: 14px !important;
    transform: none !important;
}

.textarea-group textarea {
    width: 100%;
    border: 1px solid #e3e3e3;
    background: #fafafa;
    border-radius: 10px;
    padding: 12px 12px 12px 42px;
    font-size: 14px;
    font-family: inherit;
    outline: none;
    resize: none;
    height: 80px;
    overflow-y: auto;
}

.placeholder-step {
    text-align: center;
    padding: 40px 20px;
    background: #f9f9f9;
    border-radius: 15px;
    border: 1px dashed #ccc;
    color: #777;
    font-style: italic;
}

.multi-select-group {
    align-items: flex-start;
}

.multi-select-group .icon {
    top: 14px !important;
    transform: none !important;
    z-index: 2;
}



@media screen and (max-width: 600px) {
    .modal-login-container .row-special:not(.keep-row) {
        display: flex !important;
        flex-direction: column !important;
        gap: 0 !important;
    }

    .modal-login-container .row-special:not(.keep-row)>[class*="col"] {
        width: 100% !important;
        max-width: 100% !important;
        flex: 0 0 100% !important;
    }
}

/* ===== STEP 3 DOCUMENT UPLOAD ===== */

/* Note text below heading */
.doc-note {
    font-size: 11px;
    color: #888;
    font-style: italic;
}

/* Optional mark next to heading */
.doc-optional-mark {
    font-size: 11px;
    font-weight: 500;
    color: #888;
    margin-left: 6px;
    font-style: italic;
}

.doc-upload-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-bottom: 4px;
}

.doc-upload-row.single {
    grid-template-columns: 1fr;
}

.doc-upload-box {
    position: relative;
    border: 1.5px dashed #d0d5dd;
    border-radius: 12px;
    background: #fafafa;
    overflow: hidden;
    transition: border-color 0.2s;
    min-height: auto;
}

.doc-upload-box:hover {
    border-color: #2596be;
}

.doc-upload-box.has-file {
    border-color: #71b048;
    border-style: solid;
}

.doc-upload-box.doc-error {
    border-color: #e53e3e;
}

.doc-upload-box input[type="file"] {
    position: absolute;
    inset: 0;
    opacity: 0;
    cursor: pointer;
    z-index: 2;
    width: 100%;
    height: 100%;
}

.doc-upload-label {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 14px 10px;
    cursor: pointer;
    text-align: center;
    position: relative;
    z-index: 1;
}

.doc-upload-label svg {
    width: 22px;
    height: 22px;
    color: #2596be;
}

.doc-label-title {
    font-size: 12px;
    font-weight: 600;
    color: #143762;
}

/* ===== NEW PREVIEW — icon + filename ===== */
.doc-preview {
    display: none;
    position: absolute;
    inset: 0;
    z-index: 3;
    background: #ffffff;
    align-items: center;
    flex-direction: row;
    gap: 4px;
    padding: 10px;
}

.doc-preview.active {
    display: flex;
}

.doc-preview-info {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 10px;
}

.doc-preview-icon svg {
    width: 32px;
    height: 32px;
}

.doc-preview-thumb {
    width: 36px;
    height: 36px;
    object-fit: cover;
    border-radius: 6px;
    flex-shrink: 0;
}

.doc-preview-icon.icon-pdf svg {
    color: #e53e3e;
}

.doc-preview-icon.icon-img svg {
    color: #2596be;
}

.doc-preview-filename {
    font-size: 11px;
    color: #143762;
    font-weight: 600;
    text-align: center;
    word-break: break-all;
    max-width: 90%;
    line-height: 1.3;
}

.doc-remove-btn {
    position: absolute;
    top: 6px;
    right: 6px;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: #e53e3e;
    border: none;
    color: #fff;
    font-size: 16px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 5;
    line-height: 1;
    padding: 0;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.2);
}

.doc-remove-btn:hover {
    background: #c53030;
}

/* Other certificates */
.other-cert-item {
    border: 1px solid #e3e3e3;
    border-radius: 12px;
    padding: 12px;
    margin-bottom: 10px;
    background: #fafafa;
    position: relative;
}

.other-cert-name-group {
    margin-bottom: 8px;
}

.other-cert-name-group input {
    width: 100%;
    border: 1px solid #e3e3e3;
    border-radius: 8px;
    padding: 9px 12px;
    font-size: 13px;
    outline: none;
    background: #fff;
    font-family: inherit;
}

.other-cert-upload-box {
    position: relative;
    border: 1.5px dashed #d0d5dd;
    border-radius: 10px;
    background: #fff;
    overflow: hidden;
    transition: border-color 0.2s;
}

.other-cert-upload-box:hover {
    border-color: #2596be;
}

.other-cert-upload-box.has-file {
    border-color: #71b048;
    border-style: solid;
}

.other-cert-upload-box input[type="file"] {
    position: absolute;
    inset: 0;
    opacity: 0;
    cursor: pointer;
    z-index: 2;
    width: 100%;
    height: 100%;
}

.other-cert-label {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px;
    font-size: 12px;
    color: #888;
    cursor: pointer;
}

.other-cert-label svg {
    width: 16px;
    height: 16px;
    color: #2596be;
}

@media screen and (max-width: 600px) {}

/* Other cert preview (icon+name inside upload box) */
.other-cert-preview {
    display: none;
    position: absolute;
    inset: 0;
    z-index: 3;
    background: #f4f9ff;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 5px;
    padding: 8px;
}

.other-cert-preview .doc-preview-icon svg {
    width: 24px;
    height: 24px;
}

.other-cert-preview .doc-preview-filename {
    font-size: 11px;
    color: #143762;
    font-weight: 600;
    text-align: center;
    word-break: break-all;
}

.other-cert-remove {
    position: absolute;
    top: 8px;
    right: 8px;
    background: transparent;
    border: none;
    color: #e53e3e;
    font-size: 18px;
    cursor: pointer;
    line-height: 1;
    font-weight: 700;
}

.doc-add-more-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    border: 1.5px dashed #2596be;
    border-radius: 20px;
    background: transparent;
    color: #2596be;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    margin-bottom: 16px;
    transition: background 0.2s;
}

.doc-add-more-btn:hover {
    background: #f0f8ff;
}

/* Sequential lock */

/* ===== PROFILE SLIDE-OVER (DESKTOP) ===== */
.modal-profile {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 1000;
}

.modal-profile.active {
    display: block;
}

.modal-profile-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
}

.modal-profile-container {
    position: fixed;
    top: 0;
    right: 0;
    height: 100%;
    width: 420px;
    max-width: 90vw;
    background: #ffffff;
    box-shadow: -20px 0 60px rgba(0, 0, 0, 0.25);
    padding: 20px 16px;
    overflow-y: auto;
}

.modal-profile-close {
    position: absolute;
    top: 10px;
    right: 14px;
    background: transparent;
    border: none;
    font-size: 28px;
    cursor: pointer;
    color: #333;
    line-height: 1;
}

@media screen and (max-width: 991px) {
    .modal-profile {
        display: none !important;
    }
}

/* ===== PROFILE COMMON (used by desktop modal and mobile page) ===== */
/* ===== PROFILE COMMON ===== */
.profile-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
    width: 100%;
}

.avatar-wrap {
    position: relative;
    width: 120px;
    height: 120px;
    border-radius: 50%;
    overflow: visible;
    background: #f0f2f5;
    display: flex;
    align-items: center;
    justify-content: center;
}

.avatar-wrap svg {
    width: 68px;
    height: 68px;
}

.edit-badge {
    position: absolute;
    right: 0;
    bottom: 0;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 2;
}

.edit-badge svg {
    width: 22px;
    height: 22px;
}

.profile-name {
    font-size: 18px;
    font-weight: 700;
    color: #07794c;
    margin: 0;
}

.profile-phone {
    font-size: 13px;
    color: #545454;
    margin: 0;
}

.profile-list {
    width: 100%;
    background: #ffffff;
    border-radius: 16px;
    border: 1px solid rgba(237, 237, 237, 1);
    overflow: hidden;
    margin-top: 8px;
}

.profile-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 14px;
    border-bottom: 1px solid rgba(237, 237, 237, 1);
    text-decoration: none;
    color: #0f0f0f;
}

.profile-item:last-child {
    border-bottom: none;
}

.profile-item-left {
    display: flex;
    align-items: center;
    gap: 10px;
}

.profile-item-left .icon svg {
    width: 22px;
    height: 22px;
}

.profile-item-label {
    font-size: 14px;
}

.profile-item-right .chev svg {
    width: 16px;
    height: 16px;
}

/* ===== PROFILE MOBILE ===== */
@media screen and (max-width: 991px) {

    body[data-page="profile"] header,
    body[data-page="profile"] footer {
        display: none !important;
    }

    .section-profile {
        position: fixed;
        inset: 0 0 0 0;
        background: #ffffff;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
        padding: 24px 16px 16px 16px;
        z-index: 999;
    }

    .profile-header {
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 20px;
        font-weight: 700;
        color: #143762;
        margin-bottom: 18px;
        position: relative;
    }

    .section-profile .btn-back {
        position: absolute;
        left: 0;
        width: 36px;
        height: 36px;
        border-radius: 10px;
        background: transparent;
        border: none;
        display: flex;
        align-items: center;
        justify-content: center;
        color: #1e293b;
        cursor: pointer;
        transition: all 0.2s ease;
        flex-shrink: 0;
        padding: 0;
    }

    .section-profile .btn-back:active {
        transform: scale(0.92);
        opacity: 0.7;
    }
}


/* ===== PROFILE DESKTOP ===== */
@media screen and (min-width: 992px) {
    .section-profile {
        display: none;
    }

    /* desktop pe modal use hoga */
    .profile-header {
        display: none;
    }
}

/* Modal ke andar section-profile override */
.modal-profile .section-profile {
    position: static !important;
    inset: auto !important;
    overflow-y: visible !important;
    padding: 0 !important;
    z-index: auto !important;
    background: transparent !important;
    display: block !important;
}

/* Modal ke andar bottom nav hide karo */
.modal-profile .bottom-nav {
    display: none !important;
}

/* Modal ke andar profile header hide karo */
.modal-profile .profile-header {
    display: none !important;
}


/* Edit form actions */
.profile-edit {
    width: 100%;
}

.profile-edit .profile-edit-actions {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 8px;
}

.profile-edit .login-btn {
    flex: 1;
    margin: 12px 0;
}

.profile-edit .btn-cancel {
    flex: 1;
    height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #e3e3e3;
    border-radius: 999px;
    color: #1e84b5;
    text-decoration: none;
}

@media screen and (max-width: 991px) {}