/* Globálne štýly pre teams.php (Kopírované z index.css) */
body {
    font-family: 'Roboto Condensed', Arial, sans-serif;
    background-color: #121212;
    color: #f0f0f0;
    line-height: 1.6;
    font-size: 16px;
}

main {
    max-width: 1100px;
    margin: 40px auto;
    padding: 30px;
    background-color: #1e1e1e;
    border-radius: 12px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.7);
    color: #f0f0f0;
    position: relative;
    z-index: 1;
}

h2 {
    font-size: 2.5em;
    color: #e10600;
    text-align: center;
    margin-bottom: 40px;
    text-transform: uppercase;
    letter-spacing: 2px;
    border-bottom: 2px solid rgba(225, 6, 0, 0.3);
    padding-bottom: 15px;
}

/* --- Štýly pre tabuľku Tímov (Prispôsobené z index.css) --- */
.team-standings {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    margin-top: 30px;
    margin-bottom: 50px;
    background-color: #1e1e1e;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.7);
    border-radius: 12px;
    overflow: hidden;
    font-size: 16px;
}

.team-standings thead th {
    background-color: #121212;
    color: #aaaaaa;
    padding: 20px;
    text-align: left;
    font-weight: bold;
    text-transform: uppercase;
    font-size: 0.9em;
    letter-spacing: 2px;
    border-bottom: 3px solid #e10600;
}

.team-standings tbody tr {
    transition: background-color 0.3s ease, transform 0.2s ease;
}

.team-standings tbody tr:hover {
    background-color: #2a2a2a;
    transform: scale(1.02);
    box-shadow: 0 0 15px rgba(225, 6, 0, 0.3);
    z-index: 10;
    position: relative;
}

.team-standings tbody tr:nth-child(even) {
    background-color: #252525;
}

.team-standings td {
    padding: 15px 20px;
    vertical-align: middle;
    border-bottom: 1px solid #333;
    animation: fadeIn 0.5s ease-in-out;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.team-standings tr:last-child td {
    border-bottom: none;
}

.team-standings td:first-child {
    font-weight: bold;
    color: #fff;
    width: 80px;
    text-align: center;
    font-size: 1.4em;
}

.team-standings .team-name-cell {
    display: flex;
    align-items: center;
    gap: 20px;
}

.team-logo-thumb {
    width: 60px;
    height: 60px;
    object-fit: contain; /* Udrží logo v pomere strán */
    border: 3px solid transparent; /* Priehľadný okraj */
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.team-logo-thumb:hover {
    transform: scale(1.1); /* Jemné zväčšenie loga pri prechode myšou */
    border-color: #00bcd4; /* Nová farba okraja */
    cursor: pointer;
}

.team-standings .table-link {
    color: #f0f0f0;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.2em;
    transition: color 0.2s ease;
}

.team-standings .table-link:hover {
    color: #e10600;
}

.team-standings td:nth-child(4),
.team-standings td:nth-child(5),
.team-standings td:nth-child(6) {
    text-align: center;
    font-family: monospace;
    font-size: 1.2em;
    font-weight: bold;
    width: 120px;
}

.team-standings td:nth-child(4) strong {
    font-size: 1.3em;
    color: #00bcd4;
}

/* --- Správy (Kopírované z index.css) --- */
.info-message, .error-message, .success-message {
    text-align: center;
    padding: 15px;
    margin: 20px auto;
    border-radius: 5px;
    font-weight: bold;
    max-width: 600px;
}

.info-message {
    background-color: #2a2a2a;
    color: #00bcd4;
    border: 1px solid #00bcd4;
}

.error-message {
    background-color: #4a1c1c;
    color: #ff4d4d;
    border: 1px solid #ff4d4d;
}

.success-message {
    background-color: #1c4a1c;
    color: #4dff4d;
    border: 1px solid #4dff4d;
}