/* ==========================================
   COMPLYVOLT - MAIN CSS
========================================== */

@import url("https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap");

:root {
    --navy: #07182e;
    --navy-light: #102b4e;
    --green: #20d879;
    --green-dark: #16b864;
    --blue: #3c82ff;
    --cyan: #36d1dc;
    --white: #ffffff;
    --background: #f4f7fb;
    --text: #10243e;
    --muted: #74839a;
    --border: #dfe7ee;
}


/* ==========================================
   GENERAL
========================================== */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: "Inter", Arial, sans-serif;
    color: var(--text);
    background: var(--background);
    overflow-x: hidden;
}

a {
    text-decoration: none;
}

button,
input,
select,
textarea {
    font-family: inherit;
}

button,
a,
input,
select,
textarea {
    transition: 0.25s ease;
}


/* ==========================================
   NAVBAR
========================================== */

.navbar {
    width: 100%;
    height: 85px;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1000;

    display: flex;
    align-items: center;
    justify-content: space-between;

    padding: 0 7%;

    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(18px);

    border-bottom:
        1px solid rgba(20, 60, 100, 0.08);

    box-shadow:
        0 8px 30px rgba(20, 60, 100, 0.06);
}

.nav-logo {
    width: 175px;
    display: block;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 30px;
}

.nav-links a {
    color: #526176;
    font-size: 14px;
    font-weight: 600;
}

.nav-links a:hover {
    color: var(--navy);
}

.signup-nav-btn {
    padding: 12px 23px;
    border-radius: 10px;

    color: white !important;

    background:
        linear-gradient(
            135deg,
            var(--green),
            var(--green-dark)
        );

    box-shadow:
        0 8px 20px rgba(32, 216, 121, 0.25);
}

.signup-nav-btn:hover {
    transform: translateY(-2px);

    box-shadow:
        0 13px 28px rgba(32, 216, 121, 0.35);
}


/* ==========================================
   HOME HERO
========================================== */

.hero {
    min-height: 100vh;

    padding:
        150px 8%
        90px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 70px;

    position: relative;
    overflow: hidden;

    background:
        radial-gradient(
            circle at 15% 20%,
            rgba(60, 130, 255, 0.16),
            transparent 32%
        ),
        radial-gradient(
            circle at 85% 35%,
            rgba(32, 216, 121, 0.17),
            transparent 30%
        ),
        linear-gradient(
            135deg,
            #f5faff,
            #f5fff9
        );
}

.hero::before {
    content: "";

    position: absolute;

    width: 420px;
    height: 420px;

    border-radius: 50%;

    top: -190px;
    right: -120px;

    background:
        linear-gradient(
            135deg,
            rgba(60, 130, 255, 0.18),
            rgba(32, 216, 121, 0.18)
        );

    animation:
        floatingBlob
        8s ease-in-out infinite;
}

@keyframes floatingBlob {

    0%,
    100% {
        transform:
            translate(0, 0)
            scale(1);
    }

    50% {
        transform:
            translate(25px, 20px)
            scale(1.08);
    }
}

.hero-text {
    flex: 1;
    max-width: 680px;
    position: relative;
    z-index: 2;
}

.small-title {
    display: inline-block;

    padding: 9px 13px;
    margin-bottom: 20px;

    border-radius: 30px;

    color: #169d58;

    background:
        rgba(32, 216, 121, 0.10);

    border:
        1px solid rgba(32, 216, 121, 0.22);

    font-size: 11px;
    font-weight: 800;
    letter-spacing: 1.5px;
}

.hero h1 {
    color: var(--navy);

    font-size:
        clamp(45px, 5vw, 72px);

    line-height: 1.03;

    letter-spacing: -3px;

    margin-bottom: 25px;
}

.hero h1 span {
    background:
        linear-gradient(
            90deg,
            #1db967,
            #31c6a7,
            #3c82ff
        );

    background-clip: text;

    -webkit-background-clip: text;

    color: transparent;
}

.hero-text > p {
    max-width: 590px;

    font-size: 18px;

    line-height: 1.8;

    color: var(--muted);
}


/* ==========================================
   HOME BUTTONS
========================================== */

.hero-buttons {
    display: flex;

    gap: 14px;

    margin-top: 35px;
}

.primary-btn,
.secondary-btn {
    display: inline-flex;

    align-items: center;
    justify-content: center;

    padding: 15px 28px;

    border-radius: 11px;

    font-weight: 700;
}

.primary-btn {
    color: white;

    background:
        linear-gradient(
            135deg,
            var(--green),
            var(--green-dark)
        );

    box-shadow:
        0 12px 30px
        rgba(32, 216, 121, 0.28);
}

.primary-btn:hover {
    transform: translateY(-3px);
}

.secondary-btn {
    color: var(--navy);

    background: white;

    border:
        1px solid
        rgba(15, 50, 90, 0.12);
}

.secondary-btn:hover {
    transform: translateY(-3px);

    box-shadow:
        0 12px 25px
        rgba(20, 50, 80, 0.10);
}


/* ==========================================
   HOME SCORE CARD
========================================== */

.hero-card {
    flex: 0 0 400px;

    position: relative;

    z-index: 2;

    padding: 38px;

    border-radius: 24px;

    background:
        rgba(255, 255, 255, 0.94);

    box-shadow:
        0 30px 80px
        rgba(20, 50, 90, 0.13);

    animation:
        cardFloat
        5s ease-in-out infinite;
}

@keyframes cardFloat {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-9px);
    }
}

.hero-card h3 {
    color: var(--navy);

    font-size: 21px;

    margin-bottom: 27px;
}

.demo-score {
    width: 145px;
    height: 145px;

    margin: auto;

    display: flex;

    align-items: center;
    justify-content: center;

    border-radius: 50%;

    color: var(--navy);

    font-size: 32px;

    font-weight: 800;

    background:
        radial-gradient(
            circle,
            white 57%,
            transparent 58%
        ),
        conic-gradient(
            var(--green) 0 82%,
            #e4edf4 82% 100%
        );
}

.compliance-status {
    text-align: center;

    margin: 17px 0 28px;

    color: var(--muted);

    font-size: 13px;
}

.status-item {
    padding: 14px 16px;

    margin-top: 11px;

    border-radius: 10px;

    font-size: 14px;

    font-weight: 600;
}

.status-item:hover {
    transform: translateX(5px);
}

.status-item.success {
    color: #158850;

    background:
        rgba(32, 216, 121, 0.10);
}

.status-item.warning {
    color: #ad7409;

    background:
        rgba(255, 180, 45, 0.11);
}


/* ==========================================
   HOME SECTIONS
========================================== */

.section,
.regulations-section {
    padding: 105px 8%;
}

.section {
    background: white;
}

.regulations-section {
    background:
        linear-gradient(
            135deg,
            #eef6ff,
            #effbf5
        );
}

.section-title {
    max-width: 650px;

    margin:
        0 auto
        55px;

    text-align: center;
}

.section-title span {
    color: #16a45b;

    font-size: 11px;

    font-weight: 800;

    letter-spacing: 2px;
}

.section-title h2 {
    margin: 14px 0;

    color: var(--navy);

    font-size: 38px;
}

.section-title p {
    color: var(--muted);

    line-height: 1.7;
}

.cards,
.regulation-container {
    max-width: 1150px;

    margin: auto;

    display: flex;

    gap: 24px;
}

.info-card,
.regulation-card {
    flex: 1;

    padding: 32px;

    position: relative;

    overflow: hidden;

    border-radius: 18px;

    background: white;

    border:
        1px solid
        rgba(15, 50, 90, 0.08);

    box-shadow:
        0 15px 40px
        rgba(20, 55, 90, 0.06);
}

.info-card::before,
.regulation-card::before {
    content: "";

    position: absolute;

    top: 0;
    left: 0;

    width: 100%;

    height: 4px;

    background:
        linear-gradient(
            90deg,
            var(--blue),
            var(--cyan),
            var(--green)
        );
}

.info-card:hover,
.regulation-card:hover {
    transform: translateY(-8px);

    box-shadow:
        0 25px 60px
        rgba(20, 60, 100, 0.12);
}

.card-number {
    width: 47px;
    height: 47px;

    display: flex;

    align-items: center;
    justify-content: center;

    margin-bottom: 23px;

    border-radius: 13px;

    color: white;

    font-weight: 800;

    background:
        linear-gradient(
            135deg,
            var(--blue),
            var(--green)
        );
}

.info-card h3,
.regulation-card h3 {
    margin-bottom: 13px;

    color: var(--navy);
}

.info-card p,
.regulation-card p {
    color: var(--muted);

    font-size: 14px;

    line-height: 1.75;
}

footer {
    padding: 35px;

    text-align: center;

    color: #adc1d5;

    background:
        linear-gradient(
            135deg,
            #06182d,
            #0c2d4d
        );
}


/* ==========================================
   AUTH PAGES
========================================== */

.auth-body {
    min-height: 100vh;

    background:
        radial-gradient(
            circle at 15% 20%,
            rgba(60, 130, 255, 0.25),
            transparent 35%
        ),
        radial-gradient(
            circle at 85% 80%,
            rgba(32, 216, 121, 0.25),
            transparent 35%
        ),
        linear-gradient(
            135deg,
            #07182e,
            #102d50
        );
}

.auth-container {
    min-height: 100vh;

    display: flex;

    align-items: center;
    justify-content: center;

    padding: 40px 20px;
}

.auth-card {
    width: 100%;

    max-width: 445px;

    padding: 43px;

    border-radius: 22px;

    background:
        rgba(255, 255, 255, 0.97);

    box-shadow:
        0 30px 80px
        rgba(0, 0, 0, 0.22);
}

.auth-logo {
    width: 195px;

    display: block;

    margin:
        0 auto
        28px;
}

.auth-card h1 {
    text-align: center;

    color: var(--navy);

    font-size: 30px;

    margin-bottom: 9px;
}

.auth-subtitle {
    text-align: center;

    color: var(--muted);

    font-size: 14px;

    margin-bottom: 31px;
}


/* ==========================================
   FORMS
========================================== */

.form-group {
    margin-bottom: 19px;
}

.form-group label {
    display: block;

    margin-bottom: 8px;

    color: #344b63;

    font-size: 13px;

    font-weight: 700;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;

    border:
        1px solid #dce5ed;

    border-radius: 10px;

    outline: none;

    background: #f9fbfd;

    color: #253d55;

    font-size: 14px;
}

.form-group input,
.form-group select {
    height: 50px;

    padding:
        0 15px;
}

.form-group textarea {
    min-height: 120px;

    padding: 14px;

    resize: vertical;

    line-height: 1.6;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    background: white;

    border-color:
        var(--green);

    box-shadow:
        0 0 0 4px
        rgba(32, 216, 121, 0.11);
}

.form-button {
    width: 100%;

    height: 50px;

    display: inline-flex;

    align-items: center;
    justify-content: center;

    border: none;

    border-radius: 10px;

    color: white;

    font-size: 15px;

    font-weight: 700;

    cursor: pointer;

    background:
        linear-gradient(
            135deg,
            var(--green),
            var(--green-dark)
        );

    box-shadow:
        0 10px 25px
        rgba(32, 216, 121, 0.23);
}

.form-button:hover {
    transform: translateY(-2px);

    box-shadow:
        0 15px 30px
        rgba(32, 216, 121, 0.34);
}

.auth-bottom {
    text-align: center;

    margin-top: 23px;

    color: var(--muted);

    font-size: 13px;
}

.auth-bottom a,
.forgot-link a {
    color: #16ab5e;

    font-weight: 700;
}

.forgot-link {
    text-align: right;

    margin:
        -6px 0
        20px;
}

.forgot-link a {
    font-size: 12px;
}

.form-message {
    min-height: 16px;

    margin-bottom: 14px;

    font-size: 12px;
}

.error {
    color: #d44444;
}

.success-message {
    color: #159954;
}

/* ==========================================
   REQUIRED FIELD INDICATORS & INLINE ERRORS
========================================== */

.required-star {
    color: #ef4444;

    font-weight: 800;

    margin-left: 3px;
}

.input-error {
    border-color: #ef4444 !important;

    background-color: #fef2f2 !important;

    box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.2) !important;
}

.field-error-text {
    color: #ef4444;

    font-size: 12px;

    font-weight: 600;

    margin-top: 5px;

    display: block;
}


/* ==========================================
   DASHBOARD
========================================== */

.dashboard-body {
    min-height: 100vh;

    display: flex;

    background: #f4f7fb;
}

.sidebar {
    width: 255px;

    height: 100vh;

    position: fixed;

    top: 0;
    left: 0;

    z-index: 100;

    display: flex;

    flex-direction: column;

    padding: 30px 20px;

    background:
        linear-gradient(
            180deg,
            #081b31,
            #0c2b49
        );

    box-shadow:
        10px 0 30px
        rgba(10, 30, 55, 0.08);
}

.sidebar-logo {
    width: 175px;

    display: block;

    padding: 8px;

    margin:
        0 auto
        40px;

    border-radius: 10px;

    background: white;
}

.sidebar-links {
    display: flex;

    flex-direction: column;

    gap: 7px;
}

.sidebar-links a {
    padding: 13px 15px;

    border-radius: 9px;

    color: #b6c7d7;

    font-size: 14px;

    font-weight: 500;
}

.sidebar-links a:hover {
    transform: translateX(4px);

    color: white;

    background:
        rgba(255, 255, 255, 0.07);
}

.sidebar-links a.active {
    color: #54e998;

    background:
        linear-gradient(
            135deg,
            rgba(32, 216, 121, 0.20),
            rgba(60, 130, 255, 0.15)
        );

    border:
        1px solid
        rgba(32, 216, 121, 0.18);
}

.logout-button {
    margin-top: auto;

    padding: 12px;

    border: none;

    border-radius: 9px;

    color: #ff8d8d;

    background:
        rgba(255, 90, 90, 0.10);

    cursor: pointer;

    font-weight: 600;
}

.logout-button:hover {
    background:
        rgba(255, 90, 90, 0.18);
}

.dashboard-main {
    width:
        calc(100% - 255px);

    margin-left: 255px;

    padding: 35px;
}

.dashboard-header {
    display: flex;

    align-items: center;
    justify-content: space-between;

    margin-bottom: 32px;
}

.welcome-text {
    color: var(--muted);

    font-size: 13px;

    margin-bottom: 4px;
}

.dashboard-header h1 {
    color: var(--navy);

    font-size: 26px;
}

.user-circle {
    width: 47px;

    height: 47px;

    display: flex;

    align-items: center;
    justify-content: center;

    border-radius: 50%;

    color: white;

    font-weight: 700;

    background:
        linear-gradient(
            135deg,
            var(--blue),
            var(--green)
        );
}


/* ==========================================
   DASHBOARD HERO
========================================== */

.dashboard-hero,
.products-top-card {
    position: relative;

    overflow: hidden;

    display: flex;

    align-items: center;
    justify-content: space-between;

    gap: 30px;

    padding: 32px;

    margin-bottom: 24px;

    border-radius: 20px;

    color: white;

    background:
        linear-gradient(
            135deg,
            #071d36,
            #104d78
        );

    box-shadow:
        0 18px 40px
        rgba(10, 45, 80, 0.12);
}

.dashboard-hero h2,
.products-top-card h2 {
    margin:
        7px 0
        10px;

    font-size: 29px;
}

.dashboard-hero p,
.products-top-card p {
    max-width: 680px;

    color: #c5d7e7;

    line-height: 1.6;
}

.primary-button {
    display: inline-flex;

    align-items: center;
    justify-content: center;

    padding: 14px 22px;

    border: none;

    border-radius: 10px;

    color: white;

    cursor: pointer;

    font-weight: 700;

    white-space: nowrap;

    background:
        linear-gradient(
            135deg,
            var(--green),
            #12ad60
        );

    box-shadow:
        0 10px 25px
        rgba(32, 216, 121, 0.27);
}

.primary-button:hover {
    transform: translateY(-3px);
}


/* ==========================================
   DASHBOARD CARDS
========================================== */

.dashboard-cards {
    display: grid;

    grid-template-columns:
        repeat(4, 1fr);

    gap: 19px;

    margin-bottom: 27px;
}

.dashboard-card {
    padding: 26px;

    border-radius: 15px;

    background: white;

    border:
        1px solid
        rgba(15, 45, 80, 0.10);

    box-shadow:
        0 12px 30px
        rgba(20, 50, 90, 0.05);
}

.dashboard-card:hover {
    transform: translateY(-7px);
}

.dashboard-card span {
    color: var(--muted);

    font-size: 12px;
}

.dashboard-card h2 {
    color: var(--navy);

    font-size: 31px;

    margin:
        11px 0
        7px;
}

.dashboard-card p {
    color: #99a6b4;

    font-size: 12px;
}


/* ==========================================
   ADD PRODUCT
========================================== */

.product-page-header {
    position: relative;

    overflow: hidden;

    padding: 30px;

    margin-bottom: 25px;

    border-radius: 20px;

    color: white;

    background:
        linear-gradient(
            135deg,
            #0a203b,
            #104d78
        );

    box-shadow:
        0 18px 40px
        rgba(10, 45, 80, 0.12);
}

.product-page-header h2 {
    margin:
        7px 0
        10px;

    font-size: 30px;
}

.product-page-header p {
    max-width: 680px;

    color: #c5d8e8;

    line-height: 1.7;
}

.product-form-card {
    padding: 35px;

    margin-bottom: 40px;

    border-radius: 20px;

    background: white;

    border:
        1px solid
        rgba(20, 50, 90, 0.08);

    box-shadow:
        0 15px 40px
        rgba(20, 50, 90, 0.06);
}

.form-section-title {
    display: flex;

    align-items: center;

    gap: 15px;

    margin-bottom: 25px;
}

.form-section-title > span {
    width: 43px;
    height: 43px;

    flex-shrink: 0;

    display: flex;

    align-items: center;
    justify-content: center;

    border-radius: 12px;

    color: white;

    font-size: 13px;

    font-weight: 800;

    background:
        linear-gradient(
            135deg,
            var(--blue),
            var(--green)
        );
}

.form-section-title h3 {
    margin-bottom: 4px;

    color: #0b223d;
}

.form-section-title p {
    color: #8290a0;

    font-size: 13px;
}

.product-form-grid {
    display: grid;

    grid-template-columns:
        repeat(2, 1fr);

    gap:
        5px 20px;
}

.form-section-divider {
    height: 1px;

    margin:
        35px 0;

    background: #edf1f5;
}


/* ==========================================
   BATTERY QUESTION
========================================== */

.question-box {
    padding: 22px;

    border-radius: 14px;

    border:
        1px solid #e1eaf1;

    background:
        linear-gradient(
            135deg,
            #f7fbff,
            #f6fff9
        );
}

.question-box > p {
    margin-bottom: 17px;

    color: #203a54;

    font-weight: 700;
}

.radio-options {
    display: flex;

    gap: 14px;
}

.radio-card {
    min-width: 125px;

    display: flex;

    align-items: center;

    gap: 9px;

    padding: 14px 18px;

    border-radius: 10px;

    border:
        1px solid #dce5ed;

    background: white;

    cursor: pointer;
}

.radio-card:hover {
    transform: translateY(-2px);

    border-color:
        var(--green);
}

.radio-card input {
    accent-color:
        var(--green);
}


/* ==========================================
   REGULATION OPTIONS
========================================== */

.regulation-options {
    display: grid;

    grid-template-columns:
        repeat(2, 1fr);

    gap: 16px;
}

.regulation-option {
    display: flex;

    align-items: flex-start;

    gap: 14px;

    padding: 22px;

    border-radius: 14px;

    border:
        1px solid #dfe7ee;

    background:
        linear-gradient(
            135deg,
            white,
            #f9fcff
        );

    cursor: pointer;
}

.regulation-option:hover {
    transform: translateY(-4px);

    border-color:
        var(--green);

    box-shadow:
        0 12px 28px
        rgba(20, 70, 100, 0.08);
}

.regulation-option input {
    margin-top: 4px;

    accent-color:
        var(--green);
}

.regulation-option strong {
    color: #102a46;
}

.regulation-option p {
    margin-top: 6px;

    color: #8190a1;

    font-size: 12px;

    line-height: 1.5;
}

.product-form-actions {
    display: flex;

    align-items: center;
    justify-content: flex-end;

    gap: 14px;

    margin-top: 30px;
}

.cancel-button {
    height: 50px;

    display: inline-flex;

    align-items: center;
    justify-content: center;

    padding:
        0 25px;

    border-radius: 10px;

    border:
        1px solid #dce5ed;

    color: #55677a;

    background: white;

    font-size: 14px;

    font-weight: 600;
}

.cancel-button:hover {
    transform: translateY(-2px);

    background: #f4f7fa;
}

.product-save-button {
    width: auto;

    min-width: 190px;

    padding:
        0 25px;
}


/* ==========================================
   COMPLIANCE PAGE
========================================== */

.compliance-product-card {
    display: flex;

    align-items: center;
    justify-content: space-between;

    gap: 20px;

    padding: 30px;

    margin-bottom: 22px;

    border-radius: 20px;

    color: white;

    background:
        linear-gradient(
            135deg,
            #071d36,
            #104d78
        );

    box-shadow:
        0 18px 40px
        rgba(10, 45, 80, 0.12);
}

.compliance-product-card h2 {
    margin:
        4px 0
        8px;

    font-size: 28px;
}

.compliance-product-card p {
    color: #c5d7e7;

    font-size: 14px;
}

.edit-product-button {
    padding: 12px 20px;

    border-radius: 10px;

    color: white;

    font-weight: 600;

    background:
        rgba(255, 255, 255, 0.12);

    border:
        1px solid
        rgba(255, 255, 255, 0.20);
}

.edit-product-button:hover {
    color: #0b2947;

    background: white;
}


/* ==========================================
   PROGRESS BAR
========================================== */

.assessment-progress {
    padding: 20px 24px;

    margin-bottom: 25px;

    border-radius: 14px;

    background: white;

    border:
        1px solid #e3eaf0;
}

.progress-info {
    display: flex;

    align-items: center;
    justify-content: space-between;

    margin-bottom: 12px;

    font-size: 13px;
}

.progress-info span {
    color: #66788b;

    font-weight: 600;
}

.progress-info strong {
    color: #16a55b;
}

.progress-track {
    width: 100%;

    height: 9px;

    overflow: hidden;

    border-radius: 20px;

    background: #e9eef3;
}

.progress-bar {
    width: 0%;

    height: 100%;

    border-radius: 20px;

    background:
        linear-gradient(
            90deg,
            var(--blue),
            var(--green)
        );

    transition:
        width 0.35s ease;
}


/* ==========================================
   COMPLIANCE SECTIONS
========================================== */

.compliance-section {
    overflow: hidden;

    margin-bottom: 25px;

    border-radius: 20px;

    background: white;

    border:
        1px solid #e1e8ef;

    box-shadow:
        0 14px 35px
        rgba(20, 50, 90, 0.05);
}

.compliance-section-header {
    display: flex;

    align-items: center;

    gap: 17px;

    padding: 28px;

    background:
        linear-gradient(
            135deg,
            #f7fbff,
            #f5fff9
        );

    border-bottom:
        1px solid #e8eef3;
}

.regulation-icon {
    width: 52px;

    height: 52px;

    flex-shrink: 0;

    display: flex;

    align-items: center;
    justify-content: center;

    border-radius: 14px;

    color: white;

    font-size: 20px;

    font-weight: 800;

    background:
        linear-gradient(
            135deg,
            var(--blue),
            var(--green)
        );
}

.battery-icon {
    background:
        linear-gradient(
            135deg,
            var(--green),
            #10a75a
        );
}

.compliance-section-header h2 {
    margin-bottom: 6px;

    color: #0c2542;

    font-size: 21px;
}

.compliance-section-header p {
    color: #7a8998;

    font-size: 13px;

    line-height: 1.6;
}


/* ==========================================
   QUESTIONS
========================================== */

.compliance-question {
    display: flex;

    gap: 20px;

    padding: 28px;

    border-bottom:
        1px solid #edf1f5;
}

.compliance-question:last-child {
    border-bottom: none;
}

.compliance-question:hover {
    background: #fbfdff;
}

.question-number {
    width: 42px;

    height: 42px;

    flex-shrink: 0;

    display: flex;

    align-items: center;
    justify-content: center;

    border-radius: 11px;

    color: #3476db;

    background: #edf5ff;

    font-size: 12px;

    font-weight: 800;
}

.question-content {
    width: 100%;
}

.question-content h3 {
    margin-bottom: 7px;

    color: #18314b;

    font-size: 16px;

    line-height: 1.5;
}

.question-content > p {
    margin-bottom: 18px;

    color: #8794a2;

    font-size: 13px;

    line-height: 1.6;
}

.answer-options {
    display: flex;

    flex-wrap: wrap;

    gap: 12px;
}

.answer-options label {
    min-width: 115px;

    display: flex;

    align-items: center;

    gap: 8px;

    padding: 12px 17px;

    border-radius: 10px;

    border:
        1px solid #dce5ed;

    background: white;

    color: #526477;

    font-size: 13px;

    font-weight: 600;

    cursor: pointer;
}

.answer-options label:hover {
    transform: translateY(-2px);

    border-color:
        var(--green);

    color: #13854b;
}

.answer-options input {
    accent-color:
        var(--green);
}

.assessment-actions {
    display: flex;

    align-items: center;
    justify-content: flex-end;

    gap: 14px;

    margin-bottom: 50px;
}

.assessment-submit {
    width: auto;

    min-width: 210px;

    padding:
        0 25px;
}


/* ==========================================
   RESULTS PAGE
========================================== */

.result-hero {
    display: flex;

    align-items: center;
    justify-content: space-between;

    gap: 30px;

    padding: 35px;

    margin-bottom: 25px;

    border-radius: 22px;

    color: white;

    background:
        linear-gradient(
            135deg,
            #071d36,
            #104d78
        );

    box-shadow:
        0 20px 45px
        rgba(10, 45, 80, 0.14);
}

.result-hero h2 {
    font-size: 32px;

    margin:
        5px 0
        10px;
}

.result-hero p {
    color: #c7d9e8;
}

.result-score-circle {
    width: 150px;

    height: 150px;

    flex-shrink: 0;

    border-radius: 50%;

    display: flex;

    flex-direction: column;

    align-items: center;
    justify-content: center;

    border:
        8px solid
        var(--green);

    background:
        rgba(255, 255, 255, 0.12);
}

.result-score-circle span {
    font-size: 35px;

    font-weight: 800;
}

.result-score-circle small {
    margin-top: 4px;

    color: #d8e6f1;
}


/* ==========================================
   RESULT STATUS
========================================== */

.result-status-card {
    display: flex;

    align-items: center;

    gap: 18px;

    padding: 25px;

    margin-bottom: 25px;

    background: white;

    border-radius: 18px;

    border:
        1px solid #e2e9ef;

    box-shadow:
        0 12px 30px
        rgba(20, 50, 90, 0.05);
}

.status-icon {
    width: 55px;

    height: 55px;

    flex-shrink: 0;

    display: flex;

    align-items: center;
    justify-content: center;

    border-radius: 15px;

    color: white;

    font-size: 25px;

    font-weight: 800;

    background:
        linear-gradient(
            135deg,
            var(--blue),
            var(--green)
        );
}

.result-label {
    color: #8996a4;

    font-size: 12px;

    margin-bottom: 5px;
}

.result-status-card h2 {
    color: #10243e;

    font-size: 22px;

    margin-bottom: 5px;
}

.result-status-card div > p:last-child {
    color: #778697;

    font-size: 13px;
}


/* ==========================================
   RESULT SUMMARY
========================================== */

.result-summary-grid {
    display: grid;

    grid-template-columns:
        repeat(3, 1fr);

    gap: 18px;

    margin-bottom: 25px;
}

.result-summary-card {
    display: flex;

    align-items: center;

    gap: 17px;

    padding: 25px;

    border-radius: 17px;

    background: white;

    border:
        1px solid #e2e9ef;

    box-shadow:
        0 12px 30px
        rgba(20, 50, 90, 0.05);
}

.result-summary-card:hover {
    transform: translateY(-5px);
}

.summary-icon {
    width: 48px;

    height: 48px;

    flex-shrink: 0;

    display: flex;

    align-items: center;
    justify-content: center;

    border-radius: 13px;

    font-size: 20px;

    font-weight: 800;
}

.passed-card .summary-icon {
    color: #159554;

    background: #eafaf2;
}

.failed-card .summary-icon {
    color: #d64444;

    background: #fff0f0;
}

.missing-card .summary-icon {
    color: #c28109;

    background: #fff7e7;
}

.result-summary-card span {
    color: #7b8998;

    font-size: 12px;
}

.result-summary-card h2 {
    color: #10243e;

    font-size: 28px;

    margin:
        4px 0;
}

.result-summary-card p {
    color: #9aa5b0;

    font-size: 11px;
}


/* ==========================================
   RESULT SECTIONS
========================================== */

.result-section {
    padding: 30px;

    margin-bottom: 25px;

    background: white;

    border-radius: 20px;

    border:
        1px solid #e2e9ef;

    box-shadow:
        0 12px 35px
        rgba(20, 50, 90, 0.05);
}

.result-section-header {
    margin-bottom: 25px;
}

.result-section-header h2 {
    margin:
        5px 0
        7px;

    color: #10243e;

    font-size: 22px;
}

.result-section-header p {
    color: #8290a0;

    font-size: 13px;
}


/* ==========================================
   CHECKED REGULATIONS
========================================== */

.checked-regulations {
    display: flex;

    flex-wrap: wrap;

    gap: 12px;
}

.checked-regulation {
    padding: 13px 18px;

    border-radius: 10px;

    color: #126d44;

    font-weight: 700;

    font-size: 13px;

    background:
        linear-gradient(
            135deg,
            #edfff5,
            #eef8ff
        );

    border:
        1px solid
        rgba(32, 216, 121, 0.25);
}


/* ==========================================
   RESULT DETAILS
========================================== */

.result-detail-item {
    display: flex;

    align-items: flex-start;

    gap: 15px;

    padding: 20px;

    margin-bottom: 13px;

    border-radius: 14px;

    border:
        1px solid #e5ebf0;

    background: #fbfdff;
}

.detail-status {
    width: 42px;

    height: 42px;

    flex-shrink: 0;

    display: flex;

    align-items: center;
    justify-content: center;

    border-radius: 11px;

    font-weight: 800;
}

.detail-status.pass {
    color: #159554;

    background: #eafaf2;
}

.detail-status.fail {
    color: #d64444;

    background: #fff0f0;
}

.detail-status.missing {
    color: #bc7a00;

    background: #fff6e3;
}

.detail-content {
    width: 100%;
}

.detail-content h3 {
    margin-bottom: 5px;

    color: #18314b;

    font-size: 15px;
}

.detail-content p {
    color: #8290a0;

    font-size: 12px;

    line-height: 1.6;
}

.detail-content a {
    display: inline-block;

    margin-top: 7px;

    color: #2877d9;

    font-size: 12px;

    font-weight: 700;
}

.detail-badge {
    display: inline-block;

    margin-top: 10px;

    padding: 5px 9px;

    border-radius: 20px;

    font-size: 10px;

    font-weight: 800;
}

.detail-badge.pass {
    color: #158a50;

    background: #eafaf2;
}

.detail-badge.fail {
    color: #c83b3b;

    background: #fff0f0;
}

.detail-badge.missing {
    color: #a96f00;

    background: #fff4dc;
}


/* ==========================================
   RECOMMENDATIONS
========================================== */

.recommendations-list {
    display: flex;

    flex-direction: column;

    gap: 12px;
}

.recommendation-item {
    display: flex;

    align-items: flex-start;

    gap: 13px;

    padding: 17px;

    border-radius: 12px;

    background:
        linear-gradient(
            135deg,
            #fffdf8,
            #f8fbff
        );

    border:
        1px solid #e5eaf0;
}

.recommendation-number {
    width: 31px;

    height: 31px;

    flex-shrink: 0;

    display: flex;

    align-items: center;
    justify-content: center;

    border-radius: 9px;

    color: white;

    font-size: 11px;

    font-weight: 800;

    background:
        linear-gradient(
            135deg,
            var(--blue),
            var(--green)
        );
}

.recommendation-item p {
    color: #526578;

    font-size: 13px;

    line-height: 1.6;
}

.results-actions {
    display: flex;

    align-items: center;
    justify-content: flex-end;

    gap: 14px;

    margin-bottom: 50px;
}


/* ==========================================
   MY PRODUCTS
========================================== */

.product-stats {
    display: grid;

    grid-template-columns:
        repeat(3, 1fr);

    gap: 18px;

    margin-bottom: 24px;
}

.product-stat-card {
    padding: 23px;

    border-radius: 15px;

    background: white;

    border:
        1px solid #e2e9ef;

    box-shadow:
        0 10px 25px
        rgba(20, 50, 90, 0.05);
}

.product-stat-card span {
    color: #8190a0;

    font-size: 12px;
}

.product-stat-card h2 {
    margin-top: 8px;

    color: #10243e;

    font-size: 30px;
}

.product-stat-card p {
    margin-top: 5px;

    color: #8796a6;

    font-size: 12px;
}

.products-section {
    padding: 30px;

    margin-bottom: 40px;

    background: white;

    border-radius: 20px;

    border:
        1px solid #e2e9ef;

    box-shadow:
        0 12px 35px
        rgba(20, 50, 90, 0.05);
}

.products-section-header {
    display: flex;

    align-items: center;
    justify-content: space-between;

    gap: 20px;

    margin-bottom: 25px;
}

.products-section-header h2 {
    color: #10243e;

    margin-bottom: 5px;
}

.products-section-header p {
    color: #8190a0;

    font-size: 13px;
}

.product-search-box input {
    width: 260px;

    height: 44px;

    padding:
        0 14px;

    border-radius: 10px;

    border:
        1px solid #dce5ed;

    outline: none;

    background: #f9fbfd;
}

.product-search-box input:focus {
    border-color: #20d879;

    box-shadow:
        0 0 0 4px
        rgba(32, 216, 121, 0.10);
}

.products-grid {
    display: grid;

    grid-template-columns:
        repeat(2, 1fr);

    gap: 18px;
}

.product-list-card {
    padding: 23px;

    border:
        1px solid #e2e9ef;

    border-radius: 16px;

    background:
        linear-gradient(
            135deg,
            #ffffff,
            #f9fcff
        );

    transition: 0.3s;
}

.product-list-card:hover {
    transform: translateY(-5px);

    border-color:
        rgba(32, 216, 121, 0.40);

    box-shadow:
        0 15px 32px
        rgba(20, 60, 90, 0.09);
}

.product-card-top {
    display: flex;

    align-items: flex-start;
    justify-content: space-between;

    gap: 15px;

    margin-bottom: 18px;
}

.product-card-icon {
    width: 48px;

    height: 48px;

    flex-shrink: 0;

    display: flex;

    align-items: center;
    justify-content: center;

    border-radius: 13px;

    color: white;

    font-weight: 800;

    background:
        linear-gradient(
            135deg,
            #3c82ff,
            #20d879
        );
}

.product-card-name {
    flex: 1;
}

.product-card-name h3 {
    color: #10243e;

    margin-bottom: 5px;
}

.product-card-name p {
    color: #8492a1;

    font-size: 12px;
}

.product-status-badge {
    padding: 6px 10px;

    border-radius: 20px;

    font-size: 10px;

    font-weight: 800;
}

.product-status-badge.pending {
    color: #a46c00;

    background: #fff4dc;
}

.product-status-badge.assessed {
    color: #12864b;

    background: #eafaf2;
}

.product-card-details {
    display: grid;

    grid-template-columns:
        repeat(2, 1fr);

    gap: 12px;

    padding:
        15px 0;

    margin-bottom: 17px;

    border-top:
        1px solid #edf1f5;

    border-bottom:
        1px solid #edf1f5;
}

.product-detail-label {
    color: #909ca9;

    font-size: 10px;

    margin-bottom: 4px;
}

.product-detail-value {
    color: #40556b;

    font-size: 12px;

    font-weight: 600;
}

.product-regulations {
    display: flex;

    flex-wrap: wrap;

    gap: 7px;

    margin-bottom: 18px;
}

.product-regulation-badge {
    padding: 6px 9px;

    border-radius: 7px;

    color: #176f4a;

    background: #effbf5;

    font-size: 10px;

    font-weight: 700;
}

.product-card-actions {
    display: flex;

    gap: 10px;
}

.product-action-button {
    flex: 1;

    display: flex;

    align-items: center;
    justify-content: center;

    padding: 10px 12px;

    border-radius: 9px;

    border:
        1px solid #dce5ed;

    color: #52677b;

    background: white;

    font-size: 11px;

    font-weight: 700;

    cursor: pointer;
}

.product-action-button:hover {
    border-color: #20d879;

    color: #14864c;
}

.product-action-button.primary {
    color: white;

    border-color: transparent;

    background:
        linear-gradient(
            135deg,
            #20d879,
            #13af60
        );
}

.product-action-button.danger {
    color: #dc2626;
    border-color: #fca5a5;
    background: #fff5f5;
}

.product-action-button.danger:hover {
    color: #ffffff;
    border-color: #dc2626;
    background: #dc2626;
}

.products-empty-state {
    padding:
        60px 20px;

    text-align: center;
}

.empty-product-icon {
    width: 65px;

    height: 65px;

    display: flex;

    align-items: center;
    justify-content: center;

    margin:
        0 auto
        20px;

    border-radius: 18px;

    color: white;

    font-size: 28px;

    background:
        linear-gradient(
            135deg,
            #3c82ff,
            #20d879
        );
}

.products-empty-state h2 {
    color: #10243e;

    margin-bottom: 9px;
}

.products-empty-state p {
    color: #8190a0;

    margin-bottom: 23px;

    font-size: 13px;
}


/* ==========================================
   DASHBOARD FINAL
========================================== */

.dashboard-quick-grid {
    display: grid;

    grid-template-columns:
        repeat(3, 1fr);

    gap: 18px;

    margin-top: 20px;
}

.dashboard-quick-card {
    display: flex;

    align-items: flex-start;

    gap: 15px;

    padding: 20px;

    background: #ffffff;

    border:
        1px solid #dfe8f1;

    border-radius: 16px;

    text-decoration: none;

    color: inherit;

    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease,
        border-color 0.2s ease;
}

.dashboard-quick-card:hover {
    transform: translateY(-3px);

    border-color: #87dcb5;

    box-shadow:
        0 12px 30px
        rgba(17, 70, 110, 0.10);
}

.dashboard-quick-icon {
    width: 46px;

    height: 46px;

    flex-shrink: 0;

    display: flex;

    align-items: center;
    justify-content: center;

    border-radius: 12px;

    background: #eefaf5;

    color: #13a764;

    font-size: 20px;

    font-weight: 800;
}

.dashboard-quick-card h3 {
    margin:
        0 0
        6px;

    color: #0c2a48;
}

.dashboard-quick-card p {
    margin: 0;

    color: #71869a;

    line-height: 1.6;

    font-size: 14px;
}


/* Dashboard has 4 cards */

.dashboard-main .product-stats {
    grid-template-columns:
        repeat(
            4,
            minmax(0, 1fr)
        );
}


/* Recent Products */

#dashboardProductsContainer {
    display: grid;

    grid-template-columns:
        repeat(
            2,
            minmax(0, 1fr)
        );

    gap: 18px;

    margin-top: 20px;
}

.dashboard-recent-card {
    background: #ffffff;

    border:
        1px solid #dfe8f1;

    border-radius: 16px;

    padding: 20px;
}

.dashboard-recent-top {
    display: flex;

    align-items: flex-start;
    justify-content: space-between;

    gap: 15px;

    margin-bottom: 16px;
}

.dashboard-recent-top h3 {
    margin:
        0 0
        5px;

    color: #0c2a48;

    font-size: 18px;
}

.dashboard-recent-top p {
    margin: 0;

    color: #7b8fa3;

    font-size: 13px;
}

.dashboard-status {
    display: inline-block;

    padding: 6px 10px;

    border-radius: 20px;

    font-size: 11px;

    font-weight: 700;

    white-space: nowrap;
}

.dashboard-status.pass {
    color: #087847;

    background: #e9faf2;
}

.dashboard-status.fail {
    color: #b62c2c;

    background: #fff0f0;
}

.dashboard-status.pending {
    color: #996500;

    background: #fff6df;
}

.dashboard-recent-info {
    padding:
        14px 0;

    border-top:
        1px solid #eef2f6;

    border-bottom:
        1px solid #eef2f6;
}

.dashboard-recent-info p {
    margin:
        6px 0;

    color: #60778c;

    font-size: 13px;
}

.dashboard-recent-actions {
    display: flex;

    flex-wrap: wrap;

    gap: 10px;

    margin-top: 16px;
}


/* ==========================================
   RESPONSIVE
========================================== */

@media (max-width: 1100px) {

    .dashboard-main .product-stats {
        grid-template-columns:
            repeat(2, 1fr);
    }
}


@media (max-width: 950px) {

    .hero {
        flex-direction: column;

        text-align: center;
    }

    .hero-text > p {
        margin: auto;
    }

    .hero-buttons {
        justify-content: center;
    }

    .hero-card {
        width: 100%;

        max-width: 420px;

        flex: auto;
    }

    .cards,
    .regulation-container {
        flex-direction: column;
    }

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

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

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

    #dashboardProductsContainer {
        grid-template-columns: 1fr;
    }
}


@media (max-width: 900px) {

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

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


@media (max-width: 750px) {

    .nav-links a:not(.signup-nav-btn) {
        display: none;
    }

    .dashboard-main {
        width: 100%;

        margin-left: 0;

        padding:
            90px 20px
            30px;
    }

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

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

    .result-hero {
        flex-direction: column;

        align-items: flex-start;
    }

    .products-top-card {
        flex-direction: column;

        align-items: flex-start;
    }
}


@media (max-width: 600px) {

    .dashboard-main .product-stats {
        grid-template-columns: 1fr;
    }

    .products-section-header {
        flex-direction: column;

        align-items: flex-start;
    }

    .product-search-box,
    .product-search-box input {
        width: 100%;
    }

    .product-card-actions {
        flex-direction: column;
    }

    .dashboard-recent-top {
        flex-direction: column;
    }

    .dashboard-recent-actions {
        flex-direction: column;
    }

    .dashboard-recent-actions button {
        width: 100%;
    }
}


@media (max-width: 550px) {

    .navbar {
        padding:
            0 20px;
    }

    .nav-logo {
        width: 140px;
    }

    .hero {
        padding:
            130px 20px
            70px;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .primary-btn,
    .secondary-btn {
        width: 100%;
    }

    .auth-card {
        padding:
            30px 22px;
    }

    .dashboard-main {
        padding:
            90px 18px
            25px;
    }

    .dashboard-hero {
        flex-direction: column;

        align-items: flex-start;

        gap: 25px;
    }

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

    .product-form-card {
        padding: 22px;
    }

    .radio-options {
        flex-direction: column;
    }

    .radio-card {
        width: 100%;
    }

    .product-form-actions {
        flex-direction:
            column-reverse;
    }

    .product-form-actions > * {
        width: 100%;
    }

    .compliance-product-card {
        flex-direction: column;

        align-items: flex-start;
    }

    .compliance-question {
        flex-direction: column;
    }

    .answer-options {
        flex-direction: column;
    }

    .answer-options label {
        width: 100%;
    }

    .assessment-actions {
        flex-direction:
            column-reverse;
    }

    .assessment-actions > * {
        width: 100%;
    }

    .result-score-circle {
        width: 130px;

        height: 130px;
    }

    .result-status-card {
        align-items: flex-start;
    }

    .result-detail-item {
        flex-direction: column;
    }

    .results-actions {
        flex-direction:
            column-reverse;
    }

    .results-actions > * {
        width: 100%;
    }
}


/* ==========================================
   MOBILE SIDEBAR MENU
========================================== */

.mobile-menu-button {
    display: none;
}

.mobile-menu-overlay {
    display: none;
}


/* ==========================================
   MOBILE NAVIGATION
========================================== */

@media (max-width: 750px) {

    html.mobile-menu-open,
    body.mobile-menu-open {
        overflow: hidden !important;
        height: 100vh !important;
        touch-action: none !important;
    }


    /* =====================================
       HAMBURGER BUTTON
    ====================================== */

    .mobile-menu-button {
        width: 46px;

        height: 46px;

        display: flex;

        flex-direction: column;

        align-items: center;

        justify-content: center;

        gap: 5px;

        position: fixed;

        top: 18px;

        left: 18px;

        z-index: 1300;

        padding: 0;

        border:
            1px solid #dce5ed;

        border-radius: 12px;

        background: #ffffff;

        box-shadow:
            0 8px 25px
            rgba(10, 40, 70, 0.15);

        cursor: pointer;
    }


    .mobile-menu-button span {
        width: 21px;

        height: 2px;

        display: block;

        border-radius: 20px;

        background: #0b2948;

        transition:
            transform 0.25s ease,
            opacity 0.25s ease;
    }


    .mobile-menu-button.active span:nth-child(1) {
        transform:
            translateY(7px)
            rotate(45deg);
    }


    .mobile-menu-button.active span:nth-child(2) {
        opacity: 0;
    }


    .mobile-menu-button.active span:nth-child(3) {
        transform:
            translateY(-7px)
            rotate(-45deg);
    }


    /* =====================================
       SIDEBAR MOBILE
    ====================================== */

    .sidebar {
        width: 270px;

        max-width: 82vw;

        height: 100vh;

        display: flex;

        position: fixed;

        top: 0;

        left: 0;

        z-index: 1200;

        padding:
            85px 20px
            25px;

        transform:
            translateX(-105%);

        transition:
            transform
            0.30s ease;

        box-shadow:
            15px 0 45px
            rgba(0, 0, 0, 0.20);

        overflow-y: auto;
    }


    .sidebar.mobile-open {
        transform:
            translateX(0);
    }


    .sidebar-logo {
        width: 160px;

        margin:
            0 auto
            25px;
    }


    .sidebar-links {
        gap: 8px;
    }


    .sidebar-links a {
        padding:
            14px 15px;

        font-size: 14px;
    }


    /* =====================================
       OVERLAY
    ====================================== */

    .mobile-menu-overlay {
        display: block;

        position: fixed;

        inset: 0;

        z-index: 1100;

        background:
            rgba(2, 15, 30, 0.55);

        backdrop-filter:
            blur(2px);

        opacity: 0;

        visibility: hidden;

        pointer-events: none;

        transition:
            opacity 0.25s ease,
            visibility 0.25s ease;
    }


    .mobile-menu-overlay.active {
        opacity: 1;

        visibility: visible;

        pointer-events: auto;
    }


    /* =====================================
       MOBILE HEADER
    ====================================== */

    .dashboard-header {
        min-height: 50px;

        margin-bottom: 25px;
    }


    .dashboard-header > div:first-of-type {
        min-width: 0;
    }


    .dashboard-header h1 {
        font-size: 23px;
    }


    .welcome-text {
        font-size: 12px;
    }


    .user-circle {
        width: 44px;

        height: 44px;

        flex-shrink: 0;
    }
}


/* ==========================================
   VERY SMALL MOBILE
========================================== */

@media (max-width: 420px) {

    .mobile-menu-button {
        top: 15px;

        left: 14px;
    }

    .dashboard-main {
        padding:
            82px 14px
            25px;
    }

    .dashboard-header h1 {
        font-size: 21px;
    }

    .products-top-card,
    .dashboard-hero,
    .product-page-header,
    .compliance-product-card,
    .result-hero {
        padding: 24px 20px;
    }

    .result-section,
    .products-section,
    .product-form-card {
        padding: 20px;
    }
}
/* ==========================================
   PASSWORD SHOW / HIDE
========================================== */

.password-input-wrapper {
    position: relative;
    width: 100%;
}

.password-input-wrapper input {
    width: 100%;
    padding-right: 52px !important;
}

.password-toggle {
    position: absolute;

    top: 50%;
    right: 15px;

    transform: translateY(-50%);

    width: 34px;
    height: 34px;

    display: flex;
    align-items: center;
    justify-content: center;

    border: none;
    outline: none;

    border-radius: 8px;

    background: transparent;

    color: #7b8998;

    cursor: pointer;

    padding: 0;

    z-index: 2;
}

.password-toggle:hover {
    color: #16ab5e;

    background:
        rgba(32, 216, 121, 0.08);
}

.password-toggle:focus-visible {
    outline:
        2px solid
        rgba(32, 216, 121, 0.45);

    outline-offset: 2px;
}

.eye-icon {
    width: 21px;
    height: 21px;

    display: block;

    pointer-events: none;
}

.password-toggle.password-visible {
    color: #16ab5e;
}

.password-toggle.password-visible .eye-icon {
    opacity: 0.85;
}

/* ==========================================
   IN-APP CONFIRMATION MODAL & TOAST
========================================== */

.cv-modal-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(15, 23, 42, 0.6);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    z-index: 999999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease-in-out;
}

.cv-modal-backdrop.active {
    opacity: 1;
    pointer-events: auto;
}

.cv-modal-card {
    background: #ffffff;
    border-radius: 16px;
    width: 100%;
    max-width: 460px;
    padding: 28px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    border: 1px solid #e2e8f0;
    transform: scale(0.95);
    transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.cv-modal-backdrop.active .cv-modal-card {
    transform: scale(1);
}

.cv-modal-header {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 14px;
}

.cv-modal-icon-wrapper {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    flex-shrink: 0;
}

.cv-modal-icon-wrapper.danger {
    background: #fee2e2;
    color: #dc2626;
    border: 1px solid #fca5a5;
}

.cv-modal-icon-wrapper.warning {
    background: #fef3c7;
    color: #d97706;
    border: 1px solid #fde68a;
}

.cv-modal-title {
    font-size: 18px;
    font-weight: 700;
    color: #0f172a;
    margin: 0;
}

.cv-modal-message {
    font-size: 14px;
    color: #475569;
    line-height: 1.55;
    margin: 0 0 24px 0;
}

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

.cv-modal-btn {
    padding: 10px 18px;
    border-radius: 10px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    border: 1px solid transparent;
    transition: all 0.15s ease-in-out;
}

.cv-modal-btn.cancel {
    background: #f1f5f9;
    color: #475569;
    border-color: #cbd5e1;
}

.cv-modal-btn.cancel:hover {
    background: #e2e8f0;
    color: #1e293b;
}

.cv-modal-btn.danger {
    background: #dc2626;
    color: #ffffff;
    border-color: #b91c1c;
}

.cv-modal-btn.danger:hover {
    background: #b91c1c;
}

.cv-toast {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 1000000;
    padding: 12px 20px;
    border-radius: 10px;
    font-size: 13px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.15);
    transform: translateY(30px);
    opacity: 0;
    transition: transform 0.25s ease-out, opacity 0.25s ease-out;
}

.cv-toast.show {
    transform: translateY(0);
    opacity: 1;
}

.cv-toast.success {
    background: #0f172a;
    color: #ffffff;
    border: 1px solid #334155;
}

.cv-toast.success .cv-toast-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #22c55e;
}
