/* Premium Authentication Redesign - Inspired by Sufi/Islamic Aesthetic */
@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,400;0,600;0,700;1,400&family=Inter:wght@300;400;500;600;700&family=Playfair+Display:ital,wght@0,400;0,700;1,400&display=swap');

:root {
    --auth-bg-offwhite: #F9FAFB;
    --auth-primary: #374151;
    --auth-primary-hover: #4b5563;
    --auth-anthracite: #1F2937;
    /* Sophisticated Anthracite */
    --auth-text-grey: #4B5563;
    /* Clearly legible grey */
    --auth-border-grey: #D1D5DB;
    --auth-input-bg: #FFFFFF;
}

body {
    margin: 0;
    padding: 0;
    font-family: 'Inter', sans-serif;
}

.auth-wrapper {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--auth-bg-offwhite);
}

.auth-container {
    width: 100%;
    height: 100vh;
    display: flex;
    overflow: hidden;
}

/* --- Layout Structure: 60/40 Split --- */
.auth-side-image {
    position: relative;
    flex: 0 0 50%;
    /* 50% width */
    background: #000;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    box-shadow: inset -30px 0 80px rgba(0, 0, 0, 0.5);
    /* Stronger inner shadow for depth */
}

@media (max-width: 991px) {
    .auth-container {
        flex-direction: column;
        height: auto;
        overflow-y: initial;
        background: #FDFBF7;
        /* Creamy background from image */
    }

    .auth-side-image {
        display: block;
        flex: 0 0 750px;
        /* Reached maximum elongation for verticality */
        width: 100%;
        height: 750px;
        position: relative;
    }

    .auth-side-image img {
        height: 100%;
        width: 100%;
        object-fit: cover;
    }

    .auth-side-image::after {
        background: linear-gradient(to bottom, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.8) 100%);
        z-index: 5;
    }

    .quote-overlay {
        bottom: 280px;
        /* Positioned perfectly above the rising card */
        top: auto;
        left: 30px;
        right: 30px;
        z-index: 10;
        text-align: left;
    }

    .quote-text {
        font-family: 'Playfair Display', serif;
        font-size: 18px;
        /* Refined to 18px as requested */
        line-height: 1.5;
        font-style: italic;
        color: #FFFFFF;
        margin-bottom: 0;
        text-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
    }

    .auth-form-side {
        flex: 1;
        width: 100%;
        padding: 20px 30px 80px;
        /* Further reduced to lift content */
        background: #FDFBF7;
        margin-top: -250px;
        /* Fixed position */
        border-radius: 45px 45px 0 0;
        z-index: 20;
        box-shadow: 0 -15px 45px rgba(0, 0, 0, 0.1);
        display: block;
    }

    .auth-logo-top {
        margin-top: -40px;
        /* Lifted text up significantly within the card */
        margin-bottom: 25px;
        font-family: 'Playfair Display', serif;
        font-size: 44px;
        font-weight: 700;
        color: #1a1a1a;
        letter-spacing: -1.5px;
    }

    .auth-header {
        margin-top: 0;
        margin-bottom: 35px;
    }

    .auth-header h2 {
        font-size: 34px;
        font-weight: 700;
        margin-bottom: 12px;
    }

    .auth-header p {
        font-size: 16px;
        color: #718096;
        line-height: 1.5;
    }

    .top-brand-text {
        display: none;
    }
}

/* Password Toggle Wrapper */
.password-wrapper {
    position: relative;
    width: 100%;
}

.password-wrapper .toggle-password {
    position: absolute;
    right: 18px;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    color: #64748B;
    /* More visible slate grey */
    font-size: 18px;
    /* Slightly larger */
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 10;
    padding: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0.7;
}

.password-wrapper .toggle-password:hover {
    color: var(--auth-primary);
    opacity: 1;
    transform: translateY(-50%) scale(1.1);
}

.password-wrapper .form-control {
    padding-right: 55px !important;
    /* Ensure text doesn't overlap icon */
}

@media (min-width: 992px) and (max-width: 1400px) {
    .auth-form-side {
        padding: 50px 40px;
    }

    .auth-header h2 {
        font-size: 44px;
    }
}

.auth-side-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.75) contrast(1.1);
    /* Subtle aged tone */
}

/* Subtle overlay to soften the image and add depth */
.auth-side-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 30% 50%, rgba(200, 93, 40, 0.1), transparent 70%);
    pointer-events: none;
    z-index: 2;
}

.auth-side-image::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        linear-gradient(to right, transparent 60%, rgba(236, 232, 225, 0.7) 100%),
        linear-gradient(to bottom, rgba(0, 0, 0, 0.05), rgba(0, 0, 0, 0.5));
    /* Blend edge softened even more */
    pointer-events: none;
    z-index: 5;
}

.top-brand-text {
    position: absolute;
    top: 50px;
    left: 50px;
    color: rgba(255, 255, 255, 0.9);
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    font-weight: 300;
    letter-spacing: 3px;
    text-transform: uppercase;
    z-index: 10;
}

.quote-overlay {
    position: absolute;
    bottom: 100px;
    left: 50px;
    right: 50px;
    color: #fff;
    z-index: 10;
}

.quote-text {
    font-family: 'Playfair Display', serif;
    font-size: 36px;
    line-height: 1.4;
    font-weight: 400;
    font-style: italic;
    margin-bottom: 30px;
    color: rgba(255, 255, 255, 0.98);
    text-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
}

.quote-author-wrapper {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.quote-author-line {
    width: 80px;
    height: 1px;
    background: var(--auth-primary);
}

.quote-author {
    font-family: 'Inter', sans-serif;
    font-size: 12px;
    letter-spacing: 4px;
    text-transform: uppercase;
    font-weight: 700;
    color: var(--auth-primary);
}

/* --- Right Side: 40% Structured Form with Soft Blend --- */
.auth-form-side {
    position: relative;
    flex: 0 0 50%;
    /* 50% width */
    background:
        radial-gradient(circle at 100% 100%, rgba(217, 119, 6, 0.03) 0%, transparent 40%),
        radial-gradient(circle at 0% 50%, rgba(217, 119, 6, 0.07) 0%, transparent 60%),
        linear-gradient(to right, #ece8e1 0%, #F5F3F0 30%, #F5F3F0 100%);
    /* Unified warm background */
    /* Dynamic bleed from image side into the form background */
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 60px 10%;
    overflow-y: auto;
    z-index: 10;
}

/* Integrated Atmosphere & Texture Layer */
.auth-form-side::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:
        radial-gradient(#d1d5db 0.4px, transparent 0.4px),
        url("https://www.transparenttextures.com/patterns/granite.png"),
        linear-gradient(to left, rgba(236, 232, 225, 0.45) 0%, transparent 35%);
    background-size: 24px 24px, 200px 200px, 100% 100%;
    opacity: 0.08;
    pointer-events: none;
    z-index: 2;
}

/* Aura Effect: Dynamic light bleed from the image side */
.auth-form-side::before {
    content: '';
    position: absolute;
    top: 0;
    left: -150px;
    width: 450px;
    height: 100%;
    background: radial-gradient(ellipse at center, rgba(217, 119, 6, 0.15) 0%, rgba(236, 232, 225, 0.1) 45%, transparent 80%);
    filter: blur(80px);
    opacity: 0.8;
    pointer-events: none;
    z-index: 15;
}

.auth-form-content {
    width: 100%;
    max-width: 420px;
    margin: 0 auto;
}

.auth-logo-top {
    font-family: 'Cormorant Garamond', serif;
    font-size: 32px;
    /* Slightly larger for better presence */
    font-weight: 700;
    color: var(--auth-anthracite);
    margin-top: 30px;
    /* Moved down as requested */
    margin-bottom: 50px;
    /* Balanced spacing */
    display: block;
    text-decoration: none !important;
    transition: none;
    /* Removed hover action/animation */
    letter-spacing: 1px;
}

.auth-logo-top:hover {
    color: var(--auth-anthracite);
    /* Locked color to prevent "action" */
    text-decoration: none;
}

.auth-header {
    margin-bottom: 40px;
}

.auth-header h2 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 42px;
    font-weight: 600;
    color: var(--auth-anthracite);
    margin-bottom: 12px;
    letter-spacing: -0.5px;
    line-height: 1.1;
}

.auth-header p {
    color: var(--auth-text-grey);
    font-size: 16px;
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    max-width: 90%;
}

/* Form Styling - Spacious & Breathable */
.auth-form .form-group {
    margin-bottom: 28px;
}

.auth-form label {
    font-size: 12px;
    letter-spacing: 2px;
    text-transform: uppercase;
    font-weight: 700;
    color: var(--auth-anthracite);
    margin-bottom: 12px;
    display: block;
}

.auth-form .form-control {
    background: #FFFFFF;
    border: 1px solid #E2E8F0;
    border-radius: 16px;
    /* Bolder rounding like the image */
    padding: 16px 20px;
    width: 100%;
    font-size: 16px;
    color: var(--auth-anthracite);
    height: auto;
    transition: all 0.3s ease;
    box-sizing: border-box;
}

.auth-form .form-control:focus {
    outline: none;
    border-color: #ED8936;
    /* Warm orange border */
    box-shadow: 0 0 0 4px rgba(237, 137, 54, 0.1);
}

.auth-form .form-control::placeholder {
    color: #CBD5E0;
}

/* Password Validation UI - Updated for delicate orange checkmarks and soft grey text */
.password-requirements {
    margin-top: -16px;
    margin-bottom: 24px;
    display: none;
    flex-direction: column;
    gap: 10px;
    padding: 0;
    background: transparent;
    border: none;
    box-shadow: none;
    animation: fadeIn 0.3s ease;
}

.password-requirements.visible {
    display: flex;
}

.requirement-item {
    font-size: 13px;
    /* Slightly smaller as requested */
    color: #94A3B8;
    /* Soft grey text */
    display: flex;
    align-items: center;
    gap: 10px;
    transition: all 0.2s ease;
    font-weight: 400;
}

.requirement-item.valid {
    color: #059669;
    /* Emeral Green when valid */
}

.requirement-item.invalid {
    color: #DC2626;
    /* Warning Red when user hits submit and it's missing */
}

.requirement-item i {
    font-size: 12px;
    width: 14px;
    color: var(--auth-primary);
    /* Always delicate orange as requested */
    opacity: 0.8;
}

.requirement-item.valid i {
    color: #10B981;
    /* Shift to green when fully valid */
    opacity: 1;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-5px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.auth-btn {
    width: 100%;
    background: #ED8936;
    /* Specific orange from the image */
    color: #FFFFFF;
    padding: 18px;
    border: none;
    border-radius: 20px;
    /* Very rounded like image */
    font-weight: 800;
    font-size: 16px;
    letter-spacing: 1px;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 15px;
    box-shadow: 0 10px 25px rgba(237, 137, 54, 0.3);
}

.auth-btn:hover {
    background: #DD6B20;
    transform: translateY(-2px);
    box-shadow: 0 12px 30px rgba(237, 137, 54, 0.4);
}

/* Disclaimer & Footer */
.auth-disclaimer {
    margin-top: 20px;
    font-size: 13px;
    color: var(--auth-text-grey);
    line-height: 1.6;
    text-align: left;
}

.auth-disclaimer a {
    color: var(--auth-primary);
    text-decoration: none;
    font-weight: 700;
}

.auth-disclaimer a:hover {
    text-decoration: underline;
}

.auth-divider {
    display: flex;
    align-items: center;
    margin: 35px 0;
    color: var(--auth-border-grey);
}

.auth-divider::before,
.auth-divider::after {
    content: "";
    flex: 1;
    height: 1px;
    background: var(--auth-border-grey);
}

.auth-divider span {
    padding: 0 20px;
    font-size: 11px;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: #A0AEC0;
}

/* Social Buttons */
.social-login {
    display: block;
    width: 100%;
}

#google-signin-button {
    width: 100% !important;
}

/* Ensure Google Button Iframe fills container */
iframe[src^="https://accounts.google.com/gsi/"] {
    width: 100% !important;
    margin: 0 auto;
}

.auth-footer {
    text-align: center;
    margin-top: 40px;
    font-size: 14px;
    color: var(--auth-text-grey);
}

.auth-footer a {
    color: var(--auth-anthracite);
    font-weight: 700;
    text-decoration: none;
    margin-left: 5px;
}

.auth-footer a:hover {
    text-decoration: underline;
}

/* Navbar Style Fixes */
.nav-auth-btn {
    background: #374151 !important;
    color: #fff !important;
    padding: 10px 24px !important;
    border-radius: 8px !important;
    font-weight: 700 !important;
    text-decoration: none !important;
    box-shadow: 0 4px 12px rgba(252, 63, 0, 0.2) !important;
    font-size: 13px !important;
    letter-spacing: 0.3px !important;
    white-space: nowrap !important;
    transition: background 0.2s ease, box-shadow 0.2s ease, transform 0.15s ease !important;
    display: inline-flex !important;
    align-items: center !important;
}

.nav-auth-btn:hover {
    background: #e03800 !important;
    color: #fff !important;
    box-shadow: 0 6px 18px rgba(252, 63, 0, 0.3) !important;
    transform: translateY(-1px) !important;
    text-decoration: none !important;
}

/* Mobile Auth Button - matches web style, compact for mobile header */
.mobile-nav-auth-btn {
    display: inline-flex !important;
    align-items: center !important;
    background: #374151 !important;
    color: #fff !important;
    padding: 8px 14px !important;
    border-radius: 8px !important;
    font-weight: 700 !important;
    font-size: 12px !important;
    letter-spacing: 0.2px !important;
    text-decoration: none !important;
    white-space: nowrap !important;
    box-shadow: 0 3px 10px rgba(252, 63, 0, 0.25) !important;
    transition: background 0.2s ease, box-shadow 0.2s ease, transform 0.15s ease !important;
    margin-right: 8px !important;
}

.mobile-nav-auth-btn:hover,
.mobile-nav-auth-btn:active {
    background: #e03800 !important;
    color: #fff !important;
    box-shadow: 0 5px 15px rgba(252, 63, 0, 0.35) !important;
    transform: translateY(-1px) !important;
    text-decoration: none !important;
}

/* User Menu */
.nav-user-dropdown-wrapper {
    position: relative;
    z-index: 1050;
}

.user-profile-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 4px 12px;
    background: #fff;
    border-radius: 50px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    cursor: pointer;
    position: relative;
    z-index: 1051;
    user-select: none;
    -webkit-user-select: none;
}

.user-initials-avatar {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    /* Rounded square like the image */
    background: #795548;
    /* Professional Brown */
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 13px;
    text-transform: uppercase;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    flex-shrink: 0;
    overflow: hidden;
}

.user-initials-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.user-name-text {
    font-weight: 600;
    font-size: 14px;
    color: var(--auth-anthracite);
    margin-left: 2px;
}

.dropdown-arrow {
    font-size: 10px;
    color: var(--auth-text-grey);
    transition: transform 0.2s ease;
    margin-left: 4px;
}

.user-profile-btn.active .dropdown-arrow {
    transform: rotate(180deg);
}

.user-dropdown-menu {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    min-width: 200px;
    background: #FFFFFF;
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    border: 1px solid var(--auth-border-grey);
    padding: 8px;
    display: none;
    z-index: 1100;
    list-style: none;
    margin: 0;
}

.user-dropdown-menu.active {
    display: block;
    animation: dropdownSlide 0.2s ease-out;
}

@keyframes dropdownSlide {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.user-dropdown-menu li {
    margin: 0;
    padding: 0;
}

.user-dropdown-menu li a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 15px;
    color: var(--auth-text-grey);
    text-decoration: none;
    font-size: 14px;
    border-radius: 8px;
    transition: all 0.2s ease;
}

.user-dropdown-menu li a:hover {
    background: var(--auth-bg-offwhite);
    color: var(--auth-anthracite);
}

.user-dropdown-menu li a i {
    width: 16px;
    text-align: center;
}

.menu-divider {
    height: 1px;
    background: var(--auth-border-grey);
    margin: 6px 0;
}

.logout-link {
    color: #E53E3E !important;
}

.logout-link:hover {
    background: #FFF5F5 !important;
}

/* --- Professional Notification System (Toasts) --- */
.sufi-toast-container {
    position: fixed;
    top: 30px;
    right: 30px;
    z-index: 10000;
    display: flex;
    flex-direction: column;
    gap: 15px;
    pointer-events: none;
}

.sufi-toast {
    min-width: 320px;
    max-width: 450px;
    padding: 18px 24px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-left: 5px solid var(--auth-primary);
    border-radius: 12px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1), 0 5px 15px rgba(0, 0, 0, 0.05);
    display: flex;
    align-items: center;
    gap: 15px;
    pointer-events: auto;
    animation: toastSlideIn 0.5s cubic-bezier(0.19, 1, 0.22, 1) forwards;
    transition: all 0.4s ease;
}

.sufi-toast.closing {
    animation: toastSlideOut 0.5s cubic-bezier(0.19, 1, 0.22, 1) forwards;
}

.sufi-toast-icon {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    flex-shrink: 0;
}

.sufi-toast-content {
    flex: 1;
}

.sufi-toast-title {
    font-weight: 700;
    font-size: 15px;
    color: var(--auth-anthracite);
    margin-bottom: 2px;
    font-family: 'Inter', sans-serif;
}

.sufi-toast-message {
    font-size: 14px;
    color: var(--auth-text-grey);
    line-height: 1.4;
}

/* Toast States */
.sufi-toast-success {
    border-left-color: #10B981;
}

.sufi-toast-success .sufi-toast-icon {
    background: rgba(16, 185, 129, 0.1);
    color: #10B981;
}

.sufi-toast-error {
    border-left-color: #EF4444;
}

.sufi-toast-error .sufi-toast-icon {
    background: rgba(239, 68, 68, 0.1);
    color: #EF4444;
}

.sufi-toast-info {
    border-left-color: #3B82F6;
}

.sufi-toast-info .sufi-toast-icon {
    background: rgba(59, 130, 246, 0.1);
    color: #3B82F6;
}

.sufi-toast-warning {
    border-left-color: #F59E0B;
}

.sufi-toast-warning .sufi-toast-icon {
    background: rgba(245, 158, 11, 0.1);
    color: #F59E0B;
}

@keyframes toastSlideIn {
    from {
        opacity: 0;
        transform: translateX(100%) scale(0.9);
    }

    to {
        opacity: 1;
        transform: translateX(0) scale(1);
    }
}

@keyframes toastSlideOut {
    from {
        opacity: 1;
        transform: translateX(0) scale(1);
    }

    to {
        opacity: 0;
        transform: translateX(100%) scale(0.9);
    }
}

/* Mobile Toast Adjustments */
@media (max-width: 576px) {
    .sufi-toast-container {
        top: 20px;
        right: 20px;
        left: 20px;
    }

    .sufi-toast {
        min-width: auto;
        width: 100%;
    }
}

/* =============================================
   Mobile Avatar Dropdown Menu
   ============================================= */
.mobile-nav-right {
    position: relative;
    z-index: 10000 !important;
    /* Extremely high to beat slicknav overlays */
}

#auth-button-mobile {
    position: relative;
    z-index: 10001 !important;
    pointer-events: auto !important;
}

.mobile-avatar-dropdown-wrapper {
    position: relative;
    z-index: 1100;
}

.mobile-avatar-trigger,
.mobile-guest-trigger {
    cursor: pointer !important;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    user-select: none;
    -webkit-tap-highlight-color: transparent;
    pointer-events: auto !important;
}

.mobile-avatar-trigger:active,
.mobile-guest-trigger:active {
    transform: scale(0.96);
}

.mobile-avatar-menu {
    position: absolute;
    top: calc(100% + 12px);
    right: -10px;
    /* Slight offset to look better on edge */
    min-width: 200px;
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15), 0 4px 10px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(0, 0, 0, 0.08);
    overflow: hidden;
    display: none;
    z-index: 1200;
    transform-origin: top right;
}

.mobile-avatar-menu.active {
    display: block;
    animation: mobileMenuSlide 0.25s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}

/* Guest Mode Specific UI */
.guest-header {
    background: linear-gradient(135deg, rgba(252, 63, 0, 0.05), rgba(217, 119, 6, 0.03)) !important;
}

.guest-header .mam-name {
    color: #374151 !important;
}

@keyframes mobileMenuSlide {
    from {
        opacity: 0;
        transform: scale(0.9) translateY(-10px);
    }

    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

.mobile-avatar-menu-header {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 18px 14px;
    background: linear-gradient(135deg, rgba(121, 85, 72, 0.08), rgba(193, 107, 77, 0.05));
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.mam-avatar {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    background: #795548;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 16px;
    flex-shrink: 0;
}

.mam-user-info {
    flex: 1;
    overflow: hidden;
}

.mam-name {
    display: block;
    font-weight: 700;
    font-size: 14px;
    color: #1a1c1e;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.mam-list {
    list-style: none;
    padding: 8px;
    margin: 0;
}

.mam-list li {
    margin: 0;
    padding: 0;
}

.mam-list li a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 11px 14px;
    color: #4B5563;
    text-decoration: none !important;
    font-size: 14px;
    font-weight: 500;
    border-radius: 10px;
    transition: background 0.18s ease, color 0.18s ease;
}

.mam-list li a:hover,
.mam-list li a:active {
    background: #fdf2f0;
    color: #374151;
    text-decoration: none !important;
}

.mam-list li a i {
    width: 18px;
    text-align: center;
    font-size: 14px;
    color: #374151;
    opacity: 0.85;
}

.mam-divider {
    height: 1px;
    background: rgba(0, 0, 0, 0.06);
    margin: 6px 8px;
}

.mam-logout {
    color: #E53E3E !important;
}

.mam-logout:hover {
    background: #fff5f5 !important;
    color: #C53030 !important;
}

.mam-logout i {
    color: #E53E3E !important;
}