/* Esular Fertilizing System - Custom Styles */

:root {
    --esular-primary: #2E7D32;
    --esular-secondary: #8D6E63;
    --esular-tertiary: #FFA726;

    /* Landing Page Variables */
    --esular-orange: #f24726;
    --esular-orange-dark: #d93d1f;
    --esular-orange-light: #ff6b4a;
    --text-dark: #1e293b;
    --text-gray: #64748b;
    --bg-light: #f8fafc;
    --white: #ffffff;
    --font-primary: 'Inter', system-ui, sans-serif;

}

html,
body {
    font-family: 'Roboto', sans-serif;
}

/* Loading Screen */
.loading-screen {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    background: linear-gradient(135deg, #E8F5E9 0%, #C8E6C9 100%);
}

.loading-content {
    text-align: center;
}

.loading-icon {
    animation: pulse 1.5s ease-in-out infinite;
}

.loading-content h2 {
    color: var(--esular-primary);
    margin-top: 20px;
    font-weight: 500;
}

.loading-content p {
    color: #666;
    margin-top: 10px;
}

.loading-bar {
    width: 200px;
    height: 4px;
    background: #ddd;
    border-radius: 2px;
    margin: 20px auto;
    overflow: hidden;
}

.loading-bar-progress {
    width: 30%;
    height: 100%;
    background: var(--esular-primary);
    border-radius: 2px;
    animation: loading 1.5s ease-in-out infinite;
}

@keyframes pulse {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.1);
    }
}

@keyframes loading {
    0% {
        transform: translateX(-100%);
    }

    100% {
        transform: translateX(400%);
    }
}

/* Error UI */
#blazor-error-ui {
    background: #ffcdd2;
    bottom: 0;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
    display: none;
    left: 0;
    padding: 16px;
    position: fixed;
    right: 0;
    text-align: center;
    z-index: 1000;
}

#blazor-error-ui .dismiss {
    cursor: pointer;
    position: absolute;
    right: 16px;
    top: 16px;
}

/* Custom Card Styles */
.field-card {
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.field-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15) !important;
}

/* Chat Styles */
.chat-container {
    scrollbar-width: thin;
    scrollbar-color: var(--esular-primary) #f5f5f5;
}

.chat-container::-webkit-scrollbar {
    width: 8px;
}

.chat-container::-webkit-scrollbar-track {
    background: #f5f5f5;
}

.chat-container::-webkit-scrollbar-thumb {
    background: var(--esular-primary);
    border-radius: 4px;
}

.chat-message-user {
    display: flex;
    justify-content: flex-end;
}

.chat-message-assistant {
    display: flex;
    justify-content: flex-start;
}

/* Dashboard Stats Animation */
.mud-card {
    transition: transform 0.2s ease;
}

.mud-card:hover {
    transform: translateY(-2px);
}

/* Table Improvements */
.mud-table-row:hover {
    background-color: #E8F5E9 !important;
}

/* Form Improvements */
.mud-input-outlined .mud-input-slot {
    border-radius: 8px;
}

/* Button Improvements */
.mud-button-filled {
    border-radius: 8px !important;
}

/* Navigation Improvements */
.mud-nav-link.active {
    background-color: rgba(46, 125, 50, 0.1) !important;
    border-left: 3px solid var(--esular-primary);
}

/* Mobile Responsiveness */
@media (max-width: 600px) {
    .mud-drawer {
        width: 80% !important;
    }

    .mud-appbar-toolbar {
        padding: 0 8px;
    }

    /* Card header - wrap buttons below title */
    .mud-card-header {
        flex-wrap: wrap !important;
    }

    .mud-card-header-content {
        flex: 1 1 100% !important;
        margin-bottom: 8px !important;
    }

    .mud-card-header-actions {
        flex: 1 1 100% !important;
        flex-direction: row !important;
        flex-wrap: wrap !important;
        gap: 6px !important;
        justify-content: flex-start !important;
    }

    .mud-card-header-actions .mud-button {
        font-size: 0.7rem !important;
        padding: 4px 10px !important;
        white-space: nowrap !important;
    }

    .mud-card-header-actions .mud-icon-button {
        padding: 4px !important;
        min-width: 32px !important;
    }

    /* Page header with buttons - stack on mobile */
    .d-flex.justify-space-between.align-center {
        flex-wrap: wrap !important;
        gap: 12px !important;
    }

    .d-flex.justify-space-between.align-center>.d-flex.gap-2 {
        flex-wrap: wrap !important;
        width: 100% !important;
        justify-content: flex-start !important;
    }

    /* Button groups - allow wrapping */
    .mud-button-group {
        flex-wrap: wrap !important;
        gap: 4px !important;
    }

    /* Make all buttons smaller on mobile */
    .mud-button {
        font-size: 0.75rem !important;
        min-width: auto !important;
    }

    .mud-button-small {
        font-size: 0.7rem !important;
        padding: 4px 8px !important;
    }

    /* Button text truncation for long labels */
    .mud-card-header-actions .mud-button .mud-button-label {
        max-width: 120px !important;
        overflow: hidden !important;
        text-overflow: ellipsis !important;
        font-size: 0.65rem !important;
    }

    /* Smaller typography */
    .mud-typography-h4 {
        font-size: 1.25rem !important;
    }

    .mud-typography-h5 {
        font-size: 1.1rem !important;
    }

    .mud-typography-h6 {
        font-size: 0.95rem !important;
    }

    /* Smaller chips */
    .mud-chip {
        font-size: 0.7rem !important;
        height: 24px !important;
    }

    /* Container padding */
    .mud-container {
        padding-left: 8px !important;
        padding-right: 8px !important;
    }
}

/* Extra small screens */
@media (max-width: 400px) {

    /* Show only icons in card header actions */
    .mud-card-header-actions .mud-button .mud-button-label {
        display: none !important;
    }

    .mud-card-header-actions .mud-button .mud-icon-root {
        margin-right: 0 !important;
        margin-left: 0 !important;
    }

    .mud-card-header-actions .mud-button {
        padding: 6px !important;
        min-width: 36px !important;
    }

    /* Stack all header buttons vertically */
    .d-flex.gap-2:not(.flex-row) {
        flex-direction: column !important;
        gap: 4px !important;
    }

    .d-flex.gap-2>.mud-button {
        width: 100% !important;
    }
}

/* =========================================
   ADDITIONAL MOBILE COMPACT STYLES
   ========================================= */

/* Scrollable Tabs on Mobile */
@media (max-width: 768px) {
    .mud-tabs-header {
        overflow-x: auto !important;
        -webkit-overflow-scrolling: touch !important;
        scrollbar-width: none !important;
    }

    .mud-tabs-header::-webkit-scrollbar {
        display: none !important;
    }

    .mud-tabs-tabbar {
        flex-wrap: nowrap !important;
        min-width: max-content !important;
    }

    .mud-tab {
        flex-shrink: 0 !important;
        padding: 8px 12px !important;
        font-size: 0.75rem !important;
        min-width: auto !important;
    }

    .mud-tab .mud-tab-icon-label-container {
        flex-direction: column !important;
        gap: 2px !important;
    }

    .mud-tab .mud-icon-root {
        margin-right: 0 !important;
    }
}

/* Compact NavMenu on Mobile */
@media (max-width: 600px) {
    .mud-nav-group {
        margin-bottom: 0 !important;
    }

    .mud-nav-group .mud-expand-panel-header {
        padding: 8px 16px !important;
        min-height: 40px !important;
    }

    .mud-nav-group .mud-expand-panel-text {
        font-size: 0.85rem !important;
    }

    .mud-nav-link {
        padding: 8px 16px !important;
        min-height: 36px !important;
        font-size: 0.8rem !important;
    }

    .mud-nav-link .mud-icon-root {
        font-size: 1.1rem !important;
    }

    .mud-drawer-header {
        padding: 12px 16px !important;
    }

    .mud-drawer-header .mud-typography-h6 {
        font-size: 1rem !important;
    }
}

/* Better Tables on Mobile */
@media (max-width: 600px) {
    .mud-table {
        font-size: 0.75rem !important;
    }

    .mud-table-cell {
        padding: 6px 8px !important;
    }

    .mud-table-head .mud-table-cell {
        font-size: 0.7rem !important;
        padding: 8px !important;
    }

    .mud-table-container {
        overflow-x: auto !important;
        -webkit-overflow-scrolling: touch !important;
    }

    .mud-simple-table {
        min-width: 500px !important;
    }
}

/* Compact Timeline */
@media (max-width: 600px) {
    .mud-timeline {
        padding-left: 4px !important;
    }

    .mud-timeline-item-opposite {
        display: none !important;
    }

    .mud-timeline-item-content {
        padding: 8px !important;
    }

    .mud-timeline-item-dot {
        margin: 0 8px !important;
    }
}

/* Compact Dialogs */
@media (max-width: 600px) {
    .mud-dialog {
        margin: 8px !important;
        max-height: calc(100vh - 16px) !important;
    }

    .mud-dialog-title {
        font-size: 1.1rem !important;
        padding: 12px 16px !important;
    }

    .mud-dialog-content {
        padding: 12px 16px !important;
    }

    .mud-dialog-actions {
        padding: 8px 16px !important;
        gap: 8px !important;
    }
}

/* Touch-friendly inputs */
@media (max-width: 600px) {
    .mud-input-control {
        margin-bottom: 8px !important;
    }

    .mud-input {
        font-size: 16px !important;
    }

    .mud-input-label {
        font-size: 0.85rem !important;
    }
}

/* Compact Alerts */
@media (max-width: 600px) {
    .mud-alert {
        padding: 8px 12px !important;
    }

    .mud-alert-message {
        font-size: 0.8rem !important;
    }
}

/* Better Grid on Mobile */
@media (max-width: 600px) {
    .mud-grid {
        margin: -4px !important;
    }

    .mud-item {
        padding: 4px !important;
    }

    .mud-grid>.mud-item.mud-grid-item-xs-12 {
        padding: 4px 0 !important;
    }
}

/* Floating Action Buttons */
@media (max-width: 600px) {
    .mud-fab {
        width: 48px !important;
        height: 48px !important;
    }

    .mud-fab.mud-fab-extended {
        height: 40px !important;
        padding: 0 12px !important;
    }
}

/* Print Styles */
@media print {

    .mud-appbar,
    .mud-drawer,
    .mud-button {
        display: none !important;
    }
}

/* =========================================
   LANDING PAGE STYLES (Moved from Razor)
   ========================================= */

/* GLOBAL */
.landing-page-wrapper {
    font-family: var(--font-primary);
    color: var(--text-dark);
    line-height: 1.6;
    scroll-behavior: smooth;
}

a {
    text-decoration: none;
    color: inherit;
    transition: 0.3s;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.container.narrow {
    max-width: 800px;
}

.section {
    padding: 100px 0;
}

.bg-light {
    background-color: var(--bg-light);
}

.text-orange {
    color: var(--esular-orange);
}

/* NAVBAR */
.midas-navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    padding: 16px 0;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.brand {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #2E7D32;
    font-weight: 800;
    font-size: 1.5rem;
}

.brand-logo {
    height: 40px;
    width: auto;
    object-fit: contain;
}

.nav-links {
    display: flex;
    gap: 32px;
    font-weight: 500;
    font-size: 0.95rem;
}

.nav-links a:hover {
    color: var(--esular-orange);
}

.nav-actions {
    display: flex;
    gap: 16px;
    align-items: center;
}

.btn-primary {
    background: var(--esular-orange);
    color: white;
    padding: 10px 24px;
    border-radius: 50px;
    font-weight: 600;
    transition: 0.3s;
}

.btn-primary:hover {
    background: var(--esular-orange-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(242, 71, 38, 0.3);
}

.btn-text {
    font-weight: 600;
    color: var(--text-dark);
}

/* HERO */
.hero-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background-image: url('../images/smart_farming_hero.png');
    /* Adjusted path since css is in wwwroot/css */
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0.4) 100%);
}

.hero-container {
    position: relative;
    z-index: 2;
    width: 100%;
}

.hero-content {
    max-width: 700px;
    color: white;
}

.hero-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 16px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    font-size: 0.9rem;
    margin-bottom: 24px;
    backdrop-filter: blur(5px);
}

.hero-title {
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    line-height: 1.1;
    font-weight: 800;
    margin-bottom: 24px;
}

.hero-desc {
    font-size: 1.2rem;
    opacity: 0.9;
    margin-bottom: 40px;
}

.hero-btns {
    display: flex;
    gap: 16px;
    margin-bottom: 60px;
}

.btn-lg {
    padding: 16px 32px;
    font-size: 1.1rem;
    border-radius: 50px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
}

.btn-outline-light {
    border: 2px solid white;
    color: white;
}

.btn-outline-light:hover {
    background: white;
    color: var(--text-dark);
}

.hero-stats {
    display: flex;
    gap: 48px;
}

.stat-item {
    display: flex;
    flex-direction: column;
}

.stat-num {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--esular-orange);
    line-height: 1;
}

.stat-lbl {
    font-size: 0.9rem;
    opacity: 0.8;
    margin-top: 4px;
}

/* SECTIONS */
.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 60px;
}

.section-tag {
    color: var(--esular-orange);
    font-weight: 700;
    letter-spacing: 1px;
    font-size: 0.9rem;
    display: block;
    margin-bottom: 12px;
}

.section-header h2 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 16px;
    color: var(--text-dark);
}

.section-header p {
    font-size: 1.1rem;
    color: var(--text-gray);
}

/* SOLUTIONS */
.solutions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 32px;
}

.solution-card {
    background: white;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: 0.3s;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.solution-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    border-color: var(--esular-orange);
}

.card-img {
    height: 220px;
    background-size: cover;
    background-position: center;
}

.card-content {
    padding: 32px;
}

.card-icon {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    margin-bottom: 20px;
}

.icon-green {
    background: #2E7D32;
}

.icon-orange {
    background: var(--esular-orange);
}

.icon-blue {
    background: #0288D1;
}

.solution-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 12px;
}

.solution-card p {
    color: var(--text-gray);
    margin-bottom: 20px;
}

.link-arrow {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-weight: 600;
    color: var(--esular-orange);
}

/* HOW IT WORKS */
.steps-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 24px;
}

.step-item {
    flex: 1;
    text-align: center;
    position: relative;
    z-index: 2;
}

.step-icon {
    width: 80px;
    height: 80px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
    color: var(--esular-orange);
    font-size: 2rem;
}

.step-number {
    background: var(--esular-orange);
    color: white;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    position: absolute;
    top: 0;
    right: 50%;
    transform: translate(35px, 0);
}

.step-line {
    flex: 1;
    height: 2px;
    background: #e2e8f0;
    margin-top: 40px;
}

@media(max-width: 768px) {
    .steps-wrapper {
        flex-direction: column;
    }

    .step-line {
        display: none;
    }
}

/* NEWSLETTER ORANGE */
.newsletter-section {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--esular-orange) 0%, var(--esular-orange-dark) 100%);
    color: white;
}

.newsletter-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    background: rgba(255, 255, 255, 0.1);
    padding: 40px;
    border-radius: 24px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.newsletter-content {
    display: flex;
    gap: 24px;
    align-items: center;
    flex: 1;
}

.newsletter-icon {
    width: 60px;
    height: 60px;
    background: white;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--esular-orange);
    font-size: 2rem;
}

.newsletter-text h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.newsletter-text p {
    opacity: 0.9;
    margin: 0;
}

.newsletter-form {
    display: flex;
    gap: 12px;
    flex: 1;
    max-width: 450px;
}

.newsletter-form input {
    flex: 1;
    padding: 14px 20px;
    border-radius: 12px;
    border: none;
    outline: none;
    font-size: 1rem;
    color: var(--text-dark);
}

.newsletter-form button {
    background: var(--text-dark);
    color: white;
    border: none;
    padding: 0 24px;
    border-radius: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: 0.3s;
}

.newsletter-form button:hover {
    background: black;
}

@media(max-width: 900px) {
    .newsletter-wrapper {
        flex-direction: column;
        text-align: center;
    }

    .newsletter-content {
        flex-direction: column;
    }

    .newsletter-form {
        width: 100%;
    }
}

/* TESTIMONIALS */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
}

.testimonial-card {
    background: white;
    padding: 32px;
    border-radius: 16px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
}

.stars {
    color: #FFD700;
    margin-bottom: 16px;
}

.quote {
    font-style: italic;
    color: #555;
    margin-bottom: 24px;
}

.author {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 600;
}

/* FAQ */
.custom-accordion .mud-expand-panel {
    border-radius: 12px;
    margin-bottom: 12px;
    border: 1px solid #eee;
}

/* FOOTER */
.main-footer {
    background: #111827;
    color: #9CA3AF;
    padding: 80px 0 24px;
}

.footer-top {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 60px;
}

.brand-col p {
    margin: 24px 0;
    max-width: 300px;
}

.footer-col h5 {
    color: white;
    font-weight: 700;
    margin-bottom: 24px;
    font-size: 1.1rem;
}

.footer-col a {
    display: block;
    margin-bottom: 12px;
    transition: 0.3s;
}

.footer-col a:hover {
    color: var(--esular-orange);
}

.social-links {
    display: flex;
    gap: 16px;
}

.social-links a {
    font-size: 1.5rem;
    color: white;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 32px;
    display: flex;
    justify-content: space-between;
    font-size: 0.9rem;
}

@media(max-width: 768px) {
    .footer-top {
        grid-template-columns: 1fr;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
        gap: 16px;
    }
}

/* Markdown Content Styles for Chat */
.markdown-content {
    line-height: 1.6;
    font-size: 14px;
}

.markdown-content h1,
.markdown-content h2,
.markdown-content h3 {
    margin-top: 16px;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--esular-primary);
}

.markdown-content h1 {
    font-size: 1.4em;
}

.markdown-content h2 {
    font-size: 1.2em;
}

.markdown-content h3 {
    font-size: 1.1em;
}

.markdown-content p {
    margin-bottom: 12px;
}

.markdown-content ul,
.markdown-content ol {
    margin-inline-start: 20px;
    margin-bottom: 12px;
}

.markdown-content li {
    margin-bottom: 4px;
}

.markdown-content strong {
    font-weight: 600;
    color: #333;
}

.markdown-content code {
    background-color: #f0f0f0;
    padding: 2px 6px;
    border-radius: 4px;
    font-family: 'Consolas', monospace;
    font-size: 0.9em;
}

.markdown-content pre {
    background-color: #f5f5f5;
    padding: 12px;
    border-radius: 8px;
    overflow-x: auto;
    margin-bottom: 12px;
}

.markdown-content pre code {
    background: none;
    padding: 0;
}

/* Utility Classes for File Upload */
.relative {
    position: relative;
}

.absolute {
    position: absolute;
}

.z-10 {
    z-index: 10;
}

.z-20 {
    z-index: 20;
}

.rounded-lg {
    border-radius: 8px;
}

.border-2 {
    border-width: 2px;
}

.border-dashed {
    border-style: dashed;
}

.h-100 {
    height: 100%;
}

.w-100 {
    width: 100%;
}

.overflow-hidden {
    overflow: hidden;
}

.gap-2 {
    gap: 0.5rem;
}

.cursor-pointer {
    cursor: pointer;
}

/* =========================================
   MOBILE NAVIGATION STYLES
   ========================================= */

/* Hide mobile menu button on desktop */
.mobile-menu-btn {
    display: none !important;
}

/* Mobile styles */
@media (max-width: 900px) {

    /* Hide desktop-only elements */
    .desktop-only {
        display: none !important;
    }

    /* Show mobile menu button */
    .mobile-menu-btn {
        display: inline-flex !important;
    }

    /* Adjust navbar padding for mobile */
    .midas-navbar {
        padding: 12px 0;
    }

    .brand-logo {
        height: 32px;
    }
}

/* Mobile Drawer Overlay */
.mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1001;
    backdrop-filter: blur(4px);
    animation: fadeIn 0.3s ease;
}

/* Mobile Drawer */
.mobile-menu-drawer {
    position: fixed;
    top: 0;
    right: 0;
    width: 280px;
    max-width: 85vw;
    height: 100%;
    background: white;
    z-index: 1002;
    box-shadow: -5px 0 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s cubic-bezier(0.4, 0.0, 0.2, 1);
    display: flex;
    flex-direction: column;
    transform: translateX(100%);
    /* Hidden by default */
}

.mobile-menu-drawer.open {
    transform: translateX(0);
    /* Visible */
}

.mobile-menu-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    border-bottom: 1px solid #eee;
}

.mobile-menu-nav {
    flex: 1;
    padding: 20px 0;
    display: flex;
    flex-direction: column;
    overflow-y: auto;
}

.mobile-menu-nav a {
    padding: 16px 24px;
    display: flex;
    align-items: center;
    gap: 16px;
    color: var(--text-dark);
    font-weight: 500;
    transition: 0.2s;
    border-left: 4px solid transparent;
}

.mobile-menu-nav a:hover,
.mobile-menu-nav a.active {
    background: #f8fafc;
    color: var(--esular-orange);
    border-left-color: var(--esular-orange);
}

.mobile-menu-footer {
    padding: 20px;
    border-top: 1px solid #eee;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}