:root {
    --primary-color: #0d6efd;
    --secondary-color: #6c757d;
    --success-color: #198754;
    --danger-color: #dc3545;
    --warning-color: #ffc107;
    --info-color: #0dcaf0;
}

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

main {
    flex: 1;
}

.card {
    border: none;
    box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
}

.card:hover {
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
}

.btn {
    font-weight: 500;
}

.match-card {
    transition: transform 0.2s;
    cursor: pointer;
}

.match-card:hover {
    transform: translateY(-2px);
}

.stage-slot {
    min-height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #f8f9fa;
    border: 2px dashed #dee2e6;
    border-radius: 0.375rem;
    transition: all 0.2s;
}

.stage-slot:hover {
    background-color: #e9ecef;
    border-color: #adb5bd;
}

.stage-slot.filled {
    background-color: #fff;
    border: 1px solid #dee2e6;
}

.preview-panel {
    position: sticky;
    top: 1rem;
    max-height: calc(100vh - 2rem);
    overflow-y: auto;
}

.stage-diagram {
    max-width: 100%;
    height: auto;
    border: 1px solid #dee2e6;
    border-radius: 0.25rem;
}

.form-label {
    font-weight: 600;
    color: #495057;
}

.admin-card {
    height: 100%;
}

.badge {
    font-weight: 500;
}

/* Fix for date input weekend styling */
input[type="date"]::-webkit-calendar-picker-indicator {
    cursor: pointer;
}

/* Make sure weekends aren't styled differently */
input[type="date"]::-webkit-datetime-edit-day-field,
input[type="date"]::-webkit-datetime-edit-text {
    color: inherit !important;
    opacity: 1 !important;
}

/* Remove disabled styling */
:disabled {
    opacity: 1 !important;
    color: inherit !important;
    background-color: inherit !important;
}

@media (max-width: 768px) {
    .preview-panel {
        position: relative;
        margin-top: 2rem;
    }
}