.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(15, 23, 42, 0.55);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    z-index: 9999;
}

.modal-content {
    background: white;
    border-radius: 16px;
    padding: 32px;
    max-width: 420px;
    width: 100%;
    box-shadow: 0 20px 60px rgba(15, 23, 42, 0.25);
    position: relative;
    text-align: center;
}

.modal-content h3 {
    font-size: 22px;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 16px;
}

.modal-content p {
    font-size: 14px;
    color: #475569;
    margin-bottom: 24px;
    line-height: 1.6;
}

.modal-actions {
    display: flex;
    gap: 12px;
    justify-content: center;
}

.modal-btn,
.modal-btn-primary {
    padding: 10px 18px;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 600;
    border: none;
    cursor: pointer;
}

.modal-btn {
    background: #f1f5f9;
    color: #1e293b;
}

.modal-btn:hover {
    background: #e2e8f0;
}

.modal-btn-primary {
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
    color: white;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.modal-btn-primary:hover {
    opacity: 0.9;
}

.modal-close {
    position: absolute;
    top: 12px;
    right: 12px;
    background: transparent;
    border: none;
    font-size: 24px;
    color: #94a3b8;
    cursor: pointer;
}

.modal-close:hover {
    color: #1e293b;
}

.date-filter-modern {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 20px;
    padding: 18px 20px;
    border-radius: 16px;
    border: 1px solid rgba(148, 163, 184, 0.38);
    background: linear-gradient(135deg, rgba(241, 245, 249, 0.85) 0%, rgba(226, 232, 240, 0.85) 100%);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.6), 0 12px 32px rgba(148, 163, 184, 0.25);
    align-items: stretch;
}

.date-field {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.date-field-wide {
    flex: 1 1 260px;
    min-width: 260px;
}

.date-field label {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
    color: #0f172a;
    font-size: 14px;
    letter-spacing: 0.01em;
}

.field-label-icon {
    display: inline-flex;
    width: 32px;
    height: 32px;
    border-radius: 10px;
    justify-content: center;
    align-items: center;
    background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
    color: white;
    font-size: 14px;
    box-shadow: 0 6px 14px rgba(99, 102, 241, 0.35);
}

.field-input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.field-input-wrapper input[type="text"] {
    width: 100%;
    border: 1px solid rgba(99, 102, 241, 0.25);
    border-radius: 12px;
    padding: 12px 48px 12px 14px;
    font-size: 14px;
    background: white;
    color: #0f172a;
    font-weight: 600;
    letter-spacing: 0.01em;
    box-shadow: 0 6px 18px rgba(99, 102, 241, 0.1);
    transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s;
}

.field-input-wrapper input[type="text"]:focus {
    border-color: #6366f1;
    outline: none;
    box-shadow: 0 12px 28px rgba(99, 102, 241, 0.22);
    transform: translateY(-1px);
}

.field-input-wrapper input[type="text"]::placeholder {
    color: #94a3b8;
    font-weight: 500;
}

.field-clear-btn {
    position: absolute;
    right: 10px;
    background: rgba(99, 102, 241, 0.12);
    border: none;
    color: #4338ca;
    cursor: pointer;
    font-size: 13px;
    padding: 6px;
    border-radius: 8px;
    transition: background 0.2s, color 0.2s, transform 0.2s;
}

.field-clear-btn:hover {
    background: rgba(99, 102, 241, 0.18);
    color: #1d4ed8;
    transform: scale(1.05);
}

.date-field-actions {
    display: flex;
    flex-direction: column;
    gap: 12px;
    justify-content: space-between;
}

.quick-range-buttons {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.btn-date-range,
.btn-date-reset {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    padding: 10px 16px;
    font-weight: 600;
    font-size: 13px;
    letter-spacing: 0.01em;
    transition: transform 0.2s, box-shadow 0.2s, background 0.2s;
}

.btn-date-range {
    background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
    color: white;
    box-shadow: 0 12px 26px rgba(99, 102, 241, 0.35);
}

.btn-date-reset {
    background: linear-gradient(135deg, rgba(226, 232, 240, 0.85) 0%, rgba(203, 213, 225, 0.85) 100%);
    color: #1e293b;
    box-shadow: 0 10px 20px rgba(148, 163, 184, 0.3);
}

.btn-date-range:hover,
.btn-date-reset:hover {
    transform: translateY(-1px);
    box-shadow: 0 14px 30px rgba(15, 23, 42, 0.18);
}

.btn-date-range:active,
.btn-date-reset:active {
    transform: translateY(0);
    box-shadow: 0 10px 20px rgba(15, 23, 42, 0.16);
}

.quick-range-buttons .btn-date-range {
    background: linear-gradient(135deg, #0ea5e9 0%, #6366f1 100%);
}

.quick-range-buttons .btn-date-range:nth-child(2) {
    background: linear-gradient(135deg, #14b8a6 0%, #3b82f6 100%);
}

.quick-range-buttons .btn-date-range:nth-child(3) {
    background: linear-gradient(135deg, #f97316 0%, #ef4444 100%);
}

@media (max-width: 768px) {
    .date-filter-modern {
        flex-direction: column;
    }
    
    .date-field-actions {
        flex-direction: column;
        align-items: stretch;
    }
    
    .quick-range-buttons {
        flex-direction: column;
    }
    
    .btn-date-range,
    .btn-date-reset {
        justify-content: center;
    }
}
/* ==================== GLOBAL STYLES ==================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* ==================== HYP FLOATING BUTTON ==================== */
#hyp-floating-button {
    position: fixed !important;
    right: 20px !important;
    bottom: 20px !important;
    width: 60px !important;
    height: 60px !important;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%) !important;
    border-radius: 50% !important;
    box-shadow: 0 4px 20px rgba(102, 126, 234, 0.4) !important;
    cursor: pointer !important;
    z-index: 10000000 !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    transition: all 0.3s ease !important;
    animation: hypPulse 2s infinite !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
}

#hyp-floating-button:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 30px rgba(102, 126, 234, 0.6);
}

.hyp-button-icon {
    margin-bottom: 2px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    position: relative;
    overflow: hidden;
    margin-left: auto;
    margin-right: auto;
}

.hyp-button-icon svg {
    width: 20px;
    height: 20px;
    fill: white;
    transition: all 0.3s ease;
}

.hyp-button-text {
    font-size: 8px;
    font-weight: 600;
    color: white;
    text-align: center;
    line-height: 1;
    margin-top: 2px;
    text-shadow: 0 1px 2px rgba(0,0,0,0.3);
}

@keyframes hypPulse {
    0% {
        box-shadow: 0 4px 20px rgba(102, 126, 234, 0.4);
    }
    50% {
        box-shadow: 0 4px 20px rgba(102, 126, 234, 0.8), 0 0 0 10px rgba(102, 126, 234, 0.1);
    }
    100% {
        box-shadow: 0 4px 20px rgba(102, 126, 234, 0.4);
    }
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
    color: #1e293b;
    line-height: 1.6;
    background: #f8fafc;
}

a {
    text-decoration: none;
    color: inherit;
}

/* ==================== NAVIGATION ==================== */
.navbar {
    background: white;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 16px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
    font-size: 18px;
    color: #1e293b;
}

.brand-icon {
    font-size: 24px;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 24px;
}

.nav-link {
    font-size: 14px;
    font-weight: 500;
    color: #64748b;
    transition: color 0.2s;
}

.nav-link:hover {
    color: #6366f1;
}

.nav-btn {
    padding: 8px 16px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
    transition: all 0.2s;
}

.nav-btn-primary {
    background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
    color: white;
}

.nav-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(99,102,241,0.3);
}

/* ==================== HERO SECTION ==================== */
.hero {
    background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
    color: white;
    padding: 80px 20px;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
    border-radius: 50%;
    top: -200px;
    right: -200px;
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-badge {
    display: inline-block;
    padding: 6px 14px;
    background: rgba(255,255,255,0.2);
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 20px;
}

.hero-title {
    font-size: 48px;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 20px;
}

.gradient-text {
    background: linear-gradient(90deg, #fbbf24 0%, #f59e0b 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-desc {
    font-size: 18px;
    line-height: 1.7;
    opacity: 0.95;
    margin-bottom: 32px;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    margin-bottom: 40px;
}

.btn {
    padding: 14px 28px;
    border-radius: 10px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border: none;
}

.btn-hero-primary {
    background: white;
    color: #6366f1;
    box-shadow: 0 4px 16px rgba(0,0,0,0.2);
}

.btn-hero-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.3);
}

.btn-hero-secondary {
    background: rgba(255,255,255,0.15);
    color: white;
    border: 2px solid rgba(255,255,255,0.3);
}

.btn-hero-secondary:hover {
    background: rgba(255,255,255,0.25);
}

.hero-stats {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
}

.stat-item {
    text-align: center;
}

.stat-item-full {
    background: rgba(255,255,255,0.16);
    border: 1px solid rgba(255,255,255,0.3);
    border-radius: 20px;
    padding: 28px;
    backdrop-filter: blur(6px);
    box-shadow: 0 20px 40px rgba(15, 23, 42, 0.25);
}

.stat-number {
    font-size: 44px;
    font-weight: 800;
    margin-bottom: 10px;
    letter-spacing: 0.6px;
}

.stat-label {
    font-size: 16px;
    opacity: 1;
    font-weight: 600;
}

/* Hero Mockup */
.hero-mockup {
    background: rgba(255,255,255,0.1);
    border-radius: 16px;
    padding: 20px;
    backdrop-filter: blur(10px);
}

.mockup-header {
    display: flex;
    gap: 6px;
    margin-bottom: 16px;
}

.mockup-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255,255,255,0.3);
}

.mockup-content {
    background: white;
    border-radius: 12px;
    padding: 20px;
}

.panel-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 2px solid #f1f5f9;
}

.panel-icon {
    font-size: 24px;
}

.panel-title {
    font-size: 16px;
    font-weight: 700;
    color: #1e293b;
}

.panel-cards {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
}

.panel-card {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
}

.card-green {
    background: linear-gradient(135deg, #d1fae5 0%, #a7f3d0 100%);
    color: #065f46;
}

.card-blue {
    background: linear-gradient(135deg, #dbeafe 0%, #bfdbfe 100%);
    color: #1e40af;
}

.card-yellow {
    background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
    color: #92400e;
}

.card-pink,
.card-purple {
    background: linear-gradient(135deg, #fce7f3 0%, #fbcfe8 100%);
    color: #9d174d;
}

.card-indigo {
    background: linear-gradient(135deg, #e0e7ff 0%, #c7d2fe 100%);
    color: #4338ca;
}

.card-red {
    background: linear-gradient(135deg, #fee2e2 0%, #fecaca 100%);
    color: #991b1b;
}

.card-orange {
    background: linear-gradient(135deg, #fed7aa 0%, #fdba74 100%);
    color: #9a3412;
}

.card-cyan {
    background: linear-gradient(135deg, #cffafe 0%, #a5f3fc 100%);
    color: #155e75;
}

.card-lime {
    background: linear-gradient(135deg, #ecfccb 0%, #d9f99d 100%);
    color: #365314;
}

.card-teal {
    background: linear-gradient(135deg, #ccfbf1 0%, #99f6e4 100%);
    color: #134e4a;
}

.card-icon {
    font-size: 20px;
}

.card-text {
    font-size: 11px;
    font-weight: 600;
}

/* ==================== SECTIONS ==================== */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

section {
    padding: 80px 20px;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-badge {
    display: inline-block;
    padding: 6px 14px;
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    color: #6366f1;
    margin-bottom: 16px;
    border: 1px solid #e2e8f0;
}

.section-title {
    font-size: 40px;
    font-weight: 800;
    color: #1e293b;
    margin-bottom: 16px;
    line-height: 1.2;
}

.section-desc {
    font-size: 18px;
    color: #64748b;
    max-width: 600px;
    margin: 0 auto;
}

/* ==================== FEATURES ==================== */
.features {
    background: white;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.feature-card {
    padding: 30px;
    border-radius: 16px;
    background: white;
    border: 2px solid #e2e8f0;
    transition: all 0.3s;
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 32px rgba(0,0,0,0.1);
    border-color: #6366f1;
}

.feature-icon {
    width: 64px;
    height: 64px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    margin-bottom: 20px;
}

.feature-title {
    font-size: 20px;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 12px;
}

.feature-desc {
    font-size: 15px;
    color: #64748b;
    line-height: 1.7;
    margin-bottom: 20px;
}

.feature-list {
    list-style: none;
}

.feature-list li {
    padding: 8px 0;
    font-size: 14px;
    color: #475569;
}

/* ==================== BENEFITS ==================== */
.benefits {
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
}

.benefits-content {
    max-width: 800px;
    margin: 0 auto;
}

.benefits-title {
    font-size: 36px;
    font-weight: 800;
    text-align: center;
    margin-bottom: 16px;
    color: #1e293b;
}

.benefits-desc {
    font-size: 18px;
    text-align: center;
    color: #64748b;
    margin-bottom: 50px;
}

.benefits-list {
    display: grid;
    gap: 24px;
}

.benefit-item {
    display: flex;
    gap: 20px;
    padding: 24px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}

.benefit-icon {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    flex-shrink: 0;
}

.benefit-content h4 {
    font-size: 18px;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 8px;
}

.benefit-content p {
    font-size: 15px;
    color: #64748b;
    line-height: 1.7;
}

/* ==================== PRICING ==================== */
.pricing {
    background: white;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    max-width: 1000px;
    margin: 0 auto;
}

.pricing-card {
    background: white;
    border: 2px solid #e2e8f0;
    border-radius: 20px;
    padding: 32px;
    position: relative;
    transition: all 0.3s;
}

.pricing-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 16px 40px rgba(0,0,0,0.1);
}

.pricing-popular {
    border-color: #6366f1;
    box-shadow: 0 8px 24px rgba(99,102,241,0.2);
    transform: scale(1.05);
}

.popular-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    color: white;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
}

.pricing-header {
    text-align: center;
    margin-bottom: 24px;
}

.pricing-title {
    font-size: 18px;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 16px;
}

.pricing-price {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 4px;
    margin-bottom: 12px;
}

.price-amount {
    font-size: 48px;
    font-weight: 800;
    color: #6366f1;
}

.price-currency {
    font-size: 24px;
    font-weight: 700;
    color: #6366f1;
}

.price-period {
    font-size: 16px;
    color: #64748b;
}

.pricing-save {
    background: linear-gradient(135deg, #d1fae5 0%, #a7f3d0 100%);
    color: #065f46;
    padding: 4px 12px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 700;
    display: inline-block;
}

.pricing-features {
    list-style: none;
    margin-bottom: 24px;
}

.pricing-features li {
    padding: 12px 0;
    font-size: 14px;
    color: #475569;
    border-bottom: 1px solid #f1f5f9;
}

.pricing-features li:last-child {
    border-bottom: none;
}

.pricing-btn {
    width: 100%;
    padding: 14px;
    border-radius: 10px;
    font-size: 15px;
    font-weight: 700;
    text-align: center;
    transition: all 0.2s;
    background: #f8fafc;
    color: #6366f1;
    border: 2px solid #e2e8f0;
}

.pricing-btn:hover {
    background: #6366f1;
    color: white;
    border-color: #6366f1;
}

.pricing-btn-popular {
    background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
    color: white;
    border: none;
}

.pricing-btn-popular:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(99,102,241,0.4);
}

/* ==================== HOW IT WORKS ==================== */
.how-it-works {
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    max-width: 1000px;
    margin: 0 auto;
}

.step-card {
    text-align: center;
    position: relative;
}

.step-number {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    font-weight: 700;
    margin: 0 auto 20px;
}

.step-icon {
    font-size: 48px;
    margin-bottom: 16px;
}

.step-title {
    font-size: 20px;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 12px;
}

.step-desc {
    font-size: 15px;
    color: #64748b;
    line-height: 1.7;
}

/* ==================== ABOUT ==================== */
.about {
    background: white;
}

.about-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.about-desc {
    font-size: 18px;
    color: #475569;
    line-height: 1.8;
    margin-bottom: 50px;
}

.about-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.about-stat {
    padding: 30px;
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    border-radius: 16px;
}

.about-stat-number {
    font-size: 36px;
    font-weight: 800;
    color: #6366f1;
    margin-bottom: 8px;
}

.about-stat-label {
    font-size: 14px;
    color: #64748b;
}

/* ==================== CTA ==================== */
.cta {
    background: linear-gradient(135deg, #1e293b 0%, #334155 100%);
    color: white;
    text-align: center;
}

.cta-title {
    font-size: 40px;
    font-weight: 800;
    margin-bottom: 16px;
}

.cta-desc {
    font-size: 18px;
    opacity: 0.9;
    margin-bottom: 32px;
}

.cta-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
}

.btn-cta-primary {
    background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
    color: white;
}

.btn-cta-secondary {
    background: rgba(255,255,255,0.1);
    color: white;
    border: 2px solid rgba(255,255,255,0.3);
}

/* ==================== FOOTER ==================== */
.footer {
    background: #1e293b;
    color: white;
    padding: 60px 20px 30px;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 60px;
    margin-bottom: 40px;
}

.footer-brand {
    max-width: 300px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 16px;
}

.footer-desc {
    font-size: 14px;
    color: #cbd5e1;
    line-height: 1.7;
}

.footer-column h4 {
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 16px;
    color: white;
}

.footer-column a {
    display: block;
    padding: 8px 0;
    font-size: 14px;
    color: #cbd5e1;
    transition: color 0.2s;
}

.footer-column a:hover {
    color: white;
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255,255,255,0.1);
    color: #cbd5e1;
    font-size: 14px;
}

/* ==================== AUTH PAGES ==================== */
.auth-page {
    min-height: 100vh;
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
}

.auth-header {
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: white;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.back-btn {
    padding: 8px 16px;
    background: #f8fafc;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
    color: #64748b;
    transition: all 0.2s;
}

.back-btn:hover {
    background: #f1f5f9;
    color: #1e293b;
}

.auth-logo {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 700;
    font-size: 16px;
}

.auth-container {
    max-width: 1000px;
    margin: 40px auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 40px;
}

.auth-card {
    background: white;
    border-radius: 16px;
    padding: 40px;
    box-shadow: 0 4px 16px rgba(0,0,0,0.08);
}

.auth-card-header {
    text-align: center;
    margin-bottom: 32px;
}

.auth-card-header h1 {
    font-size: 28px;
    font-weight: 800;
    color: #1e293b;
    margin-bottom: 8px;
}

.auth-card-header p {
    font-size: 14px;
    color: #64748b;
}

/* Form Styles */
.form-step {
    display: none;
}

.form-step.active {
    display: block;
}

.step-header {
    margin-bottom: 24px;
}

.step-badge {
    display: inline-block;
    padding: 4px 10px;
    background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
    color: white;
    border-radius: 6px;
    font-size: 11px;
    font-weight: 700;
    margin-bottom: 12px;
}

.step-header h3 {
    font-size: 20px;
    font-weight: 700;
    color: #1e293b;
}

.form-group {
    margin-bottom: 16px;
}

.form-group label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: #475569;
    margin-bottom: 6px;
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 11px 14px;
    border: 1.5px solid #e2e8f0;
    border-radius: 8px;
    font-size: 14px;
    font-family: inherit;
    transition: all 0.2s;
    background: white;
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: #6366f1;
    box-shadow: 0 0 0 3px rgba(99,102,241,0.1);
}

.form-group select:disabled {
    background: #f8fafc;
    color: #94a3b8;
    cursor: not-allowed;
}

.form-row {
    display: grid;
    gap: 12px;
    margin-bottom: 16px;
}

.row-2 {
    grid-template-columns: 1fr 1fr;
}

.row-3 {
    grid-template-columns: repeat(3, 1fr);
}

.form-buttons {
    display: flex;
    gap: 12px;
    margin-top: 24px;
}

.btn-next,
.btn-back {
    flex: 1;
    padding: 12px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    border: none;
}

.btn-next {
    background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
    color: white;
}

.btn-next:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(99,102,241,0.3);
}

.btn-back {
    background: #f8fafc;
    color: #64748b;
    border: 1.5px solid #e2e8f0;
}

.btn-back:hover {
    background: #f1f5f9;
}

.btn-send-code {
    width: 100%;
    padding: 12px;
    background: #10b981;
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-bottom: 20px;
}

.btn-send-code:hover {
    background: #059669;
}

.verification-section {
    margin-top: 20px;
    padding: 20px;
    background: #f8fafc;
    border-radius: 12px;
    border: 2px dashed #cbd5e1;
}

.verification-info {
    font-size: 12px;
    color: #64748b;
    text-align: center;
    margin-top: 8px;
}

.btn-primary {
    background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
    color: white;
}

.btn-block {
    width: 100%;
    padding: 12px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border: none;
}

.auth-footer {
    text-align: center;
    margin-top: 24px;
    font-size: 14px;
    color: #64748b;
}

.auth-footer a {
    color: #6366f1;
    font-weight: 600;
}

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

/* Auth Sidebar */
.auth-sidebar {
    background: linear-gradient(135deg, #1e293b 0%, #334155 100%);
    border-radius: 16px;
    padding: 32px;
    color: white;
}

.sidebar-content h3 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 20px;
}

.sidebar-text {
    font-size: 14px;
    line-height: 1.7;
    opacity: 0.9;
    margin-bottom: 24px;
}

.sidebar-list {
    list-style: none;
}

.sidebar-list li {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 0;
    font-size: 14px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.sidebar-list li:last-child {
    border-bottom: none;
}

.list-icon {
    font-size: 20px;
}

.sidebar-testimonial {
    margin-top: 32px;
    padding: 20px;
    background: rgba(255,255,255,0.1);
    border-radius: 12px;
    border-left: 4px solid #6366f1;
}

.testimonial-text {
    font-size: 14px;
    font-style: italic;
    margin-bottom: 12px;
    line-height: 1.6;
}

.testimonial-author {
    font-size: 12px;
    opacity: 0.8;
}

/* Input with icon */
.input-with-icon {
    position: relative;
}

.input-with-icon .input-icon {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 16px;
    color: #94a3b8;
}

.input-with-icon input {
    padding-left: 44px !important;
}

.form-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    color: #64748b;
    cursor: pointer;
}

.checkbox-label input {
    width: auto;
}

.forgot-link {
    font-size: 13px;
    color: #6366f1;
    font-weight: 600;
}

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

/* ==================== DASHBOARD ==================== */
.dashboard-page {
    display: flex;
    min-height: 100vh;
    background: #f8fafc;
}

.sidebar {
    width: 260px;
    background: white;
    border-right: 1px solid #e2e8f0;
    display: flex;
    flex-direction: column;
}

.sidebar-header {
    padding: 20px;
    border-bottom: 1px solid #e2e8f0;
}

.sidebar-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
    font-size: 16px;
}

.sidebar-nav {
    flex: 1;
    padding: 20px 0;
}

.sidebar-link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 20px;
    font-size: 14px;
    font-weight: 500;
    color: #64748b;
    transition: all 0.2s;
}

.sidebar-badge {
    margin-left: auto;
    background: #ef4444;
    color: white;
    font-size: 11px;
    font-weight: 700;
    padding: 4px 8px;
    border-radius: 999px;
    min-width: 22px;
    text-align: center;
    line-height: 1;
}

.sidebar-link:hover {
    background: #f8fafc;
    color: #1e293b;
}

.sidebar-link.active {
    background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%);
    color: #6366f1;
    font-weight: 600;
    border-right: 3px solid #6366f1;
}

.link-icon {
    font-size: 18px;
}

.sidebar-footer {
    padding: 20px;
    border-top: 1px solid #e2e8f0;
}

.sidebar-logout {
    width: 100%;
    padding: 10px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
    color: #64748b;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    transition: all 0.2s;
}

.sidebar-logout:hover {
    background: #fee2e2;
    border-color: #fca5a5;
    color: #dc2626;
}

/* Admin Main Content */
.admin-main {
    flex: 1;
    padding: 10px;
    margin-left: 260px;
    position: relative;
    z-index: 100;
    background: #f8fafc;
    min-height: 100vh;
}

.dashboard-main {
    flex: 1;
    padding: 30px;
    overflow-y: auto;
}

.topbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
}

.topbar-welcome h1 {
    font-size: 24px;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 4px;
}

.topbar-welcome h1 span {
    color: #0f172a;
}

.topbar-welcome p {
    font-size: 13px;
    color: #64748b;
}

.user-avatar-small {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
}

.dashboard-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-bottom: 30px;
}

.stats-row {
    display: grid;
    gap: 20px;
    margin-bottom: 30px;
}

.stats-row.row-4 {
    grid-template-columns: repeat(4, 1fr);
}

.stat-card {
    background: white;
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    border: 1px solid #e2e8f0;
}

.stat-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 16px;
}

.stat-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
}

.stat-label {
    font-size: 12px;
    color: #64748b;
    font-weight: 500;
}

.stat-value {
    font-size: 28px;
    font-weight: 800;
    color: #1e293b;
    margin-bottom: 4px;
}

.stat-desc {
    font-size: 12px;
    color: #64748b;
}

.dashboard-section {
    margin-bottom: 30px;
}

.dashboard-section .section-title {
    font-size: 18px;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 16px;
}

.quick-actions {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.quick-action {
    background: white;
    padding: 24px;
    border-radius: 12px;
    text-align: center;
    border: 2px solid #e2e8f0;
    transition: all 0.3s;
}

.quick-action:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.1);
    border-color: #6366f1;
}

.action-icon-large {
    width: 64px;
    height: 64px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    margin: 0 auto 16px;
}

.quick-action h4 {
    font-size: 16px;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 6px;
}

.quick-action p {
    font-size: 13px;
    color: #64748b;
}

.info-card {
    background: white;
    padding: 24px;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.info-row {
    display: flex;
    justify-content: space-between;
    padding: 12px 0;
    border-bottom: 1px solid #f1f5f9;
}

.info-row:last-child {
    border-bottom: none;
}

.info-label {
    font-size: 14px;
    color: #64748b;
    font-weight: 500;
}

.info-value {
    font-size: 14px;
    color: #1e293b;
    font-weight: 700;
}

.coupon-card {
    background: white;
    padding: 24px;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.coupon-info {
    font-size: 13px;
    color: #64748b;
    margin-bottom: 16px;
}

.coupon-input-row {
    display: flex;
    gap: 12px;
}

.coupon-input-dash {
    flex: 1;
    padding: 11px 14px;
    border: 1.5px solid #e2e8f0;
    border-radius: 8px;
    font-size: 14px;
    font-family: inherit;
}

.btn-coupon-apply {
    padding: 11px 24px;
    background: #10b981;
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
}

.btn-coupon-apply:hover {
    background: #059669;
}

.coupon-message {
    margin-top: 12px;
    padding: 10px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 500;
    display: none;
}

.coupon-message.success {
    background: #d1fae5;
    color: #065f46;
}

.coupon-message.error {
    background: #fee2e2;
    color: #991b1b;
}

/* ==================== PAYMENT PAGE ==================== */
.payment-page {
    min-height: 100vh;
    background: #f8fafc;
}

.payment-header {
    background: white;
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.payment-container {
    max-width: 1200px;
    margin: 40px auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 30px;
}

.payment-form-section {
    background: white;
    padding: 32px;
    border-radius: 16px;
    box-shadow: 0 4px 16px rgba(0,0,0,0.06);
}

.payment-title {
    font-size: 24px;
    font-weight: 800;
    color: #1e293b;
    margin-bottom: 24px;
}

.plan-selector {
    margin-bottom: 32px;
}

.plan-radio {
    display: block;
    margin-bottom: 12px;
    cursor: pointer;
}

.plan-radio input {
    display: none;
}

.plan-option {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    transition: all 0.2s;
}

.plan-radio input:checked + .plan-option {
    border-color: #6366f1;
    background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%);
}

.plan-name {
    display: block;
    font-size: 15px;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 2px;
}

.plan-desc {
    font-size: 12px;
    color: #64748b;
}

.plan-price {
    font-size: 22px;
    font-weight: 800;
    color: #6366f1;
}

.plan-price-old {
    font-size: 14px;
    color: #94a3b8;
    text-decoration: line-through;
    margin-right: 8px;
}

.subsection-title {
    font-size: 16px;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 16px;
}

.method-tabs {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-bottom: 24px;
}

.method-tab {
    padding: 12px;
    background: #f8fafc;
    border: 2px solid #e2e8f0;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 600;
    color: #64748b;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all 0.2s;
}

.method-tab.active {
    background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%);
    border-color: #6366f1;
    color: #6366f1;
}

.payment-form {
    display: none;
}

.payment-form.active {
    display: block;
}

.eft-info {
    background: #f8fafc;
    padding: 20px;
    border-radius: 12px;
    border: 2px solid #e2e8f0;
}

.eft-info h4 {
    font-size: 15px;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 16px;
}

.bank-info {
    margin-bottom: 16px;
}

.bank-row {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
    border-bottom: 1px solid #e2e8f0;
}

.bank-row:last-child {
    border-bottom: none;
}

.bank-label {
    font-size: 13px;
    color: #64748b;
    font-weight: 500;
}

.bank-value {
    font-size: 13px;
    color: #1e293b;
    font-weight: 700;
}

.eft-note {
    font-size: 12px;
    color: #f59e0b;
    line-height: 1.6;
    padding: 12px;
    background: #fffbeb;
    border-radius: 8px;
}

.coupon-section-payment {
    margin-bottom: 24px;
}

.btn-coupon {
    padding: 11px 20px;
    background: #10b981;
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
}

.btn-payment {
    width: 100%;
    padding: 16px;
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-bottom: 16px;
    box-shadow: 0 4px 16px rgba(16, 185, 129, 0.3);
}

.btn-payment:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(16, 185, 129, 0.4);
}

.payment-security {
    text-align: center;
    font-size: 12px;
    color: #64748b;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

/* Payment Summary */
.payment-summary {
    position: sticky;
    top: 20px;
}

.summary-card {
    background: white;
    padding: 24px;
    border-radius: 16px;
    box-shadow: 0 4px 16px rgba(0,0,0,0.06);
    border: 2px solid #e2e8f0;
}

.summary-title {
    font-size: 18px;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 20px;
}

.summary-item {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
    font-size: 14px;
}

.summary-label {
    color: #64748b;
}

.summary-value {
    font-weight: 700;
    color: #1e293b;
}

.summary-divider {
    height: 1px;
    background: #e2e8f0;
    margin: 16px 0;
}

.summary-total {
    display: flex;
    justify-content: space-between;
    padding: 16px 0;
    font-size: 18px;
}

.total-label {
    font-weight: 700;
    color: #1e293b;
}

.total-amount {
    font-size: 24px;
    font-weight: 800;
    color: #6366f1;
}

.summary-features {
    margin-top: 24px;
    padding-top: 24px;
    border-top: 2px solid #f1f5f9;
}

.summary-features h4 {
    font-size: 14px;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 12px;
}

.summary-features ul {
    list-style: none;
}

.summary-features li {
    padding: 6px 0;
    font-size: 13px;
    color: #475569;
}

/* ==================== ADMIN STYLES ==================== */
.admin-page {
    display: flex;
    min-height: 100vh;
    background: #f8fafc;
}

.admin-sidebar {
    width: 260px;
    background: linear-gradient(135deg, #1e293b 0%, #334155 100%);
    color: white;
    display: flex;
    flex-direction: column;
    position: fixed;
    left: 0;
    top: 0;
    height: 100vh;
    z-index: 50;
    overflow: hidden; /* Sidebar container'ın kendisi scroll olmasın */
}

.admin-sidebar.hidden {
    display: none !important;
}

.admin-sidebar .sidebar-header {
    padding: 20px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    flex-shrink: 0; /* Header'ın küçülmesini engelle */
    height: auto;
    min-height: auto;
}

.admin-sidebar .sidebar-logo {
    color: white;
}

.admin-sidebar .sidebar-nav {
    flex: 1;
    padding: 20px 0;
    overflow-y: auto !important;
    overflow-x: hidden !important;
    min-height: 0 !important;
    height: 0 !important; /* Flexbox'ta overflow için kritik */
    -webkit-overflow-scrolling: touch; /* iOS için smooth scroll */
}

/* Sidebar scrollbar stilleri */
.admin-sidebar .sidebar-nav::-webkit-scrollbar {
    width: 6px;
}

.admin-sidebar .sidebar-nav::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 3px;
}

.admin-sidebar .sidebar-nav::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.2);
    border-radius: 3px;
}

.admin-sidebar .sidebar-nav::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.3);
}

.admin-sidebar .sidebar-link {
    display: flex;
    align-items: center;
    gap: 12px;
    color: rgba(255,255,255,0.7);
    padding: 12px 20px;
    white-space: nowrap; /* Link'lerin alt satıra geçmesini engelle */
}

.admin-sidebar .sidebar-link:hover {
    background: rgba(255,255,255,0.1);
    color: white;
}

.admin-sidebar .sidebar-link.active {
    background: rgba(99,102,241,0.2);
    color: white;
    border-right: 3px solid #6366f1;
}

.admin-sidebar .sidebar-footer {
    padding: 20px;
    border-top: 1px solid rgba(255,255,255,0.1);
    flex-shrink: 0; /* Footer'ın küçülmesini engelle */
    height: auto;
    min-height: auto;
}

.admin-main {
    flex: 1;
    padding: 30px;
}

.admin-stats {
    display: flex;
    gap: 16px;
    flex-wrap: nowrap;
    overflow-x: auto;
    margin-bottom: 30px;
}

.admin-stat-card {
    background: white;
    padding: 20px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    gap: 16px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    flex: 1;
    min-width: 180px;
}

.admin-stat-card .stat-icon {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    font-size: 28px;
}

.stat-content .stat-value {
    font-size: 24px;
    font-weight: 800;
    color: #1e293b;
}

.stat-content .stat-label {
    font-size: 12px;
    color: #64748b;
}

/* ==================== MAP STYLES ==================== */
.map-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
}

.map-title-section h1 {
    font-size: 24px;
    font-weight: 800;
    color: #1e293b;
    margin-bottom: 4px;
}

.map-title-section p {
    font-size: 13px;
    color: #64748b;
}

.map-controls {
    display: flex;
    gap: 8px;
}

.map-control-btn {
    width: 40px;
    height: 40px;
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    transition: all 0.2s;
}

.map-control-btn:hover {
    background: #f8fafc;
    border-color: #6366f1;
}

.map-container {
    background: white;
    border-radius: 16px;
    padding: 30px;
    box-shadow: 0 4px 16px rgba(0,0,0,0.06);
    margin-bottom: 30px;
    position: relative;
}

.turkey-map {
    width: 100%;
    height: 500px;
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    border-radius: 12px;
    border: 2px solid #e2e8f0;
}

.map-city {
    cursor: pointer;
    transition: all 0.2s;
}

.map-city:hover .city-marker {
    opacity: 1;
    transform: scale(1.1);
}

.city-marker {
    transition: all 0.3s;
}

.map-legend {
    position: absolute;
    bottom: 50px;
    right: 50px;
    background: white;
    padding: 16px;
    border-radius: 12px;
    box-shadow: 0 4px 16px rgba(0,0,0,0.1);
}

.legend-title {
    font-size: 12px;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 12px;
}

.legend-items {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.legend-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 11px;
    color: #64748b;
}

.legend-marker {
    width: 16px;
    height: 16px;
    border-radius: 50%;
}

.city-stats {
    background: white;
    padding: 30px;
    border-radius: 16px;
    box-shadow: 0 4px 16px rgba(0,0,0,0.06);
    max-height: 600px;
    display: flex;
    flex-direction: column;
}

.table-container {
    overflow-y: auto;
    overflow-x: hidden;
    flex: 1;
    max-height: 500px;
    margin-top: 16px;
}

.data-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.data-header h2 {
    font-size: 18px;
    font-weight: 700;
    color: #1e293b;
}

.search-box {
    position: relative;
}

.search-box input {
    padding: 8px 12px 8px 35px;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    font-size: 13px;
    width: 200px;
}

.search-icon {
    position: absolute;
    left: 10px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 14px;
}

.data-table {
    width: 100%;
    border-collapse: collapse;
}

.data-table th {
    text-align: left;
    padding: 12px;
    background: #f8fafc;
    font-size: 12px;
    font-weight: 700;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-bottom: 2px solid #e2e8f0;
}

.data-table td {
    padding: 14px 12px;
    font-size: 13px;
    border-bottom: 1px solid #f1f5f9;
}

.city-cell {
    display: flex;
    align-items: center;
    gap: 8px;
}

.city-icon {
    font-size: 18px;
}

.badge {
    padding: 4px 10px;
    border-radius: 6px;
    font-size: 11px;
    font-weight: 700;
}

.badge-success {
    background: #d1fae5;
    color: #065f46;
}

.badge-new {
    background: #dbeafe;
    color: #1e40af;
}

.btn-table-action {
    padding: 6px 14px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 600;
    color: #6366f1;
    cursor: pointer;
}

.btn-table-action:hover {
    background: #eff6ff;
    border-color: #6366f1;
}

/* ==================== MODAL ==================== */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.5);
    z-index: 10000;
    align-items: center;
    justify-content: center;
}

.modal.active {
    display: flex;
}

.modal-content {
    background: white;
    border-radius: 16px;
    padding: 40px;
    max-width: 500px;
    text-align: center;
    box-shadow: 0 20px 60px rgba(0,0,0,0.3);
}

.modal-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 48px;
    margin: 0 auto 20px;
}

.modal-icon.success {
    background: linear-gradient(135deg, #d1fae5 0%, #a7f3d0 100%);
    color: #065f46;
}

.modal-content h2 {
    font-size: 24px;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 12px;
}

.modal-content p {
    font-size: 15px;
    color: #64748b;
    margin-bottom: 24px;
}

/* ==================== ADDITIONAL STYLES ==================== */
.time-filter {
    display: flex;
    gap: 8px;
    margin-bottom: 24px;
    background: white;
    padding: 8px;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.filter-btn {
    padding: 8px 16px;
    background: transparent;
    border: 1px solid transparent;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 600;
    color: #64748b;
    cursor: pointer;
    transition: all 0.2s;
}

.filter-btn.active {
    background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
    color: white;
}

.charts-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 30px;
}

.chart-card {
    background: white;
    padding: 24px;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.chart-title {
    font-size: 16px;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 16px;
}

.chart-placeholder {
    min-height: 300px;
    height: 300px;
    background: #f8fafc;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.data-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 30px;
}

.data-card {
    background: white;
    padding: 24px;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.data-card .data-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.data-card .data-header h3 {
    font-size: 16px;
    font-weight: 700;
    color: #1e293b;
}

.data-count {
    padding: 4px 10px;
    background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%);
    color: #6366f1;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 700;
}

.data-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.data-list.scrollable-list {
    max-height: 600px;
    overflow-y: auto;
    overflow-x: hidden;
    padding-right: 8px;
}

/* Scrollbar Styling for scrollable-list */
.data-list.scrollable-list::-webkit-scrollbar {
    width: 8px;
}

.data-list.scrollable-list::-webkit-scrollbar-track {
    background: #f1f5f9;
    border-radius: 10px;
}

.data-list.scrollable-list::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 10px;
}

.data-list.scrollable-list::-webkit-scrollbar-thumb:hover {
    background: #94a3b8;
}

.data-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    background: #f8fafc;
    border-radius: 8px;
}

.user-avatar {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    flex-shrink: 0;
}

.user-info {
    flex: 1;
}

.user-name {
    font-size: 14px;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 2px;
}

.user-meta {
    font-size: 11px;
    color: #64748b;
}

.payment-icon {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    flex-shrink: 0;
}

.payment-info {
    flex: 1;
}

.payment-user {
    font-size: 14px;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 2px;
}

.payment-meta {
    font-size: 11px;
    color: #64748b;
}

.payment-amount {
    font-size: 16px;
    font-weight: 800;
    color: #10b981;
}

.data-footer-link {
    display: block;
    text-align: center;
    margin-top: 16px;
    font-size: 13px;
    font-weight: 600;
    color: #6366f1;
    padding: 10px;
    background: #f8fafc;
    border-radius: 8px;
    transition: all 0.2s;
}

.data-footer-link:hover {
    background: #eff6ff;
}

.quick-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.quick-stat {
    background: white;
    padding: 20px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.quick-stat-label {
    font-size: 12px;
    color: #64748b;
    margin-bottom: 8px;
}

.quick-stat-value {
    font-size: 24px;
    font-weight: 800;
    color: #6366f1;
}

.modal-large {
    max-width: 800px;
    max-height: 90vh;
    overflow-y: auto;
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
    padding-bottom: 16px;
    border-bottom: 2px solid #f1f5f9;
}

.modal-header h2 {
    font-size: 20px;
    font-weight: 700;
    color: #1e293b;
}

.modal-close {
    width: 32px;
    height: 32px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 50%;
    cursor: pointer;
    font-size: 20px;
    color: #64748b;
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-close:hover {
    background: #fee2e2;
    border-color: #fca5a5;
    color: #dc2626;
}

.city-detail-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-bottom: 24px;
}

.detail-stat {
    background: #f8fafc;
    padding: 16px;
    border-radius: 10px;
    text-align: center;
}

.detail-label {
    font-size: 11px;
    color: #64748b;
    display: block;
    margin-bottom: 6px;
}

.detail-value {
    font-size: 20px;
    font-weight: 800;
    color: #1e293b;
}

.modal-body h3 {
    font-size: 16px;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 16px;
}

.district-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
}

.district-card {
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    padding: 16px;
    border-radius: 10px;
    text-align: center;
    border: 1px solid #e2e8f0;
}

.district-name {
    font-size: 14px;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 4px;
}

.district-count {
    font-size: 12px;
    color: #64748b;
}

.coupon-result {
    margin-top: 12px;
    padding: 10px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 600;
    display: none;
}

.coupon-result.success {
    background: #d1fae5;
    color: #065f46;
}

.coupon-result.error {
    background: #fee2e2;
    color: #991b1b;
}

.sidebar-features {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 24px;
}

.feature-mini {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 13px;
}

.feature-mini-icon {
    font-size: 18px;
}

/* Admin Login Styles */
.admin-info-box {
    margin-top: 24px;
    padding: 16px;
    background: linear-gradient(135deg, #fee2e2 0%, #fecaca 100%);
    border-radius: 12px;
    border: 2px solid #fca5a5;
}

.admin-info-box h4 {
    font-size: 14px;
    font-weight: 700;
    color: #991b1b;
    margin-bottom: 8px;
}

.admin-info-box p {
    font-size: 12px;
    color: #7f1d1d;
    line-height: 1.6;
}

.admin-demo-info {
    margin-top: 32px;
    padding: 20px;
    background: rgba(255,255,255,0.15);
    border-radius: 12px;
    border: 2px dashed rgba(255,255,255,0.3);
}

.admin-demo-info h4 {
    font-size: 14px;
    font-weight: 700;
    color: white;
    margin-bottom: 12px;
}

.demo-credentials {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.credential-row {
    display: flex;
    justify-content: space-between;
    padding: 8px 12px;
    background: rgba(255,255,255,0.1);
    border-radius: 6px;
    font-size: 13px;
}

.cred-label {
    color: rgba(255,255,255,0.8);
}

.cred-value {
    font-weight: 700;
    color: white;
    font-family: 'Courier New', monospace;
}

/* ==================== ADMIN USERS STYLES ==================== */
.page-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
}

.page-header h1 {
    font-size: 28px;
    font-weight: 800;
    color: #1e293b;
    margin-bottom: 4px;
}

.page-header p {
    font-size: 14px;
    color: #64748b;
}

.btn-add-user, .btn-export {
    padding: 10px 20px;
    background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.2s;
}

.btn-add-user:hover, .btn-export:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(99,102,241,0.3);
}

.filters-bar {
    display: flex;
    gap: 12px;
    margin-bottom: 24px;
    background: white;
    padding: 16px;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.filter-group {
    position: relative;
    flex: 1;
}

.filter-input {
    width: 100%;
    padding: 10px 12px 10px 36px;
    border: 1.5px solid #e2e8f0;
    border-radius: 8px;
    font-size: 13px;
    font-family: inherit;
}

.filter-icon {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 16px;
}

.filter-select {
    padding: 10px 12px;
    border: 1.5px solid #e2e8f0;
    border-radius: 8px;
    font-size: 13px;
    font-family: inherit;
    background: white;
}

.btn-filter {
    padding: 10px 20px;
    background: #10b981;
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
}

.user-stats-row {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
    margin-bottom: 24px;
}

.user-stat-card {
    background: white;
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    display: flex;
    align-items: center;
    gap: 16px;
}

.stat-icon-user {
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    flex-shrink: 0;
}

.stat-info {
    flex: 1;
}

.stat-number {
    font-size: 28px;
    font-weight: 800;
    color: #1e293b;
    margin-bottom: 4px;
}

.users-table-container, .payments-table-container {
    background: white;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    overflow: hidden;
    margin-bottom: 24px;
}

.users-table, .payments-table {
    width: 100%;
    border-collapse: collapse;
}

.users-table th, .payments-table th {
    background: #f8fafc;
    padding: 14px 16px;
    text-align: left;
    font-size: 12px;
    font-weight: 700;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-bottom: 2px solid #e2e8f0;
}

.users-table td, .payments-table td {
    padding: 14px 16px;
    font-size: 13px;
    border-bottom: 1px solid #f1f5f9;
}

.user-cell {
    display: flex;
    align-items: center;
    gap: 12px;
}

.user-avatar-mini, .user-avatar-tiny {
    width: 36px;
    height: 36px;
    background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    flex-shrink: 0;
}

.user-avatar-tiny {
    width: 28px;
    height: 28px;
    font-size: 14px;
}

.user-name-cell {
    font-size: 14px;
    font-weight: 600;
    color: #1e293b;
}

.user-username {
    font-size: 12px;
    color: #64748b;
}

.plan-badge {
    padding: 4px 12px;
    border-radius: 6px;
    font-size: 11px;
    font-weight: 700;
    display: inline-block;
}

.coupon-code {
    background: linear-gradient(135deg, #f3f4f6 0%, #e5e7eb 100%);
    color: #1f2937;
    padding: 6px 12px;
    border-radius: 6px;
    font-family: 'Courier New', monospace;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 1px;
    border: 1.5px dashed #9ca3af;
}

.btn-copy {
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
    color: white;
    border: none;
    padding: 6px 10px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 14px;
    transition: all 0.2s;
}

.btn-copy:hover {
    background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
    transform: scale(1.05);
}

.plan-monthly {
    background: linear-gradient(135deg, #dbeafe 0%, #bfdbfe 100%);
    color: #1e40af;
}

.plan-quarterly {
    background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
    color: #92400e;
}

.plan-yearly {
    background: linear-gradient(135deg, #d1fae5 0%, #a7f3d0 100%);
    color: #065f46;
}

.status-badge {
    padding: 4px 12px;
    border-radius: 6px;
    font-size: 11px;
    font-weight: 700;
    display: inline-block;
}

.status-active {
    background: linear-gradient(135deg, #d1fae5 0%, #a7f3d0 100%);
    color: #065f46;
}

.status-expired {
    background: linear-gradient(135deg, #fee2e2 0%, #fecaca 100%);
    color: #991b1b;
}

.action-buttons {
    display: flex;
    gap: 6px;
}

.btn-action {
    width: 32px;
    height: 32px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-size: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
}

.btn-view {
    background: #eff6ff;
    color: #3b82f6;
}

.btn-view:hover {
    background: #dbeafe;
}

.btn-edit {
    background: #fef3c7;
    color: #f59e0b;
}

.btn-edit:hover {
    background: #fde68a;
}

.btn-extend {
    background: #f3e8ff;
    color: #8b5cf6;
}

.btn-extend:hover {
    background: #e9d5ff;
}

.btn-delete {
    background: #fee2e2;
    color: #ef4444;
}

.btn-delete:hover {
    background: #fecaca;
}

.btn-approve {
    background: #d1fae5;
    color: #10b981;
}

.btn-approve:hover {
    background: #a7f3d0;
}

.btn-invoice {
    background: #f8fafc;
    color: #64748b;
}

.btn-invoice:hover {
    background: #f1f5f9;
}

.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 16px;
}

.page-btn {
    padding: 8px 16px;
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 600;
    color: #64748b;
    cursor: pointer;
}

.page-btn:hover {
    background: #f8fafc;
}

.page-numbers {
    display: flex;
    gap: 6px;
}

.page-num {
    width: 36px;
    height: 36px;
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 600;
    color: #64748b;
    cursor: pointer;
}

.page-num.active {
    background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
    color: white;
    border-color: #6366f1;
}

.page-num:hover:not(.active) {
    background: #f8fafc;
}

.user-detail-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

.detail-section {
    background: #f8fafc;
    padding: 20px;
    border-radius: 12px;
}

.detail-section h3 {
    font-size: 14px;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 2px solid #e2e8f0;
}

.detail-rows {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.detail-row {
    display: flex;
    justify-content: space-between;
}

.detail-key {
    font-size: 13px;
    color: #64748b;
}

.detail-value {
    font-size: 13px;
    font-weight: 600;
    color: #1e293b;
}

/* Revenue Stats */
.revenue-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-bottom: 24px;
}

.revenue-card {
    background: white;
    padding: 24px;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    display: flex;
    gap: 16px;
}

.revenue-icon {
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    flex-shrink: 0;
}

.revenue-info {
    flex: 1;
}

.revenue-label {
    font-size: 12px;
    color: #64748b;
    margin-bottom: 8px;
}

.revenue-amount {
    font-size: 24px;
    font-weight: 800;
    color: #1e293b;
    margin-bottom: 6px;
}

.revenue-change {
    font-size: 11px;
    font-weight: 600;
}

.revenue-change.positive {
    color: #10b981;
}

.revenue-change.negative {
    color: #ef4444;
}

.revenue-change.neutral {
    color: #64748b;
}

.payment-method {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
}

.payment-status {
    padding: 4px 12px;
    border-radius: 6px;
    font-size: 11px;
    font-weight: 700;
}

.status-completed {
    background: #d1fae5;
    color: #065f46;
}

.status-pending {
    background: #fef3c7;
    color: #92400e;
}

.status-failed {
    background: #fee2e2;
    color: #991b1b;
}

.amount-text {
    font-size: 15px;
    color: #10b981;
}

.user-mini {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
}

/* ==================== SUBSCRIPTION PAGE ==================== */
.subscription-card {
    background: white;
    border-radius: 16px;
    padding: 32px;
    box-shadow: 0 4px 16px rgba(0,0,0,0.06);
    margin-bottom: 30px;
}

.current-plan {
    border: 3px solid #6366f1;
}

.plan-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
    padding-bottom: 20px;
    border-bottom: 2px solid #f1f5f9;
}

.plan-badge-large {
    display: flex;
    align-items: center;
    gap: 12px;
}

.plan-icon {
    font-size: 32px;
}

.plan-name {
    font-size: 24px;
    font-weight: 800;
    color: #1e293b;
}

.plan-details-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-bottom: 24px;
}

.plan-detail {
    display: flex;
    gap: 12px;
    padding: 16px;
    background: #f8fafc;
    border-radius: 10px;
}

.detail-icon {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    flex-shrink: 0;
}

.detail-content {
    flex: 1;
}

.detail-label {
    font-size: 12px;
    color: #64748b;
    margin-bottom: 4px;
}

.detail-value {
    font-size: 15px;
    font-weight: 700;
    color: #1e293b;
}

.plan-actions {
    display: flex;
    gap: 12px;
}

.btn-renew {
    flex: 1;
    padding: 14px;
    background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
    color: white;
    border-radius: 10px;
    text-align: center;
    font-weight: 600;
}

.btn-cancel {
    padding: 14px 24px;
    background: white;
    color: #ef4444;
    border: 2px solid #ef4444;
    border-radius: 10px;
    font-weight: 600;
    cursor: pointer;
}

.usage-section, .payment-history-section, .available-plans-section {
    margin-bottom: 30px;
}

.usage-section h2, .payment-history-section h2, .available-plans-section h2 {
    font-size: 20px;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 16px;
}

.usage-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.usage-card {
    background: white;
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    display: flex;
    align-items: center;
    gap: 16px;
}

.usage-icon {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
}

.usage-number {
    font-size: 28px;
    font-weight: 800;
    color: #6366f1;
}

.usage-label {
    font-size: 12px;
    color: #64748b;
}

.history-table {
    width: 100%;
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.history-table th {
    background: #f8fafc;
    padding: 12px 16px;
    text-align: left;
    font-size: 12px;
    font-weight: 700;
    color: #64748b;
}

.history-table td {
    padding: 14px 16px;
    border-bottom: 1px solid #f1f5f9;
}

.btn-download {
    padding: 6px 12px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    font-size: 12px;
    cursor: pointer;
}

.plans-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.plan-option {
    background: white;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    padding: 24px;
    position: relative;
}

.plan-recommended {
    border-color: #6366f1;
    transform: scale(1.05);
}

.recommended-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: #f59e0b;
    color: white;
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 11px;
    font-weight: 700;
}

.plan-option-header {
    text-align: center;
    margin-bottom: 20px;
}

.plan-option-header h3 {
    font-size: 18px;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 12px;
}

.plan-price {
    font-size: 36px;
    font-weight: 800;
    color: #6366f1;
}

.plan-price span {
    font-size: 14px;
    color: #64748b;
}

.discount-badge {
    display: inline-block;
    margin-top: 8px;
    padding: 4px 10px;
    background: #d1fae5;
    color: #065f46;
    border-radius: 6px;
    font-size: 11px;
    font-weight: 700;
}

.plan-features {
    list-style: none;
    margin-bottom: 20px;
}

.plan-features li {
    padding: 8px 0;
    font-size: 13px;
    color: #475569;
}

.btn-select-plan {
    width: 100%;
    padding: 12px;
    background: #f8fafc;
    color: #6366f1;
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    text-align: center;
    font-weight: 600;
    transition: all 0.2s;
}

.btn-select-plan:hover {
    background: #6366f1;
    color: white;
    border-color: #6366f1;
}

.btn-recommended {
    background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
    color: white;
    border: none;
}

/* ==================== SETTINGS PAGE ==================== */
.settings-section {
    margin-bottom: 30px;
}

.settings-header {
    margin-bottom: 16px;
}

.settings-header h2 {
    font-size: 18px;
    font-weight: 700;
    color: #1e293b;
}

.settings-card {
    background: white;
    padding: 24px;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.btn-save {
    padding: 12px 24px;
    background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.2s;
}

.btn-save:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(99,102,241,0.3);
}

.notification-options {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.notification-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px;
    background: #f8fafc;
    border-radius: 10px;
}

.notification-title {
    font-size: 14px;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 4px;
}

.notification-desc {
    font-size: 12px;
    color: #64748b;
}

.toggle-switch {
    position: relative;
    display: inline-block;
    width: 50px;
    height: 26px;
}

.toggle-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.toggle-slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #cbd5e1;
    transition: 0.3s;
    border-radius: 26px;
}

.toggle-slider:before {
    position: absolute;
    content: "";
    height: 20px;
    width: 20px;
    left: 3px;
    bottom: 3px;
    background-color: white;
    transition: 0.3s;
    border-radius: 50%;
}

.toggle-switch input:checked + .toggle-slider {
    background-color: #10b981;
}

.toggle-switch input:checked + .toggle-slider:before {
    transform: translateX(24px);
}

.danger-zone {
    margin-top: 40px;
}

.danger-card {
    background: linear-gradient(135deg, #fef2f2 0%, #fee2e2 100%);
    border: 2px solid #fca5a5;
}

.danger-actions {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.danger-action {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px;
    background: white;
    border-radius: 10px;
}

.danger-title {
    font-size: 15px;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 4px;
}

.danger-desc {
    font-size: 12px;
    color: #64748b;
}

.btn-danger-outline {
    padding: 8px 20px;
    background: white;
    color: #ef4444;
    border: 2px solid #ef4444;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
}

.btn-danger {
    padding: 8px 20px;
    background: #ef4444;
    color: white;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
}

/* ==================== WHATSAPP STYLES ==================== */
.whatsapp-main {
    display: flex;
    flex-direction: column;
    height: calc(100vh - 60px);
}

.whatsapp-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    margin-bottom: 20px;
}

.whatsapp-status {
    display: flex;
    align-items: center;
    gap: 12px;
}

.status-indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    animation: pulse 2s infinite;
}

.status-indicator.disconnected {
    background: #ef4444;
}

.status-indicator.connected {
    background: #10b981;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

.status-label {
    display: block;
    font-size: 12px;
    color: #64748b;
}

.status-value {
    display: block;
    font-size: 16px;
    font-weight: 700;
    color: #1e293b;
}

.btn-connect-whatsapp {
    padding: 12px 24px;
    background: #25d366;
    color: white;
    border: none;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.2s;
}

.btn-connect-whatsapp:hover {
    background: #20ba5a;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.3);
}

/* QR Modal */
.whatsapp-qr-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.7);
    z-index: 10000;
    align-items: center;
    justify-content: center;
}

.whatsapp-qr-modal.active {
    display: flex;
}

.qr-content {
    background: white;
    border-radius: 20px;
    padding: 20px;
    max-width: 700px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    text-align: center;
    box-shadow: 0 20px 60px rgba(0,0,0,0.3);
}

.qr-content h2 {
    font-size: 24px;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 8px;
}

.qr-content p {
    font-size: 14px;
    color: #64748b;
    margin-bottom: 24px;
}

.qr-code-container {
    width: 100%;
    min-height: 400px;
    margin: 0 auto 0px;
    background: #f8fafc;
    border-radius: 12px;
    border: 3px solid #25d366;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.qr-placeholder svg {
    width: 250px;
    height: 250px;
}

.qr-loading {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
}

.spinner {
    width: 48px;
    height: 48px;
    border: 4px solid #e2e8f0;
    border-top-color: #25d366;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.qr-instructions {
    text-align: left;
    background: #f8fafc;
    padding: 20px;
    border-radius: 12px;
    margin-bottom: 20px;
}

.qr-instructions h4 {
    font-size: 14px;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 12px;
}

.qr-instructions ol {
    margin-left: 20px;
    font-size: 13px;
    color: #475569;
}

.qr-instructions li {
    padding: 4px 0;
}

.btn-close-qr {
    padding: 12px 32px;
    background: #f8fafc;
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
}

/* WhatsApp Container */
.whatsapp-container {
    flex: 1;
    display: grid;
    grid-template-columns: 350px 1fr 300px;
    gap: 0;
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 16px rgba(0,0,0,0.08);
    overflow: hidden;
    height: calc(100vh - 200px);
}

/* Sidebar - Chat List */
.whatsapp-sidebar {
    border-right: 1px solid #e2e8f0;
    display: flex;
    flex-direction: column;
    background: #f8fafc;
}

.whatsapp-search {
    position: relative;
    padding: 16px;
    background: white;
    border-bottom: 1px solid #e2e8f0;
}

.whatsapp-search input {
    width: 100%;
    padding: 10px 12px 10px 40px;
    border: 1.5px solid #e2e8f0;
    border-radius: 8px;
    font-size: 13px;
}

.whatsapp-search .search-icon {
    position: absolute;
    left: 28px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 16px;
}

.whatsapp-filters {
    display: flex;
    gap: 8px;
    padding: 12px 16px;
    background: white;
    border-bottom: 1px solid #e2e8f0;
}

.filter-chip {
    padding: 6px 12px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    font-size: 11px;
    font-weight: 600;
    color: #64748b;
    cursor: pointer;
    transition: all 0.2s;
}

.filter-chip.active {
    background: #25d366;
    color: white;
    border-color: #25d366;
}

.chat-list {
    flex: 1;
    overflow-y: auto;
}

.chat-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 16px;
    cursor: pointer;
    transition: all 0.2s;
    border-bottom: 1px solid #f1f5f9;
    background: white;
}

.chat-item:hover {
    background: #f8fafc;
}

.chat-item.active {
    background: linear-gradient(135deg, #ecfdf5 0%, #d1fae5 100%);
    border-left: 4px solid #25d366;
}

.chat-avatar {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    flex-shrink: 0;
}

.chat-info {
    flex: 1;
    min-width: 0;
}

.chat-name {
    font-size: 14px;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 4px;
}

.chat-preview {
    font-size: 12px;
    color: #64748b;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.chat-meta {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 6px;
}

.chat-time {
    font-size: 11px;
    color: #94a3b8;
}

.chat-badge {
    padding: 3px 8px;
    border-radius: 10px;
    font-size: 10px;
    font-weight: 700;
}

.active-badge {
    background: #d1fae5;
    color: #065f46;
}

.expired-badge {
    background: #fee2e2;
    color: #991b1b;
}

/* Main Chat Panel */
.whatsapp-main-panel {
    display: flex;
    flex-direction: column;
    position: relative;
}

.no-chat-selected {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 16px;
}

.no-chat-icon {
    font-size: 64px;
    opacity: 0.3;
}

.no-chat-selected h3 {
    font-size: 20px;
    font-weight: 700;
    color: #1e293b;
}

.no-chat-selected p {
    font-size: 14px;
    color: #64748b;
}

.chat-panel {
    display: none;
    flex-direction: column;
    height: 100%;
}

.chat-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 20px;
    background: #f8fafc;
    border-bottom: 1px solid #e2e8f0;
}

.chat-header-user {
    display: flex;
    align-items: center;
    gap: 12px;
}

.chat-avatar-large {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
}

.chat-header-name {
    font-size: 16px;
    font-weight: 700;
    color: #1e293b;
}

.chat-header-status {
    font-size: 12px;
    color: #10b981;
}

.btn-user-info {
    padding: 8px 16px;
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 6px;
}

.chat-messages {
    flex: 1;
    overflow-y: auto;
    padding: 20px;
    background: #f0f2f5;
}

.chat-date {
    text-align: center;
    padding: 8px;
    margin: 16px 0;
    font-size: 12px;
    color: #64748b;
    background: white;
    border-radius: 8px;
    display: inline-block;
    position: relative;
    left: 50%;
    transform: translateX(-50%);
}

.message {
    display: flex;
    margin-bottom: 12px;
}

.message-received {
    justify-content: flex-start;
}

.message-sent {
    justify-content: flex-end;
}

.message-content {
    max-width: 65%;
    padding: 10px 14px;
    border-radius: 8px;
    position: relative;
}

.message-received .message-content {
    background: white;
    border-bottom-left-radius: 2px;
}

.message-sent .message-content {
    background: #d1fae5;
    border-bottom-right-radius: 2px;
}

.message-content p {
    font-size: 14px;
    color: #1e293b;
    line-height: 1.5;
    margin-bottom: 6px;
}

.message-time {
    font-size: 11px;
    color: #64748b;
    display: block;
    text-align: right;
}

/* Quick Replies */
.quick-replies {
    padding: 12px 20px;
    background: white;
    border-top: 1px solid #e2e8f0;
}

.quick-replies-title {
    font-size: 12px;
    font-weight: 600;
    color: #64748b;
    margin-bottom: 8px;
}

.quick-replies-list {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.quick-reply-btn {
    padding: 6px 12px;
    background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%);
    border: 1px solid #6366f1;
    border-radius: 16px;
    font-size: 12px;
    font-weight: 600;
    color: #6366f1;
    cursor: pointer;
    transition: all 0.2s;
}

.quick-reply-btn:hover {
    background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
    color: white;
    transform: translateY(-1px);
}

/* Chat Input */
.chat-input-container {
    display: flex;
    align-items: flex-end;
    gap: 12px;
    padding: 16px 20px;
    background: #f8fafc;
    border-top: 1px solid #e2e8f0;
}

.btn-attachment {
    width: 40px;
    height: 40px;
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: 50%;
    font-size: 18px;
    cursor: pointer;
    flex-shrink: 0;
}

#messageInput {
    flex: 1;
    padding: 10px 14px;
    border: 1.5px solid #e2e8f0;
    border-radius: 20px;
    font-size: 14px;
    font-family: inherit;
    resize: none;
    max-height: 120px;
    overflow-y: auto;
}

#messageInput:focus {
    outline: none;
    border-color: #25d366;
}

.btn-send-message {
    width: 44px;
    height: 44px;
    background: #25d366;
    border: none;
    border-radius: 50%;
    font-size: 20px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
    flex-shrink: 0;
}

.btn-send-message:hover {
    background: #20ba5a;
    transform: scale(1.05);
}

/* User Info Sidebar */
.user-info-sidebar {
    border-left: 1px solid #e2e8f0;
    background: white;
    overflow-y: auto;
    transition: transform 0.3s;
}

.user-info-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
    color: white;
}

.user-info-header h3 {
    font-size: 16px;
    font-weight: 700;
}

.btn-close-info {
    width: 32px;
    height: 32px;
    background: rgba(255,255,255,0.2);
    border: none;
    border-radius: 50%;
    color: white;
    font-size: 20px;
    cursor: pointer;
}

.user-info-content {
    padding: 20px;
}

.user-info-avatar {
    text-align: center;
    padding: 20px 0;
    border-bottom: 1px solid #e2e8f0;
    margin-bottom: 20px;
}

.avatar-large {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 40px;
    margin-bottom: 12px;
}

.user-info-name {
    font-size: 18px;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 4px;
}

.user-info-phone {
    font-size: 13px;
    color: #64748b;
}

.info-section {
    margin-bottom: 24px;
}

.info-section-title {
    font-size: 13px;
    font-weight: 700;
    color: #64748b;
    margin-bottom: 12px;
    padding-bottom: 8px;
    border-bottom: 2px solid #f1f5f9;
}

.info-rows {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.info-row {
    display: flex;
    justify-content: space-between;
    font-size: 13px;
}

.info-key {
    color: #64748b;
}

.info-value {
    font-weight: 600;
    color: #1e293b;
    text-align: right;
}

.info-actions {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.info-action-btn {
    padding: 10px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
    color: #1e293b;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.2s;
}

.info-action-btn:hover {
    background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%);
    border-color: #6366f1;
    color: #6366f1;
}

/* ==================== USER PAGE LAYOUT ==================== */
.user-page {
    display: flex;
    min-height: 100vh;
    background: #f8fafc;
}

.user-sidebar {
    background: white;
    border-right: 1px solid #e2e8f0;
    display: flex;
    flex-direction: column;
    position: fixed;
    left: 0;
    top: 0;
    bottom: 0;
    width: 250px;
    z-index: 100;
}

.user-sidebar .sidebar-header {
    padding: 20px;
    border-bottom: 1px solid #e2e8f0;
}

.user-sidebar .sidebar-logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.user-sidebar .brand-icon {
    font-size: 24px;
}

.user-sidebar .brand-name {
    font-size: 18px;
    font-weight: 700;
    color: #1e293b;
}

.user-sidebar .sidebar-nav {
    flex: 1;
    padding: 10px 0;
    overflow-y: auto;
}

.user-sidebar .sidebar-link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 20px;
    color: #64748b;
    text-decoration: none;
    transition: all 0.2s;
    border-left: 3px solid transparent;
}

.user-sidebar .sidebar-link:hover {
    background: #f8fafc;
    color: #6366f1;
}

.user-sidebar .sidebar-link.active {
    background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%);
    color: #6366f1;
    border-left-color: #6366f1;
    font-weight: 600;
}

.user-sidebar .link-icon {
    font-size: 18px;
}

.user-sidebar .sidebar-footer {
    padding: 20px;
    border-top: 1px solid #e2e8f0;
}

.user-sidebar .sidebar-logout {
    width: 100%;
    padding: 12px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    color: #ef4444;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all 0.2s;
}

.user-sidebar .sidebar-logout:hover {
    background: #fee2e2;
    border-color: #ef4444;
}

.user-main {
    margin-left: 250px;
    padding: 30px;
    width: calc(100% - 250px);
    min-height: 100vh;
    background: #f8fafc;
}

/* ==================== CONTACT & MESSAGES STYLES ==================== */
.contact-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 10px;
    height: calc(100vh - 20px);
    display: flex;
    flex-direction: column;
}

/* Welcome Tip Messages */
.message.welcome-tip {
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
    border-left: 4px solid #0ea5e9;
    margin: 8px 0;
    animation: welcomeTipSlide 0.5s ease-out;
}

.message.welcome-tip .message-avatar {
    background: linear-gradient(135deg, #0ea5e9 0%, #0284c7 100%);
    color: white;
    box-shadow: 0 2px 8px rgba(14, 165, 233, 0.3);
}

.message.welcome-tip .message-sender {
    color: #0c4a6e;
    font-weight: 600;
}

.message.welcome-tip .message-content p {
    color: #0c4a6e;
    font-weight: 500;
    line-height: 1.5;
}

@keyframes welcomeTipSlide {
    from {
        opacity: 0;
        transform: translateX(-20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.contact-content-wrapper {
    display: flex;
    gap: 20px;
    flex: 1;
    min-height: 0;
}

.contact-header {
    text-align: center;
    margin-bottom: 15px;
    flex-shrink: 0;
}

.contact-header h1 {
    font-size: 28px;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 8px;
}

.contact-header p {
    font-size: 14px;
    color: #64748b;
}

.contact-chat-wrapper {
    background: white;
    border-radius: 16px;
    box-shadow: 0 4px 16px rgba(0,0,0,0.08);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    flex: 1;
    min-height: 0;
}

.contact-messages {
    overflow-y: auto;
    padding: 20px;
    background: #f0f2f5;
    flex: 1;
    min-height: 0;
    border-radius: 16px 16px 0 0;
}

.contact-input-container {
    display: flex !important;
    visibility: visible !important;
    opacity: 1 !important;
    align-items: flex-end;
    gap: 12px;
    padding: 20px;
    background: white;
    border-top: 1px solid #e2e8f0;
    border-radius: 0 0 16px 16px;
    flex-shrink: 0;
    position: relative;
    z-index: 10;
}

#contactMessageInput {
    flex: 1;
    padding: 12px 16px;
    border: 1.5px solid #e2e8f0;
    border-radius: 20px;
    font-size: 14px;
    font-family: inherit;
    resize: none;
    max-height: 120px;
    min-height: 44px;
    display: block !important;
    visibility: visible !important;
}

#contactMessageInput:focus {
    outline: none;
    border-color: #6366f1;
}

.btn-send-contact {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
    border: none;
    border-radius: 50%;
    font-size: 20px;
    cursor: pointer;
    display: flex !important;
    visibility: visible !important;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
    flex-shrink: 0;
}

.btn-send-contact:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 12px rgba(99, 102, 241, 0.3);
}

.message-avatar {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    flex-shrink: 0;
}

.message-sender {
    font-size: 12px;
    font-weight: 600;
    color: #6366f1;
    margin-bottom: 4px;
}

.quick-questions {
    padding: 12px 20px;
    background: white;
    border-top: 1px solid #e2e8f0;
    flex-shrink: 0;
}

.quick-questions-title {
    font-size: 12px;
    font-weight: 600;
    color: #64748b;
    margin-bottom: 10px;
}

.quick-questions-list {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.quick-question-btn {
    padding: 8px 14px;
    background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%);
    border: 1px solid #6366f1;
    border-radius: 16px;
    font-size: 12px;
    font-weight: 600;
    color: #6366f1;
    cursor: pointer;
    transition: all 0.2s;
}

.quick-question-btn:hover {
    background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
    color: white;
    transform: translateY(-1px);
}

.contact-info-box {
    background: white;
    border-radius: 16px;
    padding: 20px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    width: 300px;
    flex-shrink: 0;
    height: fit-content;
}

.contact-info-box h3 {
    font-size: 16px;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 16px;
}

.contact-channels {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.contact-channel {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    background: #f8fafc;
    border-radius: 12px;
}

.channel-icon {
    font-size: 24px;
}

.channel-label {
    font-size: 11px;
    color: #64748b;
    margin-bottom: 2px;
}

.channel-value {
    font-size: 14px;
    font-weight: 600;
    color: #1e293b;
}

.typing-indicator {
    opacity: 0.6;
}

.typing-dots {
    display: flex;
    gap: 4px;
    padding: 10px 14px;
}

.typing-dots span {
    width: 8px;
    height: 8px;
    background: #94a3b8;
    border-radius: 50%;
    animation: typingBounce 1.4s infinite;
}

.typing-dots span:nth-child(2) {
    animation-delay: 0.2s;
}

.typing-dots span:nth-child(3) {
    animation-delay: 0.4s;
}

@keyframes typingBounce {
    0%, 60%, 100% { transform: translateY(0); }
    30% { transform: translateY(-10px); }
}

/* Admin Messages Styles - Moved to admin-messages.css */

/* All messages styles moved to admin-messages.css */

.no-user-selected {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 16px;
}

.no-user-icon {
    font-size: 64px;
    opacity: 0.3;
}

.admin-chat-panel {
    display: flex !important;
    flex-direction: column;
    height: 100%;
    width: 100%;
}

.admin-chat-panel.hidden {
    display: none !important;
}

.admin-chat-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 20px;
    background: #f8fafc;
    border-bottom: 1px solid #e2e8f0;
}

.chat-header-details {
    font-size: 12px;
    color: #64748b;
}

.header-sep {
    margin: 0 8px;
}

.chat-header-actions {
    display: flex;
    gap: 8px;
}

.btn-header-action {
    width: 36px;
    height: 36px;
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.2s;
}

.btn-header-action:hover {
    background: #eff6ff;
    border-color: #6366f1;
}

.admin-chat-messages {
    flex: 1;
    overflow-y: auto;
    padding: 20px;
    background: #f0f2f5;
    min-height: 300px;
    max-height: calc(100vh - 400px);
}

.admin-quick-replies {
    padding: 12px 20px;
    background: white;
    border-top: 1px solid #e2e8f0;
    flex-shrink: 0;
    display: block !important;
    visibility: visible !important;
}

.admin-quick-replies-list {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.admin-quick-reply-btn {
    padding: 6px 12px;
    background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%);
    border: 1px solid #6366f1;
    border-radius: 16px;
    font-size: 12px;
    font-weight: 600;
    color: #6366f1;
    cursor: pointer;
    transition: all 0.2s;
}

.admin-quick-reply-btn:hover {
    background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
    color: white;
}

.admin-chat-input {
    display: flex !important;
    visibility: visible !important;
    opacity: 1 !important;
    align-items: flex-end;
    gap: 12px;
    padding: 16px 20px;
    background: #f8fafc;
    border-top: 1px solid #e2e8f0;
    flex-shrink: 0;
}

#adminMessageInput {
    flex: 1;
    display: block !important;
    visibility: visible !important;
    padding: 10px 14px;
    border: 1.5px solid #e2e8f0;
    border-radius: 20px;
    font-size: 14px;
    font-family: inherit;
    resize: none;
    max-height: 120px;
}

#adminMessageInput:focus {
    outline: none;
    border-color: #6366f1;
}

.btn-send-admin-msg {
    width: 44px;
    height: 44px;
    background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
    border: none;
    border-radius: 50%;
    font-size: 20px;
    cursor: pointer;
    display: flex !important;
    visibility: visible !important;
    opacity: 1 !important;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
    flex-shrink: 0;
}

.btn-send-admin-msg:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 12px rgba(99, 102, 241, 0.3);
}

/* ==================== DEMO LOGIN BUTTONS ==================== */
.btn-demo-login {
    width: 100%;
    padding: 12px 20px;
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 12px;
    transition: all 0.2s;
}

.btn-demo-login:hover {
    background: linear-gradient(135deg, #059669 0%, #047857 100%);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3);
}

.demo-accounts {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 12px;
}

.demo-account-item {
    padding: 12px;
    background: #f8fafc;
    border: 1.5px solid #e2e8f0;
    border-radius: 10px;
    transition: all 0.2s;
}

.demo-account-item:hover {
    background: white;
    border-color: #6366f1;
    box-shadow: 0 4px 12px rgba(99, 102, 241, 0.1);
}

.demo-account-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}

.demo-account-header strong {
    font-size: 13px;
    color: #1e293b;
}

.demo-badge {
    padding: 3px 8px;
    background: linear-gradient(135deg, #d1fae5 0%, #a7f3d0 100%);
    color: #065f46;
    border-radius: 10px;
    font-size: 10px;
    font-weight: 700;
}

.demo-badge.expired {
    background: linear-gradient(135deg, #fee2e2 0%, #fecaca 100%);
    color: #991b1b;
}

.btn-demo-quick {
    width: 100%;
    padding: 8px 14px;
    background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
    color: white;
    border: none;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    margin-top: 8px;
    transition: all 0.2s;
}

.btn-demo-quick:hover {
    background: linear-gradient(135deg, #4f46e5 0%, #7c3aed 100%);
    transform: scale(1.02);
}

/* ==================== RESPONSIVE ==================== */
@media (max-width: 1024px) {
    .dashboard-stats,
    .admin-stats,
    .quick-stats,
    .user-stats-row {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .charts-row,
    .data-row {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .hero-container,
    .features-grid,
    .pricing-grid,
    .steps-grid,
    .about-stats,
    .quick-actions,
    .user-stats-row {
        grid-template-columns: 1fr;
    }
    
    .auth-container,
    .payment-container {
        grid-template-columns: 1fr;
    }
    
    .auth-sidebar {
        display: none;
    }
    
    .nav-menu {
        display: none;
    }
    
    .hero-title {
        font-size: 32px;
    }
    
    .section-title {
        font-size: 28px;
    }
    
    .sidebar {
        width: 200px;
    }
}

/* ==================== TURKEY MAP SVG STYLES ==================== */
.turkey-map-container {
    background: white;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    margin-bottom: 30px;
}

.map-legend {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-bottom: 25px;
    padding: 20px;
    background: #f8fafc;
    border-radius: 8px;
}

.legend-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    font-weight: 500;
    color: #475569;
}

.legend-color {
    width: 20px;
    height: 20px;
    border-radius: 4px;
    border: 2px solid #e2e8f0;
}

.turkey-map-svg {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 600px;
    position: relative;
}

.turkey-map-svg svg {
    width: 100%;
    height: auto;
    max-height: 700px;
}

/* ==================== LEAFLET MAP STYLES ==================== */
.turkey-map-leaflet {
    width: 100%;
    height: 600px;
    border-radius: 12px;
    border: 2px solid #e2e8f0;
    box-shadow: 0 4px 16px rgba(0,0,0,0.08);
    position: relative;
    overflow: hidden;
}

/* Leaflet popup custom styles */
.leaflet-popup-content-wrapper {
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.15);
    border: 1px solid #e2e8f0;
}

.leaflet-popup-content {
    margin: 16px 20px;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-size: 14px;
    line-height: 1.5;
}

.leaflet-popup-content h3 {
    margin: 0 0 8px 0;
    color: #1e293b;
    font-size: 16px;
    font-weight: 700;
}

.leaflet-popup-content .popup-stats {
    display: flex;
    flex-direction: column;
    gap: 4px;
    margin-top: 8px;
}

.leaflet-popup-content .popup-stat {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 4px 0;
    border-bottom: 1px solid #f1f5f9;
}

.leaflet-popup-content .popup-stat:last-child {
    border-bottom: none;
}

.leaflet-popup-content .popup-stat-label {
    color: #64748b;
    font-size: 13px;
}

.leaflet-popup-content .popup-stat-value {
    font-weight: 600;
    color: #1e293b;
}

.leaflet-popup-content .popup-stat-value.active {
    color: #10b981;
}

.leaflet-popup-content .popup-stat-value.inactive {
    color: #ef4444;
}

/* Leaflet control styles */
.leaflet-control-zoom {
    border-radius: 8px;
    box-shadow: 0 4px 16px rgba(0,0,0,0.15);
    border: 1px solid #e2e8f0;
}

.leaflet-control-zoom a {
    background: white;
    color: #64748b;
    border: none;
    font-size: 18px;
    font-weight: 700;
    transition: all 0.2s ease;
}

.leaflet-control-zoom a:hover {
    background: #f8fafc;
    color: #1e293b;
}

/* City number markers */
.city-number-marker {
    background: transparent !important;
    border: none !important;
}

.city-number-marker div {
    transition: all 0.2s ease;
    cursor: pointer;
}

.city-number-marker div:hover {
    transform: scale(1.1);
    box-shadow: 0 4px 8px rgba(0,0,0,0.3) !important;
}

/* Custom map controls */
.map-controls {
    position: absolute;
    top: 20px;
    right: 20px;
    z-index: 1000;
    display: flex;
    gap: 8px;
}

.map-control-btn {
    background: white;
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    padding: 12px;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    font-size: 16px;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.map-control-btn:hover {
    background: #f8fafc;
    border-color: #cbd5e1;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

/* ==================== MESSAGE MODAL STYLES ==================== */
.message-container {
    display: flex;
    height: 500px;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    overflow: hidden;
}

.message-sidebar {
    width: 250px;
    background: #f8fafc;
    border-right: 1px solid #e2e8f0;
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.message-user-info {
    text-align: center;
    padding: 20px;
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.user-avatar-large {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #3b82f6, #1d4ed8);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    margin: 0 auto 15px;
    color: white;
}

.message-user-info h3 {
    margin: 0 0 5px 0;
    color: #1e293b;
    font-size: 18px;
}

.message-user-info p {
    margin: 0;
    color: #64748b;
    font-size: 14px;
}

.message-actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.message-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    background: white;
}

.message-input-container {
    padding: 20px;
    border-bottom: 1px solid #e2e8f0;
}

.message-input-container textarea {
    width: 100%;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    padding: 12px;
    font-size: 14px;
    resize: vertical;
    min-height: 80px;
}

.message-input-container textarea:focus {
    outline: none;
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.message-history {
    flex: 1;
    padding: 20px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.message-item {
    display: flex;
    margin-bottom: 15px;
}

.message-item.admin {
    justify-content: flex-end;
}

.message-item.user {
    justify-content: flex-start;
}

.message-bubble {
    max-width: 70%;
    padding: 12px 16px;
    border-radius: 18px;
    position: relative;
}

.message-item.admin .message-bubble {
    background: linear-gradient(135deg, #3b82f6, #1d4ed8);
    color: white;
    border-bottom-right-radius: 4px;
}

.message-item.user .message-bubble {
    background: #f1f5f9;
    color: #1e293b;
    border-bottom-left-radius: 4px;
}

.message-bubble p {
    margin: 0 0 5px 0;
    line-height: 1.4;
}

.message-time {
    font-size: 11px;
    opacity: 0.7;
}

/* Message buttons */
.btn-message {
    background: linear-gradient(135deg, #10b981, #059669);
    color: white;
    border: none;
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 12px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-message:hover {
    background: linear-gradient(135deg, #059669, #047857);
    transform: translateY(-1px);
    box-shadow: 0 2px 4px rgba(16, 185, 129, 0.3);
}

/* Loading spinner */
.loading-spinner {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid #f3f3f3;
    border-top: 3px solid #3b82f6;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-right: 10px;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* İl circle elementleri */
.city-path {
    fill: #cbd5e1;
    stroke: #fff;
    stroke-width: 3;
    cursor: pointer;
    transition: all 0.3s ease;
    opacity: 0.95;
}

.city-path:hover {
    stroke: #1e293b;
    stroke-width: 4;
    filter: brightness(1.1) drop-shadow(0 6px 12px rgba(0,0,0,0.25));
    opacity: 1;
    transform: scale(1.05);
}

.city-path.active {
    fill: #10b981;
    stroke: #ffffff;
}

.city-path.inactive {
    fill: #ef4444;
    stroke: #ffffff;
}

.city-path.mixed {
    fill: #f59e0b;
    stroke: #ffffff;
}

.city-path.no-users {
    fill: #cbd5e1;
    stroke: #e2e8f0;
}

/* İl etiketleri */
.city-label {
    fill: #1e293b;
    font-size: 11px;
    font-weight: 600;
    pointer-events: none;
    text-anchor: middle;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    text-shadow: 0 1px 2px rgba(255,255,255,0.8);
}

.city-count {
    fill: #ffffff;
    font-size: 16px;
    font-weight: 700;
    pointer-events: none;
    text-anchor: middle;
    text-shadow: 0 2px 4px rgba(0,0,0,0.4), 0 1px 2px rgba(0,0,0,0.3);
    paint-order: stroke fill;
    stroke: rgba(0,0,0,0.3);
    stroke-width: 0.5px;
}

/* Tooltip */
.map-tooltip {
    position: absolute;
    background: rgba(30, 41, 59, 0.95);
    color: white;
    padding: 12px 16px;
    border-radius: 8px;
    font-size: 13px;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.2s;
    z-index: 1000;
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

.map-tooltip.show {
    opacity: 1;
}

.map-tooltip strong {
    display: block;
    font-size: 14px;
    margin-bottom: 6px;
    color: #fff;
}

.map-tooltip .tooltip-row {
    display: flex;
    justify-content: space-between;
    gap: 15px;
    margin: 4px 0;
}

.map-tooltip .tooltip-label {
    color: #cbd5e1;
}

.map-tooltip .tooltip-value {
    font-weight: 600;
}

.map-tooltip .tooltip-value.active {
    color: #10b981;
}

.map-tooltip .tooltip-value.inactive {
    color: #ef4444;
}

/* Loading animation */
.map-loading {
    text-align: center;
    padding: 60px;
    color: #64748b;
    font-size: 16px;
}

.map-loading::after {
    content: '...';
    animation: loading-dots 1.5s infinite;
}

@keyframes loading-dots {
    0%, 20% { content: '.'; }
    40% { content: '..'; }
    60%, 100% { content: '...'; }
}

/* Responsive */
@media (max-width: 768px) {
    .turkey-map-container {
        padding: 20px;
    }
    
    .map-legend {
        flex-direction: column;
        gap: 15px;
        align-items: flex-start;
    }
    
    .turkey-map-svg {
        min-height: 400px;
    }
    
    .turkey-map-leaflet {
        height: 400px;
    }
    
    .map-controls {
        top: 10px;
        right: 10px;
    }
    
    .map-control-btn {
        width: 40px;
        height: 40px;
        font-size: 14px;
    }
    
    .city-label {
        font-size: 10px;
    }
    
    .city-count {
        font-size: 14px;
    }
}

/* ==================== FONT AWESOME ICONS ==================== */
/* Font Awesome İkon Stilleri */
.fas, .far, .fab {
    font-family: "Font Awesome 6 Free", "Font Awesome 6 Pro", "Font Awesome 6 Brands" !important;
    font-weight: 900;
}

.far {
    font-weight: 400;
}

.fab {
    font-weight: 400;
}

/* Renkli İkon Stilleri */
.brand-icon i {
    color: #3b82f6;
    font-size: 24px;
    filter: drop-shadow(0 2px 4px rgba(59, 130, 246, 0.3));
}

.link-icon i {
    color: #6b7280;
    transition: all 0.3s ease;
}

.sidebar-link:hover .link-icon i {
    color: #3b82f6;
    transform: scale(1.1);
}

.sidebar-link.active .link-icon i {
    color: #3b82f6;
}

/* Input ikonları */
.input-icon i {
    color: #6366f1;
    transition: all 0.3s ease;
}

.input-icon:hover i {
    color: #4f46e5;
    transform: scale(1.1);
}

/* Buton ikonları */
.btn i {
    margin-right: 6px;
}

.btn-primary i {
    color: #ffffff;
}

.btn-secondary i {
    color: #6b7280;
}

.btn-success i {
    color: #10b981;
}

.btn-danger i {
    color: #ef4444;
}

.btn-warning i {
    color: #f59e0b;
}

/* Demo hesaplar için renkli ikonlar */
.demo-account-header i {
    margin-right: 6px;
    transition: all 0.3s ease;
}

.demo-account-item:nth-child(1) i {
    color: #10b981;
    filter: drop-shadow(0 2px 4px rgba(16, 185, 129, 0.3));
}

.demo-account-item:nth-child(1):hover i {
    color: #059669;
    transform: scale(1.1);
}

.demo-account-item:nth-child(2) i {
    color: #3b82f6;
    filter: drop-shadow(0 2px 4px rgba(59, 130, 246, 0.3));
}

.demo-account-item:nth-child(2):hover i {
    color: #2563eb;
    transform: scale(1.1);
}

.demo-account-item:nth-child(3) i {
    color: #8b5cf6;
    filter: drop-shadow(0 2px 4px rgba(139, 92, 246, 0.3));
}

.demo-account-item:nth-child(3):hover i {
    color: #7c3aed;
    transform: scale(1.1);
}

/* Sidebar özellikleri için ikonlar */
.feature-mini-icon i {
    color: #10b981;
    filter: drop-shadow(0 1px 2px rgba(16, 185, 129, 0.3));
    transition: all 0.3s ease;
}

.feature-mini:hover .feature-mini-icon i {
    color: #059669;
    transform: scale(1.1);
}

/* Çıkış butonu */
.sidebar-logout i {
    color: #ef4444;
    filter: drop-shadow(0 2px 4px rgba(239, 68, 68, 0.3));
    transition: all 0.3s ease;
}

.sidebar-logout:hover i {
    color: #dc2626;
    transform: scale(1.1) rotate(-5deg);
}

/* Hızlı giriş başlığı */
.sidebar-content h3 i {
    color: #6366f1;
    filter: drop-shadow(0 2px 4px rgba(99, 102, 241, 0.3));
    animation: demoTitleGlow 2s ease-in-out infinite alternate;
}

@keyframes demoTitleGlow {
    from {
        color: #6366f1;
        filter: drop-shadow(0 2px 4px rgba(99, 102, 241, 0.3));
    }
    to {
        color: #4f46e5;
        filter: drop-shadow(0 2px 8px rgba(99, 102, 241, 0.6));
    }
}

/* Demo hesaplar başlığı */
.admin-demo-info h4 i {
    color: #8b5cf6;
    filter: drop-shadow(0 2px 4px rgba(139, 92, 246, 0.3));
    animation: demoFlaskGlow 2s ease-in-out infinite alternate;
}

@keyframes demoFlaskGlow {
    from {
        color: #8b5cf6;
        filter: drop-shadow(0 2px 4px rgba(139, 92, 246, 0.3));
    }
    to {
        color: #7c3aed;
        filter: drop-shadow(0 2px 8px rgba(139, 92, 246, 0.6));
    }
}

/* Hızlı giriş butonları */
.btn-demo-quick i {
    color: #10b981;
    transition: all 0.3s ease;
}

.btn-demo-quick:hover i {
    color: #059669;
    transform: scale(1.1);
}

/* Form etiketleri */
.form-group label i {
    color: #374151;
    margin-right: 6px;
}

/* Geri butonu */
.back-btn i {
    color: #6b7280;
    transition: all 0.3s ease;
}

.back-btn:hover i {
    color: #374151;
    transform: translateX(-2px);
}

/* Şifremi unuttum linki */
.forgot-link i {
    color: #3b82f6;
    transition: all 0.3s ease;
}

.forgot-link:hover i {
    color: #2563eb;
    transform: scale(1.1);
}

/* Auth footer linki */
.auth-footer a i {
    color: #3b82f6;
    transition: all 0.3s ease;
}

.auth-footer a:hover i {
    color: #2563eb;
    transform: scale(1.1);
}

/* Checkbox ikonları */
.checkbox-label i {
    color: #6b7280;
    transition: all 0.3s ease;
}

.checkbox-label:hover i {
    color: #374151;
}

/* Responsive ikon boyutları */
@media (max-width: 768px) {
    .brand-icon i {
        font-size: 20px;
    }
    
    .link-icon i {
        font-size: 16px;
    }
    
    .feature-mini-icon i {
        font-size: 14px;
    }
}

/* ==================== DASHBOARD FONT AWESOME ICONS ==================== */
/* Dashboard stat card ikonları */
.stat-icon i {
    color: white;
    font-size: 20px;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
    transition: all 0.3s ease;
}

.stat-icon:hover i {
    transform: scale(1.1);
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.3));
}

/* Dashboard action ikonları */
.action-icon-large i {
    color: white;
    font-size: 24px;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
    transition: all 0.3s ease;
}

.action-icon-large:hover i {
    transform: scale(1.1);
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.3));
}

/* User avatar ikonları */
.user-avatar-small i {
    color: #3b82f6;
    font-size: 24px;
    filter: drop-shadow(0 2px 4px rgba(59, 130, 246, 0.3));
    transition: all 0.3s ease;
}

.user-avatar-small:hover i {
    transform: scale(1.1);
    color: #2563eb;
    filter: drop-shadow(0 4px 8px rgba(59, 130, 246, 0.4));
}

/* Dashboard ikon animasyonları */
@keyframes dashboardIconPulse {
    0% {
        transform: scale(1);
        filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
    }
    50% {
        transform: scale(1.05);
        filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.3));
    }
    100% {
        transform: scale(1);
        filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
    }
}

.stat-icon i {
    animation: dashboardIconPulse 3s infinite;
}

.action-icon-large i {
    animation: dashboardIconPulse 4s infinite;
}

/* ==================== ADMIN FONT AWESOME ICONS ==================== */
/* Admin stat card ikonları */
.admin-stat-card .stat-icon i {
    color: white;
    font-size: 24px;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
    transition: all 0.3s ease;
}

.admin-stat-card .stat-icon:hover i {
    transform: scale(1.1);
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.3));
}

/* Admin user avatar ikonları */
.data-item .user-avatar i {
    color: #3b82f6;
    font-size: 20px;
    filter: drop-shadow(0 2px 4px rgba(59, 130, 246, 0.3));
    transition: all 0.3s ease;
}

.data-item .user-avatar:hover i {
    transform: scale(1.1);
    color: #2563eb;
    filter: drop-shadow(0 4px 8px rgba(59, 130, 246, 0.4));
}

/* Admin payment ikonları */
.data-item .payment-icon i {
    color: #10b981;
    font-size: 20px;
    filter: drop-shadow(0 2px 4px rgba(16, 185, 129, 0.3));
    transition: all 0.3s ease;
}

.data-item .payment-icon:hover i {
    transform: scale(1.1);
    color: #059669;
    filter: drop-shadow(0 4px 8px rgba(16, 185, 129, 0.4));
}

/* Admin ikon animasyonları */
@keyframes adminIconPulse {
    0% {
        transform: scale(1);
        filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
    }
    50% {
        transform: scale(1.05);
        filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.3));
    }
    100% {
        transform: scale(1);
        filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
    }
}

.admin-stat-card .stat-icon i {
    animation: adminIconPulse 3s infinite;
}

.data-item .user-avatar i {
    animation: adminIconPulse 4s infinite;
}

.data-item .payment-icon i {
    animation: adminIconPulse 5s infinite;
}

/* ==================== REGISTER PAGE STYLES ==================== */
/* Form help text */
.form-help {
    display: block;
    font-size: 11px;
    color: #6b7280;
    margin-top: 4px;
    font-style: italic;
}

/* Password input group */
.password-input-group {
    position: relative;
    display: flex;
    align-items: center;
}

.password-input-group input {
    width: 100%;
    padding-right: 40px;
}

.password-toggle {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: #6b7280;
    cursor: pointer;
    padding: 4px;
    border-radius: 4px;
    transition: all 0.2s;
    z-index: 1;
}

.password-toggle:hover {
    color: #374151;
    background: rgba(0, 0, 0, 0.05);
}

.password-toggle i {
    font-size: 14px;
}

/* Notification bubble styles */
.notification-bubble {
    position: fixed !important;
    top: 20px !important;
    right: 20px !important;
    background: linear-gradient(135deg, #10b981 0%, #059669 100%) !important;
    color: white !important;
    padding: 16px 20px !important;
    border-radius: 12px !important;
    box-shadow: 0 8px 32px rgba(16, 185, 129, 0.3) !important;
    z-index: 99999999 !important;
    max-width: 350px !important;
    animation: notificationSlideIn 0.5s ease-out !important;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif !important;
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
}

.notification-bubble.error {
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%) !important;
    box-shadow: 0 8px 32px rgba(239, 68, 68, 0.3) !important;
}

.notification-bubble.warning {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%) !important;
    box-shadow: 0 8px 32px rgba(245, 158, 11, 0.3) !important;
}

.notification-content {
    display: flex !important;
    align-items: center !important;
    gap: 12px !important;
}

.notification-icon {
    font-size: 20px !important;
    color: white !important;
    flex-shrink: 0 !important;
}

.notification-text {
    flex: 1 !important;
    font-size: 14px !important;
    font-weight: 500 !important;
    line-height: 1.4 !important;
    color: white !important;
}

.notification-close {
    background: none !important;
    border: none !important;
    color: white !important;
    font-size: 14px !important;
    cursor: pointer !important;
    padding: 4px !important;
    border-radius: 4px !important;
    transition: background-color 0.2s !important;
    flex-shrink: 0 !important;
}

.notification-close:hover {
    background: rgba(255, 255, 255, 0.2) !important;
}

@keyframes notificationSlideIn {
    from {
        transform: translateX(100%) !important;
        opacity: 0 !important;
    }
    to {
        transform: translateX(0) !important;
        opacity: 1 !important;
    }
}

@keyframes notificationSlideOut {
    from {
        transform: translateX(0) !important;
        opacity: 1 !important;
    }
    to {
        transform: translateX(100%) !important;
        opacity: 0 !important;
    }
}

/* ASM Input Group */
.asm-input-group {
    display: flex;
    gap: 8px;
    align-items: flex-end;
}

.asm-input-group select {
    flex: 1;
}

.btn-add-asm {
    background: #10b981;
    color: white;
    border: 1px solid #10b981;
    padding: 12px 16px;
    border-radius: 8px;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    white-space: nowrap;
    display: flex;
    align-items: center;
    gap: 6px;
}

.btn-add-asm:hover {
    background: #059669;
    border-color: #059669;
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(16, 185, 129, 0.3);
}

.btn-add-asm i {
    font-size: 11px;
}

/* Modal buttons */
.modal-buttons {
    display: flex;
    gap: 12px;
    justify-content: flex-end;
    margin-top: 20px;
}

.modal-buttons .btn {
    min-width: 100px;
}

/* Username Display */
.username-display {
    position: relative;
}

.username-preview {
    position: absolute;
    top: 50%;
    right: 12px;
    transform: translateY(-50%);
    background: #f0f4ff;
    border: 1px solid #3b82f6;
    border-radius: 6px;
    padding: 8px 12px;
    font-size: 12px;
    color: #3b82f6;
    display: flex;
    align-items: center;
    gap: 6px;
    z-index: 2;
    pointer-events: none;
}

.username-preview i {
    font-size: 11px;
}

.username-preview span {
    font-weight: 500;
}

/* Password validation */
.password-match {
    border-color: #10b981 !important;
    box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.1) !important;
}

.password-mismatch {
    border-color: #ef4444 !important;
    box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.1) !important;
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 10000;
    backdrop-filter: blur(4px);
}

.modal.active {
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-content {
    background: white;
    border-radius: 12px;
    padding: 24px;
    max-width: 500px;
    width: 90%;
    max-height: 80vh;
    overflow-y: auto;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    animation: modalSlideIn 0.3s ease-out;
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 16px;
    border-bottom: 1px solid #e2e8f0;
}

.modal-header h3 {
    margin: 0;
    color: #1e293b;
    font-size: 18px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
}

.modal-header h3 i {
    color: #3b82f6;
    font-size: 16px;
}

.close-btn {
    background: none;
    border: none;
    color: #6b7280;
    font-size: 18px;
    cursor: pointer;
    padding: 4px;
    border-radius: 4px;
    transition: all 0.2s;
}

.close-btn:hover {
    color: #374151;
    background: #f3f4f6;
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: scale(0.9) translateY(-20px);
    }
    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

/* ==================== ADDRESS INPUT STYLES ==================== */
.address-input-wrapper {
    position: relative;
    display: flex;
    align-items: flex-start;
}

.styled-textarea {
    width: 100%;
    padding: 12px 45px 12px 15px;
    border: 2px solid #e5e7eb;
    border-radius: 12px;
    font-size: 14px;
    line-height: 1.5;
    resize: vertical;
    min-height: 80px;
    transition: all 0.3s ease;
    background: #fafafa;
    font-family: inherit;
    outline: none;
}

.styled-textarea:focus {
    border-color: #3b82f6;
    background: #ffffff;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
    transform: translateY(-1px);
}

.styled-textarea::placeholder {
    color: #9ca3af;
    font-style: italic;
}

.address-icon {
    position: absolute;
    right: 12px;
    top: 12px;
    color: #6b7280;
    font-size: 16px;
    pointer-events: none;
    transition: color 0.3s ease;
}

.styled-textarea:focus + .address-icon {
    color: #3b82f6;
}

.address-input-wrapper:hover .styled-textarea {
    border-color: #d1d5db;
}

.address-input-wrapper:hover .address-icon {
    color: #4b5563;
}

/* Modal içindeki adres alanı için özel stiller */
.modal .address-input-wrapper {
    margin-top: 8px;
}

.modal .styled-textarea {
    background: #ffffff;
    border: 2px solid #e5e7eb;
    font-size: 14px;
    padding: 12px 45px 12px 15px;
    border-radius: 10px;
    transition: all 0.3s ease;
    min-height: 90px;
    resize: vertical;
    width: 100%;
    outline: none;
    font-family: inherit;
    line-height: 1.5;
}

.modal .styled-textarea:focus {
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
    transform: translateY(-1px);
}

.modal .styled-textarea::placeholder {
    color: #9ca3af;
    font-style: italic;
    font-size: 13px;
}

.modal .address-icon {
    position: absolute;
    right: 12px;
    top: 12px;
    color: #6b7280;
    font-size: 16px;
    pointer-events: none;
    transition: color 0.3s ease;
    z-index: 1;
}

.modal .styled-textarea:focus + .address-icon {
    color: #3b82f6;
}

.modal .address-input-wrapper:hover .styled-textarea {
    border-color: #d1d5db;
}

.modal .address-input-wrapper:hover .address-icon {
    color: #4b5563;
}

/* Modal içindeki telefon alanı için özel stiller */
.modal .phone-input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.modal .styled-phone-input {
    width: 100%;
    padding: 12px 45px 12px 15px;
    border: 2px solid #e5e7eb;
    border-radius: 10px;
    font-size: 14px;
    transition: all 0.3s ease;
    background: #ffffff;
    outline: none;
    font-family: inherit;
}

.modal .styled-phone-input:focus {
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
    transform: translateY(-1px);
}

.modal .styled-phone-input::placeholder {
    color: #9ca3af;
    font-style: italic;
    font-size: 13px;
}

.modal .phone-icon {
    position: absolute;
    right: 12px;
    color: #6b7280;
    font-size: 16px;
    pointer-events: none;
    transition: color 0.3s ease;
    z-index: 1;
}

.modal .styled-phone-input:focus + .phone-icon {
    color: #3b82f6;
}

.modal .phone-input-wrapper:hover .styled-phone-input {
    border-color: #d1d5db;
}

.modal .phone-input-wrapper:hover .phone-icon {
    color: #4b5563;
}

/* Modal içindeki ASM adı alanı için özel stiller */
.modal .name-input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.modal .styled-name-input {
    width: 100%;
    padding: 12px 45px 12px 15px;
    border: 2px solid #e5e7eb;
    border-radius: 10px;
    font-size: 14px;
    transition: all 0.3s ease;
    background: #ffffff;
    outline: none;
    font-family: inherit;
    font-weight: 500;
}

.modal .styled-name-input:focus {
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
    transform: translateY(-1px);
}

.modal .styled-name-input::placeholder {
    color: #9ca3af;
    font-style: italic;
    font-size: 13px;
    font-weight: normal;
}

.modal .name-icon {
    position: absolute;
    right: 12px;
    color: #6b7280;
    font-size: 16px;
    pointer-events: none;
    transition: color 0.3s ease;
    z-index: 1;
}

.modal .styled-name-input:focus + .name-icon {
    color: #3b82f6;
}

.modal .name-input-wrapper:hover .styled-name-input {
    border-color: #d1d5db;
}

.modal .name-input-wrapper:hover .name-icon {
    color: #4b5563;
}

/* ==================== SUCCESS MODAL STYLES ==================== */
.success-actions {
    display: flex;
    gap: 12px;
    justify-content: center;
    margin-top: 20px;
}

.success-actions .btn {
    min-width: 140px;
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.success-actions .btn-primary {
    background: linear-gradient(135deg, #10b981, #059669);
    border: none;
    color: white;
}

.success-actions .btn-primary:hover {
    background: linear-gradient(135deg, #059669, #047857);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3);
}

.success-actions .btn-secondary {
    background: #f3f4f6;
    border: 2px solid #e5e7eb;
    color: #374151;
}

.success-actions .btn-secondary:hover {
    background: #e5e7eb;
    border-color: #d1d5db;
    transform: translateY(-1px);
}

/* ==================== PLAN SELECTION STYLES ==================== */
.plans-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
    margin: 32px 0;
    padding: 0 20px;
}

.plan-card {
    border: 2px solid #e5e7eb;
    border-radius: 16px;
    padding: 32px 24px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    background: #ffffff;
    position: relative;
    overflow: hidden;
}

.plan-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.1);
    border-color: #3b82f6;
}

.plan-card.selected {
    border-color: #3b82f6;
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
    box-shadow: 0 8px 24px rgba(59, 130, 246, 0.2);
}

.plan-card.selected::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
}

.plan-icon {
    font-size: 48px;
    margin-bottom: 16px;
    display: block;
}

.plan-name {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 8px;
    color: #1e293b;
}

.plan-description {
    font-size: 14px;
    color: #64748b;
    margin-bottom: 20px;
}

.plan-price {
    font-size: 36px;
    font-weight: 800;
    margin-bottom: 8px;
    color: #10b981;
}

.plan-price .currency {
    font-size: 20px;
    vertical-align: top;
}

.plan-price .period {
    font-size: 16px;
    font-weight: 500;
    color: #64748b;
}

.plan-duration {
    font-size: 14px;
    color: #64748b;
    margin-bottom: 24px;
}

.plan-features {
    text-align: left;
    margin-bottom: 24px;
}

.plan-features ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.plan-features li {
    padding: 8px 0;
    font-size: 14px;
    color: #374151;
    position: relative;
    padding-left: 24px;
}

.plan-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #10b981;
    font-weight: bold;
}

.plan-select-btn {
    width: 100%;
    padding: 12px 24px;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.plan-card:not(.selected) .plan-select-btn {
    background: #f3f4f6;
    color: #6b7280;
}

.plan-card.selected .plan-select-btn {
    background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
    color: white;
}

.plan-card:hover .plan-select-btn {
    transform: translateY(-2px);
}

.plan-card.selected .plan-select-btn {
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
}

/* Plan loading state */
.plans-loading {
    text-align: center;
    padding: 60px 20px;
    color: #64748b;
}

.plans-loading i {
    font-size: 32px;
    margin-bottom: 16px;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* ==================== SECURITY MODAL STYLES ==================== */
.security-icon {
    text-align: center;
    margin-bottom: 24px;
}

.security-icon i {
    font-size: 64px;
    color: #3b82f6;
    margin-bottom: 16px;
}

.security-icon h4 {
    margin: 0 0 8px 0;
    color: #1e293b;
    font-size: 24px;
}

.security-icon p {
    margin: 0;
    color: #64748b;
    font-size: 16px;
}

.verification-section {
    margin-top: 24px;
    padding-top: 24px;
    border-top: 1px solid #e5e7eb;
}

.verification-info {
    font-size: 14px;
    color: #64748b;
    text-align: center;
    margin: 12px 0 20px 0;
}

.close-btn {
    position: absolute;
    top: 16px;
    right: 16px;
    background: none;
    border: none;
    font-size: 20px;
    color: #6b7280;
    cursor: pointer;
    padding: 8px;
    border-radius: 50%;
    transition: all 0.3s ease;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.close-btn:hover {
    background: #f3f4f6;
    color: #374151;
}


