

@font-face {
    font-family: 'DM Sans';
    font-style: normal;
    font-weight: 100 1000;
    src: url(../fonts/rP2Hp2ywxg089UriCZ2IHSeH.woff2) format('woff2');
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
    font-family: 'DM Sans';
    font-style: normal;
    font-weight: 100 1000;
    src: url(../fonts/rP2Hp2ywxg089UriCZOIHQ.woff2) format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
    font-display: swap;
    font-family: 'MonteCarlo';
    font-style: normal;
    font-weight: 400;
    src: url('../fonts/montecarlo-v13-latin-regular.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

:root {
    --ai-orange: #FE6407;
    --ai-orange-dark: #E65300;
    --ai-orange-light: #FFF1E8;
    --ai-primary: #020202;
    --ai-text: #202536;
    --ai-muted: #707887;
    --ai-border: #E4E7EC;
    --ai-white: #FFFFFF;
    --ai-success: #24B47E;
    --ai-danger: #D92D20;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    min-height: 100vh;
    font-family: "DM Sans", sans-serif;
    background: #fff;
    color: var(--ai-text);
}

button,
input {
    font: inherit;
}

button {
    cursor: pointer;
}

/* =========================
                   LAYOUT
                ========================= */

.ai-consent-wrapper {
    min-height: 100vh;
    display: grid;
    grid-template-columns: 59% 41%;
    overflow: hidden;
}

/* =========================
                   LEFT PANEL
                ========================= */

.ai-consent-left {
    position: relative;
    min-height: 100vh;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 8%;
    background: radial-gradient(circle at 75% 15%, rgba(254,100,7,.22), transparent 30%), linear-gradient(135deg, #fffaf6 0%, #fff3e9 45%, #ffe9d8 100%);
}

.ai-bg-circle {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
}

.ai-bg-circle-one {
    width: 600px;
    height: 600px;
    right: -300px;
    top: -260px;
    background: linear-gradient( 135deg, rgba(254,100,7,.95), rgba(255,174,108,.45) );
}

.ai-bg-circle-two {
    width: 500px;
    height: 500px;
    left: -250px;
    bottom: -300px;
    background: rgba(255,145,70,.18);
}

.ai-bg-circle-three {
    width: 320px;
    height: 320px;
    right: 60px;
    bottom: -180px;
    background: rgba(254,100,7,.14);
}

.ai-dots {
    position: absolute;
    width: 90px;
    height: 90px;
    background-image: radial-gradient( var(--ai-orange) 1.5px, transparent 1.5px );
    background-size: 14px 14px;
    opacity: .25;
}
.onboarding-consent {
    display:flex;
    gap:8px;
    margin-top:5px;
}
    .onboarding-consent .ai-detail-list {
        width: -webkit-fill-available;
    }
    .ai-dots-top {
        top: 70px;
        left: 55px;
    }

.ai-dots-bottom {
    right: 50px;
    bottom: 100px;
}

.ai-left-content {
    position: relative;
    z-index: 5;
    width: 100%;
    max-width: 760px;
}

.ai-hero-title {
    margin-bottom: 18px;
    color: var(--ai-primary);
    font-size: clamp(40px, 2.3vw, 72px);
    line-height: 1.02;
    font-weight: 800;
   
}

    .ai-hero-title span {
        color: var(--ai-orange);
    }

.ai-toggle {
    display: inline-flex;
    width: 66px;
    height: 34px;
    margin-left: 8px;
    padding: 4px;
    vertical-align: middle;
    align-items: center;
    border-radius: 50px;
    background: var(--ai-orange);
    box-shadow: 0 6px 18px rgba(254,100,7,.28);
}

    .ai-toggle::after {
        content: "";
        width: 26px;
        height: 26px;
        margin-left: auto;
        border-radius: 50%;
        background: #fff;
        box-shadow: 0 2px 5px rgba(0,0,0,.12);
    }

.ai-hero-subtitle {
    margin-bottom: 50px;
    color: #515969;
    font-size: 20px;
    line-height: 1.6;
}

/* Laptop */

.ai-laptop-wrapper {
    position: relative;
    width: min(720px, 100%);
    margin: 0 auto;
}

.ai-laptop {
    position: relative;
    width: 100%;
    margin: auto;
    overflow: hidden;
}

.ai-laptop-screen {
    overflow: hidden;
}

    .ai-laptop-screen img {
        display: block;
        width: 100%;
        height: auto;
    }

.ai-floating-icon {
    position: absolute;
    z-index: 10;
    display: flex;
    width: 58px;
    height: 58px;
    align-items: center;
    justify-content: center;
    border-radius: 16px;
    color: var(--ai-orange);
    background: rgba(255,255,255,.85);
    backdrop-filter: blur(10px);
    box-shadow: 0 15px 35px rgba(22,14,42,.12);
    font-size: 22px;
}

.ai-floating-one {
    left: -15px;
    top: 15%;
}

.ai-floating-two {
    right: -5px;
    top: 35%;
}

.ai-floating-three {
    right: 8%;
    bottom: 10%;
}

/* =========================
                   RIGHT PANEL
                ========================= */

.ai-consent-right {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 60px 7%;
    background: #fff;
}

.ai-form-wrapper {
    width: 100%;
    max-width: 400px;
}

.ai-brand {
    margin-bottom: 30px;
}

    .ai-brand img {
        display: block;
        width: 220px;
        max-width: 100%;
    }

.ai-form-title {
    margin-bottom: 7px;
    color: var(--ai-primary);
    font-size: 26px;
    line-height: 1.2;
    font-weight: 800;
    letter-spacing: -1px;
}

    .ai-form-title span {
        color: var(--ai-orange);
    }

.ai-form-description {
    margin-bottom: 30px;
    color: var(--ai-muted);
    font-size: 15px;
    line-height: 1.6;
}

/* =========================
                   FORM
                ========================= */

.ai-form-group {
    margin-bottom: 21px;
}

.ai-form-label {
    display: block;
    margin-bottom: 8px;
    color: #303747;
    font-size: 14px;
    font-weight: 600;
}

.ai-mobile-wrapper {
    display: grid;
    grid-template-columns: 65px 1fr;
    height: 40px;
    overflow: hidden;
    border: 1px solid var(--ai-border);
    border-radius: 11px;
    background: #fff;
    transition: .2s ease;
}

    .ai-mobile-wrapper:focus-within {
        border-color: var(--ai-orange);
        box-shadow: 0 0 0 4px rgba(254,100,7,.09);
    }

.ai-country {
    display: flex;
    align-items: center;
    padding: 0 12px;
    border-right: 1px solid var(--ai-border);
    background: #fafafa;
    font-size: 14px;
    font-weight: 500;
}

.ai-mobile-input {
    width: 100%;
    border: 0;
    outline: 0;
    padding: 0 14px;
    color: var(--ai-text);
    font-size: 14px;
}

    .ai-mobile-input::placeholder,
    .ai-otp-input::placeholder {
        color: #b5bbc4;
    }

.ai-continue-btn {
    display: flex;
    width: 100%;
    height: 40px;
    align-items: center;
    justify-content: center;
    gap: 10px;
    border: 0;
    border-radius: 11px;
    color: #fff;
    background: linear-gradient(90deg, #FE6407, #FF4B0B);
    box-shadow: 0 12px 25px rgba(254,100,7,.20);
    font-size: 15px;
    font-weight: 700;
    transition: .2s ease;
}

    .ai-continue-btn:hover {
        transform: translateY(-2px);
        box-shadow: 0 16px 30px rgba(254,100,7,.28);
    }

    .ai-continue-btn:disabled {
        cursor: not-allowed;
        opacity: .65;
        transform: none;
    }

    .ai-continue-btn i {
        transition: transform .2s ease;
    }

    .ai-continue-btn:hover i {
        transform: translateX(4px);
    }

/* =========================
                   OTP SCREEN
                ========================= */

.ai-screen {
    display: none;
}

    .ai-screen.active {
        display: block;
        animation: aiScreenIn .28s ease;
    }

@keyframes aiScreenIn {
    from {
        opacity: 0;
        transform: translateX(15px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.ai-otp-back {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    margin-bottom: 22px;
    padding: 0;
    border: 0;
    color: #596170;
    background: transparent;
    font-size: 13px;
    font-weight: 600;
}

    .ai-otp-back:hover {
        color: var(--ai-orange);
    }

.ai-otp-icon {
    display: flex;
    width: 52px;
    height: 52px;
    margin-bottom: 18px;
    align-items: center;
    justify-content: center;
    border-radius: 15px;
    color: var(--ai-orange);
    background: var(--ai-orange-light);
    font-size: 21px;
}

.ai-otp-title {
    margin-bottom: 8px;
    color: var(--ai-primary);
    font-size: 25px;
    font-weight: 800;
}

.ai-otp-description {
    margin-bottom: 24px;
    color: var(--ai-muted);
    font-size: 14px;
    line-height: 1.6;
}

.ai-otp-mobile {
    color: var(--ai-primary);
    font-weight: 700;
}

.ai-otp-row {
    display: flex;
    gap: 8px;
    margin-bottom: 10px;
}

.ai-otp-input {
    width: 48px;
    height: 48px;
    border: 1px solid var(--ai-border);
    border-radius: 10px;
    outline: 0;
    background: #fff;
    color: var(--ai-primary);
    text-align: center;
    font-size: 19px;
    font-weight: 700;
    transition: .2s ease;
}

    .ai-otp-input:focus {
        border-color: var(--ai-orange);
        box-shadow: 0 0 0 4px rgba(254,100,7,.09);
    }

    .ai-otp-input.invalid {
        border-color: var(--ai-danger);
        box-shadow: 0 0 0 3px rgba(217,45,32,.08);
    }

.ai-otp-error {
    min-height: 18px;
    margin-bottom: 10px;
    color: var(--ai-danger);
    font-size: 11px;
}

.ai-otp-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 15px 0 22px;
    font-size: 12px;
}

.ai-resend-btn {
    padding: 0;
    border: 0;
    color: var(--ai-orange);
    background: transparent;
    font-weight: 700;
}

    .ai-resend-btn:disabled {
        cursor: default;
        color: #a7adb6;
    }

.ai-timer {
    color: #7b838e;
}

/* =========================
                   INFO + FOOTER
                ========================= */

.ai-info-box {
    display: flex;
    gap: 12px;
    margin-top: 25px;
    padding: 15px;
    border: 1px solid #ffd7c2;
    border-radius: 12px;
    background: linear-gradient(135deg, #fffaf7, #fff3eb);
}

.ai-info-icon {
    flex: 0 0 23px;
    display: flex;
    width: 23px;
    height: 23px;
    align-items: center;
    justify-content: center;
    border: 1.5px solid var(--ai-orange);
    border-radius: 50%;
    color: var(--ai-orange);
    font-size: 11px;
}

.ai-info-text {
    color: #5f6672;
    font-size: 12px;
    line-height: 1.55;
}

.ai-footer {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 9px;
    margin-top: 45px;
    color: #777e89;
    font-size: 12px;
    line-height: 1.8;
}

    .ai-footer a {
        color: #4d5561;
        text-decoration: none;
    }

        .ai-footer a:hover {
            color: var(--ai-orange);
        }

.ai-footer-divider {
    color: #c6c9ce;
}

.ai-error {
    display: none;
    margin-top: 6px;
    color: var(--ai-danger);
    font-size: 11px;
}

    .ai-error.show {
        display: block;
    }

.ai-mobile-wrapper.invalid {
    border-color: var(--ai-danger);
    box-shadow: 0 0 0 3px rgba(217,45,32,.08);
}

/* =========================
                   RESPONSIVE
                ========================= */

@media (max-width: 1200px) {
    .ai-consent-wrapper {
        grid-template-columns: 50% 50%;
    }

    .ai-consent-left {
        padding: 60px 5%;
    }

    .ai-consent-right {
        padding: 50px 5%;
    }
}

@media (max-width: 991px) {
    .ai-consent-wrapper {
        display: block;
    }

    .ai-consent-left {
        min-height: auto;
        padding: 70px 30px 80px;
    }

    .ai-consent-right {
        min-height: auto;
        padding: 70px 30px;
    }

    .ai-left-content {
        max-width: 700px;
    }

    .ai-hero-title {
        font-size: 52px;
    }

    .ai-laptop {
        width: 90%;
    }

    .ai-floating-one {
        left: 0;
    }

    .ai-floating-two {
        right: 0;
    }
}

@media (max-width: 600px) {
    .ai-consent-left {
        padding: 55px 20px 70px;
    }

    .ai-consent-right {
        padding: 45px 20px;
    }

    .ai-hero-title {
        font-size: 42px;
        letter-spacing: -1.8px;
    }

    .ai-hero-subtitle {
        margin-bottom: 35px;
        font-size: 16px;
    }

    .ai-toggle {
        width: 56px;
        height: 29px;
    }

        .ai-toggle::after {
            width: 21px;
            height: 21px;
        }

    .ai-laptop {
        width: 100%;
    }

    .ai-floating-icon {
        width: 42px;
        height: 42px;
        font-size: 16px;
    }

    .ai-brand img {
        width: 195px;
    }

    .ai-form-title {
        font-size: 28px;
    }

    .ai-form-description {
        font-size: 14px;
    }

    .ai-footer {
        margin-top: 35px;
    }
}

@media (max-width: 400px) {
    .ai-hero-title {
        font-size: 36px;
    }

    .ai-otp-row {
        gap: 5px;
    }

    .ai-otp-input {
        height: 44px;
        font-size: 17px;
    }
}




/* Dashboard Css */
/* =========================================================
   AUTHENTICATE INDIA - CONSENT DASHBOARD
========================================================= */

.ai-dashboard-page {
    min-height: 100vh;
   /* padding: 0 5%;*/
    background: #fafbfc;
    color: #202536;
}


/* =========================================================
   HEADER
========================================================= */

.ai-dashboard-header {
    min-height: 62px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid #edf0f3;
    background: #fff;
    padding: 3px 18px;
}


.ai-dashboard-logo img {
    display: block;
    width: 205px;
    max-width: 100%;
}


.ai-dashboard-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}


.ai-dashboard-btn {
    height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 0 16px;
    border-radius: 9px;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: .2s ease;
    width:auto;
}


.ai-delete-btn {
    color: #d92d20;
    background: #fff;
    border: 1px solid #f2d5d2;
}


    .ai-delete-btn:hover {
        background: #fff6f5;
    }


.ai-withdraw-btn {
    color: #fff;
    background: #fe6407;
    border: 1px solid #fe6407;
    box-shadow: 0 6px 15px rgba(254, 100, 7, .15);
}


    .ai-withdraw-btn:hover {
        background: #e65300;
        transform: translateY(-1px);
    }


/* =========================================================
   MAIN
========================================================= */

.ai-dashboard-content {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 20px;
    padding: 28px 0 0px;
}


.ai-dashboard-left,
.ai-dashboard-right {
    display: flex;
    flex-direction: column;
    gap: 20px;
}


/* =========================================================
   CARD
========================================================= */

.ai-dashboard-card {
    background: #fff;
    border: 1px solid #edf0f3;
    border-radius: 14px;
    padding: 20px;
    box-shadow: 0 4px 18px rgba(0, 0, 0, .025);
}


/* =========================================================
   CARD HEADER
========================================================= */

.ai-dashboard-card-header {
    display: flex;
    align-items: center;
    gap: 12px;
    padding-bottom: 17px;
    border-bottom: 1px solid #f0f1f3;
}


.ai-dashboard-card-icon {
    width: 35px;
    height: 35px;
    flex: 0 0 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    color: #fe6407;
    background: #fff1e8;
    font-size: 16px;
}


.ai-dashboard-card-header h2 {
    margin: 0;
    color: #160e2a;
    font-size: 15px;
    line-height: 1.3;
    font-weight: 700;
}


.ai-dashboard-card-header p {
    margin-top: 3px;
    color: #8a919c;
    font-size: 11px;
    line-height: 1.4;
}


/* =========================================================
   PERSONAL / DEVICE / LOCATION DETAILS
========================================================= */

.ai-detail-list {
    padding-top: 5px;
}


.ai-detail-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 8px 0;
    border-bottom: 1px solid #f2f3f5;
}


    .ai-detail-item:last-child {
        border-bottom: 0;
    }


.ai-detail-label {
    color: #858c97;
    font-size: 12px;
    line-height: normal;
}


.ai-detail-value {
    color: #252b36;
    font-size: 12px;
    font-weight: 600;
    text-align: right;
    line-height:normal;
}


/* =========================================================
   ONBOARDING CONSENT
========================================================= */

.ai-consent-status-box {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 18px;
    padding: 14px;
    border: 1px solid #dcefe7;
    border-radius: 11px;
    background: #f5fcf9;
}


.ai-consent-status-icon {
    width: 34px;
    height: 34px;
    flex: 0 0 34px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: #fff;
    background: #24b47e;
    font-size: 13px;
}


.ai-consent-status-box strong {
    display: block;
    margin-bottom: 3px;
    color: #1d7d5c;
    font-size: 12px;
}


.ai-consent-status-box span {
    display: block;
    color: #78827e;
    font-size: 10px;
}


.ai-consent-detail-list {
    margin-top: 10px;
}


.ai-consent-detail-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 11px 0;
    border-bottom: 1px solid #f2f3f5;
    color: #858c97;
    font-size: 11px;
}


    .ai-consent-detail-row strong {
        color: #303640;
        font-size: 11px;
    }


.ai-status-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 5px 9px;
    border-radius: 20px;
    color: #16805b;
    background: #eafbf4;
    font-size: 10px;
    font-weight: 700;
}


/* =========================================================
   VIEW CONSENT BUTTON
========================================================= */

.ai-view-consent-btn {
    width: 100%;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 15px;
    border: 1px solid #ffd8c2;
    border-radius: 8px;
    color: #fe6407;
    background: #fffaf7;
    font-size: 11px;
    font-weight: 600;
    transition: .2s ease;
}


.signature-preview {
    width: 280px;
    min-height: 125px;
    border: 1px dashed #d9dee5;
    border-radius: 10px;
    background: #fafbfc;
    display: flex;
    justify-content: center;
    align-items: center;
}

.signature-text {
    font-family: cursive;
    font-size: 24px;
    font-style: italic;
    text-align: center;
    line-height: 1.2;
    color: #30343a;
    font-family: 'MonteCarlo', 'Times New Roman';
}

    .ai-view-consent-btn:hover {
        background: #fff1e8;
    }


/* =========================================================
   VERIFICATION CONSENTS
========================================================= */

.ai-verification-list {
    margin-top: 6px;
}


.ai-verification-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    padding: 14px 0;
    border-bottom: 1px solid #f0f1f3;
}


    .ai-verification-item:last-child {
        border-bottom: 0;
    }


.ai-verification-left {
    display: flex;
    align-items: center;
    gap: 11px;
}


.ai-verification-icon {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 9px;
    color: #fe6407;
    background: #fff1e8;
    font-size: 13px;
}


.ai-verification-left strong {
    display: block;
    color: #303640;
    font-size: 12px;
}


.ai-verification-left span {
    display: block;
    margin-top: 3px;
    color: #9298a1;
    font-size: 10px;
}


.ai-verification-right {
    display: flex;
    align-items: center;
    gap: 10px;
}


.ai-small-view-btn {
    border: 0;
    color: #fe6407;
    background: transparent;
    font-size: 11px;
    font-weight: 600;
    cursor: pointer;
}


/* =========================================================
   FOOTER
========================================================= */

.ai-dashboard-footer {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 8px;
    padding: 0px 0 5px;
    color: #8a919c;
    font-size: 10px;
}


    .ai-dashboard-footer a {
        color: #69717c;
        text-decoration: none;
    }


        .ai-dashboard-footer a:hover {
            color: #fe6407;
        }


/* =========================================================
   MODAL
========================================================= */

.ai-dashboard-modal {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
    background: rgba(22, 14, 42, .42);
    backdrop-filter: blur(5px);
}


    .ai-dashboard-modal.show {
        display: flex;
    }


.ai-dashboard-modal-box {
    width: 100%;
    max-width: 400px;
    padding: 28px;
    border-radius: 16px;
    background: #fff;
    text-align: center;
    box-shadow: 0 25px 70px rgba(0, 0, 0, .18);
}
.ai-withdraw-modal-box{
   max-width:unset;
   width:auto;
}

.ai-modal-icon {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px;
    border-radius: 50%;
    font-size: 18px;
}


.ai-modal-warning {
    color: #fe6407;
    background: #fff1e8;
}


.ai-modal-danger {
    color: #d92d20;
    background: #fff0ef;
}


.ai-dashboard-modal-box h3 {
    margin-bottom: 8px;
    color: #160e2a;
    font-size: 19px;
}


.ai-dashboard-modal-box p {
    color: #747c88;
    font-size: 12px;
    line-height: normal;
}


.ai-modal-actions {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 22px;
}


    .ai-modal-actions button {
        height: 38px;
        padding: 0 18px;
        border-radius: 8px;
        font-size: 11px;
        font-weight: 600;
    }


.ai-modal-cancel {
    border: 1px solid #e1e4e8;
    color: #59616d;
    background: #fff;
}


.ai-modal-confirm {
    border: 1px solid #fe6407;
    color: #fff;
    background: #fe6407;
}


.ai-modal-delete {
    border: 1px solid #d92d20;
    color: #fff;
    background: #d92d20;
}


/* =========================================================
   RESPONSIVE
========================================================= */

@media (max-width: 900px) {

    .ai-dashboard-page {
       
    }

    .ai-dashboard-content {
        grid-template-columns: 1fr;
    }
}


@media (max-width: 600px) {

    .ai-dashboard-page {
        
    }

    .ai-dashboard-header {
        min-height: 70px;
        gap: 15px;
    }

    .ai-dashboard-logo img {
        width: 165px;
    }

    .ai-dashboard-actions {
        gap: 6px;
    }

    .ai-dashboard-btn {
        width: 38px;
        height: 38px;
        padding: 0;
    }

        .ai-dashboard-btn span {
            display: none;
        }

    .ai-dashboard-content {
        gap: 15px;
        padding: 18px 0;
    }

    .ai-dashboard-left,
    .ai-dashboard-right {
        gap: 15px;
    }

    .ai-dashboard-card {
        padding: 16px;
    }

    .ai-detail-item {
        align-items: flex-start;
        flex-direction: column;
        gap: 4px;
    }

    .ai-detail-value {
        text-align: left;
    }

    .ai-verification-item {
        align-items: flex-start;
    }

    .ai-verification-right {
        flex-direction: column;
        align-items: flex-end;
        gap: 5px;
    }
}


/* =========================================================
   CONSENT ITEM
========================================================= */

.consent-item {
    width: 100%;
    min-width: 0;
    display: grid;
    grid-template-columns: 48px minmax(0, 1fr) auto;
    align-items: center;
    column-gap: 14px;
    padding: 12px 16px;
    background: #ffffff;
    border: 1px solid #e7ebef;
    border-radius: 11px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.025);
    box-sizing: border-box;
    transition: all .2s ease;
    margin-bottom:5px;
}


/* =========================================================
   ICON
========================================================= */

.consent-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    color: #fe6407;
    background: #fff0e8;
    font-size: 17px;
    flex-shrink: 0;
}


/* =========================================================
   CONTENT
========================================================= */

.consent-content {
    width: auto;
    min-width: 0;
    display: block;
}


    .consent-content h3 {
        display: block;
        width: auto;
        margin: 0 0 5px;
        color: #14213d;
        font-size: 13px;
        line-height: 1.3;
        font-weight: 700;
        white-space: normal;
    }


    .consent-content p {
        display: block;
        width: auto;
        margin: 0;
        color: #667085;
        font-size: 10px;
        line-height: 1.55;
        white-space: normal;
    }


        .consent-content p strong {
            color: #303640;
            font-weight: 600;
        }


/* =========================================================
   STATUS
========================================================= */

.consent-status {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    padding: 7px 9px;
    border-radius: 8px;
    color: #07855b;
    background: #e7faf3;
    font-size: 10px;
    font-weight: 700;
    white-space: nowrap;
    flex-shrink: 0;
    height:22px;
}


/* =========================================================
   VIEW
========================================================= */

.consent-view-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 0;
    border: 0;
    outline: none;
    color: #fe6407;
    background: transparent;
    font-size: 10px;
    font-weight: 600;
    white-space: nowrap;
    cursor: pointer;
    flex-shrink: 0;
}


    .consent-view-btn i {
        font-size: 9px;
        transition: transform .2s ease;
    }


    .consent-view-btn:hover i {
        transform: translateX(3px);
    }


/* =========================================================
   HOVER
========================================================= */

.consent-item:hover {
    border-color: #ffd8c2;
    box-shadow: 0 5px 18px rgba(254, 100, 7, .07);
    transform: translateY(-1px);
}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 650px) {

    .consent-item {
        grid-template-columns: 44px minmax(0, 1fr);
        row-gap: 10px;
        padding: 13px;
    }

    .consent-icon {
        width: 44px;
        height: 44px;
    }

    .consent-status {
        grid-column: 2;
        justify-self: start;
    }

    .consent-view-btn {
        grid-column: 2;
        justify-self: start;
    }
}


/* =========================================================
   CONSENT OVERLAY
========================================================= */

.ai-consent-overlay {
    position: fixed;
    inset: 0;
    z-index: 9998;
    background: rgba(22, 14, 42, 0.35);
    backdrop-filter: blur(2px);
    opacity: 0;
    visibility: hidden;
    transition: opacity .25s ease, visibility .25s ease;
}

    .ai-consent-overlay.show {
        opacity: 1;
        visibility: visible;
    }


/* =========================================================
   SIDE PANEL
========================================================= */

.ai-consent-sidepanel {
    position: fixed;
    top: 0;
    right: 0;
    z-index: 9999;
    width: 680px;
    max-width: 92vw;
    height: 100vh;
    display: flex;
    flex-direction: column;
    background: #fafbfc;
    border-left: 1px solid #edf0f3;
    box-shadow: -15px 0 45px rgba(0, 0, 0, .12);
    transform: translateX(100%);
    transition: transform .3s cubic-bezier(.4, 0, .2, 1);
}

    .ai-consent-sidepanel.open {
        transform: translateX(0);
    }


/* =========================================================
   PANEL HEADER
========================================================= */

.ai-sidepanel-header {
    min-height: 82px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 22px;
    background: #fff;
    border-bottom: 1px solid #edf0f3;
}


    .ai-sidepanel-header h2 {
        margin: 0;
        color: #160e2a;
        font-size: 18px;
        font-weight: 700;
    }


    .ai-sidepanel-header p {
        margin: 4px 0 0;
        color: #8a919c;
        font-size: 11px;
    }


/* Close */

.ai-sidepanel-close {
    width: 34px;
    height: 34px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #e7eaee;
    border-radius: 9px;
    color: #626b76;
    background: #fff;
    cursor: pointer;
    transition: .2s ease;
}


    .ai-sidepanel-close:hover {
        color: #fe6407;
        border-color: #ffd3bb;
        background: #fff7f2;
    }


/* =========================================================
   PANEL CONTENT
========================================================= */

.ai-sidepanel-content {
    flex: 1;
    overflow-y: auto;
    padding: 18px;
}



/* =========================================================
   SCROLLBAR
========================================================= */

.ai-sidepanel-content::-webkit-scrollbar {
    width: 5px;
}


.ai-sidepanel-content::-webkit-scrollbar-track {
    background: transparent;
}


.ai-sidepanel-content::-webkit-scrollbar-thumb {
    border-radius: 10px;
    background: #dfe3e8;
}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 600px) {

    .ai-consent-sidepanel {
        width: 100%;
        max-width: 100%;
    }

    .ai-sidepanel-header {
        padding: 0 18px;
    }

    .ai-sidepanel-content {
        padding: 14px;
    }
}
/* =========================================
   DELETE ACCOUNT MODAL
========================================= */

.ai-delete-modal-box {
    width: auto;
    max-height: 90vh;
    overflow-y: auto;
    padding: 30px;
    max-width:unset;
}

    /* Icon */

    .ai-delete-modal-box .ai-modal-icon {
        width: 42px;
        height: 42px;
        margin: 0 auto 9px;
        display: flex;
        align-items: center;
        justify-content: center;
        border-radius: 10px;
        font-size: 21px;
    }
    

    /* Heading */

    .ai-delete-modal-box h3 {
        margin: 0;
        text-align: center;
        font-size: 22px;
        font-weight: 700;
        color: #202536;
    }

/* Intro */

.ai-delete-intro {
    max-width: 440px;
    margin: 9px auto 22px;
    text-align: center;
    font-size: 14px;
    line-height: 1.6;
    color: #737b88;
}


/* =========================================
   NOTICE BOX
========================================= */

.ai-delete-notice {
    background: #fff9f5;
    border: 1px solid #ffe2d3;
    border-radius: 14px;
    padding: 17px;
}

/* Notice heading */

.ai-delete-notice-title {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 7px;
    font-size: 14px;
    font-weight: 700;
    color: #c94f08;
}

    .ai-delete-notice-title i {
        font-size: 15px;
    }


/* =========================================
   DELETE POINTS
========================================= */

.ai-delete-points {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.ai-delete-point {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 7px 9px;
    border-radius: 10px;
    transition: background .2s ease;
}

    .ai-delete-point:hover {
        background: rgba(255, 255, 255, .75);
    }


/* Point icon */

.ai-delete-point-icon {
    flex: 0 0 34px;
    width: 34px;
    height: 34px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 9px;
    background: #fff;
    border: 1px solid #f1ddd2;
    color: #fe6407;
    font-size: 13px;
}


/* Point content */

.ai-delete-point h4 {
    margin: 0 0 3px;
    font-size: 13px;
    font-weight: 700;
    color: #303746;
    text-align: justify;
}

.ai-delete-point p {
    margin: 0;
    font-size: 12px;
    line-height: 1.55;
    color: #737b88;
}


/* =========================================
   FINAL WARNING
========================================= */

.ai-delete-final-warning {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    margin-top: 15px;
    padding: 11px 12px;
    border-radius: 9px;
    background: #f7f8fa;
    color: #687180;
    font-size: 11.5px;
    line-height: 1.5;
}

    .ai-delete-final-warning i {
        margin-top: 2px;
        color: #8a929e;
    }


/* =========================================
   ACTIONS
========================================= */

.ai-delete-modal-box .ai-modal-actions {
    margin-top: 23px;
}

.ai-delete-modal-box .ai-modal-delete {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
}


.ai-delete-modal-box::-webkit-scrollbar-track {
    background: transparent;
}
.ai-delete-modal-box::-webkit-scrollbar-thumb {
    border-radius: 10px;
    background: #dfe3e8;
}
.ai-delete-modal-box::-webkit-scrollbar {
    width: 5px;
}

/* =========================================
   MOBILE
========================================= */
@media (max-width: 576px) {
    .ai-delete-modal-box {
        width: calc(100% - 24px);
        padding: 22px;
        border-radius: 18px;
    }

        .ai-delete-modal-box h3 {
            font-size: 20px;
        }

    .ai-delete-notice {
        padding: 13px;
    }

    .ai-delete-point {
        gap: 9px;
        padding: 9px 4px;
    }

    .ai-delete-point-icon {
        flex-basis: 31px;
        width: 31px;
        height: 31px;
        font-size: 12px;
    }

    .ai-delete-point h4 {
        font-size: 12.5px;
    }

    .ai-delete-point p {
        font-size: 11.5px;
    }

    .ai-delete-modal-box .ai-modal-actions {
        flex-direction: column-reverse;
    }

        .ai-delete-modal-box .ai-modal-actions button {
            width: 100%;
        }
}





/* =========================================
   GRIEVANCE HELP BANNER
========================================= */

.grievance-help-banner {
    width: 100%;
    min-height: 108px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 25px;
    padding: 20px 24px;
    background: linear-gradient( 90deg, #fff8f3 0%, #fffaf7 55%, #fff 100% );
    border: 1px solid #ffd9c4;
    border-radius: 12px;
    position: relative;
    overflow: hidden;
    margin: 20px 0 20px;
}


    /* =========================================
   BACKGROUND DECORATION
========================================= */

    .grievance-help-banner::after {
        content: "";
        position: absolute;
        width: 170px;
        height: 170px;
        right: 110px;
        top: -70px;
        border-radius: 50%;
        background: rgba(254, 100, 7, 0.035);
        pointer-events: none;
    }


/* =========================================
   LEFT CONTENT
========================================= */

.grievance-help-content {
    display: flex;
    align-items: center;
    gap: 15px;
    position: relative;
    z-index: 2;
    min-width: 0;
}


/* =========================================
   ICON
========================================= */

.grievance-help-icon {
    width: 52px;
    height: 52px;
    min-width: 52px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff0e7;
    color: #fe6407;
    font-size: 25px;
}

    .grievance-help-icon i {
        line-height: 1;
    }


/* =========================================
   TEXT
========================================= */

.grievance-help-text h3 {
    margin: 0 0 5px;
    color: #182b49;
    font-size: 18px;
    line-height: 1.25;
    font-weight: 700;
}

.grievance-help-text p {
    margin: 0;
    max-width: 620px;
    color: #667085;
    font-size: 12px;
    line-height: 1.55;
}


/* =========================================
   BUTTON
========================================= */

.grievance-help-button {
    position: relative;
    z-index: 3;
    flex-shrink: 0;
    min-width: 175px;
    height: 44px;
    padding: 0 18px;
    border-radius: 9px;
    background: #fe6407;
    color: #ffffff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    text-decoration: none;
    font-size: 13px;
    font-weight: 600;
    transition: background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

    .grievance-help-button:hover {
        background: #e95700;
        color: #ffffff;
        transform: translateY(-1px);
        box-shadow: 0 6px 16px rgba(254, 100, 7, 0.22);
    }

    .grievance-help-button i {
        font-size: 17px;
        transition: transform 0.2s ease;
    }

    .grievance-help-button:hover i {
        transform: translateX(3px);
    }


/* =========================================
   TABLET
========================================= */

@media (max-width: 768px) {

    .grievance-help-banner {
        padding: 18px;
        gap: 18px;
    }

    .grievance-help-text h3 {
        font-size: 16px;
    }

    .grievance-help-text p {
        font-size: 11px;
    }

    .grievance-help-button {
        min-width: 155px;
        font-size: 12px;
    }
}


/* =========================================
   MOBILE
========================================= */

@media (max-width: 576px) {

    .grievance-help-banner {
        flex-direction: column;
        align-items: stretch;
        padding: 18px;
        gap: 15px;
    }

    .grievance-help-content {
        align-items: flex-start;
    }

    .grievance-help-icon {
        width: 45px;
        height: 45px;
        min-width: 45px;
        font-size: 22px;
    }

    .grievance-help-text h3 {
        font-size: 16px;
    }

    .grievance-help-text p {
        font-size: 11px;
    }

    .grievance-help-button {
        width: 100%;
        height: 44px;
    }
}


.selected-file-name {
    margin-top: 10px;
    padding: 9px 12px;
    border: 1px solid #ffd7c3;
    background: #fff8f4;
    border-radius: 8px;
    display: flex;
    align-items: center;
    gap: 8px;
    color: #344b68;
    font-size: 11px;
    font-weight: 600;
    max-width: 90%;
}

    .selected-file-name > i {
        color: #fe6407;
        font-size: 15px;
    }

#fileNameText {
    flex: 1;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.remove-file-btn {
    width: 25px;
    height: 25px;
    border: 0;
    border-radius: 6px;
    background: #ffe9df;
    color: #fe6407;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

    .remove-file-btn:hover {
        background: #fe6407;
        color: #fff;
    }

.grievance-container {
    padding: 0px 15px;
}
/* =====================================================
                   HERO
                ====================================================== */

.grievance-hero {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 405px;
    gap: 20px;
    margin-bottom: 20px;
    margin-top: 20px;
}

.grievance-hero-main {
    border: 1px solid #ffe0d1;
    border-radius: 18px;
    padding: 15px 25px;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    background: radial-gradient(circle at 78% 30%, rgba(254,100,7,.08), transparent 28%), linear-gradient(100deg, #fff7f2 0%, #fffaf7 55%, #ffffff 100%);
}

    .grievance-hero-main::after {
        content: "";
        position: absolute;
        width: 230px;
        height: 230px;
        right: 20px;
        top: -80px;
        border-radius: 50%;
        background: rgba(254,100,7,.035);
    }

.grievance-hero-icon {
    width: 55px;
    height: 55px;
    min-width: 55px;
    border-radius: 12px;
    background: #fff0e7;
    color: #fe6407;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    margin-right: 20px;
    position: relative;
    z-index: 2;
}

.grievance-hero-content {
    position: relative;
    z-index: 2;
}

    .grievance-hero-content h1 {
        margin: 0 0 8px;
        font-size: 24px;
        line-height: 1.2;
        color: #182b49;
        font-weight: 800;
    }

    .grievance-hero-content p {
        margin: 0;
        max-width: 720px;
        color: #607089;
        font-size: 14px;
        line-height: 1.7;
    }


/* =====================================================
                   SUPPORT CARD
                ====================================================== */

.grievance-support-card {
    background: #fff8f2;
    border: 1px solid #ffe0d0;
    border-radius: 18px;
    padding: 15px 20px;
    display: flex;
    align-items: flex-start;
    gap: 15px;
}

.grievance-support-icon {
    width: 48px;
    height: 48px;
    min-width: 48px;
    border-radius: 13px;
    background: #fff0e4;
    color: #fe6407;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 21px;
}

.grievance-support-card h3 {
    margin: 2px 0 7px;
    font-size: 16px;
    color: #182b49;
    font-weight: 700;
}

.grievance-support-card p {
    margin: 0;
    color: #607089;
    font-size: 12px;
    line-height: 1.65;
}


/* =====================================================
                   MAIN GRID
                ====================================================== */

.grievance-main-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 405px;
    gap: 20px;
    align-items: start;
    padding-bottom: 20px;
}


/* =====================================================
                   CARD
                ====================================================== */

.grievance-card {
    background: #ffffff;
    border: 1px solid #e5e9ef;
    border-radius: 16px;
    padding: 25px;
    box-shadow: 0 4px 18px rgba(25, 42, 70, .025);
}

.grievance-card-header {
    display: flex;
    align-items: center;
    gap: 13px;
    margin-bottom: 25px;
}

.grievance-card-header-icon {
    width: 42px;
    height: 42px;
    min-width: 42px;
    border-radius: 11px;
    background: #fff0e7;
    color: #fe6407;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
}

.grievance-card-header h2 {
    margin: 0 0 3px;
    font-size: 17px;
    color: #182b49;
    font-weight: 700;
}

.grievance-card-header p {
    margin: 0;
    color: #738097;
    font-size: 12px;
}


/* =====================================================
                   FORM
                ====================================================== */

.grievance-form-group {
    margin-bottom: 10px;
    position: relative;
}

.grievance-label {
    display: block;
    margin-bottom: 0px;
    color: #263952;
    font-size: 12px;
    font-weight: 700;
}

.required {
    color: #e53935;
}

.grievance-input,
.grievance-select,
.grievance-textarea {
    width: 100%;
    border: 1px solid #dce2e9;
    border-radius: 9px;
    background: #fff;
    color: #344b68;
    font-family: 'Inter', sans-serif;
    font-size: 13px;
    outline: none;
    transition: border-color .2s ease, box-shadow .2s ease;
}

.grievance-input {
    height: 46px !important;
    padding: 0 14px;
}

.grievance-select {
    height: 46px;
    padding: 0 14px;
    cursor: pointer;
}

.grievance-textarea {
    min-height: 125px;
    padding: 13px 14px;
    resize: vertical;
}

    .grievance-input:focus,
    .grievance-select:focus,
    .grievance-textarea:focus {
        border-color: #fe6407 !important;
        box-shadow: 0 0 0 3px rgba(254,100,7,.08) !important;
    }

    .grievance-input::placeholder,
    .grievance-textarea::placeholder {
        color: #9aa6b5;
    }

.character-count {
    text-align: right;
    color: #8995a5;
    font-size: 10px;
    margin-top: 5px;
    position: absolute;
    right: 1%;
    bottom: 1%;
}


/* =====================================================
                   UPLOAD
                ====================================================== */

.grievance-upload {
    min-height: auto;
    border: 1.5px dashed #cfd8e3;
    border-radius: 10px;
    background: #fafcfe;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all .2s ease;
    padding: 15px 0px;
}

    .grievance-upload:hover {
        border-color: #fe6407;
        background: #fff9f5;
    }

.grievance-upload-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #fff0e6;
    color: #fe6407;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    margin-bottom: 7px;
}

.grievance-upload strong {
    font-size: 12px;
    color: #394d68;
}

.grievance-upload span {
    font-size: 10px;
    color: #8995a5;
    margin-top: 4px;
}

.grievance-upload input {
    display: none;
}


/* =====================================================
                   CHECKBOX
                ====================================================== */

.grievance-check {
    display: flex;
    align-items: center;
    ;
    margin-top: 5px;
    margin-bottom: 5px;
}

    .grievance-check input {
        width: 15px;
        height: 15px;
        margin-top: 1px;
        accent-color: #fe6407;
        cursor: pointer;
    }

    .grievance-check label {
        color: #53647b;
        font-size: 11px;
        line-height: 1.55;
        cursor: pointer;
    }


/* =====================================================
                   FORM BUTTONS
                ====================================================== */

.grievance-form-actions {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
}

.grievance-btn {
    height: 36px;
    padding: 0 21px;
    border-radius: 8px;
    font-family: 'Inter', sans-serif;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: all .2s ease;
    width: auto;
}

.grievance-btn-cancel {
    background: #fff;
    border: 1px solid #fe6407;
    color: #fe6407;
}

    .grievance-btn-cancel:hover {
        background: #fff6f0;
    }

.grievance-btn-submit {
    background: #fe6407;
    border: 1px solid #fe6407;
    color: #fff;
    min-width: 150px;
}

    .grievance-btn-submit:hover {
        background: #e95700;
        border-color: #e95700;
        box-shadow: 0 6px 15px rgba(254,100,7,.18);
    }




/* =====================================================
                   IMPORTANT INFORMATION
                ====================================================== */

.important-card {
    background: #fffaf5;
    border: 1px solid #ffe0cc;
    border-radius: 15px;
    padding: 20px;
}

.important-header {
    display: flex;
    align-items: center;
    gap: 11px;
    margin-bottom: 13px;
}

.important-icon {
    width: 36px;
    height: 36px;
    min-width: 36px;
    border-radius: 10px;
    background: #fff0e4;
    color: #fe6407;
    display: flex;
    align-items: center;
    justify-content: center;
}

.important-header h3 {
    margin: 0;
    color: #263952;
    font-size: 14px;
    font-weight: 700;
}

.important-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

    .important-list li {
        display: flex;
        gap: 9px;
        color: #68778c;
        font-size: 11px;
        line-height: 1.6;
        margin-bottom: 7px;
    }

        .important-list li:last-child {
            margin-bottom: 0;
        }

    .important-list i {
        color: #fe6407;
        margin-top: 3px;
    }



/* =====================================================
                   RESPONSIVE
                ====================================================== */

@@media (max-width: 1100px) {
    .grievance-hero {
        grid-template-columns: 1fr;
    }

    .grievance-main-grid {
        grid-template-columns: 1fr;
    }
}

@@media (max-width: 768px) {
    .ai-dashboard-header {
        padding: 0 18px;
    }

    .ai-dashboard-logo img {
        width: 145px;
    }

    .grievance-container {
        width: calc(100% - 30px);
        padding-top: 20px;
    }

    .grievance-hero-main {
        padding: 22px;
    }

    .grievance-hero-content h1 {
        font-size: 22px;
    }

    .grievance-hero-content p {
        font-size: 12px;
    }

    .grievance-support-card {
        padding: 20px;
    }

    .grievance-card {
        padding: 18px;
    }
}

@@media (max-width: 576px) {
    .ai-dashboard-header {
        height: 64px;
    }

    .ai-dashboard-logo img {
        width: 135px;
    }

    .ai-dashboard-actions {
        gap: 5px;
    }

    .ai-dashboard-btn {
        width: 40px;
        height: 40px;
        padding: 0;
    }

    .grievance-hero-main {
        display: block;
    }

    .grievance-hero-icon {
        margin-bottom: 15px;
    }

    .grievance-hero-content h1 {
        font-size: 20px;
    }

    .grievance-support-card {
        display: block;
    }

    .grievance-support-icon {
        margin-bottom: 12px;
    }

    .grievance-form-actions {
        flex-direction: column-reverse;
    }

    .grievance-btn {
        width: 100%;
    }
}

.file-upload-error {
    margin-top: 10px;
    padding: 9px 12px;
    border: 1px solid #f5b5b5;
    background: #fff5f5;
    border-radius: 7px;
    display: flex;
    align-items: center;
    gap: 8px;
    color: #dc2626;
    font-size: 11px;
    font-weight: 600;
}

    .file-upload-error i {
        font-size: 13px;
    }

.selected-file-name {
    margin-top: 10px;
    padding: 9px 12px;
    border: 1px solid #ffd7c3;
    background: #fff8f4;
    border-radius: 8px;
    display: flex;
    align-items: center;
    gap: 8px;
    color: #344b68;
    font-size: 11px;
    font-weight: 600;
    max-width: 90%;
}

    .selected-file-name > i {
        color: #fe6407;
        font-size: 15px;
    }

#fileNameText {
    flex: 1;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.remove-file-btn {
    width: 25px;
    height: 25px;
    border: 0;
    border-radius: 6px;
    background: #ffe9df;
    color: #fe6407;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

    .remove-file-btn:hover {
        background: #fe6407;
        color: #fff;
    }




.mg-main {
    width: 100%;
    padding: 25px 30px 35px;
}

.mg-content {
    width: 100%;
    max-width: 1460px;
    margin: 0 auto;
}


/* =========================================================
                   BACK
                ========================================================== */

.mg-back {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    color: #182b49;
    font-size: 12px;
    font-weight: 500;
    
}

    .mg-back i {
        color: #fe6407;
        font-size: 13px;
    }

    .mg-back:hover {
        color: #fe6407;
    }


/* =========================================================
                   HERO
                ========================================================== */

.mg-hero {
    position: relative;
    overflow: hidden;
    min-height: 125px;
    border: 1px solid #ffe0cf;
    border-radius: 17px;
    padding: 24px 28px;
    display: flex;
    align-items: center;
    background: radial-gradient( circle at 80% 40%, rgba(254,100,7,.09), transparent 27% ), linear-gradient( 105deg, #fff7f2 0%, #fffaf7 55%, #ffffff 100% );
    margin-bottom: 18px;
}

    .mg-hero::after {
        content: "";
        position: absolute;
        width: 240px;
        height: 240px;
        right: 55px;
        top: -105px;
        border-radius: 50%;
        background: rgba(254,100,7,.035);
    }

.mg-hero-icon {
    width: 78px;
    height: 78px;
    min-width: 78px;
    border-radius: 17px;
    background: #ffeadf;
    color: #fe6407;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 31px;
    margin-right: 20px;
    position: relative;
    z-index: 2;
}

.mg-hero-content {
    position: relative;
    z-index: 2;
}

    .mg-hero-content h1 {
        margin: 0 0 7px;
        font-size: 25px;
        line-height: 1.2;
        font-weight: 800;
        color: #182b49;
    }

    .mg-hero-content p {
        margin: 0;
        font-size: 13px;
        line-height: 1.6;
        color: #61718b;
    }


/* =========================================================
                   SUMMARY CARDS
                ========================================================== */

.mg-summary {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 12px;
    margin-bottom: 17px;
}

.mg-summary-card {
    min-height: 80px;
    background: #ffffff;
    border: 1px solid #e4e9ef;
    border-radius: 12px;
    padding: 12px 14px;
    display: flex;
    align-items: center;
    gap: 11px;
}

.mg-summary-icon {
    width: 43px;
    height: 43px;
    min-width: 43px;
    border-radius: 11px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
}
.mg-buttongrp{
display:flex;
justify-content:space-between;
margin-bottom:10px;
}

.mg-summary-card:nth-child(1) {
    border-color: #ffd9c5;
}

    .mg-summary-card:nth-child(1) .mg-summary-icon {
        background: #fff0e7;
        color: #fe6407;
    }

.mg-summary-card:nth-child(2) .mg-summary-icon {
    background: #eaf5ff;
    color: #0878e8; 
}

.mg-summary-card:nth-child(3) .mg-summary-icon {
    background: #f0eaff;
    color: #7652d1;
}

.mg-summary-card:nth-child(4) .mg-summary-icon {
    background: #e9f9f0;
    color: #079455;
}

.mg-summary-card:nth-child(5) .mg-summary-icon {
    background: #fff0f0;
    color: #e52525;
}

.mg-summary-label {
    display: block;
    color: #344b68;
    font-size: 12px;
    font-weight: 600;
    margin-bottom: 3px;
    line-height: normal;
}

.mg-summary-number {
    display: block;
    color: #182b49;
    font-size: 20px;
    font-weight: 800;
}


/* =========================================================
                   FILTER
                ========================================================== */

.mg-filter {
    background: #ffffff;
    border: 1px solid #e4e9ef;
    border-radius: 12px;
    padding: 12px;
    display: grid;
    grid-template-columns: minmax(240px, 1.7fr) minmax(150px, .8fr) minmax(150px, .8fr) minmax(180px, .9fr);
    gap: 10px;
    margin-bottom: 14px;
}

.mg-search {
    position: relative;
}

    .mg-search i {
        position: absolute;
        left: 13px;
        top: 50%;
        transform: translateY(-50%);
        color: #63748e;
        font-size: 14px;
        pointer-events: none;
    }

.mg-filter-input,
.mg-filter-select {
    width: 100%;
    height: 40px !important;
    border: 1px solid #dce2e9;
    border-radius: 8px;
    background: #ffffff;
    color: #40536d;
    font-size: 14px !important;
    outline: none;
}

.mg-filter-input {
    padding: 0 12px 0 36px !important;
}

.mg-filter-select {
    padding: 0 12px;
}

    .mg-filter-input:focus,
    .mg-filter-select:focus {
        border-color: #fe6407;
        box-shadow: 0 0 0 3px rgba(254,100,7,.07);
    }


/* =========================================================
                   LIST
                ========================================================== */

.mg-list {
    display: flex;
    flex-direction: column;
    gap: 9px;
}

.mg-row {
    min-height: 100px;
    background: #ffffff;
    border: 1px solid #e5e9ef;
    border-radius: 12px;
    display: grid;
    grid-template-columns: minmax(250px, 1.6fr) minmax(135px, .75fr) minmax(135px, .75fr) 125px;
    align-items: center;
    gap: 10px;
    padding: 12px 14px;
    transition: .2s ease;
}

    .mg-row:hover {
        border-color: #ffd0b7;
        box-shadow: 0 4px 15px rgba(25,42,70,.04);
    }

    .mg-row.active {
        border-color: #ffae7e;
        background: linear-gradient( 90deg, #fffaf7 0%, #ffffff 80% );
        box-shadow: 0 3px 14px rgba(254,100,7,.05);
    }


/* =========================================================
                   ROW REQUEST
                ========================================================== */

.mg-request {
    display: flex;
    align-items: center;
    gap: 12px;
    line-height: normal;
    min-width: 0;
}

.mg-request-icon {
    width: 51px;
    height: 51px;
    min-width: 51px;
    border-radius: 11px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
}

.icon-orange {
    background: #fff0e7;
    color: #fe6407;
}

.icon-blue {
    background: #eaf5ff;
    color: #0878e8;
}

.icon-purple {
    background: #f2eaff;
    color: #7652d1;
}

.icon-red {
    background: #fff0f0;
    color: #e52525;
}

.icon-green {
    background: #e9f9f0;
    color: #079455;
}

.mg-request-content {
    min-width: 0;
}

    .mg-request-content h3 {
        margin: 0 0 4px;
        color: #182b49;
        font-size: 16px;
        font-weight: 700;
    }

.mg-reference {
    display: block;
    color: #0878e8;
    font-size: 10px;
    font-weight: 600;
    margin-bottom: 4px;
}

.mg-request-description {
    display: block;
    color: #718097;
    font-size: 14px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 430px;
}


/* =========================================================
                   DATE
                ========================================================== */

.mg-date-label {
    display: block;
    color: #263952;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 5px;
    line-height: normal;
}

.mg-date-value {
    display: flex;
    align-items: center;
    gap: 6px;
    color: #60718a;
    font-size: 14px;
    white-space: nowrap;
}

    .mg-date-value i {
        color: #182b49;
        font-size: 10px;
    }


/* =========================================================
                   STATUS
                ========================================================== */

.mg-status-area {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
}

.mg-status {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 10px;
    border-radius: 20px;
    font-size: 10px;
    font-weight: 600;
    white-space: nowrap;
    line-height: normal;
}

    .mg-status i {
        font-size: 7px;
    }

.status-progress {
    color: #702fd0;
    background: #f1e8ff;
}

.status-resolved {
    color: #07834d;
    background: #e8f8ef;
}

.status-submitted {
    color: #0878e8;
    background: #e9f4ff;
}

.status-review {
    color: #b96b00;
    background: #fff4dc;
}

.status-rejected {
    color: #d91f1f;
    background: #ffeaea;
}


/* =========================================================
                   VIEW BUTTON
                ========================================================== */

.mg-view-btn {
    width: 100%;
    height: 34px;
    border-radius: 7px;
    background: #ffffff;
    border: 1px solid #fe6407;
    color: #fe6407;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    font-size: 10px;
    font-weight: 600;
    transition: .2s ease;
}

    .mg-view-btn:hover {
        background: #fe6407;
        color: #ffffff;
    }

    .mg-view-btn i {
        font-size: 9px;
    }


/* =========================================================
                   PAGINATION
                ========================================================== */

.mg-pagination-area {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 13px;
    color: #718097;
    font-size: 10px;
}

.mg-pagination {
    display: flex;
    align-items: center;
    gap: 6px;
}

.mg-page-btn {
    width: 34px;
    height: 34px;
    border: 1px solid #dce2e9;
    border-radius: 8px;
    background: #ffffff;
    color: #263952;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
}

    .mg-page-btn:hover {
        border-color: #fe6407;
        color: #fe6407;
    }

    .mg-page-btn.active {
        background: #fe6407;
        border-color: #fe6407;
        color: #ffffff;
    }


/* =========================================================
                   DETAIL OVERLAY
                ========================================================== */

.mg-overlay {
    position: fixed;
    inset: 0;
    background: rgba(16,27,45,.22);
    opacity: 0;
    visibility: hidden;
    transition: .25s ease;
    z-index: 190;
}

    .mg-overlay.show {
        opacity: 1;
        visibility: visible;
    }


/* =========================================================
                   DETAIL PANEL
                ========================================================== */

.mg-detail-panel {
    position: fixed;
    top: 0;
    right: 0;
    width: 570px;
    max-width: 100%;
    height: 100vh;
    background: #ffffff;
    border-left: 1px solid #e5e9ef;
    box-shadow: -10px 0 40px rgba(24,43,73,.10);
    transform: translateX(100%);
    transition: transform .3s cubic-bezier(.4,0,.2,1);
    z-index: 200;
    display: flex;
    flex-direction: column;
}

    .mg-detail-panel.open {
        transform: translateX(0);
    }


/* =========================================================
                   PANEL HEADER
                ========================================================== */

.mg-panel-header {
    padding: 24px 25px 18px;
    border-bottom: 1px solid #edf0f4;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    flex-shrink: 0;
}

    .mg-panel-header h2 {
        margin: 0 0 5px;
        color: #182b49;
        font-size: 21px;
        font-weight: 800;
    }

    .mg-panel-header p {
        margin: 0;
        color: #718097;
        font-size: 11px;
    }

.mg-panel-close {
    width: 35px;
    height: 35px;
    border: 0;
    background: transparent;
    color: #596b84;
    border-radius: 7px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
}

    .mg-panel-close:hover {
        background: #fff2eb;
        color: #fe6407;
    }


/* =========================================================
                   PANEL BODY
                ========================================================== */

.mg-panel-body {
    flex: 1;
    overflow-y: auto;
    padding: 16px;
    background: #fbfcfd;
    scrollbar-width: none;
}


/* =========================================================
                   PANEL CARDS
                ========================================================== */

.mg-panel-card {
    background: #ffffff;
    border: 1px solid #e6ebf0;
    border-radius: 11px;
    padding: 15px;
    margin-bottom: 13px;
}

    .mg-panel-card:last-child {
        margin-bottom: 0;
    }


/* =========================================================
                   PANEL REQUEST HEADER
                ========================================================== */

.mg-detail-request {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
}

.mg-detail-request-left {
    display: flex;
    align-items: center;
    gap: 12px;
}

.mg-detail-icon {
    width: 44px;
    height: 44px;
    min-width: 44px;
    border-radius: 10px;
    background: #fff0e7;
    color: #fe6407;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 17px;
}

.mg-detail-reference {
    margin: 0 0 3px;
    color: #182b49;
    font-size: 17px;
    font-weight: 800;
}

.mg-detail-type {
    margin: 0;
    color: #0878e8;
    font-size: 11px;
    font-weight: 600;
    line-height: normal;
}


/* =========================================================
                   PANEL INFO GRID
                ========================================================== */

.mg-detail-info-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    margin-top: 14px;
    border-top: 1px solid #edf0f4;
    padding-top: 13px;
}

.mg-detail-info {
    padding: 0 13px;
    border-right: 1px solid #edf0f4;
}

    .mg-detail-info:first-child {
        padding-left: 0;
    }

    .mg-detail-info:last-child {
        border-right: 0;
        padding-right: 0;
    }

.mg-detail-info-label {
    display: block;
    color: #6d7d94;
    font-size: 10px;
    margin-bottom: 5px;
    line-height: normal;
}

.mg-detail-info-value {
    display: flex;
    align-items: center;
    gap: 7px;
    color: #344b68;
    font-size: 12px;
    font-weight: 600;
    line-height: normal;
}

    .mg-detail-info-value i {
        color: #fe6407;
        font-size: 12px;
    }


/* =========================================================
                   SECTION TITLE
                ========================================================== */

.mg-section-title {
    display: flex;
    align-items: center;
    gap: 9px;
    margin-bottom: 12px;
}

.mg-section-icon {
    width: 34px;
    height: 34px;
    min-width: 34px;
    border-radius: 8px;
    background: #fff0e7;
    color: #fe6407;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
}

.mg-section-title h3 {
    margin: 0;
    color: #182b49;
    font-size: 15px;
    font-weight: 700;
}


/* =========================================================
                   REQUEST DETAILS
                ========================================================== */

.mg-request-text {
    padding: 13px;
    border: 1px solid #e8edf2;
    border-radius: 9px;
    background: #fbfcfd;
    color: #596b84;
    font-size: 14px;
    line-height: 1.75;
}


/* =========================================================
                   DOCUMENT
                ========================================================== */

.mg-document {
    min-height: 53px;
    border: 1px solid #e8edf2;
    border-radius: 9px;
    padding: 8px 10px;
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 8px;
}

    .mg-document:last-child {
        margin-bottom: 0;
    }

.mg-document-icon {
    width: 34px;
    height: 34px;
    min-width: 34px;
    border-radius: 8px;
    background: #fff0f0;
    color: #e52525;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
}

.mg-document:nth-child(3) .mg-document-icon {
    background: #f0eaff;
    color: #7652d1;
}

.mg-document-info {
    flex: 1;
}

.mg-document-name {
    display: block;
    color: #263952;
    font-size: 13px;
    font-weight: 600;
    line-height: normal;
    margin-bottom: 3px;
}

.mg-document-meta {
    display: block;
    color: #8793a4;
    font-size: 9px;
    line-height: normal;
}

.mg-document-download {
    width: 28px;
    height: 28px;
    border: 0;
    border-radius: 6px;
    background: transparent;
    color: #526781;
}

    .mg-document-download:hover {
        background: #fff0e7;
        color: #fe6407;
    }


/* =========================================================
                   TIMELINE
                ========================================================== */

.mg-timeline {
    position: relative;
    padding-left: 34px;
}

    .mg-timeline::before {
        content: "";
        position: absolute;
        left: 9px;
        top: 9px;
        bottom: 10px;
        width: 1px;
        background: #dbe3eb;
    }

.mg-timeline-item {
    position: relative;
    display: grid;
    grid-template-columns: 1fr 190px;
    gap: 10px;
    margin-bottom: 18px;
}

    .mg-timeline-item:last-child {
        margin-bottom: 0;
    }

.mg-timeline-dot {
    position: absolute;
    left: -34px;
    top: 1px;
    width: 19px;
    height: 19px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #ffffff;
    border: 2px solid #9aabba;
    color: #ffffff;
    font-size: 8px;
    z-index: 2;
}

.mg-timeline-item.completed .mg-timeline-dot {
    background: #079455;
    border-color: #079455;
}

.mg-timeline-item.current .mg-timeline-dot {
    background: #ffffff;
    border: 3px solid #fe6407;
}

.mg-timeline-item.current .mg-timeline-title {
    color: #fe6407;
}

.mg-timeline-title {
    display: block;
    color: #182b49;
    font-size: 13px;
    font-weight: 700;
    margin-bottom: 4px;
    line-height: normal;
}

.mg-timeline-date {
    display: block;
    color: #74839a;
    font-size: 10px;
    line-height: normal;
}

.mg-timeline-message {
    padding: 10px;
    border-radius: 8px;
    background: #f3faf6;
    color: #5d7c6c;
    font-size: 9px;
    line-height: 1.5;
}

.mg-timeline-item.current .mg-timeline-message {
    background: #fff8f2;
    color: #806d5e;
}

.mg-timeline-item.pending .mg-timeline-message {
    background: #f7f9fb;
    color: #78869a;
}


/* =========================================================
                   ADDITIONAL INFORMATION
                ========================================================== */

.mg-additional {
    background: linear-gradient( 105deg, #fff8f2, #fffdfb );
    border: 1px solid #ffe1ce;
}

.mg-additional-content {
    display: flex;
    align-items: center;
    gap: 11px;
}

.mg-additional-icon {
    width: 38px;
    height: 38px;
    min-width: 38px;
    border-radius: 9px;
    background: #ffede3;
    color: #fe6407;
    display: flex;
    align-items: center;
    justify-content: center;
}

.mg-additional-text {
    flex: 1;
}

    .mg-additional-text h4 {
        margin: 0 0 4px;
        color: #182b49;
        font-size: 11px;
        font-weight: 700;
    }

    .mg-additional-text p {
        margin: 0;
        color: #718097;
        font-size: 9px;
        line-height: 1.5;
    }

.mg-additional-btn {
    height: 35px;
    padding: 0 14px;
    border: 0;
    border-radius: 7px;
    background: #fe6407;
    color: #ffffff;
    font-size: 9px;
    font-weight: 600;
    white-space: nowrap;
}

    .mg-additional-btn:hover {
        background: #e95700;
    }


/* =========================================================
                   EMPTY
                ========================================================== */

.mg-empty {
    display: none;
    text-align: center;
    background: #ffffff;
    border: 1px solid #e5e9ef;
    border-radius: 12px;
    padding: 45px 20px;
}

.mg-empty-icon {
    width: 55px;
    height: 55px;
    margin: 0 auto 12px;
    border-radius: 14px;
    background: #fff0e7;
    color: #fe6407;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 21px;
}

.mg-empty h3 {
    margin: 0 0 5px;
    color: #182b49;
    font-size: 15px;
}

.mg-empty p {
    margin: 0;
    color: #8490a1;
    font-size: 11px;
}


/* =========================================================
                   FOOTER
                ========================================================== */

.mg-footer {
    padding: 20px 0 0;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    color: #8c97a5;
    font-size: 9px;
}

    .mg-footer a {
        color: #758397;
    }

        .mg-footer a:hover {
            color: #fe6407;
        }


/* =========================================================
                   RESPONSIVE
                ========================================================== */

@media (max-width: 1250px) {
    .mg-row {
        grid-template-columns: minmax(220px, 1.4fr) 130px 130px 115px;
    }

    .mg-request-description {
        max-width: 230px;
    }

    .mg-detail-panel {
        width: 520px;
    }
}


@media (max-width: 1050px) {
    .mg-summary {
        grid-template-columns: repeat(3, 1fr);
    }

    .mg-filter {
        grid-template-columns: 1fr 1fr;
    }

    .mg-row {
        grid-template-columns: minmax(250px, 1fr) 140px 130px;
        position: relative;
        padding-right: 150px;
    }

    .mg-status-area {
        position: absolute;
        right: 14px;
        top: 14px;
        align-items: flex-end;
    }
}


@media (max-width: 768px) {
    .mg-header {
        height: 64px;
        padding: 0 15px;
    }

    .mg-logo img {
        width: 145px;
    }

    .mg-header-btn span {
        display: none;
    }

    .mg-header-btn {
        width: 40px;
        padding: 0;
    }

    .mg-main {
        padding: 18px 12px 30px;
    }

    .mg-hero {
        padding: 20px;
    }

    .mg-hero-icon {
        width: 60px;
        height: 60px;
        min-width: 60px;
        font-size: 24px;
    }

    .mg-hero-content h1 {
        font-size: 21px;
    }

    .mg-summary {
        grid-template-columns: repeat(2, 1fr);
    }

    .mg-filter {
        grid-template-columns: 1fr;
    }

    .mg-row {
        grid-template-columns: 1fr;
        padding: 14px;
        gap: 12px;
    }

    .mg-status-area {
        position: static;
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
    }

    .mg-view-btn {
        width: 130px;
    }

    .mg-detail-panel {
        width: 100%;
    }

    .mg-timeline-item {
        grid-template-columns: 1fr;
    }

    .mg-timeline-message {
        margin-top: 4px;
    }
}


@media (max-width: 500px) {
    .mg-hero {
        display: block;
    }

    .mg-hero-icon {
        margin-bottom: 14px;
    }

    .mg-summary {
        grid-template-columns: 1fr 1fr;
    }

    .mg-summary-card {
        min-height: 75px;
    }

    .mg-summary-icon {
        width: 38px;
        height: 38px;
        min-width: 38px;
    }

    .mg-summary-number {
        font-size: 17px;
    }

    .mg-summary-label {
        font-size: 9px;
    }

    .mg-detail-info-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .mg-detail-info {
        padding: 0 !important;
        border-right: 0;
    }

    .mg-detail-request {
        align-items: flex-start;
    }

    .mg-additional-content {
        align-items: flex-start;
        flex-direction: column;
    }

    .mg-additional-btn {
        width: 100%;
    }
}








.rights-exercise-header p {
    margin: 0;
    color: #718097;
    font-size: 9px;
    line-height: 1.4;
}

.my-rights-p{
    font-size:12px;
}
/* Steps */
.rights-exercise-steps {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.rights-step {
    display: flex;
    align-items: center;
    gap: 9px;
}

.rights-step-number {
    width: 30px;
    height: 30px;
    min-width: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    background: #fff0e7;
    color: #fe6407;
    font-size: 12px;
    font-weight: 700;
}

.rights-step-content {
    min-width: 0;
    padding-top: 1px;
}

.rights-step-title {
    color: #68778c;
    font-size: 12px;
    line-height: 1.2;
    font-weight: 700;
    margin: 0 0 2px 0;
    padding: 0;
}
.rights-step-content a {
    display: inline-flex;
    align-items: flex-start;
    gap: 4px;
    max-width: 100%;
    color: #0878e8;
    font-size: 10px;
    line-height: 1.2;
    text-decoration: none;
    word-break: break-all;
    margin: 0;
    padding: 0;
}

    .rights-step-content a:hover {
        text-decoration: underline;
    }

    .rights-step-content a .fa {
        flex-shrink: 0;
        font-size: 8px;
        margin-top: 2px;
    }


/* Contact box */

.rights-contact-box {
    margin-top: 12px;
    padding: 9px;
    display: flex;
    align-items: flex-start;
    gap: 9px;
    background: #edf5ff;
    border-radius: 7px;
}

.rights-contact-icon {
    width: 22px;
    height: 22px;
    min-width: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #dcecff;
    color: #287fe0;
    font-size: 9px;
}

.rights-contact-content {
    display: flex;
    flex-direction: column;
    gap: 3px;
    padding-top: 1px;
}

    .rights-contact-content span {
        color: #526781;
        font-size: 11px;
        line-height: 1.4;
    }

    .rights-contact-content a {
        display: inline-flex;
        align-items: center;
     
        color: #0878e8;
        font-size: 10px;
        font-weight: 600;
        text-decoration: none;
        line-height: normal;
    }

        .rights-contact-content a:hover {
            text-decoration: underline;
        }




.ai-payment-intro {
    width: 100%;
    padding: 8px 20px 26px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    background: radial-gradient(circle at 50% 20%, rgba(246, 139, 31, .055), transparent 38%);
}

.ai-payment-intro-icon {
    width: 76px;
    height: 76px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 12px;
    border-radius: 50%;
    background: linear-gradient(145deg, #fff5e9, #ffead5);
    color: var(--ai-orange);
    font-size: 32px;
}

    .ai-payment-intro-icon.payment-success {
        background: #dcfce7;
        color: #16a34a;
    }

.ai-payment-intro-title {
    margin: 0 0 8px;
    color: #101828;
    font-size: 25px;
    font-weight: 700;
    line-height: 1.3;
    letter-spacing: -.6px;
}

.ai-payment-intro-description {
    max-width: 440px;
    margin: 0;
    color: #596579;
    font-size: 14px;
    line-height: 1.6;
}

.secure-badge {
    display: flex;
    align-items: center;
    gap: 8px;
    background: #dcfce7;
    border: 1px solid #bbf7d0;
    border-radius: 20px;
    padding: 6px 14px;
}

    .secure-badge .dot {
        width: 28px;
        height: 28px;
        background: #16a34a;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
    }

        .secure-badge .dot i {
            color: #fff;
        }

.secure-badge-text p:first-child {
    font-size: 13px;
    font-weight: 600;
    color: #16a34a;
    margin-bottom: 0;
}

.secure-badge-text p:last-child {
    font-size: 11px;
    color: #16a34a;
    opacity: .8;
    margin-bottom: 0;
}

.mobile-screen-d-none {
    display: block;
}

.Payment-Button {
    display: flex;
    justify-content: center;
    width: 100%;
    margin: 20px 0;
}

.ai-pay-now-btn {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    max-width: max-content;
    padding: 9px 12px;
    border: none;
    border-radius: 15px;
    background: #fe6407;
    color: #fff;
    font-size: 15px;
    font-weight: 700;
    letter-spacing: .3px;
    box-shadow: 0 8px 22px rgba(255, 112, 0, .28);
    cursor: pointer;
    overflow: hidden;
    transition: transform .25s ease, box-shadow .25s ease, filter .25s ease;
}

    .ai-pay-now-btn:hover:not(:disabled) {
        transform: translateY(-2px);
        box-shadow: 0 12px 28px rgba(255, 112, 0, .38);
        filter: saturate(1.08);
    }

    .ai-pay-now-btn:active:not(:disabled) {
        transform: scale(.98);
    }

    .ai-pay-now-btn:focus-visible {
        outline: 3px solid rgba(255, 132, 0, .35);
        outline-offset: 4px;
    }

    .ai-pay-now-btn:disabled {
        opacity: .7;
        cursor: not-allowed;
    }

.ai-pay-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 29px;
    height: 29px;
    flex-shrink: 0;
    border-radius: 50%;
    background: #fff;
    color: #fe6407;
    font-size: 13px;
}

.ai-pay-text {
    flex: 1;
    text-align: center;
}

.ai-pay-arrow {
    font-size: 25px;
    line-height: 1;
    font-weight: 500;
    transition: transform .25s ease;
}

.ai-pay-now-btn:hover:not(:disabled) .ai-pay-arrow {
    transform: translateX(4px);
}

.payment-status {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
}

    .payment-status.pending {
        background: #fff7ed;
        color: #c2410c;
    }

    .payment-status.completed {
        background: #dcfce7;
        color: #15803d;
    }

.ai-detail-value {
    overflow-wrap: anywhere;
}

.payment-message {
    display: none;
    max-width: 600px;
    margin: 0 auto 16px;
    padding: 12px 16px;
    border-radius: 8px;
    font-size: 14px;
}

    .payment-message.error {
        display: block;
        color: #991b1b;
        background: #fee2e2;
        border: 1px solid #fecaca;
    }

    .payment-message.info {
        display: block;
        color: #1e40af;
        background: #dbeafe;
        border: 1px solid #bfdbfe;
    }

@media (max-width: 768px) {
    header {
        padding: 12px 16px;
        height: auto;
        flex-wrap: wrap;
        gap: 12px;
        justify-content: space-between;
    }

    .mobile-screen-d-none {
        display: none;
    }

    .brand img {
        height: 40px;
    }

    .secure-badge {
        gap: 8px;
        border-radius: 8px;
        padding: 6px 8px;
    }

    .secure-badge-text p:last-child {
        font-size: 10px;
    }

    .secure-badge-text p:first-child {
        font-size: 12px;
    }
}

@media (max-width: 576px) {
    .ai-payment-intro {
        padding: 10px 16px 22px;
    }

    .ai-payment-intro-icon {
        width: 68px;
        height: 68px;
        font-size: 28px;
    }

    .ai-payment-intro-title {
        font-size: 22px;
    }

    .ai-payment-intro-description {
        font-size: 13px;
    }

    .desktop-break {
        display: none;
    }
}

@media (max-width: 480px) {
    .ai-pay-now-btn {
        max-width: 100%;
        min-height: 56px;
        padding: 10px 18px;
        font-size: 16px;
        gap: 12px;
    }

    .ai-pay-icon {
        width: 34px;
        height: 34px;
        font-size: 15px;
    }

    .ai-pay-arrow {
        font-size: 22px;
    }
}

.ai-payer-name-field {
    margin: 6px 0 12px;
    padding-bottom: 16px;
    border-bottom: 1px solid #edf0f5;
}

    .ai-payer-name-field label {
        display: block;
        margin-bottom: 7px;
        color: #101828;
        font-size: 13px;
        font-weight: 600;
    }

    .ai-payer-name-field .required-star {
        color: #dc2626;
    }

    .ai-payer-name-field .form-control {
        min-height: 42px;
        border: 1px solid #cbd5e1;
        border-radius: 9px;
        font-size: 14px;
        box-shadow: none;
    }

        .ai-payer-name-field .form-control:focus {
            border-color: #fe6407;
            box-shadow: 0 0 0 3px rgba(254, 100, 7, 0.10);
        }

    .ai-payer-name-field small {
        display: block;
        margin-top: 6px;
        color: #718096;
        font-size: 12px;
    }

.ai-payer-name-field {
    margin: 20px 0 12px;
    padding-bottom: 16px;
    border-bottom: 1px solid #edf0f5;
}

    .ai-payer-name-field label {
        display: block;
        margin-bottom: 7px;
        color: #101828;
        font-size: 13px;
        font-weight: 600;
    }

    .ai-payer-name-field .required-star {
        color: #dc2626;
    }

.ai-payer-input-group {
    display: flex;
    align-items: stretch;
    gap: 8px;
}

    .ai-payer-input-group .form-control {
        min-width: 0;
        min-height: 42px;
        border: 1px solid #cbd5e1;
        border-radius: 9px;
        font-size: 14px;
        box-shadow: none;
    }

        .ai-payer-input-group .form-control:focus {
            border-color: #fe6407;
            box-shadow: 0 0 0 3px rgba(254, 100, 7, .10);
        }

.ai-save-payer-btn {
    flex-shrink: 0;
    padding: 0 18px;
    border: none;
    border-radius: 9px;
    background: #fe6407;
    color: #fff;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: background .2s ease;
}

    .ai-save-payer-btn:hover {
        background: #e95700;
    }

#payerNameMessage {
    display: block;
    margin-top: 6px;
    color: #718096;
    font-size: 12px;
}

    #payerNameMessage.success {
        color: #15803d;
    }

    #payerNameMessage.error {
        color: #dc2626;
    }

@media (max-width: 480px) {
    .ai-payer-input-group {
        gap: 6px;
    }

    .ai-save-payer-btn {
        padding: 0 12px;
    }
}






/* =========================================
   WITHDRAW CONSENT MODAL
========================================= */

.ai-delete-intro {
    max-width: 600px;
    margin: 9px auto 22px;
    text-align: center;
    font-size: 14px;
    line-height: 1.6;
    color: #737b88;
}

/* Consent Notice Box */

.ai-delete-notice {
    background: #fff9f5;
    border: 1px solid #ffe2d3;
    border-radius: 14px;
    padding: 17px;
}

/* Header */

.ai-consent-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 14px;
}

    .ai-consent-header h4 {
        margin: 0;
        font-size: 16px;
        font-weight: 700;
        color: #303746;
    }

/* Select All Checkbox */

.ai-consent-select-all {
    position: relative;
    width: 25px;
    height: 25px;
    cursor: pointer;
    flex-shrink: 0;
}

    .ai-consent-select-all input {
        position: absolute;
        opacity: 0;
    }

    .ai-consent-select-all span {
        position: absolute;
        inset: 0;
        border: 2px solid #c4cbd5;
        border-radius: 6px;
        background: #fff;
    }

    .ai-consent-select-all input:checked + span {
        background: #fe6407;
        border-color: #fe6407;
    }

        .ai-consent-select-all input:checked + span::after {
            content: "";
            position: absolute;
            left: 7px;
            top: 3px;
            width: 6px;
            height: 11px;
            border: solid white;
            border-width: 0 2px 2px 0;
            transform: rotate(45deg);
        }

/* Consent List */

.ai-consent-list {
    display: flex;
    flex-direction: column;
    gap: 9px;
}

/* Individual Consent */

.ai-consent-item {
    display: flex;
    align-items: center;
    gap: 13px;
    position: relative;
    padding: 6px 13px;
    background: #fff;
    border: 1px solid #f1e8e2;
    border-radius: 8px;
    cursor: pointer;
    transition: all .2s ease;
}

    .ai-consent-item:hover {
        border-color: #fe6407;
        background: #fffdfb;
    }

/* Hide Native Checkbox */

.ai-consent-checkbox {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

/* Custom Checkbox */

.ai-consent-check {
    width: 18px;
    height: 18px;
    flex: 0 0 18px;
    border: 2px solid #b8c0cc;
    border-radius: 5px;
    background: #fff;
    position: absolute;
    transition: all .2s ease;
}

.ai-consent-checkbox:checked + .ai-consent-check {
    background: #e51b23;
    border-color: #e51b23;
}

    .ai-consent-checkbox:checked + .ai-consent-check::after {
        content: "";
        position: absolute;
        width: 5px;
        height: 9px;
        left: 4px;
        top: 1px;
        border: solid #fff;
        border-width: 0 2px 2px 0;
        transform: rotate(45deg);
    }

/* Focus Accessibility */

.ai-consent-checkbox:focus-visible + .ai-consent-check {
    outline: 3px solid rgba(254, 100, 7, .25);
    outline-offset: 2px;
}

/* Selected Item */

.ai-consent-item:has(.ai-consent-checkbox:checked) {
    border-color: #ffb18a;
    background: #fffaf6;
}

/* Consent Icon */

.ai-delete-point-icon {
    flex: 0 0 30px;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 6px;
    background: #fff2e9;
    color: #fe6407;
    font-size: 19px;
}

/* Consent Content */

.ai-consent-content {
    display: flex;
    flex-direction: column;
    gap: 0px;
    min-width: 0;
}

    .ai-consent-content strong {
        font-size: 14px;
        font-weight: 700;
        color: #303746;
        text-align:start;
        line-height:normal;
    }

    .ai-consent-content small {
        font-size: 12px;
        line-height: normal;
        color: #737b88;
    }

/* Final Warning */

.ai-delete-final-warning {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 18px;
    padding: 13px 16px;
    border-radius: 11px;
    background: #f3f5f7;
    color: #697586;
    font-size: 13px;
    line-height: 1.5;
}

    .ai-delete-final-warning i {
        font-size: 17px;
        flex-shrink: 0;
    }

/* Disabled Button */

.ai-withdraw-confirm:disabled {
    opacity: .45;
    cursor: not-allowed;
    box-shadow: none;
}

/* Responsive */

@media (max-width: 576px) {

    .ai-delete-notice {
        padding: 12px;
    }

    .ai-consent-item {
        gap: 9px;
        padding: 10px;
    }

    .ai-delete-point-icon {
        flex-basis: 38px;
        width: 38px;
        height: 38px;
        font-size: 16px;
    }

    .ai-consent-content strong {
        font-size: 12px;
    }

    .ai-consent-content small {
        font-size: 11px;
    }

    .ai-modal-actions {
        flex-direction: column;
    }

        .ai-modal-actions button {
            width: 100%;
        }
}

/* Scrollable Consent List */

.ai-consent-list {
    display: flex;
    flex-direction: column;
    gap: 9px;
    max-height: 280px;
    overflow-y: auto;
    padding-right: 8px;
    scrollbar-width: thin;
    scrollbar-color: #fe6407 #fff0e8;
}

    /* Chrome, Edge, Safari Scrollbar */

    .ai-consent-list::-webkit-scrollbar {
        width: 6px;
    }

    .ai-consent-list::-webkit-scrollbar-track {
        background: #fff0e8;
        border-radius: 10px;
    }

    .ai-consent-list::-webkit-scrollbar-thumb {
        background: #fe6407;
        border-radius: 10px;
    }

        .ai-consent-list::-webkit-scrollbar-thumb:hover {
            background: #d95000;
        }