/**
 * AnimalisPro – Profile Page Dark Theme
 * Overrides for public/profile.php – builds on ap-dark-pages.css
 *
 * Sections:
 *  1. Profile Header
 *  2. Profile Avatar
 *  3. Rank Badge
 *  4. Stat Cards
 *  5. Profile Section Cards
 *  6. Post Items
 */

/* ============================================================
   1. Profile Header
   ============================================================ */
.user-profile-header {
    background: linear-gradient(135deg, rgba(30, 15, 58, 0.95) 0%, rgba(20, 8, 38, 0.98) 100%) !important;
    border-bottom: 1px solid var(--glass-border) !important;
    padding: 2rem 0 1.5rem;
    color: var(--text-main) !important;
}
.user-profile-header h1 {
    color: var(--text-main) !important;
    font-weight: 800;
    font-size: 1.6rem;
}
.user-profile-header .opacity-75 {
    color: var(--text-muted) !important;
}

/* ============================================================
   2. Profile Avatar
   ============================================================ */
.user-profile-avatar {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid var(--glass-border);
    background: rgba(217, 119, 255, 0.12);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-soft);
    font-size: 2.5rem;
}

/* ============================================================
   3. Rank Badge
   ============================================================ */
.rank-badge-modern {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.25rem 0.75rem;
    border-radius: 100px;
    font-size: 0.78rem;
    font-weight: 700;
    background: rgba(217, 119, 255, 0.18) !important;
    border: 1px solid rgba(217, 119, 255, 0.30) !important;
    color: var(--accent-soft) !important;
}
.rank-badge-modern .bi-star-fill {
    color: #fbbf24 !important;
}

/* ============================================================
   4. Stat Cards
   ============================================================ */
.user-stat-card {
    background: var(--glass-bg) !important;
    border: 1px solid var(--glass-border) !important;
    border-radius: var(--radius-card) !important;
    padding: 1rem 1.25rem;
    text-align: center;
    transition: all 0.2s ease;
}
.user-stat-card:hover {
    border-color: rgba(217, 119, 255, 0.28) !important;
    box-shadow: 0 4px 16px rgba(217, 119, 255, 0.08) !important;
}
.user-stat-number {
    font-size: 1.5rem;
    font-weight: 800;
    background: var(--grad-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ============================================================
   5. Profile Section Cards
   ============================================================ */
.profile-section-card {
    background: var(--glass-bg) !important;
    border: 1px solid var(--glass-border) !important;
    border-radius: var(--radius-card) !important;
    padding: 1.25rem;
    color: var(--text-main) !important;
}
.profile-section-card > .card-header {
    background: rgba(255, 255, 255, 0.05) !important;
    border-bottom: 1px solid var(--glass-border) !important;
    color: var(--accent-soft) !important;
    font-weight: 700;
    font-size: 0.9rem;
}

/* ============================================================
   6. Post Items
   ============================================================ */
.post-item {
    background: var(--glass-bg) !important;
    border: 1px solid var(--glass-border) !important;
    border-radius: 12px !important;
    padding: 1rem;
    color: var(--text-main) !important;
    transition: all 0.2s ease;
}
.post-item:hover {
    border-color: rgba(217, 119, 255, 0.25) !important;
}

/* Dog gender card in profile */
.dog-gender-card {
    background: var(--glass-bg) !important;
    border: 1px solid var(--glass-border) !important;
    border-radius: var(--radius-card) !important;
    color: var(--text-main) !important;
    transition: all 0.2s ease;
}
.dog-gender-card:hover {
    border-color: rgba(217, 119, 255, 0.30) !important;
    box-shadow: 0 6px 20px rgba(217, 119, 255, 0.10) !important;
}
