/* ═══ DASHBOARD ═══ */
.dashboard-section, .admin-dashboard {
    padding: 120px 0 80px;
    min-height: 100vh;
}

/* ═══ WELCOME ═══ */
.welcome-card {
    position: relative;
    padding: 40px;
    background: linear-gradient(135deg, rgba(245,179,1,0.1), rgba(108,92,231,0.05));
    border: 1px solid rgba(245,179,1,0.2);
    border-radius: 24px;
    margin-bottom: 32px;
    overflow: hidden;
}

.welcome-glow {
    position: absolute;
    top: -50%;
    right: -20%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, var(--club-color, #F5B301) 0%, transparent 70%);
    opacity: 0.15;
    filter: blur(60px);
    pointer-events: none;
}

.welcome-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 24px;
    position: relative;
    z-index: 2;
}

.welcome-tag {
    color: var(--gold-light);
    font-size: 14px;
    margin-bottom: 8px;
    display: block;
}

.welcome-content h1 {
    font-size: clamp(24px, 4vw, 36px);
    font-weight: 900;
    margin-bottom: 8px;
}

.welcome-sub {
    color: var(--text-muted);
    font-size: 16px;
}

.welcome-sub strong { color: var(--gold-light); }

.welcome-avatar {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    background: var(--gradient-gold);
    color: var(--dark-bg);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 40px;
    font-weight: 900;
    box-shadow: 0 10px 40px rgba(245,179,1,0.4);
    flex-shrink: 0;
}

/* ═══ STATS GRID ═══ */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 16px;
    margin-bottom: 32px;
}

.stat-card {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 20px;
    background: rgba(26, 26, 46, 0.6);
    border: 1px solid rgba(245,179,1,0.15);
    border-radius: 16px;
    transition: all 0.3s;
    backdrop-filter: blur(10px);
}

.stat-card:hover {
    transform: translateY(-4px);
    border-color: rgba(245,179,1,0.4);
}

.stat-icon {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    flex-shrink: 0;
}

.stat-card .stat-value {
    display: block;
    font-size: 24px;
    font-weight: 900;
    color: var(--gold-light);
    line-height: 1;
}

.stat-card .stat-label {
    display: block;
    font-size: 13px;
    color: var(--text-muted);
    margin-top: 4px;
}

/* ═══ DASHBOARD GRID ═══ */
.dashboard-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.dash-card {
    background: rgba(26, 26, 46, 0.6);
    border: 1px solid rgba(245,179,1,0.15);
    border-radius: 20px;
    padding: 24px;
    backdrop-filter: blur(10px);
}

.dash-card.wide { grid-column: span 2; }

.dash-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 16px;
    border-bottom: 1px solid rgba(245,179,1,0.1);
}

.dash-card-header h3 {
    font-size: 16px;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--gold-light);
}

.link-more {
    color: var(--gold-primary);
    text-decoration: none;
    font-size: 13px;
    font-weight: 600;
}

.link-more:hover { text-decoration: underline; }

/* Profile info */
.profile-info .info-row {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
    border-bottom: 1px dashed rgba(245,179,1,0.1);
    font-size: 14px;
}

.profile-info .info-row:last-child { border-bottom: none; }
.profile-info span { color: var(--text-muted); }
.profile-info strong { color: var(--text-light); text-align: left; }

/* Club info */
.club-info {
    text-align: center;
    padding: 20px 0;
}

.club-icon-big {
    font-size: 60px;
    margin-bottom: 12px;
    filter: drop-shadow(0 0 20px var(--club-color));
}

.club-info h4 {
    font-size: 18px;
    margin-bottom: 6px;
}

.club-role {
    color: var(--gold-light);
    font-size: 13px;
    font-weight: 600;
}

/* Events */
.events-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.event-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 14px;
    background: rgba(255,255,255,0.03);
    border-radius: 12px;
    border: 1px solid rgba(245,179,1,0.1);
    transition: all 0.3s;
}

.event-item:hover {
    background: rgba(245,179,1,0.05);
    border-color: rgba(245,179,1,0.3);
}

.event-date {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 55px;
    padding: 8px;
    background: var(--gradient-gold);
    color: var(--dark-bg);
    border-radius: 10px;
}

.event-date .day { font-size: 20px; font-weight: 900; line-height: 1; }
.event-date .month { font-size: 11px; font-weight: 700; text-transform: uppercase; }

.event-info { flex: 1; }
.event-info h4 { font-size: 15px; margin-bottom: 4px; }
.event-info p { font-size: 12px; color: var(--text-muted); }

/* Certificates */
.certificates-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.cert-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 14px;
    background: rgba(255,255,255,0.03);
    border-radius: 12px;
    border: 1px solid rgba(245,179,1,0.1);
}

.cert-item i {
    font-size: 28px;
    color: var(--gold-primary);
}

.cert-item div { flex: 1; }
.cert-item strong { display: block; font-size: 14px; margin-bottom: 4px; }
.cert-item span { font-size: 12px; color: var(--text-muted); }

/* Empty state */
.empty-state {
    text-align: center;
    padding: 40px 20px;
    color: var(--text-muted);
}

.empty-state i {
    font-size: 48px;
    color: rgba(245,179,1,0.3);
    margin-bottom: 16px;
}

.empty-state p { font-size: 14px; }

/* ═══ ADMIN ═══ */
.admin-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    margin-bottom: 32px;
    flex-wrap: wrap;
}

.admin-header h1 {
    font-size: 32px;
    font-weight: 900;
    margin-bottom: 4px;
}

.admin-header p { color: var(--text-muted); }

.admin-actions { display: flex; gap: 10px; }

.admin-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 16px;
    margin-bottom: 32px;
}

.admin-stat-card {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 22px;
    background: rgba(26, 26, 46, 0.6);
    border: 1px solid rgba(245,179,1,0.15);
    border-radius: 18px;
    transition: all 0.3s;
    position: relative;
    overflow: hidden;
}

.admin-stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 4px;
    height: 100%;
    background: var(--stat-color, #F5B301);
}

.admin-stat-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.3);
    border-color: var(--stat-color, #F5B301);
}

.stat-icon-wrap {
    width: 55px;
    height: 55px;
    border-radius: 14px;
    background: rgba(255,255,255,0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: var(--stat-color, #F5B301);
    flex-shrink: 0;
}

.admin-stat-card .stat-value {
    display: block;
    font-size: 28px;
    font-weight: 900;
    color: var(--text-light);
    line-height: 1;
}

.admin-stat-card .stat-label {
    display: block;
    font-size: 13px;
    color: var(--text-muted);
    margin-top: 6px;
}

/* Admin grid */
.admin-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.admin-card {
    background: rgba(26, 26, 46, 0.6);
    border: 1px solid rgba(245,179,1,0.15);
    border-radius: 20px;
    padding: 24px;
    backdrop-filter: blur(10px);
}

.admin-card.wide { grid-column: span 2; }

.admin-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 16px;
    border-bottom: 1px solid rgba(245,179,1,0.1);
}

.admin-card-header h3 {
    font-size: 16px;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--gold-light);
}

/* Table */
.table-wrapper { overflow-x: auto; }

.admin-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
}

.admin-table th {
    text-align: right;
    padding: 12px;
    color: var(--text-muted);
    font-weight: 600;
    font-size: 12px;
    text-transform: uppercase;
    border-bottom: 1px solid rgba(245,179,1,0.15);
    white-space: nowrap;
}

.admin-table td {
    padding: 14px 12px;
    border-bottom: 1px solid rgba(255,255,255,0.05);
    color: var(--text-light);
}

.admin-table tr:hover { background: rgba(245,179,1,0.03); }

.status-badge {
    display: inline-block;
    padding: 4px 12px;
    background: color-mix(in srgb, var(--badge-color) 15%, transparent);
    color: var(--badge-color);
    border: 1px solid color-mix(in srgb, var(--badge-color) 40%, transparent);
    border-radius: 100px;
    font-size: 12px;
    font-weight: 600;
    white-space: nowrap;
}

.btn-icon {
    width: 34px;
    height: 34px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(245,179,1,0.1);
    border: 1px solid rgba(245,179,1,0.2);
    border-radius: 8px;
    color: var(--gold-light);
    text-decoration: none;
    transition: all 0.3s;
}

.btn-icon:hover {
    background: var(--gold-primary);
    color: var(--dark-bg);
}

/* Clubs stats */
.clubs-stats { display: flex; flex-direction: column; gap: 14px; }

.club-stat-row {
    display: grid;
    grid-template-columns: 1fr 100px 40px;
    gap: 12px;
    align-items: center;
    font-size: 13px;
}

.club-stat-info {
    display: flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.club-stat-icon { font-size: 18px; }

.club-stat-bar {
    height: 6px;
    background: rgba(255,255,255,0.05);
    border-radius: 3px;
    overflow: hidden;
}

.club-stat-fill {
    height: 100%;
    border-radius: 3px;
    transition: width 0.6s;
}

.club-stat-count {
    text-align: center;
    font-weight: 700;
    color: var(--gold-light);
}

/* ═══ RESPONSIVE ═══ */
@media (max-width: 1024px) {
    .dashboard-grid,
    .admin-grid {
        grid-template-columns: 1fr;
    }
    
    .dash-card.wide,
    .admin-card.wide {
        grid-column: span 1;
    }
}

@media (max-width: 768px) {
    .welcome-card { padding: 24px; }
    .welcome-content { flex-direction: column-reverse; text-align: center; }
    .welcome-avatar { width: 70px; height: 70px; font-size: 30px; }
    .admin-header { flex-direction: column; align-items: flex-start; }
    .admin-actions { width: 100%; }
    .admin-actions .btn { flex: 1; justify-content: center; }
    .admin-table { font-size: 12px; }
    .admin-table th, .admin-table td { padding: 8px 6px; }
}