/* Fantasy Football League - Custom Styles */

body {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

main {
    flex: 1;
}

/* Leaderboard highlights */
.table tbody tr.table-warning td:first-child {
    border-left: 4px solid #ffc107;
}

.table tbody tr.table-secondary td:first-child {
    border-left: 4px solid #6c757d;
}

.table tbody tr.table-info td:first-child {
    border-left: 4px solid #0dcaf0;
}

/* Card improvements */
.card {
    box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
}

.card-header {
    background-color: #f8f9fa;
    border-bottom: 1px solid #dee2e6;
}

/* Form styling */
.form-select:disabled {
    background-color: #e9ecef;
}

/* Team form - used team indicator */
.player-select option.text-muted {
    color: #adb5bd !important;
}

/* Badge styling */
.badge {
    font-weight: 500;
}

/* Table improvements */
.table th {
    white-space: nowrap;
}

.table-hover tbody tr:hover {
    background-color: rgba(25, 135, 84, 0.075);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .btn-group {
        flex-direction: column;
    }

    .btn-group .btn {
        border-radius: 0;
    }

    .btn-group .btn:first-child {
        border-radius: 0.375rem 0.375rem 0 0;
    }

    .btn-group .btn:last-child,
    .btn-group form:last-child .btn {
        border-radius: 0 0 0.375rem 0.375rem;
    }
}

/* Loading state */
.btn[disabled] {
    cursor: wait;
}

/* Footer */
footer {
    margin-top: auto;
}
