﻿:root {
    --bg-primary: #fef7f6;
    --bg-card: #ffffff;
    --text-primary: #1a2a3a;
    --text-secondary: #5a6e82;
    --border-color: #f0e2e0;
    --accent: #c1121f;
    --accent-hover: #e63946;
    --shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
    --shadow-lg: 0 20px 50px -12px rgba(0, 0, 0, 0.08);
    --shadow-xl: 0 25px 60px -12px rgba(0, 0, 0, 0.2);
    --radius: 24px;
    --input-bg: #fefaf9;
    --toast-bg: #2e7d32;
    --toast-error: #c62828;
    --transition: 0.3s ease;
    --gradient-start: #c1121f;
    --gradient-end: #e66a5e;
}
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background: #fef7f6;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    color: #2c3e4e;
    line-height: 1.5;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.eki-container {
    max-width: 1400px;
    width: 100%;
    margin: 0 auto;
    padding: 2rem;
}

/* ===== NAVIGATION – single row with search + submenus ===== */
.navbar {
    background: rgba(255, 255, 255, 0.97);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid #f0e2e0;
    position: sticky;
    top: 0;
    z-index: 1000;
    width: 100%;
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0.6rem 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: nowrap;
    min-height: 68px;
}
/* Logo – fixed width */
.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
    cursor: pointer;
    text-decoration: none;
}

.logo-icon {
    background: #c1121f;
    width: 38px;
    height: 38px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.4rem;
    box-shadow: 0 4px 10px rgba(193, 18, 31, 0.18);
}

.logo-text {
    font-size: 1.4rem;
    font-weight: 800;
    color: #c1121f;
    letter-spacing: -0.2px;
    white-space: nowrap;
    margin-right: 30px;
}

    .logo-text span {
        font-weight: 500;
        color: #5a6e82;
    }

/* ===== SEARCH + MENU in ONE ROW ===== */
.nav-center {
    display: flex;
    align-items: center;
    gap: 1.8rem;
    flex: 1 1 auto;
    min-width: 0;
}

/* --- SEARCH with autocomplete --- */
.search-wrapper {
    position: relative;
    flex: 1 1 280px;
    min-width: 160px;
    max-width: 400px;
}

.search-box {
    display: flex;
    align-items: center;
    background: #fff;
    border-radius: 40px;
    padding: 0.3rem 0.3rem 0.3rem 1rem;
    border: 1px solid #f0e2e0;
    transition: 0.2s;
    width: 100%;
}

    .search-box:focus-within {
        border-color: #e63946;
        box-shadow: 0 0 0 3px rgba(230, 57, 70, 0.08);
    }

    .search-box i {
        color: #d4a5a0;
        font-size: 0.85rem;
    }

    .search-box input {
        border: none;
        background: transparent;
        padding: 0.45rem 0.5rem;
        font-size: 0.85rem;
        width: 100%;
        outline: none;
        font-family: 'Inter', sans-serif;
        color: #2c3e4e;
    }

        .search-box input::placeholder {
            color: #b8a9a2;
        }

    .search-box .clear-search {
        background: none;
        border: none;
        padding: 0 10px;
        cursor: pointer;
        color: #d4a5a0;
        display: none;
    }

        .search-box .clear-search.visible {
            display: block;
        }

/* Autocomplete dropdown */
.autocomplete-list {
    position: absolute;
    top: calc(100% + 6px);
    left: 0;
    right: 0;
    background: #fff;
    border-radius: 18px;
    border: 1px solid #f0e2e0;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
    max-height: 280px;
    overflow-y: auto;
    z-index: 2000;
    display: none;
    padding: 0.4rem 0;
}

    .autocomplete-list.show {
        display: block;
    }

.autocomplete-item {
    padding: 0.6rem 1.2rem;
    cursor: pointer;
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: 0.1s;
    color: #2c3e4e;
}

    .autocomplete-item:hover {
        background: #fef3ef;
    }

    .autocomplete-item i {
        color: #c1121f;
        width: 18px;
    }

    .autocomplete-item .highlight {
        font-weight: 700;
        color: #c1121f;
    }

.autocomplete-empty {
    padding: 0.8rem 1.2rem;
    color: #b8a9a2;
    font-size: 0.8rem;
    text-align: center;
}

/* --- MENU with submenus --- */
.menu-wrapper {
    display: flex;
    align-items: center;
    gap: 0.2rem;
    flex-shrink: 0;
    overflow: visible !important;
}

.menu-item {
    position: relative;
}

    .menu-item > a,
    .menu-item > button {
        display: flex;
        align-items: center;
        gap: 4px;
        padding: 0.5rem 0.9rem;
        border-radius: 40px;
        text-decoration: none;
        color: #4a6a85;
        font-weight: 500;
        font-size: 0.9rem;
        background: transparent;
        border: none;
        cursor: pointer;
        font-family: 'Inter', sans-serif;
        transition: 0.15s;
        white-space: nowrap;
    }

        .menu-item > a:hover,
        .menu-item > button:hover {
            color: #c1121f;
            background: #fef3ef;
        }

        .menu-item > a.active {
            color: #c1121f;
        }

        .menu-item > a i,
        .menu-item > button i {
            font-size: 0.8rem;
            margin-left: 2px;
        }

/* Submenu dropdown */
.submenu {
    position: absolute;
    top: calc(100% + 6px);
    left: 0;
    background: #fff;
    border-radius: 18px;
    border: 1px solid #f0e2e0;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
    min-width: 200px;
    padding: 0.4rem 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-6px);
    transition: 0.15s ease;
    z-index: 1500;
}

.menu-item:hover .submenu,
.menu-item.show-sub .submenu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.submenu a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 0.6rem 1.2rem;
    text-decoration: none;
    color: #4a6a85;
    font-size: 0.85rem;
    font-weight: 500;
    transition: 0.1s;
}

    .submenu a:hover {
        background: #fef3ef;
        color: #c1121f;
    }

    .submenu a i {
        width: 18px;
        color: #c1121f;
    }
/* User submenu special styling */
.submenu .user-header {
    padding: 0.6rem 1.2rem 0.3rem;
    border-bottom: 1px solid #f0e2e0;
    margin-bottom: 0.2rem;
}

    .submenu .user-header .user-name {
        font-weight: 600;
        color: #1e2f3f;
        font-size: 0.9rem;
    }

    .submenu .user-header .user-email {
        font-size: 0.75rem;
        color: #b8a9a2;
    }

.submenu .logout-item {
    color: #c62828;
}

    .submenu .logout-item i {
        color: #c62828;
    }

    .submenu .logout-item:hover {
        background: #ffebee;
    }

.submenu .dropdown-divider {
    height: 1px;
    background: #f0e2e0;
    margin: 0.2rem 1.2rem;
}

/* CTA button in nav */
.btn-nav {
    background: #e63946;
    color: #fff !important;
    padding: 0.45rem 1.2rem;
    border-radius: 40px;
    font-weight: 600;
    transition: 0.2s;
}

    .btn-nav:hover {
        background: #c1121f !important;
        transform: translateY(-2px);
        color: #fff !important;
    }

/* Mobile toggle - hidden on desktop */
.mobile-menu-btn {
    display: none;
    font-size: 1.4rem;
    background: none;
    border: none;
    color: #c1121f;
    cursor: pointer;
    flex-shrink: 0;
}

/* ===== PAGE CONTENT – fits full screen ===== */
main {
    flex: 1;
}

/* Hero */
.hero {
    padding: 3rem 0 4rem 0;
    display: flex;
    align-items: center;
    gap: 3rem;
    flex-wrap: wrap;
}

.hero-content {
    flex: 1.2;
}

.hero-badge {
    display: inline-block;
    background: #fff0ed;
    padding: 0.3rem 1rem;
    border-radius: 40px;
    font-size: 0.75rem;
    font-weight: 600;
    color: #c1121f;
    margin-bottom: 1.2rem;
}

.hero-content h1 {
    font-size: 3.2rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 1.2rem;
    color: #1e2f3f;
}

.hero-gradient {
    background: linear-gradient(135deg, #c1121f, #e66a5e);
    background-clip: text;
    -webkit-background-clip: text;
    color: transparent;
}

.hero-content p {
    font-size: 1.1rem;
    color: #5a6e82;
    margin-bottom: 1.8rem;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin-top: 0.5rem;
}

.btn-primary {
    background: #e63946;
    color: #fff;
    border: none;
    padding: 0.8rem 1.8rem;
    border-radius: 40px;
    font-weight: 600;
    cursor: pointer;
    transition: 0.2s;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

    .btn-primary:hover {
        background: #c1121f;
        transform: translateY(-3px);
        box-shadow: 0 8px 20px rgba(193, 18, 31, 0.2);
    }

.btn-outline {
    background: transparent;
    border: 1.5px solid #f0e2e0;
    color: #2c3e4e;
    padding: 0.8rem 1.8rem;
    border-radius: 40px;
    font-weight: 600;
    cursor: pointer;
    transition: 0.2s;
}

    .btn-outline:hover {
        border-color: #c1121f;
        background: #fefaf9;
    }

.hero-stats {
    display: flex;
    gap: 2rem;
    margin-top: 2.5rem;
    flex-wrap: wrap;
}

.stat-item h3 {
    font-size: 1.8rem;
    font-weight: 800;
    color: #c1121f;
}

.hero-image {
    flex: 1;
    text-align: center;
}

.image-placeholder {
    background: linear-gradient(145deg, #fff5f2, #ffeae4);
    border-radius: 40px;
    padding: 2rem;
}

/* ===== COURSES SECTION ===== */
.section {
    padding: 4rem 0;
}

.section-title {
    text-align: center;
    margin-bottom: 2.5rem;
}

    .section-title h2 {
        font-size: 2.2rem;
        font-weight: 700;
        color: #1e2f3f;
    }

    .section-title p {
        color: #7a8e9f;
        max-width: 650px;
        margin: 0.5rem auto 0;
    }

.course-filters {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 2.5rem;
    flex-wrap: wrap;
}

.filter-btn {
    background: #fff;
    border: 1px solid #f0e2e0;
    padding: 0.5rem 1.5rem;
    border-radius: 40px;
    font-weight: 500;
    cursor: pointer;
    transition: 0.2s;
    font-family: 'Inter', sans-serif;
    font-size: 0.85rem;
}

    .filter-btn.active,
    .filter-btn:hover {
        background: #c1121f;
        color: #fff;
        border-color: #c1121f;
    }

.courses-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 2rem;
}

.course-card {
    background: #fff;
    border-radius: 28px;
    border: 1px solid #f0e2e0;
    overflow: hidden;
    transition: 0.25s;
    display: flex;
    flex-direction: column;
}

    .course-card:hover {
        transform: translateY(-6px);
        box-shadow: 0 20px 30px -12px rgba(0, 0, 0, 0.08);
    }

.course-banner {
    height: 140px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff5f2;
}

.course-type {
    position: absolute;
    top: 12px;
    right: 12px;
    background: #fff;
    padding: 0.2rem 0.8rem;
    border-radius: 30px;
    font-size: 0.7rem;
    font-weight: 700;
}

.type-online {
    background: #e8f5e9;
    color: #2e7d32;
}

.type-offline {
    background: #fff0ed;
    color: #c1121f;
}

.course-info {
    padding: 1.5rem;
    flex: 1;
}

    .course-info h3 {
        font-size: 1.2rem;
        margin-bottom: 0.5rem;
    }

.course-meta {
    display: flex;
    gap: 1rem;
    margin: 0.8rem 0;
    font-size: 0.75rem;
    color: #b28b7e;
}

.educator-tag {
    background: #fef3ef;
    padding: 0.2rem 0.6rem;
    border-radius: 20px;
    font-size: 0.7rem;
    display: inline-block;
    margin-top: 0.5rem;
}

.course-footer {
    padding: 1rem 1.5rem 1.5rem;
    border-top: 1px solid #f7ece8;
}

.btn-enroll {
    background: #c1121f;
    color: #fff;
    border: none;
    padding: 0.5rem 1.2rem;
    border-radius: 40px;
    font-weight: 600;
    font-size: 0.75rem;
    cursor: pointer;
    transition: 0.2s;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

    .btn-enroll:hover {
        background: #e63946;
        transform: translateY(-2px);
    }

/* Features */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 2rem;
}

.feature-card {
    background: #fff;
    padding: 1.8rem;
    border-radius: 28px;
    border: 1px solid #f0e2e0;
    transition: 0.25s;
    text-align: center;
}

    .feature-card:hover {
        transform: translateY(-8px);
        box-shadow: 0 20px 30px -12px rgba(0, 0, 0, 0.08);
        border-color: #ffe2d9;
    }

.feature-icon {
    background: #fef3ef;
    width: 70px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 30px;
    margin: 0 auto 1.2rem;
    color: #c1121f;
    font-size: 2rem;
}

/* Exams preview */
.exams-preview {
    background: #fff;
    border-radius: 32px;
    border: 1px solid #f0e2e0;
    overflow: hidden;
    margin-top: 1rem;
}

.preview-header {
    padding: 1.5rem 2rem;
    border-bottom: 1px solid #f0e2e0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

    .preview-header h3 {
        font-size: 1.3rem;
        font-weight: 600;
        color: #c1121f;
    }

.exam-mini-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
    border-bottom: 1px solid #f7ece8;
    flex-wrap: wrap;
    gap: 1rem;
}

    .exam-mini-item:hover {
        background: #fefaf9;
    }

.exam-info h4 {
    font-size: 0.95rem;
    font-weight: 600;
}

.exam-info p {
    font-size: 0.75rem;
    color: #c06558;
    margin-top: 4px;
}

.exam-badge {
    background: #e8f5e9;
    padding: 0.2rem 0.7rem;
    border-radius: 30px;
    font-size: 0.7rem;
    font-weight: 600;
    color: #2e7d32;
}

.btn-subscribe {
    background: #c1121f;
    color: #fff;
    border: none;
    padding: 0.4rem 1rem;
    border-radius: 40px;
    font-weight: 600;
    font-size: 0.75rem;
    cursor: pointer;
    transition: 0.2s;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

    .btn-subscribe:hover {
        background: #9e0e1a;
        transform: translateY(-2px);
    }

.view-link {
    color: #e63946;
    text-decoration: none;
    font-weight: 500;
}

    .view-link:hover {
        text-decoration: underline;
    }

/* Footer */
.footer {
    border-top: 1px solid #f0e2e0;
    padding: 2rem;
    background: #fff;
    margin-top: 2rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 2rem;
}

.footer-col h4 {
    margin-bottom: 1rem;
    color: #c1121f;
}

.footer-col a {
    display: block;
    color: #6c7f92;
    text-decoration: none;
    margin-bottom: 0.5rem;
    font-size: 0.85rem;
}

    .footer-col a:hover {
        color: #c1121f;
    }

.copyright {
    text-align: center;
    padding-top: 2rem;
    font-size: 0.75rem;
    color: #b8a9a2;
}

.toast-message {
    position: fixed;
    top: 1.5rem;
    left: 50%;
    transform: translateX(-50%);
    background: #2e7d32;
    color: white;
    padding: 0.7rem 1.5rem;
    border-radius: 50px;
    z-index: 10000;
    display: none;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

    .toast-message.show {
        display: flex;
        animation: slideDown 0.3s ease;
    }

    .toast-message.error {
        background: #c62828;
    }

@keyframes slideDown {
    from {
        transform: translateX(-50%) translateY(-100%);
        opacity: 0;
    }

    to {
        transform: translateX(-50%) translateY(0);
        opacity: 1;
    }
}


/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
    .nav-container {
        flex-wrap: nowrap;
        padding: 0.6rem 1.2rem;
    }

    .nav-center {
        gap: 1rem;
    }

    .search-wrapper {
        max-width: 220px;
        min-width: 120px;
    }

    .menu-item > a,
    .menu-item > button {
        padding: 0.4rem 0.6rem;
        font-size: 0.8rem;
    }
}

@media (max-width: 820px) {
    .nav-container {
        flex-wrap: wrap;
        padding: 0.6rem 1rem;
        min-height: auto;
    }
    /* Always show search on mobile */
    .nav-center {
        order: 3;
        flex: 1 1 100%;
        gap: 0.8rem;
        flex-wrap: wrap;
        padding-top: 0.3rem;
        display: flex !important;
        /* Always visible */;
    }

    .search-wrapper {
        flex: 1 1 100%;
        max-width: 100%;
        min-width: 100%;
        order: 1;
    }

    .menu-wrapper {
        flex: 1 1 100%;
        display: none;
        /* Hidden by default, shown when menu toggled */
        flex-wrap: wrap;
        gap: 0.3rem;
        padding: 0.3rem 0;
        overflow: visible !important;
        order: 2;
    }

        .menu-wrapper.mobile-open {
            display: flex;
        }

    .menu-item {
        flex: 0 1 auto;
        width: 100%;
    }

        .menu-item > a,
        .menu-item > button {
            font-size: 0.82rem;
            padding: 0.5rem 0.7rem;
            white-space: nowrap;
            width: 100%;
            justify-content: flex-start;
        }

    .mobile-menu-btn {
        display: block;
    }

    .logo-text {
        font-size: 1.2rem;
    }

    .hero-content h1 {
        font-size: 2.2rem;
    }

    .hero {
        flex-direction: column;
        text-align: center;
    }

    .hero-stats {
        justify-content: center;
    }

    .container {
        padding: 0 1.2rem;
    }
    /* Submenu on mobile: full width */
    .submenu {
        position: static;
        top: auto;
        left: auto;
        right: auto;
        width: 100%;
        border-radius: 12px;
        margin-top: 4px;
        box-shadow: none;
        border: 1px solid #f0e2e0;
        opacity: 0;
        visibility: hidden;
        transform: none;
        transition: none;
        max-height: 0;
        overflow: hidden;
        padding: 0;
    }

    .menu-item.show-sub .submenu {
        opacity: 1;
        visibility: visible;
        max-height: 400px;
        padding: 0.4rem 0;
    }

    .submenu a {
        padding: 0.5rem 1.2rem;
    }

    .menu-item:hover .submenu {
        opacity: 0;
        visibility: hidden;
    }

    .menu-item.show-sub:hover .submenu {
        opacity: 1;
        visibility: visible;
    }
}

@media (max-width: 480px) {
    .nav-container {
        padding: 0.4rem 0.8rem;
    }

    .logo-icon {
        width: 32px;
        height: 32px;
        font-size: 1.1rem;
    }

    .logo-text {
        font-size: 1rem;
    }

    .search-box input {
        font-size: 0.75rem;
        padding: 0.3rem 0.3rem;
    }

    .menu-item > a,
    .menu-item > button {
        font-size: 0.75rem;
        padding: 0.4rem 0.5rem;
    }

    .btn-nav {
        padding: 0.25rem 0.8rem !important;
        font-size: 0.7rem !important;
    }

    .hero-content h1 {
        font-size: 1.8rem;
    }

    .courses-grid {
        grid-template-columns: 1fr;
    }
}
.rupee-icon::before {
    content: "\20B9 ";
}


/* Breadcrumb */
.eki-breadcrumb {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
    padding: 0.75rem 1rem;
    background: white;
    border-radius: 12px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
    border: 1px solid #f0e2e0;
}

.eki-breadcrumb-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.85rem;
}

    .eki-breadcrumb-item a {
        color: #e63946;
        text-decoration: none;
        font-weight: 500;
        transition: color 0.2s;
        display: flex;
        align-items: center;
        gap: 6px;
    }

        .eki-breadcrumb-item a:hover {
            color: #c1121f;
            text-decoration: underline;
        }

    .eki-breadcrumb-item .eki-breadcrumb-active {
        color: #5e6f8d;
        font-weight: 500;
        display: flex;
        align-items: center;
        gap: 6px;
    }

.eki-breadcrumb-separator {
    color: #d4a5a0;
    font-size: 0.75rem;
}

/* Page Header */
.eki-page-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

    .eki-page-header h1 {
        font-size: 1.5rem;
        font-weight: 600;
        color: #c1121f;
        display: flex;
        align-items: center;
        gap: 10px;
    }




/* ===== PAGE CONTENT ===== */
.page-content {
    background: var(--bg-card);
    border-radius: var(--radius);
    border: 1px solid var(--border-color);
    padding: 2.5rem 2.5rem;
    box-shadow: var(--shadow-lg);
    transition: background var(--transition), border-color var(--transition);
    min-height: 400px;
    text-align: center;
}

    .page-content h2 {
        font-size: 1.5rem;
        font-weight: 700;
        color: var(--text-primary);
        margin-bottom: 0.5rem;
    }

    .page-content p {
        color: var(--text-secondary);
        font-size: 0.95rem;
        max-width: 500px;
        margin-left: auto;
        margin-right: auto;
    }

    .page-content .demo-icon {
        font-size: 4rem;
        color: var(--accent);
        opacity: 0.6;
        margin-bottom: 1rem;
        display: block;
    }



/* ===== FLOATING SUPPORT BUTTON ===== */
.eki-support-float {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    z-index: 1000;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 0.8rem;
    pointer-events: none;
}
.eki-support-float > * {
    pointer-events: auto; /* 👈 Only children receive clicks */
}

.eki-support-toggle {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
    color: #fff;
    border: none;
    cursor: pointer;
    box-shadow: 0 8px 30px rgba(193, 18, 31, 0.3);
    transition: 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    position: relative;
}

    .eki-support-toggle:hover {
        transform: scale(1.08) translateY(-3px);
        box-shadow: 0 12px 40px rgba(193, 18, 31, 0.4);
    }

    .eki-support-toggle .eki-badge {
        position: absolute;
        top: -4px;
        right: -4px;
        background: #ff6b6b;
        color: #fff;
        font-size: 0.6rem;
        font-weight: 700;
        padding: 0.1rem 0.4rem;
        border-radius: 50%;
        min-width: 20px;
        height: 20px;
        display: flex;
        align-items: center;
        justify-content: center;
        animation: pulse-badge 2s ease-in-out infinite;
    }

@keyframes pulse-badge {
    0%, 100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.15);
    }
}


/* ===== SUPPORT FORM PANEL ===== */
.eki-support-panel {
    background: var(--bg-card);
    border-radius: var(--radius);
    border: 1px solid var(--border-color);
    padding: 1.8rem 2rem;
    width: 400px;
    max-width: 90vw;
    box-shadow: var(--shadow-xl);
    transform: translateY(20px) scale(0.95);
    opacity: 0;
    visibility: hidden;
    transition: 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    transform-origin: bottom right;
}

    .eki-support-panel.open {
        transform: translateY(0) scale(1);
        opacity: 1;
        visibility: visible;
    }

    .eki-support-panel .eki-panel-header {
        display: flex;
        justify-content: space-between;
        align-items: center;
        margin-bottom: 1.2rem;
    }

        .eki-support-panel .eki-panel-header h3 {
            font-size: 1.1rem;
            font-weight: 700;
            color: var(--text-primary);
            display: flex;
            align-items: center;
            gap: 8px;
        }

            .eki-support-panel .eki-panel-header h3 i {
                color: var(--accent);
            }

    .eki-support-panel .eki-panel-close {
        background: none;
        border: none;
        font-size: 1.2rem;
        color: var(--text-secondary);
        cursor: pointer;
        transition: 0.2s;
        padding: 0.2rem 0.4rem;
        border-radius: 6px;
    }

        .eki-support-panel .eki-panel-close:hover {
            color: var(--accent);
            background: var(--input-bg);
        }

    .eki-support-panel .form-group {
        margin-bottom: 1rem;
    }

        .eki-support-panel .form-group label {
            display: block;
            font-weight: 600;
            font-size: 0.75rem;
            color: var(--text-secondary);
            margin-bottom: 0.25rem;
        }

            .eki-support-panel .form-group label .required {
                color: var(--accent);
                margin-left: 2px;
            }

        .eki-support-panel .form-group .eki-input-wrapper {
            position: relative;
            display: flex;
            align-items: center;
            background: var(--input-bg);
            border: 2px solid var(--border-color);
            border-radius: 14px;
            padding: 0.1rem 0.1rem 0.1rem 1rem;
            transition: 0.2s;
        }

            .eki-support-panel .form-group .eki-input-wrapper:focus-within {
                border-color: var(--accent-hover);
                box-shadow: 0 0 0 3px rgba(230, 57, 70, 0.08);
            }

            .eki-support-panel .form-group .eki-input-wrapper.error {
                border-color: var(--toast-error);
            }

            .eki-support-panel .form-group .eki-input-wrapper i {
                color: var(--text-secondary);
                font-size: 0.85rem;
                width: 18px;
                flex-shrink: 0;
                opacity: 0.7;
            }

            .eki-support-panel .form-group .eki-input-wrapper input,
            .eki-support-panel .form-group .eki-input-wrapper textarea {
                border: none;
                background: transparent;
                padding: 0.6rem 0.7rem;
                font-size: 0.85rem;
                width: 100%;
                outline: none;
                font-family: 'Inter', sans-serif;
                color: var(--text-primary);
                resize: vertical;
            }

            .eki-support-panel .form-group .eki-input-wrapper textarea {
                min-height: 70px;
                max-height: 120px;
            }

                .eki-support-panel .form-group .eki-input-wrapper input::placeholder,
                .eki-support-panel .form-group .eki-input-wrapper textarea::placeholder {
                    color: var(--text-secondary);
                    opacity: 0.5;
                }

        .eki-support-panel .form-group .eki-error-text {
            font-size: 0.65rem;
            color: var(--toast-error);
            margin-top: 0.15rem;
            display: none;
            align-items: center;
            gap: 4px;
        }

            .eki-support-panel .form-group .eki-error-text.show {
                display: flex;
            }

    .eki-support-panel .eki-btn-submit-support {
        width: 100%;
        background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
        color: #fff;
        border: none;
        padding: 0.7rem;
        border-radius: 40px;
        font-weight: 700;
        cursor: pointer;
        transition: 0.3s;
        font-family: 'Inter', sans-serif;
        font-size: 0.9rem;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        gap: 8px;
        margin-top: 0.2rem;
    }

        .eki-support-panel .eki-btn-submit-support:hover {
            transform: translateY(-2px);
            box-shadow: 0 8px 25px rgba(193, 18, 31, 0.25);
        }

        .eki-support-panel .eki-btn-submit-support:disabled {
            opacity: 0.6;
            cursor: not-allowed;
            transform: none;
        }

    .eki-support-panel .eki-panel-footer {
        margin-top: 1rem;
        text-align: center;
        font-size: 0.7rem;
        color: var(--text-secondary);
    }

        .eki-support-panel .eki-panel-footer i {
            color: var(--accent);
        }

