/* NGEmail - Premium Email Marketing SaaS Theme */

:root {
    --primary: #6366f1;
    --primary-light: #818cf8;
    --primary-dark: #4f46e5;
    --primary-soft: rgba(99, 102, 241, 0.08);
    --secondary: #ec4899;
    --secondary-soft: rgba(236, 72, 153, 0.08);
    --accent: #06b6d4;
    --success: #10b981;
    --warning: #f59e0b;
    --danger: #ef4444;
    --dark: #1e1b4b;
    --text: #374151;
    --text-muted: #9ca3af;
    --text-light: #d1d5db;
    --bg: #faf9ff;
    --bg-card: #ffffff;
    --bg-sidebar: #ffffff;
    --border: #e5e7eb;
    --border-light: #f3f4f6;
    --shadow-sm: 0 1px 3px rgba(99, 102, 241, 0.06), 0 1px 2px rgba(0, 0, 0, 0.04);
    --shadow: 0 4px 24px rgba(99, 102, 241, 0.08), 0 2px 8px rgba(0, 0, 0, 0.04);
    --shadow-lg: 0 12px 48px rgba(99, 102, 241, 0.12), 0 4px 16px rgba(0, 0, 0, 0.06);
    --radius: 16px;
    --radius-sm: 10px;
    --radius-lg: 24px;
    --sidebar-width: 260px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

/* ===== LAYOUT (legacy — superseded by app-shell.css when using .wrapper) ===== */
.app-wrapper {
    display: flex;
    min-height: 100vh;
}

.sidebar {
    width: var(--sidebar-width);
    background: var(--bg-sidebar);
    border-right: 1px solid var(--border-light);
    position: fixed;
    top: 0;
    left: 0;
    height: 100vh;
    z-index: 1000;
    display: flex;
    flex-direction: column;
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
}

.sidebar-brand {
    padding: 1.5rem 1.25rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
    border-bottom: 1px solid var(--border-light);
}

.sidebar-brand .brand-icon {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
}

.sidebar-brand .brand-text {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--dark);
    letter-spacing: -0.02em;
}

.sidebar-brand {
    display: inline-flex;
    align-items: center;
    gap: 0.65rem;
    text-decoration: none;
}

.landing-brand__logo {
    display: block;
    max-height: 40px;
    width: auto;
    max-width: min(220px, 55vw);
    object-fit: contain;
}

.landing-brand__logo--footer {
    max-height: 34px;
    filter: brightness(0) invert(1);
}

.landing-footer .landing-brand__icon {
    filter: brightness(0) invert(1);
}

.landing-brand__icon {
    border-radius: 10px;
    object-fit: contain;
    flex-shrink: 0;
}

/* ===== LANDING FOOTER ===== */
.landing-footer {
    position: relative;
    background: linear-gradient(180deg, #1e1b4b 0%, #151338 100%);
    color: rgba(248, 250, 252, 0.88);
    overflow: hidden;
}

.landing-footer__glow {
    position: absolute;
    top: -120px;
    right: -80px;
    width: 320px;
    height: 320px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.22) 0%, transparent 70%);
    pointer-events: none;
}

.landing-footer__main {
    position: relative;
    z-index: 1;
    padding: 4rem 0 3rem;
}

.landing-footer__brand {
    margin-bottom: 1.15rem;
}

.landing-footer__brand-link .brand-text {
    color: #fff;
}

.landing-footer__about {
    color: rgba(226, 232, 240, 0.72);
    font-size: 0.92rem;
    line-height: 1.7;
    max-width: 340px;
    margin-bottom: 1.35rem;
}

.landing-footer__social {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
}

.landing-footer__social-link {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: rgba(248, 250, 252, 0.88);
    text-decoration: none;
    transition: var(--transition);
    font-size: 1.05rem;
}

.landing-footer__social-link:hover {
    background: rgba(99, 102, 241, 0.25);
    border-color: rgba(129, 140, 248, 0.45);
    color: #fff;
    transform: translateY(-2px);
}

.landing-footer__heading {
    color: #fff;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 1.1rem;
}

.landing-footer__links {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
}

.landing-footer__links a {
    color: rgba(226, 232, 240, 0.72);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.2s ease;
}

.landing-footer__links a:hover {
    color: #c7d2fe;
}

.landing-footer__contact {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
}

.landing-footer__contact li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    font-size: 0.9rem;
    line-height: 1.55;
    color: rgba(226, 232, 240, 0.78);
}

.landing-footer__contact i {
    color: #818cf8;
    font-size: 1.05rem;
    margin-top: 0.1rem;
    flex-shrink: 0;
}

.landing-footer__contact a {
    color: rgba(226, 232, 240, 0.88);
    text-decoration: none;
    transition: color 0.2s ease;
}

.landing-footer__contact a:hover {
    color: #fff;
}

.landing-footer__contact-empty {
    opacity: 0.65;
    font-size: 0.85rem;
}

.landing-footer__bottom {
    position: relative;
    z-index: 1;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding: 1.25rem 0;
}

.landing-footer__bottom-inner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem 1.5rem;
}

.landing-footer__copy {
    color: rgba(148, 163, 184, 0.85);
    font-size: 0.84rem;
}

.landing-footer__bottom-links {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.65rem;
    font-size: 0.84rem;
}

.landing-footer__bottom-links a {
    color: rgba(203, 213, 225, 0.85);
    text-decoration: none;
    transition: color 0.2s ease;
}

.landing-footer__bottom-links a:hover {
    color: #fff;
}

.landing-footer__bottom-links span {
    color: rgba(148, 163, 184, 0.45);
}

@media (max-width: 767.98px) {
    .landing-footer__main {
        padding: 3rem 0 2rem;
    }

    .landing-footer__bottom-inner {
        flex-direction: column;
        align-items: flex-start;
    }
}

.sidebar-nav {
    padding: 1rem 0.75rem;
    flex: 1;
    overflow-y: auto;
}

.nav-section-title {
    font-size: 0.65rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--text-muted);
    padding: 0.75rem 0.75rem 0.5rem;
}

.nav-link {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.65rem 0.75rem;
    border-radius: var(--radius-sm);
    color: var(--text);
    text-decoration: none;
    font-size: 0.875rem;
    font-weight: 500;
    transition: var(--transition);
    margin-bottom: 2px;
}

.nav-link:hover {
    background: var(--primary-soft);
    color: var(--primary);
}

.nav-link.active {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: white;
    box-shadow: 0 4px 12px rgba(99, 102, 241, 0.3);
}

.nav-link i {
    font-size: 1.1rem;
    width: 20px;
    text-align: center;
}

.sidebar-footer {
    padding: 1rem;
    border-top: 1px solid var(--border-light);
}

.user-card {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem;
    border-radius: var(--radius-sm);
    background: var(--primary-soft);
}

.user-avatar {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 600;
    font-size: 0.85rem;
}

.user-info .user-name {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--dark);
}

.user-info .user-plan {
    font-size: 0.7rem;
    color: var(--primary);
    font-weight: 500;
    text-transform: capitalize;
}

.main-content {
    margin-left: var(--sidebar-width);
    flex: 1;
    min-height: 100vh;
}

.topbar {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-light);
    padding: 1rem 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: sticky;
    top: 0;
    z-index: 100;
}

.page-content {
    padding: 2rem;
}

.page-header {
    margin-bottom: 2rem;
}

.page-header h1 {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--dark);
    letter-spacing: -0.02em;
    margin-bottom: 0.25rem;
}

.page-header p {
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* ===== CARDS ===== */
.card {
    background: var(--bg-card);
    border: 1px solid var(--border-light);
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.card:hover {
    box-shadow: var(--shadow);
}

.card-body {
    padding: 1.5rem;
}

.stat-card {
    padding: 1.5rem;
    position: relative;
    overflow: hidden;
}

.stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 100px;
    height: 100px;
    border-radius: 50%;
    opacity: 0.06;
}

.stat-card.primary::before { background: var(--primary); }
.stat-card.success::before { background: var(--success); }
.stat-card.warning::before { background: var(--warning); }
.stat-card.danger::before { background: var(--secondary); }

.stat-icon {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    margin-bottom: 1rem;
}

.stat-icon.primary { background: var(--primary-soft); color: var(--primary); }
.stat-icon.success { background: rgba(16, 185, 129, 0.08); color: var(--success); }
.stat-icon.warning { background: rgba(245, 158, 11, 0.08); color: var(--warning); }
.stat-icon.danger { background: var(--secondary-soft); color: var(--secondary); }

.stat-value {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--dark);
    letter-spacing: -0.02em;
    line-height: 1;
    margin-bottom: 0.25rem;
}

.stat-label {
    font-size: 0.8rem;
    color: var(--text-muted);
    font-weight: 500;
}

/* ===== BUTTONS ===== */
.btn-primary-custom {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: white;
    border: none;
    padding: 0.6rem 1.25rem;
    border-radius: var(--radius-sm);
    font-weight: 600;
    font-size: 0.875rem;
    transition: var(--transition);
    box-shadow: 0 4px 12px rgba(99, 102, 241, 0.25);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-primary-custom:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(99, 102, 241, 0.35);
    color: white;
}

.btn-outline-custom {
    background: transparent;
    color: var(--primary);
    border: 1.5px solid var(--border);
    padding: 0.6rem 1.25rem;
    border-radius: var(--radius-sm);
    font-weight: 600;
    font-size: 0.875rem;
    transition: var(--transition);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-outline-custom:hover {
    background: var(--primary-soft);
    border-color: var(--primary);
    color: var(--primary);
}

.form-control-custom--readonly,
.form-control-custom[readonly] {
    background: var(--primary-soft);
    color: var(--dark);
    cursor: default;
}

.btn-outline-custom.btn-sm,
.btn-primary-custom.btn-sm,
.btn-danger-custom.btn-sm {
    padding: 0.35rem 0.75rem;
    font-size: 0.75rem;
    min-height: 32px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.35rem;
    line-height: 1;
    white-space: nowrap;
}

.btn-danger-custom {
    background: transparent;
    color: var(--danger);
    border: 1.5px solid rgba(239, 68, 68, 0.2);
    padding: 0.4rem 0.75rem;
    border-radius: 8px;
    font-size: 0.8rem;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.btn-danger-custom:hover {
    background: rgba(239, 68, 68, 0.08);
}

/* ===== TABLES ===== */
.table-custom {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
}

.table-custom thead th {
    background: var(--bg);
    padding: 0.75rem 1rem;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-muted);
    border-bottom: 1px solid var(--border-light);
}

.table-custom tbody td {
    padding: 1rem;
    font-size: 0.875rem;
    border-bottom: 1px solid var(--border-light);
    vertical-align: middle;
}

.table-custom tbody tr {
    transition: var(--transition);
}

.table-custom tbody tr:hover {
    background: var(--primary-soft);
}

/* ===== BADGES ===== */
.badge-status {
    padding: 0.3rem 0.75rem;
    border-radius: 20px;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: capitalize;
}

.badge-draft { background: #f3f4f6; color: #6b7280; }
.badge-sent { background: rgba(16, 185, 129, 0.1); color: var(--success); }
.badge-scheduled { background: rgba(99, 102, 241, 0.1); color: var(--primary); }
.badge-sending { background: rgba(245, 158, 11, 0.1); color: var(--warning); }
.badge-active { background: rgba(16, 185, 129, 0.1); color: var(--success); }
.badge-unsubscribed { background: rgba(107, 114, 128, 0.1); color: #6b7280; }
.badge-bounced { background: rgba(239, 68, 68, 0.1); color: var(--danger); }

/* ===== FORMS ===== */
.form-control-custom {
    border: 1.5px solid var(--border);
    border-radius: var(--radius-sm);
    padding: 0.65rem 1rem;
    font-size: 0.875rem;
    transition: var(--transition);
    background: white;
    width: 100%;
}

.form-control-custom:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.12);
    outline: none;
}

.input-group > .form-control-custom {
    flex: 1 1 auto;
    width: 1%;
    min-width: 0;
}

.input-group > .form-control-custom:not(:last-child) {
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
    border-right: none;
}

.input-group > .copy-btn {
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
    flex-shrink: 0;
    padding: 0.65rem 0.85rem;
    align-self: stretch;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.form-label-custom {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--dark);
    margin-bottom: 0.4rem;
    display: block;
}

/* ===== ALERTS ===== */
.alert-custom {
    padding: 0.85rem 1.25rem;
    border-radius: var(--radius-sm);
    font-size: 0.875rem;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.alert-success { background: rgba(16, 185, 129, 0.08); color: #059669; border: 1px solid rgba(16, 185, 129, 0.15); }
.alert-error { background: rgba(239, 68, 68, 0.08); color: #dc2626; border: 1px solid rgba(239, 68, 68, 0.15); }

.ng-key-reveal {
    padding: 0.85rem 1.25rem;
    border-radius: var(--radius-sm);
    font-size: 0.875rem;
    display: flex;
    align-items: flex-start;
    gap: 0.65rem;
    background: rgba(16, 185, 129, 0.08);
    color: #059669;
    border: 1px solid rgba(16, 185, 129, 0.15);
}

.ng-key-reveal code {
    background: #fff;
    word-break: break-all;
}

.lobibox-notify-wrapper {
    z-index: 9999;
}

/* ===== LANDING PAGE ===== */
.landing-nav {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border-light);
    padding: 1rem 0;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
}

.hero-section {
    padding: 8rem 0 6rem;
    background: linear-gradient(180deg, #faf9ff 0%, #f0edff 50%, #faf9ff 100%);
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.08) 0%, transparent 70%);
    border-radius: 50%;
}

.hero-section::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -10%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(236, 72, 153, 0.06) 0%, transparent 70%);
    border-radius: 50%;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--dark);
    letter-spacing: -0.03em;
    line-height: 1.1;
    margin-bottom: 1.5rem;
}

.hero-title .gradient-text {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.15rem;
    color: var(--text-muted);
    max-width: 540px;
    line-height: 1.7;
    margin-bottom: 2rem;
}

.feature-card {
    padding: 2rem;
    border-radius: var(--radius);
    background: white;
    border: 1px solid var(--border-light);
    transition: var(--transition);
    height: 100%;
}

.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(99, 102, 241, 0.15);
}

.feature-icon {
    width: 56px;
    height: 56px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 1.25rem;
}

.pricing-card {
    padding: 2.5rem 2rem;
    border-radius: var(--radius-lg);
    background: white;
    border: 1.5px solid var(--border-light);
    transition: var(--transition);
    height: 100%;
    position: relative;
}

.pricing-card.featured {
    border-color: var(--primary);
    box-shadow: var(--shadow-lg);
    transform: scale(1.03);
}

.pricing-card.featured::before {
    content: 'Popular';
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white;
    padding: 0.25rem 1rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
}

.pricing-price {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--dark);
    letter-spacing: -0.02em;
}

.pricing-price span {
    font-size: 1rem;
    font-weight: 500;
    color: var(--text-muted);
}

.pricing-carousel {
    overflow: hidden;
    width: 100%;
    padding: 1rem 0 2rem;
    mask-image: linear-gradient(to right, transparent, #000 5%, #000 95%, transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, #000 5%, #000 95%, transparent);
}

.pricing-carousel__track {
    display: flex;
    gap: 1.5rem;
    width: max-content;
    animation: pricing-scroll 40s linear infinite;
    will-change: transform;
}

.pricing-carousel:hover .pricing-carousel__track {
    animation-play-state: paused;
}

.pricing-carousel__slide {
    flex: 0 0 320px;
    width: 320px;
    max-width: 85vw;
}

@keyframes pricing-scroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

@media (prefers-reduced-motion: reduce) {
    .pricing-carousel__track {
        animation: none;
        flex-wrap: wrap;
        justify-content: center;
        width: 100%;
        max-width: 960px;
        margin: 0 auto;
    }

    .pricing-carousel {
        mask-image: none;
        -webkit-mask-image: none;
    }
}

/* ===== AUTH PAGES ===== */
.auth-wrapper {
    min-height: 100vh;
    display: flex;
    background: linear-gradient(135deg, #faf9ff 0%, #ede9fe 50%, #fce7f3 100%);
}

.auth-left {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    position: relative;
    overflow: hidden;
}

.auth-left::before {
    content: '';
    position: absolute;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    top: -100px;
    right: -100px;
}

.auth-card {
    width: 100%;
    max-width: 420px;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(20px);
    border-radius: var(--radius-lg);
    padding: 2.5rem;
    box-shadow: var(--shadow-lg);
    border: 1px solid rgba(255, 255, 255, 0.5);
    position: relative;
    z-index: 1;
}

.auth-card .brand-icon--img {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    object-fit: contain;
    display: block;
    background: #fff;
    border: 1px solid var(--border-light);
    padding: 4px;
}

.auth-password-field {
    position: relative;
}

.auth-password-field .form-control-custom {
    padding-right: 2.75rem;
}

.auth-password-toggle {
    position: absolute;
    top: 50%;
    right: 0.65rem;
    transform: translateY(-50%);
    border: 0;
    background: transparent;
    color: var(--text-muted);
    padding: 0.25rem;
    line-height: 1;
    cursor: pointer;
}

.auth-password-toggle:hover {
    color: var(--primary);
}

.auth-verify-resend {
    padding: 0.85rem 1rem;
    border-radius: var(--radius-sm);
    background: var(--primary-soft);
    border: 1px solid rgba(99, 102, 241, 0.15);
}

.auth-login-options {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.auth-remember {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    margin: 0;
    font-size: 0.875rem;
    color: var(--text-muted);
    cursor: pointer;
    user-select: none;
}

.auth-remember .form-check-input {
    margin: 0;
    cursor: pointer;
}

.auth-forgot-link {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--primary);
    text-decoration: none;
}

.auth-forgot-link:hover {
    text-decoration: underline;
}

.auth-right {
    flex: 1;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 50%, var(--secondary) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 3rem;
    position: relative;
    overflow: hidden;
}

.auth-right::before {
    content: '';
    position: absolute;
    width: 300px;
    height: 300px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
    top: -50px;
    right: -50px;
}

.auth-right-content {
    color: white;
    position: relative;
    z-index: 1;
    max-width: 400px;
}

.auth-right-content h2 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
}

.auth-right-content p {
    opacity: 0.85;
    line-height: 1.7;
    font-size: 0.95rem;
}

/* ===== EMPTY STATE ===== */
.empty-state {
    text-align: center;
    padding: 3rem 1.5rem;
}

.empty-state > i,
.empty-state__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    color: var(--text-light);
    margin-bottom: 1rem;
    line-height: 1;
}

.empty-state__icon i {
    font-size: inherit;
    color: inherit;
    margin-bottom: 0;
}

.empty-state .btn i {
    font-size: 1em;
    color: currentColor;
    margin-bottom: 0;
}

.empty-state h3 {
    font-size: 1.1rem;
    color: var(--dark);
    margin-bottom: 0.5rem;
}

.empty-state p {
    color: var(--text-muted);
    font-size: 0.875rem;
    margin-bottom: 1.25rem;
    max-width: 28rem;
    margin-left: auto;
    margin-right: auto;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 991.98px) {
    .sidebar {
        transform: translateX(-100%);
    }

    .sidebar.show {
        transform: translateX(0);
    }

    .main-content {
        margin-left: 0;
    }

    .auth-right {
        display: none;
    }

    .hero-title {
        font-size: 2.5rem;
    }
}

@media (max-width: 767.98px) {
    .page-content {
        padding: 1rem;
    }

    .topbar {
        padding: 0.75rem 1rem;
    }

    .hero-title {
        font-size: 2rem;
    }
}

/* ===== SCROLLBAR ===== */
::-webkit-scrollbar {
    width: 6px;
}

::-webkit-scrollbar-track {
    background: transparent;
}

::-webkit-scrollbar-thumb {
    background: var(--border);
    border-radius: 3px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--text-muted);
}
