body {
    background-color: #f8f9fa;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

/* Dashboard Header for Index Page */
.dashboard-header {
    background-color: #1e3c72;
    padding: 3rem 0;
    color: white;
}

.dashboard-title {
    font-size: 3rem;
    font-weight: 700;
    color: white;
    margin-bottom: 1rem;
}

.dashboard-description {
    font-size: 1.1rem;
    color: white;
    margin-bottom: 0;
    line-height: 1.6;
}

.ybat-logo {
    max-width: 200px;
    height: auto;
}

/* Sports-themed header background */
.sports-header {
    background: linear-gradient(135deg, #1e3c72 0%, #2a5298 50%, #1e3c72 100%);
    background-image: 
        radial-gradient(circle at 20% 80%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
        url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="baseball" patternUnits="userSpaceOnUse" width="20" height="20"><circle cx="10" cy="10" r="8" fill="none" stroke="rgba(255,255,255,0.1)" stroke-width="0.5"/><line x1="2" y1="10" x2="18" y2="10" stroke="rgba(255,255,255,0.1)" stroke-width="0.5"/><line x1="10" y1="2" x2="10" y2="18" stroke="rgba(255,255,255,0.1)" stroke-width="0.5"/></pattern></defs><rect width="100" height="100" fill="url(%23baseball)"/></svg>');
    color: white;
    padding: 1rem 1.5rem;
    border-radius: 0.5rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    position: relative;
    overflow: hidden;
}

.sports-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, transparent 30%, rgba(255, 255, 255, 0.05) 50%, transparent 70%);
    animation: shimmer 3s ease-in-out infinite;
}

@keyframes shimmer {
    0%, 100% { transform: translateX(-100%); }
    50% { transform: translateX(100%); }
}

.sports-header .sports-icon {
    font-size: 1.5rem;
    margin-right: 0.5rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.sports-header .sports-text {
    font-weight: 600;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.card h6 {
    margin-bottom: .5rem;
}

.badge-player {
    background-color: #e9ecef;
    color: #212529;
    border: 1px solid #ced4da;
    padding: .5rem .75rem;
    border-radius: 999px;
}

.badge-player button {
    border: none;
    background: transparent;
    margin-left: .5rem;
}

.rating-group .form-check {
    margin-right: 1rem;
}

footer {
    padding: 2rem 0;
    color: #6c757d;
}

/* Data Section Color Blocks */
.data-section {
    border-radius: 0.5rem;
    overflow: hidden;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(0, 0, 0, 0.1);
}

.data-section-header {
    padding: 1rem 1.5rem;
    display: flex;
    justify-content: between;
    align-items: center;
    font-weight: 600;
    color: white;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.data-section-title {
    display: flex;
    align-items: center;
    font-size: 1.1rem;
}

.data-section-count {
    font-size: 0.9rem;
    opacity: 0.9;
    margin-left: auto;
}

/* Players Section - Soft Blue */
.data-section-players .data-section-header {
    background: linear-gradient(135deg, #6c9bd1 0%, #5a8bc2 100%);
}

.data-section-players .table {
    margin-bottom: 0;
}

.data-section-players .table thead th {
    background-color: #f0f6ff;
    border-bottom: 2px solid #6c9bd1;
    color: #4a6fa5;
    font-weight: 600;
}

/* Teams Section - Soft Green */
.data-section-teams .data-section-header {
    background: linear-gradient(135deg, #7fb069 0%, #6d9a5a 100%);
}

.data-section-teams .table thead th {
    background-color: #f5f9f3;
    border-bottom: 2px solid #7fb069;
    color: #5a7a4f;
    font-weight: 600;
}

/* Ratings Section - Soft Orange */
.data-section-ratings .data-section-header {
    background: linear-gradient(135deg, #d4a574 0%, #c1965f 100%);
}

.data-section-ratings .table thead th {
    background-color: #fdf8f3;
    border-bottom: 2px solid #d4a574;
    color: #a67c52;
    font-weight: 600;
}

/* Table styling within data sections */
.data-section .table {
    margin-bottom: 0;
}

/* Password Toggle Button */
#togglePassword {
    border-left: 0;
    border-color: #ced4da;
    transition: all 0.2s ease;
}

#togglePassword:hover {
    background-color: #e9ecef;
    border-color: #adb5bd;
}

#togglePassword:focus {
    box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25);
}

#passwordInput:focus + #togglePassword {
    border-color: #80bdff;
    box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25);
}


