/* General */
body { background-color: #121212; color: #ffffff; font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif; margin: 0; padding: 20px; }

/* Index */
header { border-bottom: 2px solid #3049AD; padding-bottom: 10px; margin-bottom: 25px; }
h1 { margin: 0; font-size: 1.8rem; letter-spacing: 1px; }
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 20px; }
.card { 
    position: relative;
    height: 180px;
    border-radius: 6px; 
    padding: 20px; 
    text-decoration: none; 
    color: white; 
    background-size: cover;
    background-position: center;
    overflow: hidden;
    border: 1px solid #333;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    transition: transform 0.2s, border-color 0.2s;
}
.card::before {
    content: "";
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(to bottom, rgba(0,0,0,0.2), rgba(0,0,0,0.8));
    z-index: 1;
}
.card > * {
    position: relative;
    z-index: 2;
}
.card:hover { border-color: #3049AD; transform: translateY(-2px); }
.badge { background: #ffd600; color: #000; font-weight: bold; font-size: 0.75rem; padding: 2px 6px; border-radius: 3px; text-transform: uppercase; width: fit-content; }
.card h2 { font-size: 1.4rem; margin: 10px 0 5px 0; text-transform: uppercase; }
.card p { color: #ccc; font-size: 0.85rem; margin: 0; }



/* Discipline */
.nav { margin-bottom: 20px; }
.nav a { color: #888; text-decoration: none; font-size: 0.9rem; }
.nav a:hover { color: #fff; }
.header-title { display: flex; align-items: center; justify-content: space-between; border-bottom: 2px solid #3049AD; padding-bottom: 10px; margin-bottom: 20px; }
h1 { margin: 0; font-size: 1.8rem; }
.status { color: #4caf50; font-size: 0.85rem; font-weight: bold; }
table { width: 100%; border-collapse: collapse; background: #1e1e1e; border-radius: 4px; overflow: hidden; }
th { background: #252525; color: #888; font-size: 0.8rem; text-transform: uppercase; text-align: left; padding: 14px; border-bottom: 1px solid #333; }
td { padding: 12px 14px; border-bottom: 1px solid #2a2a2a; font-size: 0.95rem; }
tr:hover { background-color: #282828; }
.highlight { color: #4caf50; font-weight: bold; }
.dnf { color: #e53935; font-weight: bold; }
