:root {
    --sr-primary: #0d6efd;
    --sr-accent: #198754;
    --sr-bg: #f8f9fa;
}

body {
    background: radial-gradient(circle at top, #ffffff 0%, #fdfce8 45%, #efe9d2 100%);
    font-family: "Space Grotesk", system-ui, sans-serif;
}

h1, h2, h3, .h1, .h2, .h3, .navbar-brand {
    font-family: "Fraunces", serif;
}

.form-control {
    color: #212529 !important;
    background-color: #fff !important;
    -webkit-text-fill-color: #212529 !important;
    text-shadow: 0 0 0 #212529;
}

.form-control::placeholder {
    color: #6c757d !important;
    opacity: 1;
}

.roster-input {
    color: #212529 !important;
    background-color: #fff !important;
    -webkit-text-fill-color: #212529 !important;
    font-size: 14px !important;
    line-height: 1.2 !important;
    text-indent: 0 !important;
    opacity: 1 !important;
    visibility: visible !important;
    caret-color: #212529 !important;
    mix-blend-mode: normal !important;
    filter: none !important;
    -webkit-text-security: none !important;
}

.roster-edit {
    min-height: 30px;
    padding: 0.25rem 0.5rem;
    border: 1px solid #ced4da;
    border-radius: 0.25rem;
    background-color: #fff;
    color: #212529 !important;
    -webkit-text-fill-color: #212529 !important;
    display: inline-flex;
    align-items: center;
}

.roster-edit:focus {
    outline: 2px solid rgba(13, 110, 253, 0.25);
    border-color: #86b7fe;
}

.avail-input {
    padding-left: 10px;
    padding-right: 10px;
}

.table-roster th {
    white-space: nowrap;
    padding-right: 12px;
}

.table-roster td {
    white-space: normal;
    padding-right: 12px;
    vertical-align: top;
}

.roster-save-button {
    position: sticky;
    top: 12px;
    z-index: 5;
}

@media (max-width: 1600px) {
    .table-roster thead {
        display: none;
    }

    .table-roster tbody tr {
        display: flex;
        flex-wrap: wrap;
        gap: 8px 12px;
        padding-bottom: 12px;
        border-bottom: 1px solid #dee2e6;
    }

    .table-roster tbody td {
        display: flex;
        align-items: center;
        flex-direction: column;
        align-items: flex-start;
        flex: 1 1 180px;
        white-space: normal;
        min-width: 0;
    }

    .table-roster tbody td:first-child {
        flex: 2 1 320px;
    }

    .table-roster tbody td:last-child {
        flex: 1 1 140px;
    }

    .table-roster tbody td .form-select,
    .table-roster tbody td .form-control,
    .table-roster tbody td .roster-edit {
        width: 100%;
        max-width: 100% !important;
    }

    .table-roster tbody td .d-flex {
        width: 100%;
        flex-wrap: wrap;
        gap: 8px;
    }
}

.navbar-brand {
    font-weight: 700;
    letter-spacing: 0.3px;
}

.card-accent {
    border-left: 4px solid var(--sr-accent);
}

.badge-major {
    background-color: var(--sr-primary);
}

.text-accent {
    color: var(--sr-accent) !important;
}

.section-title {
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #6c757d;
}

.team-logo {
    width: 100px;
    height: 100px;
    flex-shrink: 0;
}

.team-logo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 12px;
    border: 1px solid rgba(0, 0, 0, 0.1);
    background: #fff;
}

.team-logo-placeholder {
    width: 100%;
    height: 100%;
    border: 2px dashed rgba(0, 0, 0, 0.2);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    color: #6c757d;
    background: rgba(255, 255, 255, 0.6);
    text-align: center;
    padding: 0.5rem;
}

.card {
    background: #fffcf4;
    border-color: rgba(82, 64, 46, 0.12);
    box-shadow: 0 12px 30px rgba(82, 64, 46, 0.08);
}

/* Warm form controls to match cream motif */
.form-control,
.form-select,
.form-control:focus,
.form-select:focus {
    background-color: #fffcf4 !important;
    border-color: rgba(82, 64, 46, 0.2) !important;
}
