/* Sports Club Stats Exact Replica CSS */

body {
    font-family: Arial, sans-serif;
    font-size: 12px;
    background: #f0f0f0;
    margin: 0;
    padding: 10px;
}

.scs-container {
    max-width: 1800px;
    margin: 0 auto;
    background: white;
    padding: 15px;
}

.header {
    text-align: center;
    background: #003366;
    color: white;
    padding: 15px;
    margin-bottom: 15px;
}

.header h1 {
    margin: 0;
    font-size: 34px;
}

.controls {
    text-align: center;
    margin: 10px 0;
}

.btn {
    padding: 6px 12px;
    margin: 0 5px;
    background: #0066cc;
    color: white;
    border: none;
    cursor: pointer;
    font-size: 12px;
}

.btn:hover {
    background: #0052a3;
}

.section-title {
    background: #1d446d; /* slightly darker for clearer separation */
    color: #ffffff;
    padding: 8px;
    margin: 20px 0 0 0;
    font-size: 15px;
    font-weight: bold;
}

.scs-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 11px;
    margin-bottom: 20px;
}

.scs-table th {
    background: #ececec;
    border: 1px solid #cfcfcf;
    padding: 5px 3px;
    text-align: center;
    font-weight: bold;
    white-space: nowrap;
}

.scs-table td {
    border: 1px solid #e1e1e1;
    padding: 4px 5px;
    text-align: center;
}

/* Zebra striping: applies a subtle transparent overlay so class colors remain visible */
.scs-table tbody tr:nth-child(odd) td {
    background-image: linear-gradient(rgba(0,0,0,0.025), rgba(0,0,0,0.025));
}

.team-cell {
    text-align: left !important;
    white-space: nowrap;
}

.team-logo {
    width: 16px;
    height: 16px;
    vertical-align: middle;
    margin-right: 3px;
}

.team-cell a {
    color: #0000cc;
    text-decoration: none;
}

.team-cell a:hover {
    text-decoration: underline;
}

.pts-col {
    background: #fffdf0;
    font-weight: bold;
}

.make-col {
    font-weight: bold;
}

.clinched {
    background: #d9f0d9 !important; /* slightly darker green */
}

.very-high {
    background: #e8f7e8; /* soft green */
}

.high {
    background: #eff9ef; /* very light green */
}

.medium {
    background: #fff5d6; /* light amber */
}

.low {
    background: #ffe2e2; /* soft red */
}

.very-low {
    background: #ffdddd; /* slightly darker red */
}

.eliminated {
    background: #ffd6d6 !important; /* darker red for eliminated */
    color: #444;
}

.change-pos {
    color: green;
}

.change-neg {
    color: red;
}

.prob-cell {
    font-size: 10px;
}

.tiny {
    font-size: 9px;
}

.flash-success {
    background: #d4edda;
    border: 1px solid #c3e6cb;
    padding: 10px;
    margin: 10px 0;
    text-align: center;
}

.footer {
    text-align: center;
    padding: 15px;
    font-size: 11px;
    color: #666;
    border-top: 1px solid #ccc;
}

.footer a {
    color: #0066cc;
}

/* Legend styles */
.legend {
    display: flex;
    flex-wrap: wrap;
    gap: 6px 10px;
    align-items: center;
    margin: 8px 0 14px 0;
    font-size: 11px;
}

.legend-item {
    padding: 3px 6px;
    border: 1px solid rgba(0,0,0,0.08);
    border-radius: 3px;
}
