/* Navbar Styles */
.navbar {
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-light);
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 100;
}

.user-card {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 0;
    background: transparent;
    border: none;
    border-radius: 0;
    position: absolute;
    right: 0;
    margin-top: -13px;
}

.user-avatar {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #f472b6, #db2777);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.2rem;
    color: white;
}

.user-details {
    display: flex;
    flex-direction: column;
}

.user-name {
    font-weight: 600;
    color: var(--text-white);
    font-size: 0.9rem;
}

.user-role {
    font-size: 0.75rem;
    color: var(--text-muted);
    text-transform: capitalize;
}

/* Highlight animation for updated elements */
@keyframes highlightGlow {
    0% {
        box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.4);
        background-color: rgba(16, 185, 129, 0.1);
    }
    50% {
        box-shadow: 0 0 20px 5px rgba(16, 185, 129, 0.2);
        background-color: rgba(16, 185, 129, 0.15);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(16, 185, 129, 0);
        background-color: rgba(16, 185, 129, 0.05);
    }
}

.highlight-updated {
    animation: highlightGlow 4s ease-out;
    border-radius: 8px;
}

.logout-btn {
    background: var(--brand-dark);
    color: var(--text-white);
    padding: 8px 12px;
    border-radius: 8px;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s;
    border: none;
    display: flex;
    align-items: center;
    gap: 6px;
    white-space: nowrap;
}

.logout-btn:hover {
    background: var(--brand-primary);
}

/* Dashboard Main */
.dashboard-main {
    min-height: calc(100vh - 140px);
}

/* Dashboard Hero Section */
.dashboard-hero {
    margin-bottom: 50px;
    padding: 50px;
    background: linear-gradient(135deg, rgba(236, 72, 153, 0.15), rgba(139, 92, 246, 0.1));
    border: 1px solid rgba(236, 72, 153, 0.2);
    border-radius: 24px;
    position: relative;
    overflow: hidden;
}

.dashboard-hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(236, 72, 153, 0.15), transparent);
    border-radius: 50%;
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 1;
    margin-bottom: 40px;
}

.welcome-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(236, 72, 153, 0.2);
    border: 1px solid rgba(236, 72, 153, 0.3);
    padding: 8px 16px;
    border-radius: 20px;
    color: var(--brand-primary);
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 20px;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 900;
    color: var(--text-white);
    margin-bottom: 16px;
    line-height: 1.1;
}

.gradient-text {
    background: linear-gradient(135deg, #ec4899, #8b5cf6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-description {
    font-size: 1.2rem;
    color: var(--text-muted);
    margin-bottom: 30px;
    max-width: 600px;
}

.hero-actions {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.btn-hero-primary, .btn-hero-secondary {
    padding: 14px 28px;
    border-radius: 12px;
    font-weight: 600;
    font-size: 1rem;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
    text-decoration: none;
}

.btn-hero-primary {
    background: linear-gradient(135deg, var(--brand-dark), var(--brand-primary));
    color: white;
    box-shadow: 0 8px 20px rgba(236, 72, 153, 0.4);
}

.btn-hero-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 30px rgba(236, 72, 153, 0.5);
}

.btn-hero-secondary {
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-white);
    border: 1px solid var(--border-light);
}

.btn-hero-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(236, 72, 153, 0.3);
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    position: relative;
    z-index: 1;
}

.stat-card {
    background: rgba(15, 23, 42, 0.6);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 24px;
    display: flex;
    align-items: center;
    gap: 16px;
    transition: all 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-5px);
    border-color: rgba(236, 72, 153, 0.5);
    box-shadow: 0 10px 30px rgba(236, 72, 153, 0.2);
}

.stat-icon {
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, rgba(236, 72, 153, 0.2), rgba(139, 92, 246, 0.2));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--brand-primary);
}

.stat-content {
    flex: 1;
}

.stat-value {
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-white);
    line-height: 1;
    margin-bottom: 6px;
}

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

/* Tickets Section */
.tickets-section {
    margin-top: 50px;
}

.section-header-flex {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 30px;
    flex-wrap: wrap;
    gap: 20px;
}

.section-title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-white);
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 8px;
}

.section-title i {
    color: var(--brand-primary);
}

.section-subtitle {
    color: var(--text-muted);
    font-size: 0.95rem;
}

.filter-tabs {
    display: flex;
    gap: 10px;
    background: rgba(15, 23, 42, 0.6);
    padding: 6px;
    border-radius: 12px;
    border: 1px solid var(--border-light);
}

.tab-btn {
    padding: 10px 20px;
    border: none;
    background: transparent;
    color: var(--text-muted);
    font-weight: 600;
    font-size: 0.9rem;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.tab-btn.active {
    background: linear-gradient(135deg, var(--brand-dark), var(--brand-primary));
    color: white;
}

.tab-btn:hover:not(.active) {
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-white);
}

/* Tickets Grid */
.tickets-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 24px;
}

/* Modern Empty State */
.empty-state-modern {
    grid-column: 1 / -1;
    text-align: center;
    padding: 80px 40px;
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.6), rgba(30, 41, 59, 0.4));
    border: 2px dashed rgba(236, 72, 153, 0.3);
    border-radius: 24px;
    position: relative;
    overflow: hidden;
}

.empty-state-modern::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(236, 72, 153, 0.05), transparent 70%);
    animation: float 15s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    33% { transform: translate(30px, -30px) rotate(120deg); }
    66% { transform: translate(-20px, 20px) rotate(240deg); }
}

.empty-illustration {
    position: relative;
    display: inline-block;
    margin-bottom: 30px;
}

.empty-illustration i {
    font-size: 4rem;
    color: var(--brand-primary);
    opacity: 0.6;
}

.empty-illustration i:first-child {
    position: relative;
    z-index: 2;
}

.empty-illustration i:last-child {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(1.5);
    opacity: 0.2;
    z-index: 1;
}

.empty-state-modern h3 {
    font-size: 1.8rem;
    color: var(--text-white);
    margin-bottom: 12px;
    font-weight: 700;
    position: relative;
    z-index: 2;
}

.empty-state-modern p {
    color: var(--text-muted);
    font-size: 1.05rem;
    margin-bottom: 30px;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
    position: relative;
    z-index: 2;
}

.btn-empty-state {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: linear-gradient(135deg, var(--brand-dark), var(--brand-primary));
    color: white;
    padding: 14px 32px;
    border-radius: 12px;
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    box-shadow: 0 8px 20px rgba(236, 72, 153, 0.4);
    transition: all 0.3s ease;
    position: relative;
    z-index: 2;
}

.btn-empty-state:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(236, 72, 153, 0.5);
}

/* Analytics Grid */
.analytics-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 24px;
    margin-top: 30px;
}

.analytics-card {
    background: var(--bg-card);
    border: 1px solid var(--bg-card-hover);
    border-radius: var(--radius-lg);
    padding: 24px;
    display: flex;
    align-items: center;
    gap: 20px;
    transition: transform 0.3s, box-shadow 0.3s;
}

.analytics-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px -5px rgba(236, 72, 153, 0.2);
}

.analytics-icon {
    width: 60px;
    height: 60px;
    background: rgba(236, 72, 153, 0.15);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--brand-primary);
    font-size: 1.5rem;
    flex-shrink: 0;
}

.analytics-content {
    flex: 1;
}

.analytics-label {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 6px;
    font-weight: 500;
}

.analytics-value {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--text-white);
}

/* Responsive */
@media (max-width: 768px) {
    .user-card {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
        padding: 12px;
    }

    .logout-btn {
        width: 100%;
        justify-content: center;
    }

    .dashboard-title {
        font-size: 1.75rem;
    }

    .welcome-section {
        padding: 24px;
    }

    .bookings-grid,
    .events-grid {
        grid-template-columns: 1fr;
    }

    .analytics-grid {
        grid-template-columns: 1fr;
    }

    .section-header {
        flex-direction: column;
        gap: 16px;
    }

    .section-header .btn-primary {
        width: 100%;
    }
}

/* Password Toggle Button Styles */
.input-wrapper {
    position: relative;
}

.toggle-password {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: var(--text-muted);
    cursor: pointer;
    font-size: 1.1rem;
    transition: all 0.3s;
    padding: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
}

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

.toggle-password i {
    pointer-events: none;
}

.password-field {
    padding-right: 44px !important;
}
