/**
 * ============================================================
 * BOXMAIL SAAS - Main Stylesheet
 * ============================================================
 * Modern Glassmorphism Design with RTL Support
 */

/* ============================================================
   CSS VARIABLES (THEME)
   ============================================================ */
:root {
    /* Dark Theme (Default) */
    --bg-color: #0f172a;
    --glass-bg: rgba(255, 255, 255, 0.03);
    --glass-border: rgba(255, 255, 255, 0.08);
    --card-bg: rgba(255, 255, 255, 0.05);
    --primary-accent: #38bdf8;
    --secondary-accent: #818cf8;
    --success-color: #22c55e;
    --warning-color: #f59e0b;
    --error-color: #ef4444;
    --text-color: #f1f5f9;
    --text-muted: #94a3b8;
    --header-bg: rgba(15, 23, 42, 0.8);
    --shadow-color: rgba(0, 0, 0, 0.2);
    --orb-opacity: 0.4;

    /* Spacing */
    --spacing-xs: 0.25rem;
    --spacing-sm: 0.5rem;
    --spacing-md: 1rem;
    --spacing-lg: 1.5rem;
    --spacing-xl: 2rem;
    --spacing-2xl: 3rem;

    /* Border Radius */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --radius-full: 50px;

    /* Transitions */
    --transition-fast: 0.15s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;
}

/* Light Theme */
[data-theme="light"] {
    --bg-color: #f8fafc;
    --glass-bg: rgba(255, 255, 255, 0.6);
    --glass-border: rgba(0, 0, 0, 0.05);
    --card-bg: rgba(255, 255, 255, 0.7);
    --primary-accent: #0284c7;
    --secondary-accent: #6366f1;
    --text-color: #1e293b;
    --text-muted: #64748b;
    --header-bg: rgba(255, 255, 255, 0.85);
    --shadow-color: rgba(148, 163, 184, 0.15);
    --orb-opacity: 0.5;
}

/* ============================================================
   RESET & BASE
   ============================================================ */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background-color: var(--bg-color);
    color: var(--text-color);
    line-height: 1.6;
    overflow-x: hidden;
    transition: background-color var(--transition-normal), color var(--transition-normal);
}

a {
    color: var(--primary-accent);
    text-decoration: none;
    transition: color var(--transition-fast);
}

a:hover {
    color: var(--secondary-accent);
}

img {
    max-width: 100%;
    height: auto;
}

/* ============================================================
   BACKGROUND ORBS
   ============================================================ */
.background-orb {
    position: fixed;
    border-radius: 50%;
    filter: blur(120px);
    z-index: -1;
    opacity: var(--orb-opacity);
    pointer-events: none;
    transition: opacity var(--transition-slow);
}

.orb-1 {
    width: 600px;
    height: 600px;
    background: var(--primary-accent);
    top: -200px;
    left: -150px;
}

.orb-2 {
    width: 700px;
    height: 700px;
    background: var(--secondary-accent);
    bottom: -200px;
    right: -200px;
}

/* ============================================================
   CONTAINER
   ============================================================ */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-lg);
}

/* ============================================================
   HEADER
   ============================================================ */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 80px;
    background: var(--header-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--glass-border);
    z-index: 1000;
    transition: all var(--transition-normal);
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
}

.brand-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-color);
}

.brand-logo i {
    color: var(--primary-accent);
}

.nav-links {
    display: flex;
    gap: 30px;
}

.nav-links a {
    color: var(--text-muted);
    font-size: 0.95rem;
    font-weight: 500;
    transition: color var(--transition-fast);
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--primary-accent);
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 20px;
    font-size: 0.95rem;
    font-weight: 600;
    border-radius: var(--radius-full);
    border: none;
    cursor: pointer;
    transition: all var(--transition-fast);
    text-decoration: none;
}

.btn-primary {
    background: var(--primary-accent);
    color: #fff;
    box-shadow: 0 4px 15px rgba(56, 189, 248, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(56, 189, 248, 0.4);
    color: #fff;
}

.btn-outline {
    background: transparent;
    color: var(--text-color);
    border: 1px solid var(--glass-border);
}

.btn-outline:hover {
    border-color: var(--primary-accent);
    color: var(--primary-accent);
}

.btn-ghost {
    background: transparent;
    color: var(--text-muted);
}

.btn-ghost:hover {
    color: var(--primary-accent);
    background: var(--glass-bg);
}

.btn-lg {
    padding: 14px 32px;
    font-size: 1.05rem;
}

.btn-sm {
    padding: 6px 14px;
    font-size: 0.85rem;
}

.btn-block {
    width: 100%;
}

/* ============================================================
   GLASS CARD
   ============================================================ */
.glass-card {
    background: var(--card-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-xl);
    padding: var(--spacing-xl);
    box-shadow: 0 20px 50px var(--shadow-color);
}

/* ============================================================
   HERO SECTION
   ============================================================ */
.hero-section {
    padding-top: 160px;
    padding-bottom: 80px;
    text-align: center;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 20px;
    letter-spacing: -1px;
}

.gradient-text {
    background: linear-gradient(135deg, var(--primary-accent), var(--secondary-accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    color: var(--text-muted);
    font-size: 1.2rem;
    max-width: 600px;
    margin: 0 auto 50px;
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 50px;
    margin-top: 50px;
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text-muted);
}

.stat-item i {
    color: var(--primary-accent);
}

/* ============================================================
   EMAIL CARD
   ============================================================ */
.email-card {
    max-width: 700px;
    margin: 0 auto;
}

.email-display {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

[data-theme="light"] .email-display {
    background: rgba(255, 255, 255, 0.5);
}

.email-text {
    font-family: 'JetBrains Mono', 'Courier New', monospace;
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--primary-accent);
    letter-spacing: 0.5px;
}

.action-group {
    display: flex;
    gap: 8px;
}

.action-btn {
    width: 42px;
    height: 42px;
    border: 1px solid var(--glass-border);
    background: transparent;
    color: var(--text-color);
    border-radius: var(--radius-md);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    transition: all var(--transition-fast);
}

.action-btn:hover {
    background: var(--primary-accent);
    border-color: var(--primary-accent);
    color: #fff;
}

/* Domain Selector */
.domain-selector {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
    padding: 0 5px;
}

.domain-selector label {
    font-size: 0.9rem;
    color: var(--text-muted);
}

.domain-selector select {
    flex: 1;
    padding: 10px 15px;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-md);
    color: var(--text-color);
    font-size: 0.95rem;
    cursor: pointer;
}

/* ============================================================
   INBOX
   ============================================================ */
.inbox-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--text-muted);
    margin-bottom: 15px;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.inbox-list {
    max-height: 400px;
    overflow-y: auto;
}

.email-item {
    background: var(--glass-bg);
    margin-bottom: 8px;
    padding: 15px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    gap: 15px;
    cursor: pointer;
    transition: all var(--transition-fast);
    border: 1px solid transparent;
}

.email-item:hover {
    border-color: var(--primary-accent);
    transform: translateX(5px);
}

[dir="rtl"] .email-item:hover {
    transform: translateX(-5px);
}

.email-item.unread {
    background: rgba(56, 189, 248, 0.1);
}

.email-item.unread .email-subject {
    color: var(--primary-accent);
    font-weight: 700;
}

.sender-avatar {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-accent), var(--secondary-accent));
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-weight: 700;
    font-size: 1.1rem;
    flex-shrink: 0;
}

.email-info {
    flex: 1;
    min-width: 0;
}

.email-subject {
    display: block;
    font-weight: 600;
    margin-bottom: 4px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.email-snippet {
    font-size: 0.9rem;
    color: var(--text-muted);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.email-time {
    font-size: 0.8rem;
    color: var(--text-muted);
    white-space: nowrap;
}

/* Empty State */
.empty-state {
    padding: 60px 20px;
    text-align: center;
    color: var(--text-muted);
}

.empty-state i {
    font-size: 3rem;
    margin-bottom: 15px;
    opacity: 0.5;
}

.empty-state h3 {
    margin-bottom: 8px;
}

/* ============================================================
   FEATURES SECTION
   ============================================================ */
.features-section {
    padding: 100px 0;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 60px;
}

.section-subtitle {
    text-align: center;
    color: var(--text-muted);
    font-size: 1.1rem;
    margin-top: -40px;
    margin-bottom: 60px;
}

.grid-3 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.feature-card {
    background: var(--card-bg);
    border: 1px solid var(--glass-border);
    padding: 35px;
    border-radius: var(--radius-xl);
    transition: all var(--transition-normal);
}

.feature-card:hover {
    transform: translateY(-10px);
    border-color: var(--secondary-accent);
}

.feature-icon {
    font-size: 2.5rem;
    color: var(--secondary-accent);
    margin-bottom: 20px;
}

.feature-card h3 {
    font-size: 1.3rem;
    margin-bottom: 12px;
}

.feature-card p {
    color: var(--text-muted);
    line-height: 1.7;
}

/* ============================================================
   PRICING SECTION
   ============================================================ */
.pricing-section {
    padding: 100px 0;
    background: var(--glass-bg);
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    max-width: 1000px;
    margin: 0 auto;
}

.pricing-card {
    background: var(--card-bg);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-xl);
    padding: 40px 30px;
    text-align: center;
    position: relative;
    transition: all var(--transition-normal);
}

.pricing-card.featured {
    border-color: var(--primary-accent);
    transform: scale(1.05);
}

.featured-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary-accent);
    color: #fff;
    padding: 4px 16px;
    border-radius: var(--radius-full);
    font-size: 0.8rem;
    font-weight: 600;
}

.plan-name {
    font-size: 1.5rem;
    margin-bottom: 15px;
}

.plan-price {
    margin-bottom: 25px;
}

.plan-price .price {
    font-size: 3rem;
    font-weight: 800;
}

.plan-price .period {
    color: var(--text-muted);
    font-size: 1rem;
}

.plan-features {
    list-style: none;
    text-align: left;
    margin-bottom: 30px;
}

.plan-features li {
    padding: 10px 0;
    border-bottom: 1px solid var(--glass-border);
    display: flex;
    align-items: center;
    gap: 10px;
}

.plan-features i {
    color: var(--success-color);
}

/* ============================================================
   CTA SECTION
   ============================================================ */
.cta-section {
    padding: 80px 0;
}

.cta-card {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 40px;
    padding: 60px;
}

.cta-content h2 {
    font-size: 2rem;
    margin-bottom: 10px;
}

.cta-content p {
    color: var(--text-muted);
    font-size: 1.1rem;
}

.cta-actions {
    display: flex;
    gap: 15px;
    flex-shrink: 0;
}

/* ============================================================
   FAQ SECTION
   ============================================================ */
.faq-section {
    padding: 100px 0;
}

.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    margin-bottom: 10px;
}

.faq-question {
    width: 100%;
    background: var(--card-bg);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-md);
    padding: 18px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-color);
    text-align: left;
    transition: all var(--transition-fast);
}

[dir="rtl"] .faq-question {
    text-align: right;
}

.faq-question:hover {
    border-color: var(--primary-accent);
}

.faq-question.active {
    border-color: var(--primary-accent);
    border-radius: var(--radius-md) var(--radius-md) 0 0;
}

.faq-question i {
    transition: transform var(--transition-fast);
}

.faq-question.active i {
    transform: rotate(180deg);
}

.faq-answer {
    display: none;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-top: none;
    border-radius: 0 0 var(--radius-md) var(--radius-md);
    padding: 20px;
    color: var(--text-muted);
    line-height: 1.7;
}

.faq-answer.active {
    display: block;
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
    background: var(--bg-color);
    border-top: 1px solid var(--glass-border);
    padding: 80px 0 30px;
    margin-top: 50px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr repeat(3, 1fr);
    gap: 50px;
    margin-bottom: 50px;
}

.footer-desc {
    color: var(--text-muted);
    margin-top: 15px;
    line-height: 1.7;
    max-width: 300px;
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-links a {
    width: 40px;
    height: 40px;
    border: 1px solid var(--glass-border);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    transition: all var(--transition-fast);
}

.social-links a:hover {
    background: var(--primary-accent);
    border-color: var(--primary-accent);
    color: #fff;
}

.footer-col h4 {
    margin-bottom: 20px;
    font-size: 1rem;
}

.footer-col ul {
    list-style: none;
}

.footer-col li {
    margin-bottom: 12px;
}

.footer-col a {
    color: var(--text-muted);
    transition: all var(--transition-fast);
}

.footer-col a:hover {
    color: var(--primary-accent);
    padding-left: 5px;
}

[dir="rtl"] .footer-col a:hover {
    padding-left: 0;
    padding-right: 5px;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 30px;
    border-top: 1px solid var(--glass-border);
}

.copyright {
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* ============================================================
   MODAL
   ============================================================ */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(5px);
    z-index: 2000;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.modal.active {
    display: flex;
}

.modal-content {
    max-width: 600px;
    width: 100%;
    max-height: 80vh;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.modal-lg {
    max-width: 800px;
}

.modal-sm {
    max-width: 400px;
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 15px;
}

.modal-header h3 {
    font-size: 1.25rem;
    flex: 1;
}

.modal-close {
    background: none;
    border: none;
    font-size: 1.8rem;
    color: var(--text-muted);
    cursor: pointer;
    line-height: 1;
    transition: color var(--transition-fast);
}

.modal-close:hover {
    color: var(--error-color);
}

.modal-meta {
    display: flex;
    gap: 20px;
    color: var(--text-muted);
    font-size: 0.9rem;
    padding-bottom: 15px;
    border-bottom: 1px solid var(--glass-border);
    margin-bottom: 15px;
}

.modal-body {
    flex: 1;
    overflow-y: auto;
}

.modal-body iframe {
    width: 100%;
    min-height: 300px;
    border: none;
    background: #fff;
    border-radius: var(--radius-md);
}

.modal-footer {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    margin-top: 20px;
    padding-top: 15px;
    border-top: 1px solid var(--glass-border);
}

/* ============================================================
   DROPDOWN
   ============================================================ */
.dropdown {
    position: relative;
}

.dropdown-toggle {
    background: transparent;
    border: 1px solid var(--glass-border);
    color: var(--text-color);
    padding: 8px 12px;
    border-radius: var(--radius-md);
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
}

.dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    right: 0;
    min-width: 180px;
    background: var(--card-bg);
    backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-md);
    padding: 8px 0;
    margin-top: 8px;
    z-index: 100;
    box-shadow: 0 10px 40px var(--shadow-color);
}

[dir="rtl"] .dropdown-menu {
    right: auto;
    left: 0;
}

.dropdown:hover .dropdown-menu,
.dropdown.active .dropdown-menu {
    display: block;
}

.dropdown-menu a,
.dropdown-menu button {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    padding: 10px 16px;
    color: var(--text-color);
    font-size: 0.9rem;
    background: none;
    border: none;
    text-align: left;
    cursor: pointer;
    transition: background var(--transition-fast);
}

[dir="rtl"] .dropdown-menu a,
[dir="rtl"] .dropdown-menu button {
    text-align: right;
}

.dropdown-menu a:hover,
.dropdown-menu button:hover {
    background: var(--glass-bg);
}

.dropdown-header {
    padding: 10px 16px;
}

.dropdown-header strong {
    display: block;
}

.dropdown-header small {
    color: var(--text-muted);
    font-size: 0.8rem;
}

.dropdown-divider {
    height: 1px;
    background: var(--glass-border);
    margin: 8px 0;
}

/* ============================================================
   THEME TOGGLE
   ============================================================ */
.theme-toggle {
    width: 40px;
    height: 40px;
    border: 1px solid var(--glass-border);
    background: transparent;
    color: var(--text-color);
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    transition: all var(--transition-fast);
}

.theme-toggle:hover {
    background: var(--glass-bg);
    border-color: var(--primary-accent);
}

/* ============================================================
   USER AVATAR
   ============================================================ */
.user-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    overflow: hidden;
    border: 2px solid var(--glass-border);
    padding: 0;
}

.user-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* ============================================================
   TOAST
   ============================================================ */
#toast-container {
    position: fixed;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3000;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.toast {
    background: var(--card-bg);
    backdrop-filter: blur(10px);
    color: var(--text-color);
    padding: 12px 24px;
    border-radius: var(--radius-full);
    border: 1px solid var(--glass-border);
    box-shadow: 0 10px 30px var(--shadow-color);
    display: flex;
    align-items: center;
    gap: 10px;
    animation: slideUp 0.3s ease;
}

.toast.success {
    border-color: var(--success-color);
}

.toast.success i {
    color: var(--success-color);
}

.toast.error {
    border-color: var(--error-color);
}



@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-5px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ============================================================
   HOMEPAGE OPTIMIZATIONS
   ============================================================ */
.hero-title {
    font-size: 2.5rem !important;
    /* Smaller title */
    margin-bottom: 1rem !important;
    line-height: 1.2;
}

.pricing-card {
    padding: 1.5rem !important;
    /* Reduce height/padding */
}

.pricing-card .plan-name {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

.pricing-card .plan-price .price {
    font-size: 1.8rem;
}

.plan-features li {
    font-size: 0.9rem;
    margin-bottom: 0.4rem;
    /* Tighter list */
    white-space: nowrap;
    /* Keep on one line */
    overflow: hidden;
    text-overflow: ellipsis;
}

.pricing-section {
    padding: 40px 0;
    /* Reduce section vertical spacing */
}

/* ============================================================
   LOADING SPINNER
   ============================================================ */
.loading-spinner {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 40px;
    color: var(--text-muted);
}

.loading-spinner i {
    font-size: 2rem;
}

/* ============================================================
   BADGE
   ============================================================ */
.badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 20px;
    height: 20px;
    padding: 0 6px;
    background: var(--primary-accent);
    color: #fff;
    font-size: 0.75rem;
    font-weight: 600;
    border-radius: var(--radius-full);
}

/* ============================================================
   UTILITIES
   ============================================================ */
.text-center {
    text-align: center;
}

.text-muted {
    color: var(--text-muted);
}

.mt-2 {
    margin-top: 0.5rem;
}

.mt-4 {
    margin-top: 1rem;
}

.mb-4 {
    margin-bottom: 1rem;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .cta-card {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-stats {
        flex-direction: column;
        gap: 20px;
    }

    .pricing-card.featured {
        transform: none;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }

    .mobile-menu-toggle {
        display: flex;
    }
}

.mobile-menu-toggle {
    display: none;
    width: 40px;
    height: 40px;
    background: transparent;
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-md);
    color: var(--text-color);
    cursor: pointer;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}

/* ============================================================
   MOBILE MENU
   ============================================================ */
.mobile-menu {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--bg-color);
    z-index: 2000;
    padding: 20px;
    display: none;
    flex-direction: column;
}

.mobile-menu.active {
    display: flex;
}

.mobile-menu-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
}

.mobile-menu-close {
    width: 40px;
    height: 40px;
    background: transparent;
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-md);
    color: var(--text-color);
    cursor: pointer;
    font-size: 1.2rem;
}

.mobile-nav-links {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.mobile-nav-links a {
    padding: 15px;
    background: var(--glass-bg);
    border-radius: var(--radius-md);
    color: var(--text-color);
    font-size: 1.1rem;
}

.mobile-auth-links {
    margin-top: auto;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

/* ============================================================
   RTL SUPPORT
   ============================================================ */
[dir="rtl"] {
    direction: rtl;
}

[dir="rtl"] .email-item:hover {
    transform: translateX(-5px);
}

[dir="rtl"] .fa-arrow-right::before {
    content: "\f060";
    /* fa-arrow-left */
}

/* ============================================================
   AUTH PAGES
   ============================================================ */
.auth-section {
    padding: 120px 0 80px;
    min-height: 80vh;
    display: flex;
    align-items: center;
    background: radial-gradient(circle at top right, rgba(56, 189, 248, 0.1), transparent 40%),
        radial-gradient(circle at bottom left, rgba(99, 102, 241, 0.1), transparent 40%);
}

.auth-card {
    max-width: 450px;
    margin: 0 auto;
    padding: 40px;
    background: var(--card-bg);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-xl);
    backdrop-filter: blur(20px);
}

.auth-title {
    font-size: 2rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 10px;
    background: linear-gradient(135deg, var(--text-color), var(--primary-accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.auth-subtitle {
    text-align: center;
    color: var(--text-muted);
    margin-bottom: 30px;
}

.auth-form .form-group {
    margin-bottom: 20px;
}

.auth-form .form-label {
    display: block;
    margin-bottom: 8px;
    font-size: 0.9rem;
    color: var(--text-color);
}

.auth-form .form-input {
    width: 100%;
    padding: 12px 15px;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-md);
    color: var(--text-color);
    font-size: 1rem;
    transition: all var(--transition-fast);
}

.auth-form .form-input:focus {
    outline: none;
    border-color: var(--primary-accent);
    background: rgba(56, 189, 248, 0.05);
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    font-size: 0.9rem;
    color: var(--text-muted);
}

.auth-link {
    font-size: 0.9rem;
    color: var(--primary-accent);
}

.auth-link:hover {
    text-decoration: underline;
}

.auth-footer {
    text-align: center;
    margin-top: 25px;
    font-size: 0.95rem;
    color: var(--text-muted);
}

/* ============================================================
   INBOX PAGE (Dedicated)
   ============================================================ */
.inbox-page {
    padding: 120px 0 60px;
    min-height: 100vh;
}

.inbox-layout {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 30px;
    align-items: start;
    height: calc(100vh - 180px);
}

.inbox-sidebar {
    background: var(--card-bg);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    padding: 20px;
    height: 100%;
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.sidebar-header h3 {
    font-size: 1.1rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text-color);
}

.current-email label,
.domain-select-wrapper label {
    display: block;
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 8px;
}

.email-input-group {
    display: flex;
    gap: 0;
}

.email-input-group input {
    flex: 1;
    padding: 10px;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-right: none;
    border-radius: var(--radius-md) 0 0 var(--radius-md);
    color: var(--primary-accent);
    font-family: monospace;
    font-size: 0.9rem;
}

.email-input-group button {
    padding: 0 12px;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 0 var(--radius-md) var(--radius-md) 0;
    color: var(--text-muted);
    cursor: pointer;
    transition: all var(--transition-fast);
}

.email-input-group button:hover {
    color: var(--primary-accent);
    background: rgba(255, 255, 255, 0.05);
}

.sidebar-actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.sidebar-settings {
    margin-top: auto;
    border-top: 1px solid var(--glass-border);
    padding-top: 20px;
}

.setting-item {
    margin-bottom: 12px;
}

.setting-item label {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    font-size: 0.9rem;
    color: var(--text-muted);
}

.sidebar-links {
    display: flex;
    flex-direction: column;
    gap: 10px;
    border-top: 1px solid var(--glass-border);
    padding-top: 20px;
}

.sidebar-links a {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text-muted);
    font-size: 0.95rem;
    padding: 8px;
    border-radius: var(--radius-sm);
    transition: all var(--transition-fast);
}

.sidebar-links a:hover {
    background: var(--glass-bg);
    color: var(--primary-accent);
}

.inbox-main {
    background: var(--card-bg);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    height: 100%;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.inbox-header {
    padding: 20px;
    border-bottom: 1px solid var(--glass-border);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.inbox-title {
    display: flex;
    align-items: center;
    gap: 15px;
}

.inbox-title h2 {
    font-size: 1.25rem;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 10px;
}

.badge {
    background: var(--primary-accent);
    color: #fff;
    padding: 2px 8px;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 700;
}

.inbox-actions {
    display: flex;
    align-items: center;
    gap: 15px;
}

.refresh-status {
    font-size: 0.85rem;
    color: var(--text-muted);
    display: none;
    align-items: center;
    gap: 6px;
}

.inbox-list {
    flex: 1;
    overflow-y: auto;
    padding: 10px;
}

.inbox-main .email-item {
    padding: 18px;
    margin-bottom: 10px;
}

.modal-lg {
    max-width: 800px;
    height: 80vh;
}

.modal-sm {
    max-width: 400px;
    height: auto;
}

/* ============================================================
   DASHBOARD STYLES (Glassmorphism)
   ============================================================ */
.dashboard-section {
    padding: 120px 0 60px;
    min-height: 100vh;
}

.dashboard-layout {
    display: grid;
    grid-template-columns: 280px 1fr;
    /* Sidebar | Content */
    gap: 30px;
    align-items: start;
}

/* --- Shared Components --- */
.glass-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: var(--radius-lg);
    padding: 25px;
    margin-bottom: 25px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

[data-theme="light"] .glass-card {
    background: #ffffff;
    /* Solid white for clear contrast */
    border: 1px solid #e2e8f0;
    /* Distinct light gray border */
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    /* Standard shadow */
}

/* Light Mode Input Enhancements */
[data-theme="light"] .email-input-group input,
[data-theme="light"] .select-trigger {
    background: #f8fafc;
    border-color: #cbd5e1;
    color: #1e293b;
}

[data-theme="light"] .email-input-group input:focus,
[data-theme="light"] .select-trigger:hover {
    background: #ffffff;
    border-color: var(--primary-accent);
    box-shadow: 0 0 0 3px rgba(56, 189, 248, 0.1);
}

/* --- Sidebar --- */
.dashboard-sidebar {
    position: sticky;
    top: 100px;
}

.user-profile-card {
    text-align: center;
    padding: 30px 20px;
}

.profile-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    margin-bottom: 15px;
    border: 3px solid rgba(255, 255, 255, 0.1);
    background: var(--primary-accent);
}

.user-profile-card h3 {
    margin-bottom: 5px;
    font-size: 1.2rem;
}

.plan-badge {
    display: inline-block;
    background: rgba(56, 189, 248, 0.1);
    color: var(--primary-accent);
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    margin-top: 10px;
    border: 1px solid rgba(56, 189, 248, 0.2);
}

.dashboard-nav {
    padding: 10px;
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.nav-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 15px;
    color: var(--text-muted);
    border-radius: var(--radius-md);
    transition: all var(--transition-fast);
    font-weight: 500;
}

.nav-item i {
    width: 20px;
    text-align: center;
    font-size: 1.1rem;
}

.nav-item:hover {
    color: var(--text-color);
    background: rgba(255, 255, 255, 0.03);
}

.nav-item.active {
    background: var(--primary-accent);
    color: #fff;
    box-shadow: 0 4px 15px rgba(56, 189, 248, 0.4);
}

/* --- Content Area --- */
.content-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
}

.content-header h2 {
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.content-header p {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-top: 5px;
}

/* --- Tables --- */
.table-responsive {
    overflow-x: auto;
}

.dashboard-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
}

.dashboard-table th {
    text-align: left;
    padding: 15px 20px;
    color: var(--text-muted);
    font-weight: 600;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-bottom: 1px solid var(--glass-border);
}

.dashboard-table td {
    padding: 15px 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.03);
    vertical-align: middle;
}

.dashboard-table tr:last-child td {
    border-bottom: none;
}

.dashboard-table tr:hover td {
    background: rgba(255, 255, 255, 0.02);
}

/* --- Pricing Cards (Subscription) --- */
.current-plan-info {
    margin-bottom: 40px;
}

.plan-status-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-md);
    padding: 20px;
    margin-top: 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.plan-name-large {
    font-size: 1.5rem;
    font-weight: 700;
    margin-right: 15px;
}

.plan-status.active {
    background: rgba(34, 197, 94, 0.1);
    color: var(--success-color);
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.85rem;
    border: 1px solid rgba(34, 197, 94, 0.2);
}

.dashboard-pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.mini-pricing-card {
    background: rgba(0, 0, 0, 0.2);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-md);
    padding: 20px;
    text-align: center;
    transition: all var(--transition-normal);
}

.mini-pricing-card:hover {
    border-color: var(--primary-accent);
    transform: translateY(-5px);
}

/* ============================================================
   HOMEPAGE OPTIMIZATIONS
   ============================================================ */
.hero-title {
    font-size: 2.5rem !important;
    /* Smaller title */
    margin-bottom: 1rem !important;
    line-height: 1.2;
}

.pricing-card {
    padding: 1.5rem !important;
    /* Reduce height/padding */
}

.pricing-card .plan-name {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

.pricing-card .plan-price .price {
    font-size: 1.8rem;
}

.plan-features li {
    font-size: 0.9rem;
    margin-bottom: 0.4rem;
    /* Tighter list */
    white-space: nowrap;
    /* Keep on one line */
    overflow: hidden;
    text-overflow: ellipsis;
}

.pricing-section {
    padding: 40px 0;
    /* Reduce section vertical spacing */
}

.mini-pricing-card h4 {
    color: var(--text-muted);
    font-size: 1rem;
    margin-bottom: 10px;
}

.mini-pricing-card .price {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--text-color);
    margin-bottom: 15px;
}

.mini-pricing-card .price small {
    font-size: 0.9rem;
    font-weight: 400;
    color: var(--text-muted);
}

.mini-features {
    list-style: none;
    margin-bottom: 20px;
    padding: 0;
}

.mini-features li {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 8px;
}

/* --- Forms (Settings) --- */
.settings-form {
    padding: 10px;
}

.form-section h3 {
    margin-bottom: 20px;
    font-size: 1.1rem;
    color: var(--primary-accent);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
}

.form-control {
    width: 100%;
    padding: 12px 15px;
    background: rgba(0, 0, 0, 0.2);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-md);
    color: var(--text-color);
    transition: all var(--transition-fast);
}

.form-control:focus {
    outline: none;
    border-color: var(--primary-accent);
    background: rgba(0, 0, 0, 0.3);
}

.form-divider {
    height: 1px;
    background: var(--glass-border);
    margin: 30px 0;
}

/* --- Responsive --- */
@media (max-width: 992px) {
    .dashboard-layout {
        grid-template-columns: 1fr;
    }

    .dashboard-sidebar {
        position: relative;
        top: 0;
        margin-bottom: 30px;
    }

    .dashboard-nav {
        flex-direction: row;
        overflow-x: auto;
        white-space: nowrap;
    }

    .nav-item {
        flex: 0 0 auto;
    }
}

@media (max-width: 1024px) {
    .inbox-layout {
        grid-template-columns: 250px 1fr;
    }
}

@media (max-width: 768px) {
    .inbox-layout {
        grid-template-columns: 1fr;
        height: auto;
        display: block;
    }

    .inbox-sidebar {
        height: auto;
        margin-bottom: 20px;
    }

    .inbox-main {
        min-height: 500px;
    }
}

/* ============================================================
   DROPDOWN MENU
   ============================================================ */
.dropdown-menu {
    position: absolute;
    top: 100%;
    right: 0;
    margin-top: 10px;
    background: rgba(15, 23, 42, 0.95);
    /* High opacity dark background */
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    padding: 10px;
    min-width: 220px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4);
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all var(--transition-normal);
}

.dropdown-menu::before {
    content: '';
    position: absolute;
    top: -20px;
    left: 0;
    right: 0;
    height: 20px;
    background: transparent;
}

[data-theme="light"] .dropdown-menu {
    background: rgba(255, 255, 255, 0.95);
    /* High opacity light background */
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

.dropdown:hover .dropdown-menu,
.dropdown.active .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-header {
    padding: 10px 15px;
    border-bottom: 1px solid var(--glass-border);
    margin-bottom: 5px;
}

.user-name {
    display: block;
    font-weight: 600;
    color: var(--text-color);
    font-size: 0.95rem;
}

.user-email {
    display: block;
    font-size: 0.8rem;
    color: var(--text-muted);
}

.dropdown-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 15px;
    color: var(--text-muted);
    font-size: 0.9rem;
    border-radius: var(--radius-md);
    transition: all var(--transition-fast);
}

.dropdown-item:hover {
    background: var(--glass-bg);
    color: var(--primary-accent);
}

.dropdown-item i {
    width: 20px;
    text-align: center;
}


/* ============================================================
   CUSTOM DOMAIN DROPDOWN (Professional)
   ============================================================ */
.custom-dropdown-wrapper {
    position: relative;
    z-index: 100;
}

.custom-select {
    position: relative;
    width: 100%;
}

.select-trigger {
    width: 100%;
    padding: 12px 15px;
    background: rgba(0, 0, 0, 0.2);
    /* Darker background */
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-md);
    color: var(--text-color);
    font-size: 0.95rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all var(--transition-fast);
}

.select-trigger:hover {
    border-color: var(--primary-accent);
    background: rgba(0, 0, 0, 0.3);
}

.custom-select.active .select-trigger {
    border-color: var(--primary-accent);
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
    background: rgba(0, 0, 0, 0.4);
}

.custom-options {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(15, 23, 42, 0.95);
    /* High opacity */
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-top: none;
    border-bottom-left-radius: var(--radius-md);
    border-bottom-right-radius: var(--radius-md);
    overflow: hidden;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all var(--transition-normal);
    z-index: 1000;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
}

/* Invisible bridge */
.custom-options::before {
    content: '';
    position: absolute;
    top: -20px;
    left: 0;
    right: 0;
    height: 20px;
    background: transparent;
}

[data-theme="light"] .custom-options {
    background: rgba(255, 255, 255, 0.95);
}

.custom-select.active .custom-options {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.custom-option {
    padding: 12px 15px;
    cursor: pointer;
    transition: all var(--transition-fast);
    color: var(--text-muted);
    font-size: 0.9rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.03);
}

.custom-option:last-child {
    border-bottom: none;
}

.custom-option:hover {
    background: var(--glass-bg);
    color: var(--primary-accent);
    padding-left: 20px;
}

.custom-option.selected {
    background: rgba(56, 189, 248, 0.1);
    color: var(--primary-accent);
    font-weight: 600;
}

.custom-option i {
    font-size: 0.8rem;
}

/* ============================================================
   UI ENHANCEMENTS (Pulse, Dots, Compact Inputs)
   ============================================================ */
.refresh-spinner {
    color: #38BDF8 !important;
    /* Specific requested blue */
    animation: fa-spin 2s infinite linear, pulse-blue 2s infinite;
}

@keyframes pulse-blue {
    0% {
        text-shadow: 0 0 0 rgba(56, 189, 248, 0);
    }

    50% {
        text-shadow: 0 0 10px rgba(56, 189, 248, 0.5);
    }

    100% {
        text-shadow: 0 0 0 rgba(56, 189, 248, 0);
    }
}

.live-dot {
    display: inline-block;
    width: 10px;
    height: 10px;
    background-color: #ef4444;
    /* Red */
    border-radius: 50%;
    margin-right: 8px;
    box-shadow: 0 0 0 rgba(239, 68, 68, 0.4);
    animation: pulse-red 2s infinite;
}

@keyframes pulse-red {
    0% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.7);
    }

    70% {
        transform: scale(1);
        box-shadow: 0 0 0 10px rgba(239, 68, 68, 0);
    }

    100% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(239, 68, 68, 0);
    }
}

/* Compact Domain Selector */
.domain-selector select,
.domain-selector .select-trigger {
    padding: 8px 12px !important;
    /* Reduce padding */
    height: auto !important;
    min-height: 40px !important;
    /* Force smaller height */
}

/* ============================================================
   COMPREHENSIVE MOBILE RESPONSIVENESS
   ============================================================ */

/* --- Tablet & Small Screens (max-width: 768px) --- */
@media (max-width: 768px) {

    /* Hero Section */
    .hero-section {
        padding: 100px 15px 40px !important;
    }

    .hero-title {
        font-size: 1.8rem !important;
        line-height: 1.3;
    }

    .hero-subtitle {
        font-size: 0.95rem !important;
        margin-bottom: 20px;
    }

    /* Email Card */
    .email-card,
    .inbox-card {
        padding: 15px !important;
        margin: 0 10px;
    }

    .email-display {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }

    .email-text {
        font-size: 0.9rem !important;
        word-break: break-all;
    }

    .action-group {
        justify-content: center;
    }

    .action-btn {
        width: 40px;
        height: 40px;
    }

    /* Domain Selector */
    .domain-selector {
        flex-direction: column !important;
        gap: 8px !important;
    }

    .custom-dropdown-wrapper {
        width: 100% !important;
    }

    /* Stats Bar */
    .live-stats-bar {
        flex-direction: column;
        gap: 15px;
        padding: 15px;
    }

    .live-stat-value {
        font-size: 1.2rem;
    }

    .live-stat-label {
        font-size: 0.75rem;
    }

    /* Trust Badges */
    .trust-badges {
        flex-wrap: wrap;
        gap: 8px;
        justify-content: center;
    }

    .trust-badge {
        font-size: 0.75rem;
        padding: 6px 10px;
    }

    /* Features Grid */
    .grid-3,
    .grid-4 {
        grid-template-columns: 1fr !important;
        gap: 15px;
    }

    /* Pricing Cards */
    .pricing-grid,
    .pricing-grid-4 {
        grid-template-columns: 1fr !important;
        gap: 20px;
    }

    .pricing-card {
        padding: 20px !important;
    }

    .plan-features li {
        white-space: normal !important;
        font-size: 0.85rem;
    }

    /* Testimonials */
    .testimonials-grid {
        grid-template-columns: 1fr !important;
    }

    /* FAQ */
    .faq-question {
        font-size: 0.95rem;
        padding: 12px 15px;
    }

    .faq-answer {
        padding: 12px 15px;
        font-size: 0.9rem;
    }

    /* Section Titles */
    .section-title {
        font-size: 1.5rem !important;
    }

    .section-subtitle {
        font-size: 0.9rem !important;
    }

    /* Inbox Page */
    .inbox-layout {
        grid-template-columns: 1fr !important;
        height: auto !important;
    }

    .inbox-sidebar {
        display: none;
        /* Or collapse to a toggle */
    }

    .inbox-main {
        min-height: 60vh;
    }

    .inbox-header {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }

    /* CTA Section */
    .cta-card {
        padding: 25px 15px !important;
    }

    .cta-actions {
        flex-direction: column;
        gap: 10px;
    }

    .cta-actions .btn {
        width: 100%;
    }

    /* Footer */
    .footer-grid {
        grid-template-columns: 1fr !important;
        text-align: center;
    }

    .footer-links {
        justify-content: center;
    }

    /* Modals */
    .modal-content {
        width: 95% !important;
        max-height: 90vh;
        margin: 20px auto;
    }

    .modal-lg {
        max-width: 100% !important;
    }

    /* Buttons */
    .btn-lg {
        padding: 12px 20px;
        font-size: 0.95rem;
    }
}

/* --- Small Phones (max-width: 480px) --- */
@media (max-width: 480px) {
    .hero-title {
        font-size: 1.5rem !important;
    }

    .hero-subtitle {
        font-size: 0.85rem !important;
    }

    .email-text {
        font-size: 0.8rem !important;
    }

    .glass-card {
        padding: 15px !important;
        border-radius: 12px !important;
    }

    .section-title {
        font-size: 1.3rem !important;
    }

    .pricing-card .price {
        font-size: 1.5rem !important;
    }

    .pricing-card .plan-name {
        font-size: 1rem !important;
    }

    .action-btn {
        width: 35px;
        height: 35px;
        font-size: 0.9rem;
    }

    .container {
        padding: 0 10px;
    }
}

/* ============================================================
   MOBILE HEADER FIXES
   ============================================================ */
@media (max-width: 768px) {

    /* Header */
    .header {
        height: 60px !important;
        padding: 0 10px;
    }

    .header .container {
        padding: 0 10px;
    }

    /* Brand Logo */
    .brand-logo {
        font-size: 1.1rem !important;
        gap: 6px;
    }

    .brand-logo span {
        max-width: 100px;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    /* Nav Actions */
    .nav-actions {
        gap: 8px !important;
    }

    /* Hide auth buttons on mobile (use mobile menu instead) */
    .nav-actions>.btn-ghost,
    .nav-actions>.btn-primary {
        display: none !important;
    }

    /* Language Dropdown */
    .language-dropdown .dropdown-toggle {
        padding: 6px 10px !important;
        font-size: 0.85rem;
    }

    .lang-code {
        font-size: 0.75rem !important;
    }

    /* Theme Toggle - Circular */
    .theme-toggle {
        width: 36px !important;
        height: 36px !important;
        min-width: 36px;
        border-radius: 50% !important;
        background: var(--glass-bg) !important;
        border: 1px solid var(--glass-border) !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        padding: 0 !important;
    }

    .theme-toggle i {
        font-size: 1rem;
    }

    /* Mobile Menu Toggle */
    .mobile-menu-toggle {
        width: 36px !important;
        height: 36px !important;
        min-width: 36px;
        font-size: 1rem;
    }

    /* User Dropdown */
    .user-dropdown .dropdown-toggle {
        width: 32px !important;
        height: 32px !important;
    }

    .user-dropdown .dropdown-toggle img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }
}

/* ============================================================
   ENHANCED MESSAGE MODAL STYLES
   ============================================================ */
.msg-sender {
    display: flex;
    align-items: center;
    gap: 12px;
}

.sender-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-accent), var(--secondary-accent));
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.1rem;
}

.sender-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.sender-info strong {
    font-size: 1rem;
    color: var(--text-color);
}

.sender-email {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.message-content {
    line-height: 1.7;
    font-size: 0.95rem;
    color: var(--text-color);
    padding: 15px 0;
    border-bottom: 1px solid var(--glass-border);
    margin-bottom: 15px;
}

.message-content img {
    max-width: 100%;
    height: auto;
    border-radius: var(--radius-md);
    margin: 10px 0;
}

.attachments-section {
    margin-top: 20px;
    padding: 15px;
    background: var(--glass-bg);
    border-radius: var(--radius-lg);
    border: 1px solid var(--glass-border);
}

.attachments-section h4 {
    font-size: 0.95rem;
    color: var(--text-muted);
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.attachments-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.attachment-item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 15px;
    background: rgba(0, 0, 0, 0.2);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-md);
    color: var(--text-color);
    font-size: 0.85rem;
    transition: all var(--transition-fast);
    text-decoration: none;
}

.attachment-item:hover {
    background: var(--primary-accent);
    color: #fff;
    border-color: var(--primary-accent);
    transform: translateY(-2px);
}

.attachment-item i {
    font-size: 1.2rem;
    color: var(--primary-accent);
}

.attachment-item:hover i {
    color: #fff;
}

.attachment-item small {
    color: var(--text-muted);
    font-size: 0.75rem;
}

.attachment-item:hover small {
    color: rgba(255, 255, 255, 0.8);
}

.error-msg {
    color: var(--error-color);
    text-align: center;
    padding: 20px;
}

/* ============================================================
   OTP CODE EXTRACTION STYLES
   ============================================================ */
.otp-section {
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.15), rgba(168, 85, 247, 0.15));
    border: 1px solid rgba(99, 102, 241, 0.3);
    border-radius: var(--radius-lg);
    padding: 15px 20px;
    margin-bottom: 20px;
}

.otp-label {
    color: var(--primary-accent);
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.otp-codes {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.otp-code-item {
    display: flex;
    align-items: center;
    gap: 12px;
    background: var(--glass-bg);
    border-radius: var(--radius-md);
    padding: 10px 15px;
}

.otp-code {
    font-family: 'Courier New', monospace;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-color);
    letter-spacing: 3px;
    background: rgba(0, 0, 0, 0.2);
    padding: 8px 16px;
    border-radius: var(--radius-sm);
}

.btn-copy-code {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    background: var(--primary-accent);
    color: #fff;
    border: none;
    border-radius: var(--radius-full);
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    transition: all var(--transition-fast);
}

.btn-copy-code:hover {
    background: var(--secondary-accent);
    transform: translateY(-2px);
}

.btn-copy-code.copied {
    background: #10b981 !important;
}

/* ============================================================
   MOBILE CUSTOM NAME & FORWARDING SECTION
   ============================================================ */
@media (max-width: 768px) {

    /* Advanced Options Container */
    .advanced-options {
        padding: 15px 10px !important;
        margin-top: 15px !important;
    }

    /* Option Row - Stack vertically on mobile */
    .option-row {
        flex-direction: column !important;
        align-items: stretch !important;
        gap: 12px !important;
    }

    /* Checkbox Label */
    .option-row>label {
        justify-content: center;
        font-size: 0.95rem;
    }

    /* Custom Name Input Container */
    #custom-name-input,
    #forwarding-options {
        flex-direction: column !important;
        align-items: stretch !important;
        gap: 10px !important;
        width: 100%;
        padding: 12px;
        background: rgba(0, 0, 0, 0.15);
        border-radius: var(--radius-md);
    }

    /* Custom Name Input Row */
    #custom-name-input {
        display: none;
        /* Keep hidden by default */
    }

    #custom-name-input[style*="flex"] {
        display: flex !important;
    }

    /* Input with @ symbol row */
    #custom-name-input>input[type="text"],
    #forwarding-options>input[type="email"] {
        width: 100% !important;
        padding: 12px 16px !important;
        font-size: 1rem !important;
        text-align: center;
    }

    /* Domain display row - horizontal */
    #custom-name-input>span {
        text-align: center;
        display: block;
    }

    #custom-domain-display {
        font-weight: 600;
        color: var(--primary-accent);
    }

    /* Set Button - Full width on mobile */
    .btn-set-email {
        width: 100% !important;
        justify-content: center !important;
        padding: 12px 20px !important;
        font-size: 1rem !important;
    }

    /* Forward Duration Select */
    #forward-duration {
        width: 100% !important;
        padding: 12px 16px !important;
    }

    /* Live Inbox Header */
    .inbox-header {
        flex-direction: column !important;
        gap: 10px !important;
        text-align: center;
    }

    .inbox-header h3 {
        font-size: 0.9rem !important;
    }

    /* Live Inbox indicators */
    .inbox-header .live-dot,
    .inbox-header .refresh-spinner {
        margin: 0 auto;
    }
}

/* Extra small screens */
@media (max-width: 400px) {
    .advanced-options {
        padding: 10px 5px !important;
    }

    #custom-name-input>input[type="text"],
    #forwarding-options>input[type="email"] {
        padding: 10px 12px !important;
        font-size: 0.9rem !important;
    }

    .btn-set-email {
        padding: 10px 16px !important;
        font-size: 0.9rem !important;
    }
}

/* ============================================================
   ADVERTISEMENT STYLES
   ============================================================ */

/* Ad Container */
.ad-container {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 30px auto;
    max-width: 100%;
    overflow: hidden;
}

.ad-container.ad-inbox_bottom {
    margin-top: 20px;
    margin-bottom: 10px;
}

.ad-container.ad-features_pricing {
    margin: 40px auto;
}

.ad-container.ad-faq_sidebar {
    position: sticky;
    top: 100px;
}

.ad-container.ad-pricing_cards {
    margin: 0;
}

.ad-container.ad-before_footer {
    margin: 50px auto 30px;
}

/* Ad Placeholder (Preview Mode) */
.ad-placeholder-wrapper {
    display: flex;
    justify-content: center;
    margin: 30px auto;
}

.ad-placeholder {
    display: flex;
    justify-content: center;
    align-items: center;
    background: linear-gradient(135deg, rgba(56, 189, 248, 0.1) 0%, rgba(139, 92, 246, 0.1) 100%);
    border: 2px dashed rgba(56, 189, 248, 0.5);
    border-radius: var(--radius-lg);
    position: relative;
    overflow: hidden;
}

.ad-placeholder::before {
    content: '';
    position: absolute;
    inset: 0;
    background: repeating-linear-gradient(45deg,
            transparent,
            transparent 10px,
            rgba(56, 189, 248, 0.03) 10px,
            rgba(56, 189, 248, 0.03) 20px);
}

.ad-placeholder-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: var(--primary-accent);
    z-index: 1;
}

.ad-placeholder-content i {
    font-size: 2rem;
    opacity: 0.7;
}

.ad-placeholder .ad-label {
    font-size: 1.2rem;
    font-weight: 700;
    letter-spacing: 2px;
    color: var(--primary-accent);
}

.ad-placeholder .ad-size {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-muted);
    background: rgba(0, 0, 0, 0.2);
    padding: 4px 12px;
    border-radius: var(--radius-full);
}

.ad-placeholder .ad-slot-name {
    font-size: 0.75rem;
    color: var(--text-muted);
    opacity: 0.7;
    font-family: monospace;
}

/* Mobile Ad Responsiveness */
@media (max-width: 768px) {

    .ad-container,
    .ad-placeholder-wrapper {
        margin: 20px auto;
    }

    .ad-placeholder {
        max-width: 100% !important;
        height: auto !important;
        min-height: 100px;
        aspect-ratio: auto;
        padding: 20px;
    }

    .ad-placeholder-content i {
        font-size: 1.5rem;
    }

    .ad-placeholder .ad-label {
        font-size: 1rem;
    }

    .ad-placeholder .ad-size {
        font-size: 0.8rem;
    }
}

/* THEME TOGGLE */
.theme-toggle {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid var(--glass-border);
    background: transparent;
    color: var(--text-color);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    margin-left: 10px;
}

.theme-toggle:hover {
    background: var(--glass-bg);
    border-color: var(--primary-accent);
    color: var(--primary-accent);
    transform: rotate(15deg);
}

[data-theme='light'] .theme-toggle {
    background: rgba(0, 0, 0, 0.03);
    border-color: rgba(0, 0, 0, 0.1);
    color: var(--text-muted);
}

[data-theme='light'] .theme-toggle:hover {
    background: rgba(0, 0, 0, 0.05);
    color: var(--primary-accent);
}

/* MOBILE & MICRO-INTERACTIONS */
@media (max-width: 768px) {
    .btn {
        min-height: 48px;
        /* Thumb-friendly size */
        padding: 12px 20px;
        font-size: 1rem;
    }

    .nav-links {
        gap: 15px;
    }
}

@keyframes pop {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.2);
    }

    100% {
        transform: scale(1);
    }
}

.fa-check,
.btn-check i {
    animation: pop 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

/* ============================================================
   PRO INBOX MESSAGE ITEM (From inbox.js)
   ============================================================ */
.pro-message-item {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-md);
    padding: 15px;
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 8px;
    cursor: pointer;
    transition: all var(--transition-fast);
    position: relative;
    overflow: hidden;
}

.pro-message-item:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: var(--primary-accent);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.pro-message-item.unread {
    background: rgba(56, 189, 248, 0.08);
    /* Primary accent tint */
    border-left: 3px solid var(--primary-accent);
}

.pro-message-item.unread .msg-subject {
    font-weight: 700;
    color: var(--primary-accent);
}

.pro-message-item.unread .msg-sender {
    font-weight: 700;
    color: var(--text-color);
}

/* Avatar */
.msg-avatar {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-weight: 700;
    font-size: 1.2rem;
    flex-shrink: 0;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

/* Content Column */
/* ============================================================
   ENHANCED UI/UX STYLES - Hover Effects, Mobile Thumb Zone, Light Mode
   ============================================================ */

/* --- Enhanced Hover Effects for All Buttons --- */
.btn,
.action-btn,
.pro-btn-copy,
.pro-link-btn,
.page-btn,
.btn-set-email {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: transform, box-shadow;
}

.btn:hover,
.action-btn:hover,
.pro-link-btn:hover {
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 8px 25px rgba(99, 102, 241, 0.3);
}

.btn-primary:hover,
.pro-btn-copy:hover {
    transform: translateY(-2px) scale(1.03);
    box-shadow: 0 10px 30px rgba(99, 102, 241, 0.4);
    filter: brightness(1.1);
}

.btn-ghost:hover,
.btn-outline:hover {
    transform: translateY(-1px) scale(1.02);
    box-shadow: 0 6px 20px rgba(99, 102, 241, 0.2);
}

/* Feature cards hover enhancement */
.feature-card:hover,
.pricing-card:hover,
.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
    border-color: var(--primary-accent);
}

/* --- Skeleton Loader Animation Styles --- */
.skeleton {
    background: linear-gradient(90deg,
            rgba(255, 255, 255, 0.05) 0%,
            rgba(255, 255, 255, 0.1) 50%,
            rgba(255, 255, 255, 0.05) 100%);
    background-size: 200% 100%;
    animation: skeleton-shimmer 1.5s ease-in-out infinite;
    border-radius: 4px;
}

.skeleton-text {
    height: 14px;
    margin-bottom: 8px;
}

.skeleton-text.short {
    width: 40%;
}

.skeleton-text.long {
    width: 80%;
}

.skeleton-item {
    opacity: 0.7;
}

@keyframes skeleton-shimmer {
    0% {
        background-position: -200% 0;
    }

    100% {
        background-position: 200% 0;
    }
}

/* Light mode skeleton */
[data-theme="light"] .skeleton {
    background: linear-gradient(90deg,
            rgba(0, 0, 0, 0.06) 0%,
            rgba(0, 0, 0, 0.1) 50%,
            rgba(0, 0, 0, 0.06) 100%);
    background-size: 200% 100%;
}

/* --- Mobile Thumb Zone Optimization --- */
@media (max-width: 768px) {

    /* Fixed Action Bar at Bottom for Key Actions */
    .pro-input-group {
        position: relative;
    }

    /* Make Copy and Change buttons fixed at bottom on mobile for thumb access */
    .mobile-thumb-actions {
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        background: var(--glass-bg);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        border-top: 1px solid var(--glass-border);
        padding: 12px 16px;
        display: flex;
        gap: 12px;
        z-index: 100;
        box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.15);
    }

    .mobile-thumb-actions .btn {
        flex: 1;
        min-height: 50px;
        justify-content: center;
        font-size: 1rem;
        font-weight: 600;
    }

    /* Add bottom padding to main content when thumb actions are visible */
    body.has-thumb-actions {
        padding-bottom: 80px;
    }

    /* Ensure important buttons are thumb-friendly */
    .pro-btn-copy,
    .pro-link-btn,
    .btn-set-email {
        min-height: 50px;
        min-width: 50px;
        font-size: 1rem;
    }
}

/* --- Light Mode Text Improvements (Eye-Friendly) --- */
[data-theme="light"] {
    /* Use dark gray instead of pure black for comfortable reading */
    --text-color: #334155;
    /* Slate-700 - softer than pure black */
    --text-muted: #64748b;
    /* Slate-500 - comfortable secondary text */
    --bg-color: #f8fafc;
    /* Very light gray background */
}

[data-theme="light"] body {
    color: #334155;
}

/* Hero description - more visible in light mode */
[data-theme="light"] .hero-description {
    color: #475569 !important;
    /* Darker gray - Slate-600 */
}

[data-theme="light"] h1,
[data-theme="light"] h2,
[data-theme="light"] h3,
[data-theme="light"] h4,
[data-theme="light"] h5,
[data-theme="light"] h6 {
    color: #1e293b;
    /* Slightly darker for headings but not pure black */
}

[data-theme="light"] p,
[data-theme="light"] span,
[data-theme="light"] li,
[data-theme="light"] td {
    color: #334155;
}

[data-theme="light"] .text-muted,
[data-theme="light"] .hero-subtitle,
[data-theme="light"] .section-subtitle {
    color: #64748b !important;
}

/* Light mode card text */
[data-theme="light"] .feature-card p,
[data-theme="light"] .pricing-card .plan-features li,
[data-theme="light"] .testimonial-text {
    color: #475569;
}

/* Light mode input text */
[data-theme="light"] input,
[data-theme="light"] textarea,
[data-theme="light"] select {
    color: #334155;
}

[data-theme="light"] input::placeholder,
[data-theme="light"] textarea::placeholder {
    color: #94a3b8;
}

/* Light mode navigation */
[data-theme="light"] .nav-links a {
    color: #475569;
}

[data-theme="light"] .nav-links a:hover {
    color: var(--primary-accent);
}

/* Light mode footer */
[data-theme="light"] .footer {
    color: #475569;
}

[data-theme="light"] .footer a {
    color: #64748b;
}

[data-theme="light"] .footer a:hover {
    color: var(--primary-accent);
}

/* --- Consistent Brand Gradients --- */
.brand-gradient {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.brand-gradient-text {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Ensure FAQ and Pricing pages use consistent gradients */
.faq-hero,
.pricing-hero {
    background: linear-gradient(180deg,
            rgba(99, 102, 241, 0.1) 0%,
            transparent 100%);
}

.faq-hero .page-title,
.pricing-hero .page-title {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ============================================================
   END OF UI/UX ENHANCEMENTS
   ============================================================ */

/* Content Column */
.msg-content {
    flex: 1;
    min-width: 0;
    /* Enable truncation */
    display: flex;
    flex-direction: column;
    gap: 4px;
}

/* Header Row: Sender + Time */
.msg-header-row {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 10px;
}

.msg-sender-info {
    display: flex;
    align-items: baseline;
    gap: 8px;
    overflow: hidden;
}

.msg-sender {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-color);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.msg-sender-email {
    font-size: 0.8rem;
    color: var(--text-muted);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.msg-time {
    font-size: 0.75rem;
    color: var(--text-muted);
    white-space: nowrap;
    flex-shrink: 0;
}

/* Body Row */
.msg-body-row {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.msg-subject {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-color);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 1.4;
}

.msg-snippet {
    font-size: 0.85rem;
    color: var(--text-muted);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    opacity: 0.8;
}

/* Mobile Adjustments */
@media (max-width: 576px) {
    .msg-sender-email {
        display: none;
    }

    .msg-avatar {
        width: 38px;
        height: 38px;
        font-size: 1rem;
    }

    .pro-message-item {
        padding: 12px;
        gap: 12px;
    }
}