/* css/user.css */

/* 1. Global Dark Mode Variables */
:root[data-bs-theme="dark"] {
    --bs-body-bg: #121418;       /* Deep dark slate background */
    --bs-body-color: #e2e8f0;    /* Crisp, off-white text */
    --bs-secondary-bg: #1e2126;  /* Slightly lighter slate for cards */
    --bs-border-color: #2d333b;  /* Subtle borders */
    --bs-primary: #3b82f6;       /* Electric Blue Accent (Change to match your logo!) */
}

body {
    font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
    background-color: var(--bs-body-bg);
}

/* 2. Sleek Card Styling */
.card, .stat-card {
    background-color: var(--bs-secondary-bg);
    border: 1px solid var(--bs-border-color) !important;
    transition: transform 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
    box-shadow: 0 4px 6px rgba(0,0,0,0.3) !important;
}

.stat-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 .5rem 1rem rgba(0,0,0,.5) !important;
    border-color: var(--bs-primary) !important; /* Subtle highlight on hover */
}

/* 3. Table Overrides */
.table {
    --bs-table-bg: transparent;
    --bs-table-color: #e2e8f0;
    --bs-table-border-color: #2d333b;
    --bs-table-hover-bg: #252a31;
}

.table th {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #94a3b8;
    background-color: #171a1f !important; /* Darker header row */
    border-bottom: 2px solid var(--bs-border-color);
}

.table td, .table th {
    padding: 0.7rem 0.5rem;
    font-size: 0.95rem;
}

/* 4. Logo Styling for Dark Mode */
.dashboard-logo {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.05); /* Very subtle frosted backdrop */
    padding: 8px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.5); /* Deep shadow */
    object-fit: contain;
    object-position: center;
    border: 1px solid var(--bs-border-color);
}

/* 5. Player Profile Grid Adjustments */
.attr-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 10px;
}
.attr-item {
    display: flex;
    justify-content: space-between;
    padding: 8px 12px;
    background: #171a1f; /* Darker input style */
    border-radius: 6px;
    border: 1px solid var(--bs-border-color);
}
.attr-label {
    font-size: 0.85rem;
    color: #94a3b8;
    font-weight: 600;
    text-transform: uppercase;
}
.attr-value {
    font-weight: bold;
    color: var(--bs-primary);
}