:root {
    --bg: #0b1020;
    --panel: rgba(255, 255, 255, .06);
    --panel-2: rgba(255, 255, 255, .09);
    --text: rgba(255, 255, 255, .92);
    --muted: rgba(255, 255, 255, .68);
    --line: rgba(255, 255, 255, .12);

    --white: #ffffff;
    --ink: #0b1020;

    --brand: #7c5cff;
    --brand-2: #2ee7b6;
    --warn: #ffcc66;

    --shadow: 0 18px 60px rgba(0, 0, 0, .45);
    --radius: 18px;
    --radius-sm: 4px;

    --max: 1120px;


    --max-login: 420px;

    --success: #5b34f8;
    --danger: #ef4444;
    --warning: #f59e0b;
}

* {
    box-sizing: border-box;
}

html, body {
    height: 100%;
    overflow-x: hidden ;
}

body {
    margin: 0;
    font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, "Apple Color Emoji", "Segoe UI Emoji";
    color: var(--text);
    background: radial-gradient(1000px 700px at 15% 10%, rgba(124, 92, 255, .22), transparent 60%),
    radial-gradient(800px 600px at 85% 25%, rgba(46, 231, 182, .18), transparent 55%),
    radial-gradient(900px 700px at 50% 95%, rgba(255, 204, 102, .12), transparent 55%),
    var(--bg);
    background-repeat: no-repeat;
    background-attachment: fixed; /* key line */
    background-size: cover;
    line-height: 1.45;
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    max-width: 100%;
    display: block;
}

input[type="number"]::-webkit-inner-spin-button,
input[type="number"]::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

input[type="number"] {
    -moz-appearance: textfield;
    appearance: textfield;
}

.nav-wrap {
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
}

.wrap {
    max-width: var(--max);
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
}

.wrap > .processing-overlay {
    position: absolute;
    inset: 0;
    z-index: 40;
    display: none;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.6);
    pointer-events: all;
    user-select: none;
    cursor: wait;
    width: 200vw;
    top: -9px;
    left: -100vw;
}

.processing-text {
    padding: 18px 22px;
    border-radius: 12px;
    color: #fff;
    position: absolute;
    top: 50vh;
    left: 125vw;
    font-size: 25px;
}

.pill {
    display: inline-flex;
    gap: 10px;
    align-items: center;
    padding: 8px 12px;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: rgba(255, 255, 255, .04);
    color: var(--muted);
    font-size: 13px;
}

.dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--brand), var(--brand-2));
    box-shadow: 0 0 0 3px rgba(124, 92, 255, .14);
}

/* Nav */
.nav {
    position: sticky;
    top: 0;
    z-index: 50;
    backdrop-filter: saturate(140%) blur(10px);
    background: rgba(11, 16, 32, .55);
    border-bottom: 1px solid rgba(255, 255, 255, .08);
}

.nav-inner {
    height: 76px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
}

.brand {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 750;
    letter-spacing: .2px;
}



.logo{
    display:block;
    height:auto;      /* keeps aspect ratio */
    width:100%;
    max-width: 195px; /* desktop default cap */
}

/* Tablet */
@media (max-width: 1024px){
    .logo{
        max-width: 190px;
    }
}

/* Mobile */
@media (max-width: 600px){
    .logo{
        max-width: 180px;
    }
}

.navlinks {
    display: flex;
    align-items: center;
    gap: 18px;
    color: var(--muted);
    font-size: 14px;
}

.navlinks a {
    padding: 10px 10px;
    border-radius: 10px;
}

.navlinks a:hover {
    background: rgba(255, 255, 255, .05);
    color: var(--text);
}

.actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 11px 14px;
    min-height: 44px;
    line-height: 1.2;
    border-radius: 9px;
    border: 1px solid var(--line);
    background: rgba(255, 255, 255, .04);
    color: var(--text);
    font-weight: 650;
    font-size: 14px;
    cursor: pointer;
    transition: transform .08s ease, background .2s ease, border-color .2s ease;
    user-select: none;
    white-space: nowrap;
}

.btn:hover {
    background: rgba(255, 255, 255, .07);
    border-color: rgba(255, 255, 255, .18);
    color: #fff;
}

.btn:active {
    transform: translateY(1px);
}

.btn-primary {
    border-color: rgba(124, 92, 255, .35);
    background: linear-gradient(135deg, rgba(124, 92, 255, .95), rgba(46, 231, 182, .85));
    color: #081022;
    box-shadow: 0 18px 50px rgba(124, 92, 255, .22);
}
.btn-primary .icon{margin-right: 12px; }

.btn-primary:hover {
    filter: saturate(110%);
}

.btn-secondary {
    padding: 13px 14px;
}

.burger {
    display: none;
}

.mobile-panel {
    display: none;
    border-top: 1px solid rgba(255, 255, 255, .08);
}

.mobile-panel a, .mobile-panel .btn {
    width: 100%;
    justify-content: flex-start;
}

/* Hero */
.hero {
    padding: 56px 0 26px;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.1fr .9fr;
    gap: 28px;
    align-items: center;
}

h1 {
    margin: 14px 0 14px;
    font-size: 52px;
    line-height: 1.04;
    letter-spacing: -.9px;
}

.lead {
    color: var(--muted);
    font-size: 17px;
    max-width: 56ch;
}

.hero-cta {
    margin-top: 18px;
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.hero-card {
    border: 1px solid rgba(255, 255, 255, .12);
    border-radius: var(--radius);
    background: linear-gradient(180deg, rgba(255, 255, 255, .08), rgba(255, 255, 255, .04));
    box-shadow: var(--shadow);
    overflow: hidden;
}

.hero-card-top {
    padding: 18px 18px 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    color: var(--muted);
    font-size: 13px;
}

.hero-card-body {
    padding: 14px 18px 18px;
}

.mock {
    aspect-ratio: 4/3;
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, .10);
    background: radial-gradient(900px 420px at 20% 30%, rgba(124, 92, 255, .35), transparent 55%),
    radial-gradient(700px 420px at 80% 35%, rgba(46, 231, 182, .25), transparent 55%),
    linear-gradient(180deg, rgba(255, 255, 255, .06), rgba(255, 255, 255, .02));
    position: relative;
    overflow: hidden;
}

.mock .sheet {
    position: absolute;
    inset: 18px 18px 20px;
    border-radius: 12px;
    background: rgba(11, 16, 32, .55);
    border: 1px solid rgba(255, 255, 255, .10);
    box-shadow: 0 18px 50px rgba(0, 0, 0, .35);
    padding: 14px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.row {
    display: flex;
    gap: 10px;
    align-items: center;
}

.chip {
    height: 26px;
    border-radius: 999px;
    padding: 0 10px;
    display: inline-flex;
    align-items: center;
    border: 1px solid rgba(255, 255, 255, .10);
    background: rgba(255, 255, 255, .04);
    color: var(--muted);
    font-size: 12px;
}

.bar {
    height: 10px;
    border-radius: 999px;
    background: rgba(255, 255, 255, .10);
    overflow: hidden;
    flex: 1;
}

.bar > span {
    display: block;
    height: 100%;
    width: var(--w, 55%);
    background: linear-gradient(135deg, var(--brand), var(--brand-2));
    border-radius: 999px;
}

.line {
    height: 10px;
    border-radius: 999px;
    background: rgba(255, 255, 255, .08);
    width: var(--w, 70%);
}

/* Feature trio */
.trio {
    margin-top: 26px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
}

.card {
    border: 1px solid rgba(255, 255, 255, .12);
    border-radius: var(--radius-sm);
    background: rgba(255, 255, 255, .04);
    padding: 16px;
    min-height: 110px;
}


.card .title-block, .modal-team-content .title-block {
    display: flex;
    gap: 12px;
    width: 100%;
    justify-content: space-between;
    flex-wrap: wrap;
    align-items: flex-start;
}

.card .title-block h3, .modal-team-content .title-block h3 {
    max-width: 280px;
    max-height: 60px;
}

.modal-team-content .modal-team-header .close-btn {
    top: -1px !important;
}

.card-auto-min-height {
    min-height: unset;
}

.card b {
    display: block;
    margin-bottom: 6px;
}

.card p {
    margin: 0;
    color: var(--muted);
    font-size: 14px;
}

.card h3 {margin: 0 0 6px;}



.body-auth {
    margin: 0;
    display: grid;
    place-items: center;
}


.card-auth {
    width: 100%;
    max-width: var(--max-login);
    border: 1px solid var(--line);
    background: linear-gradient(180deg, rgba(255, 255, 255, .08), rgba(255, 255, 255, .04));
    box-shadow: var(--shadow);
    padding: 26px 24px 24px;
    margin: 15px 10px;
    min-height: auto;
}

.card-auth-long {
    max-width: 100% !important;
}

.card-auth .brand {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 14px;
    font-weight: 750;
    font-size: 18px;
}

.card-auth h1 {
    margin: 6px 0 8px;
    font-size: 30px;
    letter-spacing: -.6px;
}

.card-auth .pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 7px 11px;
    border-radius: 999px;
    border: 1px solid var(--line);
    background: rgba(255, 255, 255, .04);
    color: var(--muted);
    font-size: 12px;
    margin-bottom: 14px;
}

.card-auth .row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 10px;
    font-size: 13px;
    color: var(--muted);
}

/* Section blocks */
.section {
    padding: 44px 0;
}

.section h2 {
    margin: 0 0 10px;
    font-size: 34px;
    letter-spacing: -.5px;
}

.section p {
    color: var(--muted);
    margin: 0;
}

.two {
    margin-top: 18px;
    display: grid;
    grid-template-columns: 1.1fr .9fr;
    gap: 20px;
    align-items: start;
}

.bullets {
    margin-top: 16px;
    display: grid;
    gap: 10px;
}

.bullet {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    padding: 12px 12px;
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, .10);
    background: rgba(255, 255, 255, .03);
}

.check {
    width: 20px;
    height: 20px;
    border-radius: 6px;
    background: linear-gradient(135deg, var(--brand), var(--brand-2));
    flex: 0 0 auto;
    margin-top: 1px;
}

.bullet div {
    font-size: 14px;
    color: var(--muted);
}

.bullet div b {
    color: var(--text);
    font-weight: 700;
}

.grid2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
}

.grid3 {
    margin-top: 18px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
}
.grid4 {
    margin-top: 18px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
}

.mini {
    padding: 31px 15px 43px;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, .12);
    background: rgba(255, 255, 255, .04);
}

.mini .tag {
    display: inline-flex;
    padding: 7px 10px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, .10);
    background: rgba(255, 255, 255, .03);
    color: var(--muted);
    font-size: 12px;
    margin-bottom: 10px;
    text-transform: uppercase;
}

.mini p {
    margin: 0;
    color: var(--muted);
    font-size: 14px;
}

/* Big warning/CTA section */
.cta {
    border: 1px solid rgba(255, 255, 255, .12);
    border-radius: 22px;
    background: radial-gradient(600px 300px at 20% 30%, rgba(124, 92, 255, .22), transparent 60%),
    radial-gradient(600px 320px at 85% 40%, rgba(46, 231, 182, .16), transparent 60%),
    rgba(255, 255, 255, .04);
    padding: 22px;
    box-shadow: var(--shadow);
}

.cta h2 {
    margin: 0 0 10px;
    font-size: 30px;
}

.cta p {
    margin: 0 0 14px;
    color: var(--muted);
}

.cta .row2 {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

/* Testimonials */
.testimonials {
    margin-top: 18px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
}

blockquote {
    margin: 0;
    padding: 16px;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, .12);
    background: rgba(255, 255, 255, .04);
    color: var(--muted);
    font-size: 14px;
    min-height: 140px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 12px;
}

blockquote strong {
    color: var(--text);
    font-size: 13px;
}

/* Pricing */
.pricing-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 14px;
    flex-wrap: wrap;
}

.plans {
    margin-top: 18px;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
}

.plan {
    border: 1px solid rgba(255, 255, 255, .12);
    border-radius: 11px;
    background: rgba(255, 255, 255, .04);
    padding: 18px;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}
.plan .btn {
    margin-top: auto;
    align-self: flex-start;
}

.plan.popular {
    border-color: rgba(124, 92, 255, .35);
    background: linear-gradient(180deg, rgba(124, 92, 255, .15), rgba(255, 255, 255, .04));
}

.badge {
    position: absolute;
    top: 14px;
    right: 14px;
    padding: 7px 10px;
    border-radius: 999px;
    font-size: 12px;
    color: var(--ink);
    background: linear-gradient(135deg, var(--warn), #ffe3a8);
    border: 1px solid rgba(0, 0, 0, .08);
}

.price {
    margin-top: 10px;
    font-size: 42px;
    font-weight: 800;
    letter-spacing: -.8px;
}

.per {
    font-size: 14px;
    color: var(--muted);
    margin-left: 6px;
    font-weight: 650;
}

.list {
    margin: 12px 0 16px;
    padding: 0;
    list-style: none;
    display: grid;
    gap: 10px;
    margin-bottom: 32px;
}

.list li {
    color: var(--muted);
    font-size: 14px;
    display: flex;
    gap: 10px;
}

.tick {
    width: 18px;
    height: 18px;
    border-radius: 6px;
    border: 1px solid rgba(255, 255, 255, .14);
    background: rgba(255, 255, 255, .03);
    flex: 0 0 auto;
    position: relative;
}

.tick:after {
    content: "";
    position: absolute;
    inset: 0;
    width: 7px;
    height: 4px;
    border-left: 2px solid rgba(255, 255, 255, .72);
    border-bottom: 2px solid rgba(255, 255, 255, .72);
    transform: rotate(-45deg);
    left: 4px;
    top: 4px;
}

/* Contact + FAQ */
.contact-grid {
    margin-top: 18px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
    align-items: start;
}

.form {
    border: 1px solid rgba(255, 255, 255, .12);
    border-radius: 11px;
    background: rgba(255, 255, 255, .04);
    padding: 16px;
}

label {
    display: block;
    font-size: 13px;
    color: var(--muted);
    margin: 10px 0 6px;
}

input, textarea {
    width: 100%;
    padding: 12px 12px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, .12);
    background: rgba(11, 16, 32, .45);
    color: var(--text);
    outline: none;
    font-size: 14px;
}

textarea {
    min-height: 110px;
    resize: vertical;
}

input:focus, textarea:focus {
    border-color: rgba(124, 92, 255, .45);
    box-shadow: 0 0 0 4px rgba(124, 92, 255, .12);
}

.note {
    border: 1px solid rgba(255, 255, 255, .12);
    border-radius: 11px;
    background: rgba(255, 255, 255, .04);
    padding: 16px;
}

.note h3 {
    margin: 0 0 8px;
    font-size: 18px;
}

.note p {
    margin: 0;
    color: var(--muted);
}

.note-success {
    border-color: rgba(46, 231, 182, .35);
    background: rgba(46, 231, 182, .12);
}

.note-success h3,
.note-success p {
    color: #d9fff5;
}

.note-auto-dismiss {
    animation: note-auto-dismiss 4.2s ease forwards;
}

@keyframes note-auto-dismiss {
    0%, 78% {
        opacity: 1;
        transform: translateY(0);
        max-height: 240px;
        margin-top: 20px;
        padding-top: 16px;
        padding-bottom: 16px;
    }
    100% {
        opacity: 0;
        transform: translateY(-8px);
        max-height: 0;
        margin-top: 0;
        padding-top: 0;
        padding-bottom: 0;
        overflow: hidden;
    }
}

.faq {
    margin-top: 12px;
    border: 1px solid rgba(255, 255, 255, .12);
    border-radius: 11px;
    overflow: hidden;
    background: rgba(255, 255, 255, .04);
}

.qa {
    border-top: 1px solid rgba(255, 255, 255, .10);
}

.qa:first-child {
    border-top: none;
}

.q {
    width: 100%;
    text-align: left;
    background: transparent;
    border: none;
    color: var(--text);
    padding: 14px 16px;
    font-weight: 750;
    font-size: 14px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 14px;
}

.q span {
    color: var(--muted);
    font-weight: 800;
}

.a {
    display: none;
    padding: 0 16px 14px;
    color: var(--muted);
    font-size: 14px;
}

.qa.open .a {
    display: block;
}

.qa.open .q span {
    transform: rotate(45deg);
}

/* Footer */
footer {
    padding: 30px 0 46px;
    color: var(--muted);
    border-top: 1px solid rgba(255, 255, 255, .08);
    margin-top: 24px;
}

.foot {
    display: grid;
    grid-template-columns: 1.2fr 1fr 1fr;
    gap: 14px;
}

.foot h4 {
    margin: 0 0 10px;
    color: var(--text);
}

.foot a {
    color: var(--muted);
    display: block;
    padding: 6px 0;
}

.foot a:hover {
    color: var(--text);
}

.small {
    margin-top: 18px;
    font-size: 12px;
    color: rgba(255, 255, 255, .55);
}

/* Responsive */
@media (max-width: 980px) {
    h1 {
        font-size: 42px;
    }

    .hero-grid {
        grid-template-columns: 1fr;
    }

    .two {
        grid-template-columns: 1fr;
    }

    .testimonials {
        grid-template-columns: repeat(2, 1fr);
    }

    .grid2, .grid3, .grid4 {
        grid-template-columns: 1fr;
    }

    .trio {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 780px) {
    .navlinks {
        display: none;
    }

    .burger {
        display: inline-flex;
        width: 42px;
        height: 42px;
        border-radius: 12px;
        border: 1px solid var(--line);
        background: rgba(255, 255, 255, .04);
        align-items: center;
        justify-content: center;
        cursor: pointer;
        color: #fff;
        font-size: 23px;
    }

    .mobile-panel {
        display: none;
        padding: 12px 20px 18px;
    }

    .mobile-panel.open {
        display: grid;
        gap: 10px;
    }

    .actions .btn {
        display: none;
    }

    .plans {
        grid-template-columns: 1fr;
    }

    .contact-grid {
        grid-template-columns: 1fr;
    }

    .foot {
        grid-template-columns: 1fr;
    }
}


.sub {
    margin: 0 0 18px;
    color: var(--muted);
    font-size: 14px;
}

.divider {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 18px 0 14px;
    color: rgba(255, 255, 255, .45);
    font-size: 12px;
}

.divider:before,
.divider:after {
    content: "";
    height: 1px;
    background: rgba(255, 255, 255, .14);
    flex: 1;
}

.alt {
    display: grid;
    gap: 10px;
}

.alt a {
    width: 100%;
    padding: 12px 14px;
    border-radius: 14px;
    border: 1px solid var(--line);
    background: rgba(255, 255, 255, .04);
    color: var(--text);
    font-weight: 650;
    cursor: pointer;
    text-align: center;
    font-size: 12px;
}

.alt a:hover {
    background: rgba(255, 255, 255, .07);
}


.w-100 {
    width: 100%;
    min-width: 100%;
}

.w-100-o {
    width: 100%;
}


.alert {
    padding: 6px 16px 22px 13px;
    border-radius: 14px;
    border: 1px solid transparent;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.4;
    margin: 14px 0;
    position: relative;
    backdrop-filter: blur(6px);
    box-shadow: 0 14px 40px rgba(0, 0, 0, .35);
    margin-top: 13px !important;
    margin-bottom: 20px !important;
}

/* Center text helper */
.text-center {
    text-align: center;
}

/* Danger / error alert */
.alert-danger {
    color: #ffd6d6;
    border-color: rgba(255, 95, 95, .45);
    background: linear-gradient(180deg,
    rgba(255, 95, 95, .18),
    rgba(255, 95, 95, .08)
    );
}

/* Subtle glow accent */
.alert-danger::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 14px;
    pointer-events: none;
    box-shadow: inset 0 0 0 1px rgba(255, 95, 95, .25);
}

/* Optional icon without HTML change */

.alert-danger h3 {position: relative; padding-left: 23px;}
.alert-danger h3::after {
    content: "⚠";
    position: absolute;
    left: 0;
    top: 11px;
    transform: translateY(-50%);
    opacity: .85;
}

/* Adjust padding if icon is present */
.alert-danger {
    padding-left: 25px;
    position: relative;
}


.page {
    min-height: calc(100vh - 76px);
    display: grid;
    place-items: center;
    padding: 28px 0 44px;
}

.card-auth .head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 10px;
}

select {
    width: 100%;
    padding: 12px 12px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, .12);
    background: rgba(11, 16, 32, .45);
    color: var(--text);
    outline: none;
    font-size: 14px;
}

select:focus {
    border-color: rgba(124, 92, 255, .45);
    box-shadow: 0 0 0 4px rgba(124, 92, 255, .12);
}


.row2 {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 16px;
    justify-content: flex-end;
}


/* Options */
.options {
    display: grid;
    grid-template-columns:1fr 1fr;
    gap: 12px;
    margin-top: 8px;
}

.opt {
    border: 1px solid rgba(255, 255, 255, .12);
    border-radius: 16px;
    background: rgba(255, 255, 255, .04);
    padding: 14px;
    cursor: pointer;
    transition: background .2s ease, border-color .2s ease, transform .08s ease;
    user-select: none;
    position: relative;
}

.opt:hover {
    background: rgba(255, 255, 255, .07);
    border-color: rgba(255, 255, 255, .18);
}

.opt:active {
    transform: translateY(1px);
}

.opt h3 {
    margin: 0 0 6px;
    font-size: 16px;
    letter-spacing: -.2px;
}

.opt p {
    margin: 0;
    font-size: 13px;
    color: var(--muted);
}

.opt.selected {
    border-color: rgba(124, 92, 255, .45);
    background: linear-gradient(180deg, rgba(124, 92, 255, .12), rgba(255, 255, 255, .04));
    box-shadow: inset 0 0 0 1px rgba(124, 92, 255, .14);
}

.opt.disabled {
    opacity: .5;
    cursor: not-allowed;
    pointer-events: none;
}

.tag-soon {
    position: absolute;
    top: 14px;
    right: 7px;
    padding: 1px 10px;
    border-radius: 999px;
    font-size: 12px;
    color: #fff;
    background: linear-gradient(135deg, #ff93e9, #2518b9);
    border: 1px solid rgba(0, 0, 0, .08);
    font-weight: 700;
}

.hidden {
    display: none;
}

@media (max-width: 780px) {
    .options {
        grid-template-columns:1fr;
    }

    .row2 {
        justify-content: stretch;
    }

    .row2 .btn {
        width: 100%;
    }
}


.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

.section-container {
    margin: 0 auto;
    padding: 16px 50px;
}

/* Header (element selector not styled in base.css) */
header {
    background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
    color: white;
    padding: 40px 0;
    margin-bottom: 40px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

header h1 {
    font-size: 32px;
    margin-bottom: 10px;
}

header p {
    font-size: 16px;
    opacity: 0.9;
}

/* Stats */
.stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-bottom: 40px;
}

.stat-card {
    text-align: center;
    transition: all 0.3s ease;
}

.stat-card h3 {
    font-size: 28px;
    color: #a8b2bb;
    margin-bottom: 5px;
}

.stat-card p {
    color: #7f8c8d;
    font-size: 14px;
}

.stat-card.highlight {
    color: white;

    border: 1px solid rgba(255, 255, 255, .10);
    background: radial-gradient(900px 420px at 20% 30%, rgba(124, 92, 255, .35), transparent 55%), radial-gradient(700px 420px at 80% 35%, rgba(46, 231, 182, .25), transparent 55%), linear-gradient(180deg, rgba(255, 255, 255, .06), rgba(255, 255, 255, .02));

}

.stat-card.highlight h3,
.stat-card.highlight p {
    color: white;
}

/* Sections grid */
.sections-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 20px;
    margin-bottom: 40px;
}

.section-card {

    border-left: 4px solid #3498db;
    padding: 20px;
    border-radius: 4px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: all 0.2s;

    background: linear-gradient(180deg, rgba(255, 255, 255, .08), rgba(255, 255, 255, .04));
}

.section-card:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.section-card.enabled {
    border-left-color: #27ae60;
    background: linear-gradient(180deg, rgba(255, 255, 255, .12), rgba(255, 255, 255, .06));
}

.section-card.disabled {
    border-left-color: #e74c3c;
    opacity: 0.9;
}

.section-card h3 {
    font-size: 16px;
    margin-bottom: 8px;
}

.section-card p {
    font-size: 13px;
    color: #cbc7c7;
    margin-bottom: 12px;
    line-height: 1.5;
}

.section-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
    font-size: 12px;
    color: #cbc7c7;
    position: relative;
}

.section-actions {
    display: flex;
    gap: 8px;
    align-items: center;
}

/* Badges (distinct from base .badge) */
.badge-enabled {
    color: #feffff;
    background: linear-gradient(135deg, rgba(124, 92, 255, .95), rgba(46, 231, 182, .85));
    border: 1px solid rgba(124, 92, 255, .45);
    box-shadow: 0 6px 18px rgba(124, 92, 255, .25), inset 0 0 0 1px rgba(255, 255, 255, .25);
    font-weight: 600;
}

.badge-disabled {
    color: rgba(255, 255, 255, 0.68);
    background: rgba(255, 255, 255, .14);
    border: 1px solid var(--line);
    opacity: .65;
}

/* Button variants not in base.css */
.btn-toggle-enable {
    background: #27ae60;
    color: white;
}

.btn-toggle-enable:hover {
    background: #229954;
    box-shadow: 0 2px 8px rgba(39, 174, 96, 0.3);
}

.btn-toggle-enable:active {
    transform: scale(0.95);
}

.btn-toggle-disable {
    background: #e74c3c;
    color: white;
}

.btn-toggle-disable:hover {
    background: #c0392b;
    box-shadow: 0 2px 8px rgba(231, 76, 60, 0.3);
}

.btn-toggle-disable:active {
    transform: scale(0.95);
}


/* Category header */
.category-header {
    display: flex;
    align-items: center;
    margin: 40px 0 20px 0;
    padding-bottom: 10px;
    border-bottom: 2px solid #3498db;
}

.category-header h2 {
    font-size: 24px;
    color: #d9e9f8;
    margin-right: 20px;
}

.category-count {
    background: #3498db;
    color: white;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
}


/* Animation helpers */
.pulse {
    animation: pulse 0.3s ease;
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
    100% {
        transform: scale(1);
    }
}

.position-unset {
    position: unset !important;
}


.notice-container {
    width: 100%;
    padding: 28px 20px;
    background: linear-gradient(
            135deg,
            rgba(124, 92, 255, .12),
            rgba(46, 231, 182, .08)
    );
    border-bottom: 2px solid transparent;
    border-image: linear-gradient(135deg, rgba(124, 92, 255, .4), rgba(46, 231, 182, .4)) 1;
    box-shadow: var(--shadow);

    margin-top: 15px;
    border-top: 2px solid transparent;

    position: relative;
}


.badge-ai {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    border-radius: 999px;
    background: rgba(46, 231, 182, .15);
    border: 1px solid rgba(46, 231, 182, .35);
    color: #2ee7b6;
    font-size: 12px;
    font-weight: 700;
    margin-bottom: 10px;
    position: unset;
}

.notice-content {
    max-width: 1120px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    flex-wrap: wrap;
}

.notice-text {
    flex: 1;
    min-width: 300px;
}

.notice-text h2 {
    margin: 0 0 8px 0;
    font-size: 22px;
    font-weight: 750;
    letter-spacing: -.3px;
    background: linear-gradient(135deg, var(--text), rgba(46, 231, 182, .95));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.notice-text p {
    margin: 0;
    font-size: 15px;
    color: var(--muted);
    line-height: 1.6;
    max-width: 600px;
}

.notice-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    align-items: center;
}


.close-btn {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 32px;
    height: 32px;
    border-radius: 10px;
    border: 1px solid var(--line);
    background: rgba(255, 255, 255, .04);
    color: var(--muted);
    font-size: 18px;
    cursor: pointer;
    transition: all .2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
}

.close-btn:hover {
    background: rgba(255, 255, 255, .08);
    color: var(--text);
}

@media (max-width: 768px) {
    .notice-container {
        padding: 20px;
    }

    .notice-content {
        flex-direction: column;
        align-items: flex-start;
    }

    .notice-text h2 {
        font-size: 18px;
    }

    .notice-text p {
        font-size: 14px;
    }

    .notice-actions {
        width: 100%;
    }

    .notice-actions .btn {
        flex: 1;
        justify-content: center;
    }

    .close-btn {
        top: 12px;
        right: 12px;
    }
}

/* AI  area */


/* Tabs */
.tabs {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 20px;
    border-bottom: 1px solid var(--line);
    padding-bottom: 14px;
}

.grid3.tabs {
    display: grid !important;
}

.tab {
    padding: 10px 16px;
    border-radius: 10px;
    border: 1px solid var(--line);
    background: rgba(255, 255, 255, .04);
    color: var(--muted);
    font-weight: 650;
    font-size: 13px;
    cursor: pointer;
    transition: all .2s ease;
}

.tab:hover {
    background: rgba(255, 255, 255, .07);
    color: var(--text);
}

.tab.active {
    border-color: rgba(124, 92, 255, .45);
    background: linear-gradient(135deg, rgba(124, 92, 255, .25), rgba(46, 231, 182, .15));
    color: var(--text);
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
}

/* Form Elements */
.form-group {
    margin-bottom: 16px;
}

label .required {
    color: #ff6b6b;
}

/* Checkbox Grid */
.checkbox-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 10px;
    margin-top: 8px;
}

.checkbox-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, .10);
    background: rgba(255, 255, 255, .03);
    cursor: pointer;
    transition: all .2s ease;
    font-size: 13px;
}

.checkbox-item:hover {
    background: rgba(255, 255, 255, .06);
    border-color: rgba(255, 255, 255, .18);
}

.checkbox-item input[type="checkbox"] {
    width: 18px;
    height: 18px;
    accent-color: var(--brand);
    cursor: pointer;
}

.checkbox-item.checked {
    border-color: rgba(124, 92, 255, .35);
    background: rgba(124, 92, 255, .1);
}

/* Section Divider */
.section-divider {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 24px 0 16px;
    color: var(--muted);
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .5px;
}

.section-divider:before,
.section-divider:after {
    content: "";
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .14), transparent);
    flex: 1;
}

/* Hint Text */
.hint {
    font-size: 12px;
    color: rgba(255, 255, 255, .45);
    margin-top: 4px;
}

/* Progress indicator */
.progress-bar {
    height: 4px;
    background: rgba(255, 255, 255, .1);
    border-radius: 999px;
    margin-bottom: 20px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(135deg, var(--brand), var(--brand-2));
    border-radius: 999px;
    transition: width .3s ease;
}

/* Alert */
.alert-success {
    background: rgba(46, 231, 182, .15);
    border: 1px solid rgba(46, 231, 182, .35);
    color: #2ee7b6;
    padding: 6px 16px 8px 13px;

}

/* Two column layout */
.two-col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.three-col {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}

.monitoring-tool-section {
    display: grid;
    gap: 14px;
}

.monitoring-tool-section .title-block {
    margin-bottom: 0;
}

.monitoring-tool-table-wrap {
    overflow-x: auto;
    border: 1px solid var(--line);
    border-radius: 6px;
    background: rgba(255, 255, 255, .03);
}

.monitoring-tool-table {
    width: 100%;
    min-width: 860px;
    border-collapse: collapse;
}

.monitoring-tool-table th,
.monitoring-tool-table td {
    padding: 14px;
    border-bottom: 1px solid rgba(255, 255, 255, .08);
    border-right: 1px solid rgba(255, 255, 255, .08);
    vertical-align: top;
    word-break: break-word;
}

.monitoring-tool-table th:last-child,
.monitoring-tool-table td:last-child {
    border-right: none;
}

.monitoring-tool-table tr:last-child td {
    border-bottom: none;
}

.monitoring-tool-table th {
    background: rgba(255, 255, 255, .04);
    color: rgba(255, 255, 255, .72);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .04em;
    text-transform: uppercase;
    white-space: nowrap;
}

.monitoring-tool-table tfoot th {
    background: rgba(255, 255, 255, .06);
    color: #fff;
    text-align: left;
    font-size: 16px;
    font-weight: 700;
    letter-spacing: .04em;
    white-space: normal;

    text-transform: uppercase;
    padding-top: 25px;
}

.monitoring-tool-table input,
.monitoring-tool-table textarea,
.monitoring-tool-table select {
    width: 100%;
    min-width: 120px;
    margin: 0;
}

.monitoring-tool-table textarea {
    min-height: 56px;
}

.monitoring-tool-table .qapi-table-field {
    min-width: 200px;
}

.monitoring-tool-table td:first-child .qapi-table-field {
    min-width: 200px;
}

.monitoring-tool-table td:first-child input,
.monitoring-tool-table td:first-child textarea {
    min-width: 240px;
}

@media (max-width: 768px) {
    .monitoring-tool-table .qapi-table-field {
        min-width: 100%;
    }
}

.monitoring-tool-actions {
    justify-content: flex-end;
}

/* Output area */
.output-area {
    background: rgba(11, 16, 32, .6);
    border: 1px solid var(--line);
    border-radius: 14px;
    padding: 16px;
    max-height: 400px;
    overflow-y: auto;
    font-family: monospace;
    font-size: 13px;
    white-space: pre-wrap;
    display: none;
}

/* Media Query */
@media (max-width: 600px) {
    .two-col {
        grid-template-columns: 1fr;
    }

    .three-col {
        grid-template-columns: 1fr;
    }

    .monitoring-tool-table {
        min-width: 720px;
    }

    .checkbox-grid {
        grid-template-columns: 1fr;
    }

    .tabs {
        flex-direction: column;
    }

    .tab {
        text-align: center;
    }
}


.password-group {
    margin-bottom: 16px;
}

.password-input-wrapper {
    display: flex;
    gap: 8px;
    align-items: stretch;
    position: relative;
}

.password-input-wrapper input {
    flex: 1;
    margin: 0;
}

.show-password {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 14px;
    border-radius: 12px;
    border: 1px solid var(--line);
    background: rgba(255, 255, 255, .04);
    color: var(--text);
    font-weight: 650;
    font-size: 13px;
    cursor: pointer;
    transition: all .2s ease;
    white-space: nowrap;
    flex-shrink: 0;
}

.show-password:hover {
    background: rgba(255, 255, 255, .07);
    border-color: rgba(255, 255, 255, .18);
}

.show-password:active {
    transform: translateY(1px);
}

/* Mobile: Stack vertically */
@media (max-width: 600px) {
    .password-input-wrapper {
        flex-direction: column;
        gap: 10px;
    }

    .show-password {
        width: 100%;
        padding: 12px 14px;
    }
}


.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;

    flex-wrap: wrap;
}

.header h1 {
    display: block;
    font-size: 2em;
    font-weight: bold;
    margin-block: 0.67em;
    margin: 0 0 14px 0;
}


.btn-outline {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 11px 14px;
    min-height: 44px;
    line-height: 1.2;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, .25);
    background: transparent;
    color: #fff;
    cursor: pointer;
    font-size: 14px;
    font-weight: 650;
    user-select: none;
    white-space: nowrap;
}

.btn-outline:hover {
    background: rgba(255, 255, 255, .08);
    border-color: rgba(255, 255, 255, .35);
}

.btn-danger {
    padding: 11px 14px;
    border-radius: 14px;
    border: 1px solid rgba(255, 107, 107, .45);
    background: rgba(255, 107, 107, .15);
    color: #ffd6d6;
    font-weight: 700;
    cursor: pointer;
}


.alert-warning {
    color: #d6fdff;
    border-color: rgba(255, 95, 95, .45);
    background: linear-gradient(180deg, rgba(95, 255, 203, 0.18), rgba(95, 165, 255, 0.08) );
    padding-left: 25px;
    position: relative;
    border-color: #d6fdff;
}

.alert-warning h3 {position: relative; padding-left: 23px;}
.alert-warning h3::after {
    content: "\26A1";
    position: absolute;
    left: 0;
    top: 11px;
    transform: translateY(-50%);
    opacity: .85;
}

.alert-natural {
    color: #e6f0f2;
    border: 1px solid rgba(230, 240, 242, 0.28);
    background: linear-gradient(
            180deg,
            rgba(180, 200, 210, 0.10),
            rgba(180, 200, 210, 0.04)
    );
    padding-left: 25px;
    position: relative;
}
.alert-natural h3 {position: relative; padding-left: 23px;}

.alert-natural h3::after {
    content: "\2755";
    position: absolute;
    left: 0;
    top: 11px;
    transform: translateY(-50%);
    opacity: .85;
}


/* Editor */
.editor {
    display: grid;
    grid-template-columns:280px 1fr;
    gap: 20px;
    padding: 24px
}

.sections {
    border-radius: 11px;
    border: 1px solid var(--line);
    background: linear-gradient(180deg, rgba(255, 255, 255, .08), rgba(255, 255, 255, .04));
    padding: 14px;
    box-shadow: var(--shadow);

    max-height: 100vh;
    overflow-y: auto;
    overflow-x: hidden;

    scrollbar-width: none;           /* Firefox fallback */
}

.sections::-webkit-scrollbar {
    width: 8px;
}

.sections::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0);
    border-radius: 8px;
    transition: background 0.25s ease;
}

.sections:hover::-webkit-scrollbar-thumb,
.sections:active::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.35);
}

.sections::-webkit-scrollbar-track {
    background: transparent;
}



.section-item {
    display: flex;
    align-items: start;
    gap: 8px;
    padding: 10px 12px;
    border-radius: 12px;
    color: var(--muted);
    margin-bottom: 6px;
    user-select: none;
    min-width: 0;
}

.section-item-label {
    flex: 1;
    min-width: 0;
    white-space: normal;
    overflow-wrap: anywhere;
    word-break: break-word;
    line-height: 1.4;
}

.section-item.active, .section-item:hover {
    background: rgba(255, 255, 255, .08);
    color: var(--text)
}

.section-item.dragging {
    opacity: .6
}

.drag {
    cursor: grab;
    font-size: 16px;
    opacity: .70;
    touch-action: none;
}

/* Content */
.content {
    border-radius: 11px;
    border: 1px solid var(--line);
    background: linear-gradient(180deg, rgba(255, 255, 255, .08), rgba(255, 255, 255, .04));
    box-shadow: var(--shadow);
    padding: 18px;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}


.ql-btn-primary {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 11px 14px !important;
    border-radius: 12px !important;
    border: 1px solid var(--line) !important;
    font-size: 11px !important;
    cursor: pointer !important;
    transition: transform .08s ease, background .2s ease, border-color .2s ease !important;
    user-select: none !important;
    white-space: nowrap !important;
    border-color: rgba(124, 92, 255, .35) !important;
    background: linear-gradient(135deg, rgba(124, 92, 255, .95), rgba(46, 231, 182, .85)) !important;
    color: var(--text);
    box-shadow: 0 18px 50px rgba(124, 92, 255, .22) !important;
    width: auto !important;
    font-weight: 500 !important;
}

.ql-btn-primary .icon {
    margin-right: 7px !important;
    height: auto !important;
}

.ql-btn-primary:hover {
    filter: saturate(110%) !important;
}

.content .ql-toolbar,
.content .ql-container {
    width: 100%;
    box-sizing: border-box;
}

.content .ql-container {
    max-height: 100vh;
    overflow-y: auto;
}

.content .ql-editor {
    min-height: 100%;
}

.content  .ql-picker-label, .content  .ql-toolbar.ql-snow .ql-picker-label {color:#fff;}
.content  .ql-toolbar button svg *, .content .ql-picker:not(.ql-color-picker):not(.ql-icon-picker) svg *, .content  .ql-toolbar.ql-snow .ql-picker-label svg * {
    stroke: white;
}

.content .ql-toolbar button svg,
.content .ql-toolbar button svg, .content .ql-picker:not(.ql-color-picker):not(.ql-icon-picker) svg, .content  .ql-toolbar.ql-snow .ql-picker-label svg {
    fill: white;
}

.content .ql-container {
    max-width: 100%;
    overflow-x: hidden;
}

.ql-toolbar, .ql-container {
    background: #0b1020;
    border-color: var(--line)
}

.ql-editor {
    min-height: 260px;
    word-break: break-word
}

.ql-editor, .ql-editor * {
    color: #fff
}

/* Save row */
.save-row {
    margin-top: 14px;
    display: flex;
    justify-content: flex-end;
    gap: 12px
}

/* Modal */
.modal-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(5, 8, 18, .75);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 50;
}

.modal {
    max-width: 420px;
    border-radius: 20px;
    border: 1px solid var(--line);
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.71), rgba(11, 7, 7, 0.04));
    box-shadow: var(--shadow);
    padding: 20px;
    width: 100vw;
}


.modal-actions {
    display: flex;
    gap: 10px;
    justify-content: flex-end
}

@media (max-width: 900px) {
    .app {
        grid-template-columns:1fr
    }

    .sidebar {
        display: none
    }

    .editor {
        grid-template-columns:1fr
    }
}


.choices {
    margin: 0;
    position: relative;
}

.choices__inner {
    display: flex;
    background: rgba(11, 16, 32, .45);
    border: 1px solid var(--line);
    border-radius: 12px;
    font-size: 14px;
    min-height: 44px;
    overflow: hidden;
    padding: 0;
    width: 100%;
}

.choices.is-focused .choices__inner {
    border-color: rgba(124, 92, 255, .45);
    box-shadow: 0 0 0 4px rgba(124, 92, 255, .12);
    background: rgba(255, 255, 255, .05);
}

.is-open .choices__inner {
    border-radius: 12px;
}

.is-focused .choices__inner, .is-open .choices__inner {
    border: 1px solid rgba(255, 255, 255, .12);
    border-radius: 12px;
}

.choices__list--dropdown .choices__list, .choices__list[aria-expanded] .choices__list {padding-top: 8px;}

.choices[data-type="select-one"] .choices__inner {
    padding: 0;
}

.choices[data-type="select-one"] .choices__input {
    padding: 12px 12px;
    background: transparent;
    border: none;
    color: var(--text);
    font-size: 14px;
    min-height: 43px;
    margin-top: 5px;
    height: 100%;
    border-bottom: 1px solid #566781;
}

.choices[data-type="select-one"] .choices__list--single {
    display: block;
    width: 100%;
}

.choices[data-type="select-one"] .choices__list--single .choices__item {
    background: transparent;
    border: none;
    color: var(--text);
    padding: 7px 9px;

}

/* Dropdown */
.choices[data-type="select-one"] .choices__list--dropdown {
    background: rgba(11, 16, 32, .95);
    backdrop-filter: blur(12px);
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow);
    top: calc(100% + 8px);
    max-height: 275px;
    z-index: 10;
    overflow-y: hidden;
}

.choices[data-type="select-one"] .choices__list--dropdown .choices__item {
    padding: 10px 12px;
    color: var(--muted);
    background: transparent;
    border: none;
    margin: 4px 8px;
    border-radius: 8px;
    font-size: 14px;
}

.choices[data-type="select-one"] .choices__list--dropdown .choices__item:hover,
.choices[data-type="select-one"] .choices__list--dropdown .choices__item.is-highlighted {
    background: rgba(124, 92, 255, .2);
    color: var(--text);
}

.choices[data-type="select-one"] .choices__list--dropdown .choices__item.is-selected {
    background: linear-gradient(135deg, rgba(124, 92, 255, .35), rgba(46, 231, 182, .25));
    color: var(--brand-2);
    font-weight: 600;
}

/* Multiple Select */
.choices[data-type="select-multiple"] .choices__inner {
    padding: 8px;
    flex-wrap: wrap;
    gap: 8px;
}

.choices[data-type="select-multiple"] .choices__input {
    background: transparent;
    padding: 4px 8px;
    color: var(--text);
    font-size: 15px;
    border: none;
    border-radius: 8px;
    height: 32px;
}

.choices[data-type="select-multiple"] .choices__input:focus {


    box-shadow: 0 0 0 1px rgba(124, 92, 255, .35);
    border: 1px solid rgba(124, 92, 255, .35);
}

.choices__group{margin-bottom:  12px;}

.choices[data-type="select-multiple"] .choices__item {
    background: linear-gradient(135deg, rgba(124, 92, 255, .25), rgba(46, 231, 182, .15));
    border: 1px solid rgba(124, 92, 255, .35);
    color: var(--brand-2);
    padding: 6px 10px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.choices[data-type="select-multiple"] .choices__item.is-highlighted {
    background: rgba(124, 92, 255, .35);
    border-color: rgba(124, 92, 255, .5);
}

.choices[data-type="select-multiple"] .choices__button {

    border: none;
    color: rgba(255, 255, 255, .6);
    padding: 0;
    margin-left: 4px;
    cursor: pointer;
    font-size: 16px;
    transition: color .2s ease;
}

.choices[data-type="select-multiple"] .choices__button:hover {
    color: #ffd6d6;
}

.choices[data-type="select-multiple"] .choices__list--dropdown {
    background: rgba(11, 16, 32, .95);
    backdrop-filter: blur(12px);
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow);
    top: calc(100% + 8px);
    max-height: 300px;
    z-index: 10;
    overflow-y: auto;
}

.choices[data-type="select-multiple"] .choices__list--dropdown .choices__item {
    padding: 10px 12px;
    color: var(--muted);
    background: transparent;
    margin: 4px 8px;
    border-radius: 8px;
    font-size: 14px;
}

.choices[data-type="select-multiple"] .choices__list--dropdown .choices__item:hover,
.choices[data-type="select-multiple"] .choices__list--dropdown .choices__item.is-highlighted {
    background: rgba(124, 92, 255, .2);
    color: var(--text);
}

.choices[data-type="select-multiple"] .choices__list--dropdown .choices__item.is-selected {
    background: linear-gradient(135deg, rgba(124, 92, 255, .35), rgba(46, 231, 182, .25));
    color: var(--brand-2);
}

/* Placeholder & Notice */
.choices__placeholder {
    color: var(--muted);
}

.choices__notice {
    padding: 10px 12px;
    color: var(--muted);
    font-size: 13px;
}

/* Scrollbar */
.choices__list--dropdown::-webkit-scrollbar {
    width: 6px;
}

.choices__list--dropdown::-webkit-scrollbar-track {
    background: transparent;
}

.choices__list--dropdown::-webkit-scrollbar-thumb {
    background: rgba(124, 92, 255, .35);
    border-radius: 3px;
}

.choices__list--dropdown::-webkit-scrollbar-thumb:hover {
    background: rgba(124, 92, 255, .55);
}



.app {
    display: grid;
    grid-template-columns: 260px 1fr;
    min-height: 100vh;
}

.sidebar {
    border-right: 1px solid var(--line);
    background: rgba(11, 16, 32, .7);
    padding: 20px;
}

.nav-aside a {
    display: block;
    padding: 12px 14px;
    border-radius: 12px;
    color: var(--muted);
    margin-bottom: 6px;
}

.nav-aside a.active,
.nav-aside a:hover {
    background: rgba(255, 255, 255, .06);
    color: var(--text);
}

.main {
    padding: 26px;
}

.grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.btn-primary-lg {
    padding: 14px 18px;
    border-radius: 14px;
    font-size: 15px;
    font-weight: 800;
    background: linear-gradient(135deg, #7c5cff, #2ee7b6);
    border: 1px solid rgba(124, 92, 255, .45);
    box-shadow: 0 18px 50px rgba(124, 92, 255, .28);
    text-decoration: none;
    color: #fff;
}

.handbook-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(285px, 1fr));
    gap: 18px;
    margin-top: 30px;
}

.form-list-card {
    margin-top: 30px;
    border-radius: 11px;
    border: 1px solid rgba(255, 255, 255, .12);
    background: linear-gradient(180deg, rgba(255, 255, 255, .08), rgba(255, 255, 255, .04));
    box-shadow: 0 18px 60px rgba(0, 0, 0, .45);

}

.form-list-head,
.form-list-row {
    display: grid;
    grid-template-columns: minmax(0, 2fr) minmax(120px, .8fr) minmax(0, 1.1fr) minmax(0, 1.35fr) minmax(150px, 1fr);
    gap: 18px;
}

.form-list-head {
    align-items: center;
    padding: 14px 18px;
    font-size: 12px;
    color: var(--muted);
    border-bottom: 1px solid var(--line);
    background: rgba(255, 255, 255, .02);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.form-list-row {
    align-items: start;
    padding: 20px 18px;
    border-bottom: 1px solid rgba(255, 255, 255, .08);
    transition: background 0.2s ease;
}

.form-list-row:hover {
    background: rgba(255, 255, 255, .03);
}

.form-list-row:last-child {
    border-bottom: none;
}

.form-list-cell {
    min-width: 0;
}

.form-list-primary {
    display: flex;
    gap: 14px;
    align-items: flex-start;
}

.form-list-copy {
    min-width: 0;
}

.form-list-status {
    display: flex;
    align-items: flex-start;
}

.form-list-details {
    display: grid;
    gap: 6px;
}

.form-list-details .handbook-sub {
    margin-bottom: 0;
}

.form-list-progress {
    margin-top: 12px;
}

.form-list-actions .handbook-actions {
    margin-bottom: 0;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
}

.form-list-actions .handbook-actions > :last-child {
    margin-left: 0;
}

.form-list-actions .dropdown {
    display: block;
    width: 100%;
}

.form-list-actions .dropdown-toggle,
.form-list-actions .btn-outline {
    display: inline-flex;
    width: 100%;
    justify-content: center;
}

.report-list-card {
    margin-top: 30px;
    border-radius: 11px;
    border: 1px solid rgba(255, 255, 255, .12);
    background: linear-gradient(180deg, rgba(255, 255, 255, .08), rgba(255, 255, 255, .04));
    box-shadow: 0 18px 60px rgba(0, 0, 0, .45);
    overflow: hidden;
}

.report-list-head,
.report-list-row {
    display: grid;
    grid-template-columns: minmax(0, 1.5fr) minmax(120px, .8fr) minmax(0, 2fr) minmax(150px, 1fr);
    gap: 18px;
}

.report-list-head {
    align-items: center;
    padding: 14px 18px;
    font-size: 12px;
    color: var(--muted);
    border-bottom: 1px solid var(--line);
    background: rgba(255, 255, 255, .02);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.report-list-row {
    align-items: start;
    padding: 20px 18px;
    border-bottom: 1px solid rgba(255, 255, 255, .08);
    transition: background 0.2s ease;
}

.report-list-row:hover {
    background: rgba(255, 255, 255, .03);
}

.report-list-row:last-child {
    border-bottom: none;
}

.report-list-cell {
    min-width: 0;
}

.report-list-row .table-title {
    display: none;
}

.report-list-format {
    display: flex;
    align-items: flex-start;
}

.report-list-description .handbook-sub {
    margin: 0;
}

.report-list-actions {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
}

.report-list-actions .btn-outline {
    display: inline-flex;
    width: 100%;
    justify-content: center;
}

.handbook-card {
    border-radius: 11px;
    border: 1px solid rgba(255, 255, 255, .12);
    background: linear-gradient(180deg, rgba(255, 255, 255, .08), rgba(255, 255, 255, .04));
    box-shadow: 0 18px 60px rgba(0, 0, 0, .45);
    transition: transform .15s ease, box-shadow .15s ease;
}

.handbook-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 26px 80px rgba(0, 0, 0, .6);
}

.handbook-body {
    padding: 18px;
}

.handbook-title {
    margin: 0 0 6px;
    font-size: 18px;
    font-weight: 750;
    letter-spacing: -.3px;
}

.handbook-meta {
    margin: 0;
    font-size: 14px;
    color: rgba(255, 255, 255, .65);
}

.handbook-sub {
    margin: 4px 0 14px;
    font-size: 13px;
    color: rgba(255, 255, 255, .5);
}

.handbook-actions {
    display: flex;
    gap: 8px;
    margin-bottom: 12px;
}
.handbook-actions > :last-child {
    margin-left: auto;
}

.btn-outline.purple {
    border-color: rgba(124, 92, 255, .45);
    color: #d5ccff;
}


.btn-outline.purple:hover,
.btn-outline.purple:focus,
.btn-outline.purple:active {
    background: #7c5cff;
    border-color: #7c5cff;
}

.btn-outline.teal {
    border-color: rgba(46, 231, 182, .45);
    color: #a6f3dd;
}

.btn-outline.green {
    border-color: rgba(120, 220, 140, .45);
    color: #c9f2d3;
}

.btn-outline.danger {
    border-color: rgba(255, 95, 95, .45);
    color: #ffd0d0;
    background: rgba(255, 95, 95, .08);
}

.btn-outline.full {
    width: 100%;
}

.btn-outline.filter {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    position: relative;
    padding-left: 34px;
}

.btn-outline.filter::before {
    content: '';
    position: absolute;
    left: 10px;
    top: 50%;
    transform: translateY(-50%);
    width: 14px;
    height: 14px;
    background-image: url("data:image/svg+xml,%3Csvg id='Layer_1' enable-background='new 0 0 512 512' height='512' viewBox='0 0 512 512' width='512' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill='%23c9f2d3' d='m16 90.259h243.605c7.342 33.419 37.186 58.508 72.778 58.508s65.436-25.088 72.778-58.508h90.839c8.836 0 16-7.164 16-16s-7.164-16-16-16h-90.847c-7.356-33.402-37.241-58.507-72.77-58.507-35.548 0-65.419 25.101-72.772 58.507h-243.611c-8.836 0-16 7.164-16 16s7.164 16 16 16zm273.877-15.958c0-.057.001-.115.001-.172.07-23.367 19.137-42.376 42.505-42.376 23.335 0 42.403 18.983 42.504 42.339l.003.235c-.037 23.407-19.091 42.441-42.507 42.441-23.406 0-42.454-19.015-42.507-42.408zm206.123 347.439h-90.847c-7.357-33.401-37.241-58.507-72.77-58.507-35.548 0-65.419 25.102-72.772 58.507h-243.611c-8.836 0-16 7.163-16 16s7.164 16 16 16h243.605c7.342 33.419 37.186 58.508 72.778 58.508s65.436-25.089 72.778-58.508h90.839c8.836 0 16-7.163 16-16s-7.164-16-16-16zm-163.617 58.508c-23.406 0-42.454-19.015-42.507-42.408l.001-.058c0-.058.001-.115.001-.172.07-23.367 19.137-42.377 42.505-42.377 23.335 0 42.403 18.983 42.504 42.338l.003.235c-.034 23.41-19.089 42.442-42.507 42.442zm163.617-240.248h-243.605c-7.342-33.419-37.186-58.507-72.778-58.507s-65.436 25.088-72.778 58.507h-90.839c-8.836 0-16 7.164-16 16 0 8.837 7.164 16 16 16h90.847c7.357 33.401 37.241 58.507 72.77 58.507 35.548 0 65.419-25.102 72.772-58.507h243.611c8.836 0 16-7.163 16-16 0-8.836-7.164-16-16-16zm-273.877 15.958c0 .058-.001.115-.001.172-.07 23.367-19.137 42.376-42.505 42.376-23.335 0-42.403-18.983-42.504-42.338l-.003-.234c.035-23.41 19.09-42.441 42.507-42.441 23.406 0 42.454 19.014 42.507 42.408z'/%3E%3C/svg%3E");
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    opacity: 0.85;
}

.btn-outline.filter .count-badge {
    min-width: 18px;
    height: 18px;
    padding: 0 6px;
    border-radius: 999px;
    background: #c9f2d3;
    font-size: 11px;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-color: rgba(120, 220, 140, .45);
    color:#000;;

}

.btn-outline.calendar {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    position: relative;
    padding-left: 34px;
    border-color: rgba(124, 92, 255, .45);
    color: #d5ccff;


}

.btn-outline.calendar::before {
    content: '';
    position: absolute;
    left: 10px;
    top: 50%;
    transform: translateY(-50%);
    width: 14px;
    height: 14px;
    background-image: url("data:image/svg+xml,%3Csvg fill='none' height='32' viewBox='0 0 32 32' width='32' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath clip-rule='evenodd' d='m11 2c.5523 0 1 .44772 1 1v1h5c.5523 0 1 .44772 1 1s-.4477 1-1 1h-5v1c0 .55228-.4477 1-1 1s-1-.44772-1-1v-1h-2c-2.20914 0-4 1.79086-4 4v14c0 2.2091 1.79086 4 4 4h6c.5523 0 1 .4477 1 1s-.4477 1-1 1h-6c-3.31371 0-6-2.6863-6-6v-14c0-3.31371 2.68629-6 6-6h2v-1c0-.55228.4477-1 1-1zm10 0c.5523 0 1 .44772 1 1v1h2c3.3137 0 6 2.68629 6 6v4c0 .5523-.4477 1-1 1s-1-.4477-1-1v-4c0-2.20914-1.7909-4-4-4h-2v1c0 .55228-.4477 1-1 1s-1-.44772-1-1v-4c0-.55228.4477-1 1-1zm-13 9c-.55228 0-1 .4477-1 1s.44772 1 1 1h16c.5523 0 1-.4477 1-1s-.4477-1-1-1zm17.7071 11.7071-2.5 2.5c-.3905.3905-1.0237.3905-1.4142 0l-1.5-1.5c-.3905-.3905-.3905-1.0237 0-1.4142s1.0237-.3905 1.4142 0l.7929.7929 1.7929-1.7929c.3905-.3905 1.0237-.3905 1.4142 0s.3905 1.0237 0 1.4142zm-15.7071-5.2071c0 .8284-.67157 1.5-1.5 1.5s-1.5-.6716-1.5-1.5.67157-1.5 1.5-1.5 1.5.6716 1.5 1.5zm-1.5 7.5c.82843 0 1.5-.6716 1.5-1.5s-.67157-1.5-1.5-1.5-1.5.6716-1.5 1.5.67157 1.5 1.5 1.5zm9.5-2c0-2.7614 2.2386-5 5-5s5 2.2386 5 5-2.2386 5-5 5-5-2.2386-5-5zm5-7c-3.866 0-7 3.134-7 7s3.134 7 7 7 7-3.134 7-7-3.134-7-7-7z' fill='%23d5ccff' fill-rule='evenodd'/%3E%3C/svg%3E");
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    opacity: 0.85;
}

.btn-outline.calendar:hover {
    background: rgba(255, 255, 255, .08);
    border-color: rgba(124, 92, 255, .65);
}




.filters-bar {
    margin-bottom: 16px;
    padding: 12px 14px;
    border-radius: 14px;
    border: 1px solid var(--line);
    background: rgba(255, 255, 255, .04);
}

.filters-form .row {
    display: flex;
    flex-wrap: wrap;
    gap: 12px 16px;
}

.filters-form .form-group {
    flex: 1 1 180px;
    min-width: 160px;
}

@media (max-width: 900px) {
    .app {
        grid-template-columns: 1fr;
    }

    .sidebar {
        display: none;
    }

    .grid {
        grid-template-columns: 1fr;
    }

    .header .header-actions {
        justify-content: flex-start;
    }
}

@media (max-width: 700px) {
    .form-list-head {
        display: none;
    }

    .form-list-row {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .form-list-primary {
        flex-direction: column;
    }

    .form-list-actions .handbook-actions > :last-child {
        margin-left: 0;
    }

    .report-list-head {
        display: none;
    }

    .report-list-row {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .report-list-row .table-title {
        display: block;
    }
}

.m-5 {margin-top: 2rem}

.feature-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 10px;
    font-size: 13px;
}

.feature-label {
    color: var(--muted);
}

.premium-lock {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 4px 10px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 650;
    background: rgba(255, 204, 102, .12);
    border: 1px solid rgba(255, 204, 102, .35);
    color: #ffcc66;
}

.premium-edit {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 4px 10px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 650;
    border: 1px solid rgba(120, 220, 140, .45);
    cursor: pointer;
    color: #c9f2d3;

}

.premium-lock::before {
    content: "🔒";
    font-size: 10px;
}


.dropdown {
    position: relative;
    display: inline-block;
}

.dropdown-toggle {
    display: flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
}

.dropdown-toggle::after {
    content: "";
    border-left: 4px solid transparent;
    border-right: 4px solid transparent;
    border-top: 5px solid currentColor;
    transition: transform .2s ease;
}

.dropdown:hover .dropdown-toggle::after,
.dropdown:focus-within .dropdown-toggle::after {
    transform: rotate(180deg);
}

.dropdown-menu {
    position: absolute;
    top: calc(100% + 6px);
    left: 0;
    min-width: 140px;
    background: rgba(11, 16, 32, .95);
    backdrop-filter: blur(12px);
    border: 1px solid var(--line);
    border-radius: 12px;
    box-shadow: 0 18px 50px rgba(0, 0, 0, .5);
    padding: 6px;
    z-index: 100;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: opacity .2s ease, transform .2s ease, visibility .2s ease;
}

.dropdown:hover .dropdown-menu,
.dropdown:focus-within .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu a {
    display: block;
    padding: 10px 12px;
    border-radius: 8px;
    color: var(--muted);
    font-size: 13px;
    font-weight: 600;
    transition: background .15s ease, color .15s ease;
}

.dropdown-menu a:hover {
    background: rgba(255, 255, 255, .08);
    color: var(--text);
}



/* Header Actions */
.header-actions {
    display: flex;
    gap: 10px;
    align-items: center;
    flex-wrap: wrap;
    justify-content: flex-end;
}

.dashboard-search-form {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    flex-wrap: nowrap;
    flex: 0 1 380px;
    padding: 4px;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, .12);
    background: rgba(255, 255, 255, .04);
}

.reports-header-actions {
    width: 100%;
    flex-wrap: nowrap;
    margin-top: 6px;
}

.dashboard-search-form input[type="search"] {
    flex: 1 1 auto;
    width: 220px;
    min-width: 0;
    margin: 0;
    padding: 0 12px;
    min-height: 36px;
    border: none;
    background: transparent;
    box-shadow: none;
}

.dashboard-search-form input[type="search"]:focus {
    border: none;
    box-shadow: none;
}

.dashboard-search-form .btn {
    flex: 0 0 auto;
    min-height: 36px;
    padding: 8px 14px;
}

.view-toggle {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, .12);
    background: rgba(255, 255, 255, .04);
}

@media (max-width: 900px) {
    .dashboard-search-form {
        flex: 1 1 100%;
    }

    .dashboard-search-form input[type="search"] {
        width: 100%;
    }

    .reports-header-actions .dashboard-search-form {
        flex: 0 1 380px;
    }

    .reports-header-actions .dashboard-search-form input[type="search"] {
        width: 220px;
    }
}

@media (max-width: 700px) {
    .reports-header-actions {
        flex-wrap: wrap;
    }

    .reports-header-actions .dashboard-search-form {
        flex: 1 1 100%;
    }

    .reports-header-actions .dashboard-search-form input[type="search"] {
        width: 100%;
    }
}

.view-toggle .btn-outline {
    border-color: transparent;
}

.view-toggle .btn-outline.active {
    background: rgba(255, 255, 255, .12);
    border-color: rgba(255, 255, 255, .18);
}

/* Card muted text */
.card .muted {
    color: var(--muted);
}

/* Button outline variants */
.btn-outline:hover {
    background: rgba(255, 255, 255, .08);
    border-color: rgba(255, 255, 255, .35);
}

.btn-outline.primary {
    border-color: var(--brand);
    color: var(--brand);
}

.btn-outline.primary:hover {
    background: rgba(124, 92, 255, .1);
}

.btn-outline.success {
    border-color: var(--success);
    color: var(--success);
}

.btn-outline.success:hover {
    background: rgba(16, 185, 129, .1);
}

/* modal-team styles */
.x {
}

.team-card-emp-email, .team-card-emp-dept, .team-card-emp-phone, .team-card-emp-address, .team-card-emp-classification  {
    font-size: 12px !important;
    margin-top: 4px !important;
}

.reminder-item strong {
    font-size: 10px !important;
    margin-top: 4px !important;
    text-transform: uppercase;
}

.reminder-item div {
    font-size: 12px !important;
    margin-top: 2px !important;
}





.team-card-emp-active {
    font-size: 12px !important;
    margin-top: 7px !important;
    border-top: 1px solid rgba(255, 255, 255, .12);
    padding-top: 11px;
}

.modal-team {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, .5);

    overflow-y: auto;
}

.modal-team.active {
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-team-content {
    background: rgba(5, 8, 18, .75);
    border: 1px solid var(--line);
    border-radius: 11px;
    padding: 24px;
    width: 90%;
    max-width: 450px;
    box-shadow: var(--shadow);
    max-height: 90vh;
    margin: 5vh auto;
    overflow-y: auto;
}

.modal-team-content {
    overflow-y: auto;
    scrollbar-width: none;      /* Firefox */
    -ms-overflow-style: none;   /* IE 10+ */
}

.modal-team-content::-webkit-scrollbar {
    width: 0;
    height: 0;
}

.modal-team-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    position: relative;
}

.modal-team-header h2 {
    margin: 0;
    font-size: 18px;
}

.modal-team-actions button {
    padding: 9px 16px;
    border-radius: 12px;
    transition: all .2s;
}

.modal-team-actions .submit {
    background: var(--brand);
    border-color: var(--brand);
    color: white;
}

.modal-team-actions .submit:hover {
    background: #6b4eda;
}


.hr-light {
    border: none;
    height: 1px;
    background-color: rgba(255, 255, 255, 0.12);
}



/* Toast notifications */

.toast{
    position: fixed;
    bottom: 20px;
    right: 0;
    background: var(--success);
    color: white;
    padding: 12px 32px 12px 18px;
    box-shadow: var(--shadow);
    z-index: 2000;
    animation: slideIn .3s ease;
    border-top-left-radius: 12px;
    border-bottom-left-radius: 12px;
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;

}

.toast.error {
    background: var(--danger);
}

.toast.warning {
    background: var(--warning);
}




@keyframes slideIn {
    from {
        transform: translateX(400px);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

/* section-team title (different from base.css .section-team) */
.section-team{margin-top: 12px}
.section-team-title {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 18px;
    padding-bottom: 14px;
    border-bottom: 1px solid var(--line);
}

.section-team-title h2 {
    margin: 0;
    font-size: 16px;
    font-weight: 600;
}

.mt-5 {margin-top: 1rem !important;}
.mb-5 {margin-bottom: 1rem !important;;}


/* Grid */
.settings-grid {
    display: grid;
    grid-template-columns:repeat(auto-fill, minmax(360px, 1fr));
    gap: 22px;
}

/* Cards */
.settings-card {
    border-radius: 20px;
    border: 1px solid var(--line);
    background: linear-gradient(180deg,
    rgba(255, 255, 255, .08),
    rgba(255, 255, 255, .04)
    );
    padding: 20px;
    box-shadow: var(--shadow);
}

.settings-card h3 {
    margin: 0 0 16px;
    font-size: 18px;
}

/* Inputs */
label.field {
    display: block;
    margin: 14px 0 6px;
    font-size: 13px;
    color: var(--muted);
}



/* =========================
   TOGGLE SWITCH
   ========================= */
.toggle {
    display: flex;
    align-items: start;
    justify-content: space-between;
    gap: 16px;
    padding: 12px 0;
}

.toggle-label {
    font-size: 14px;
    color: rgba(255, 255, 255, .8);
    line-height: 1.3;
}

/* hide native checkbox */
.toggle input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

/* track */
.switch {
    width: 48px;
    height: 26px;
    border-radius: 999px;
    background: rgba(255, 255, 255, .18);
    position: relative;
    transition: background .2s ease;
}

/* knob */
.switch::after {
    content: "";
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #fff;
    position: absolute;
    top: 3px;
    left: 3px;
    transition: transform .2s ease, background .2s ease;
}

/* checked state */
.toggle input:checked + .switch {
    background: linear-gradient(135deg, var(--brand), var(--brand-2));
    box-shadow: 0 0 0 3px rgba(124, 92, 255, .25);
}

.toggle input:checked + .switch::after {
    transform: translateX(22px);
    background: #081022;
}

/* hover */
.toggle:hover .switch {
    background: rgba(255, 255, 255, .25);
}




.extra-options {
    margin-top: 18px;
    border: 1px solid var(--line);
    border-radius: 16px;
    background: rgba(255, 255, 255, .04);
}

.extra-toggle {
    width: 100%;
    background: transparent;
    border: none;
    padding: 14px 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    font-weight: 700;
    color: var(--text);
}

.extra-toggle:hover {
    background: rgba(255, 255, 255, .06);
}

.extra-toggle .chevron {
    font-size: 18px;
    transition: transform .2s ease;
}

.extra-options.open .chevron {
    transform: rotate(45deg);
}

.extra-content {
    padding: 16px;
    border-top: 1px solid var(--line);
}

.extra-content label {
    margin-top: 12px;
}


.table-card {
    border-radius: 11px;
    border: 1px solid var(--line);
    background: linear-gradient(180deg, rgba(255, 255, 255, .08), rgba(255, 255, 255, .04));
    box-shadow: var(--shadow);

}

.table-wrapper {
    overflow: auto;
    min-height: 100vh;
}

.table-head {
    display: grid;
    grid-template-columns: 2fr 2fr 1.5fr 2fr 1.5fr;
    align-items: center;
    padding: 14px 18px;
    font-size: 12px;
    color: var(--muted);
    border-bottom: 1px solid var(--line);
    background: rgba(255, 255, 255, .02);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.table-title {
    font-size: 12px !important;
    color: var(--muted);
    font-weight: 600 !important;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-top: 12px;
    display: none;
}

.table-row {
    display: grid;
    grid-template-columns: 2fr 2fr 1.5fr 2fr 1.5fr;
    align-items: center;
    padding: 16px 18px;
    border-bottom: 1px solid rgba(255, 255, 255, .08);
    transition: background 0.2s ease;
    min-height: 109px;
}

@media (max-width: 980px) {
    .table-title {
        display: block;
    }
    .table-head {
        display: none;
    }
    .table-row {
        grid-template-columns: 1fr;
    }

    .table-row  .actions {margin-top: 12px}
}

.table-row:hover {
    background: rgba(255, 255, 255, .03);
}

.table-row:last-child {
    border-bottom: none;
}

.report-admin-table-head {
    grid-template-columns: 1.5fr 1.75fr 1.25fr 2fr 1fr 1.5fr;
}

.report-admin-table-row {
    grid-template-columns: 1.5fr 1.75fr 1.25fr 2fr 1fr 1.5fr;
}



.user {
    display: flex;
    flex-direction: column;
}

.user strong {
    font-size: 15px;
    font-weight: 600;
}

.user span {
    font-size: 13px;
    color: var(--muted);
}

.status {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 700;
}

.status.ok {
    color: var(--success);
}

.status.ok .dot {
    background: var(--success);
    box-shadow: 0 0 8px rgba(46, 231, 182, .4);
}

.status.pending {
    color: var(--pending);
}

.status.pending .dot {
    background: var(--pending);
    box-shadow: 0 0 8px rgba(255, 204, 102, .4);
}

.details-col {
    font-size: 12px;
    color: var(--muted);
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.details-col span {
    display: flex;
    align-items: center;
    gap: 4px;
}

.badge.neutral {
    background: rgba(255, 204, 102, .15);
    border-color: rgba(255, 204, 102, .3);
    color: var(--pending);
}

.stat-label {
    font-size: 12px;
    color: var(--muted);
    text-transform: uppercase;
    margin-bottom: 8px;
    letter-spacing: 0.5px;
}

.stat-value {
    font-size: 24px;
    font-weight: 800;
}


.info {
    display: grid;
    gap: 14px;
    margin-bottom: 18px;
}

.info-row {
    display: flex;
    justify-content: space-between;
    gap: 14px;
    padding: 12px 14px;
    border-radius: 14px;
    background: rgba(255, 255, 255, .04);
    border: 1px solid rgba(255, 255, 255, .10);
}

.info-row span {
    color: var(--muted);
    font-size: 13px;
}

.info-row strong {
    font-size: 14px;
}

.notice {
    display: flex;
    gap: 12px;
    padding: 14px;
    border-radius: 14px;
    background: rgba(255, 204, 102, .12);
    border: 1px solid rgba(255, 204, 102, .35);
    color: var(--warn);
    font-size: 14px;
    margin-bottom: 18px;
}


.guidance-box {

    background: radial-gradient(1000px 700px at 15% 10%, rgba(124, 92, 255, .22), transparent 60%), radial-gradient(800px 600px at 85% 25%, rgba(46, 231, 182, .18), transparent 55%), radial-gradient(900px 700px at 50% 95%, rgba(255, 204, 102, .12), transparent 55%), #e7f3ff;
    border-left: 4px solid #0066cc;
    padding: 12px 15px;
    margin: 14px 0 7px;
    border-radius: 4px;
    font-size: 0.95em;
    color: #004499;
}

.tip-box {
    background: #fff3cd;
    border-left: 4px solid #ff9800;
    padding: 12px 15px;
    border-radius: 4px;
    font-size: 0.9em;
    color: #856404;
    margin: 14px 0 7px;
}

/* Form preview */
.preview-stack {
    display: grid;
    gap: 20px;
}

.preview-block-spacing {
    margin-top: 20px;
}

.card.preview-block-spacing {
    margin-top: 15px;
}

.preview-meta-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-top: 18px;
}

.preview-meta-card {
    min-height: unset;
    padding: 16px;
}

.preview-meta-label {
    display: block;
    margin-bottom: 6px;
    color: rgba(255, 255, 255, .55);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.preview-meta-value {
    display: block;
    color: #fff;
    font-size: 14px;
    line-height: 1.55;
    word-break: break-word;
}

.preview-question-grid {
    margin-top: 0;
}

.preview-question-grid > :last-child:nth-child(odd) {
    grid-column: 1 / -1;
}

.preview-question-card {
    height: 100%;
    border-left-color: #7c5cff;
}

.preview-question-card h3 {
    max-width: none;
}

.preview-rich-copy {
    color: #fff;
    line-height: 1.7;
    white-space: pre-line;
}

.preview-empty-text {
    color: rgba(255, 255, 255, .5);
    font-style: italic;
}

.preview-mini-grid {
    margin-top: 14px;
    padding-top: 14px;
    border-top: 1px solid rgba(255, 255, 255, .08);
}

.preview-mini-label {
    margin-bottom: 4px;
    color: rgba(255, 255, 255, .55);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.preview-mini-value {
    color: #fff;
    font-size: 14px;
    line-height: 1.55;
}

.preview-html {
    line-height: 1.7;
}

.preview-html h3:first-child {
    margin-top: 0;
}

.preview-copy {
    line-height: 1.7;
}

.p-0 {
    padding: 0 !important;
}

.border-0 {
    border-radius: 0 !important;
}

.border-x-0 {
    border-left: 0 !important;
    border-right: 0 !important;
}


@media print {
    .nav,
    .no-print,
    footer {
        display: none !important;
    }

    html,
    body {
        background: #fff;
        color: #000;
        height: auto !important;
        overflow: visible !important;
    }

    body.preview-page {
        margin: 0;
        padding: 0;
    }

    body.preview-page,
    body.preview-page * {
        border-radius: 1px !important;
    }

    .main {
        padding: 0;
    }

    .section-container {
        padding: 0 0 14px;
    }

    .content,
    .card,
    .hero-card,
    .section-card {
        background: #fff !important;
        color: #000 !important;
        box-shadow: none !important;
        border: 1px solid #d9d9d9 !important;
        overflow: visible !important;
    }

    .content {
        padding: 0 !important;
        border-radius: 0 !important;
    }

    .preview-meta-label,
    .preview-empty-text {
        color: #666 !important;
    }

    .preview-meta-value,
    .preview-rich-copy,
    .preview-mini-value,
    .preview-html,
    .preview-copy,
    .sub,
    .chip,
    .pill {
        color: #000 !important;
    }

    .monitoring-tool-table th,
    .monitoring-tool-table td {
        background: #fff !important;
        color: #000 !important;
        border-color: #d9d9d9 !important;
    }

    .monitoring-tool-table {
        min-width: 0 !important;
        table-layout: fixed;
    }

    body.preview-page .main {
        display: none !important;
    }

    body.preview-page .section-container {
        padding: 0 0 12px !important;
    }

    body.preview-page .section-container:last-of-type {
        padding-bottom: 0 !important;
    }

    body.preview-page .preview-stack > * {
        margin-bottom: 14px !important;
    }

    body.preview-page .hero-card,
    body.preview-page .card,
    body.preview-page .section-card,
    body.preview-page .preview-meta-card {
        border-radius: 0 !important;
    }

    body.preview-page .hero-card-top {
        padding: 12px 14px 10px !important;
        border-bottom: 1px solid #d9d9d9 !important;
        color: #000 !important;
    }

    body.preview-page .hero-card-top {
        display: none !important;
    }

    body.preview-page .hero-card-body,
    body.preview-page .section-card,
    body.preview-page .preview-meta-card,
    body.preview-page .card.preview-block-spacing {
        padding: 12px 14px !important;
    }

    body.preview-page .preview-block-spacing,
    body.preview-page .card.preview-block-spacing {
        margin-top: 10px !important;
    }

    body.preview-page .preview-meta-grid,
    body.preview-page .preview-question-grid,
    body.preview-page .three-col {
        gap: 10px !important;
    }

    body.preview-page .preview-mini-grid {
        margin-top: 10px !important;
        padding-top: 10px !important;
        border-top-color: #d9d9d9 !important;
    }

    body.preview-page .monitoring-tool-table-wrap {
        background: #fff !important;
        border-color: #d9d9d9 !important;
        border-radius: 0 !important;
    }

    body.preview-page .monitoring-tool-table thead th {
        background: #f5f5f5 !important;
    }

    body.preview-page .pill,
    body.preview-page .chip,
    body.preview-page .badge-enabled,
    body.preview-page .badge-disabled {
        background: #fff !important;
        color: #000 !important;
        border: 1px solid #bdbdbd !important;
        box-shadow: none !important;
        opacity: 1 !important;
    }

    body.preview-page .pill .dot {
        background: #000 !important;
        box-shadow: none !important;
    }

    body.preview-page .section-meta,
    body.preview-page .hero-card-top,
    body.preview-page .sub {
        color: #000 !important;
    }

    body.preview-page .preview-meta-card,
    body.preview-page .preview-question-card {
        border-left-color: #d9d9d9 !important;
    }

    body.preview-page .preview-question-card,
    body.preview-page .preview-meta-card,
    body.preview-page .monitoring-tool-table-wrap {
        break-inside: avoid-page !important;
        page-break-inside: avoid !important;
    }

    .preview-stack {
        display: block !important;
    }

    .preview-stack > * {
        display: block !important;
        margin-bottom: 20px !important;
    }

    .content,
    .card,
    .hero-card,
    .section-card {
        break-inside: auto !important;
        page-break-inside: auto !important;
    }

    .content {
        display: block !important;
    }
}
