/* Simplified Judge Panels CSS */

body {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

.panel-container {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(10px);
    margin: 20px auto;
    max-width: 1200px;
}

.panel-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 25px;
    border-radius: 20px 20px 0 0;
    text-align: center;
}

.panel-title {
    font-size: 1.8rem;
    font-weight: 700;
    margin: 0;
}

.panel-subtitle {
    opacity: 0.9;
    margin: 8px 0 0 0;
    font-weight: 400;
}

.score-input-group {
    background: white;
    border-radius: 12px;
    padding: 20px;
    margin: 15px 0;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    border: 2px solid transparent;
    transition: all 0.3s ease;
}

.score-input-group:hover {
    border-color: #667eea;
    transform: translateY(-2px);
}

.score-input-group.active {
    border-color: #39FF14;
    box-shadow: 0 6px 20px rgba(57, 255, 20, 0.2);
}

.attempt-label {
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 15px;
    font-size: 1.1rem;
}

.score-input {
    font-size: 2rem;
    font-weight: 700;
    text-align: center;
    border: 3px solid #e9ecef;
    border-radius: 12px;
    padding: 15px;
    transition: all 0.3s ease;
    background: #f8f9fa;
}

.score-input:focus {
    border-color: #39FF14;
    box-shadow: 0 0 0 0.2rem rgba(57, 255, 20, 0.25);
    background: white;
    outline: none;
}

.landed-controls {
    display: flex;
    gap: 10px;
    align-items: center;
    margin-top: 15px;
}

.btn-landed {
    flex: 1;
    padding: 12px;
    border-radius: 8px;
    border: 2px solid #dee2e6;
    background: white;
    font-weight: 600;
    transition: all 0.3s ease;
    cursor: pointer;
}

.btn-landed.active {
    background: #28a745;
    border-color: #28a745;
    color: white;
}

.btn-crashed {
    flex: 1;
    padding: 12px;
    border-radius: 8px;
    border: 2px solid #dee2e6;
    background: white;
    font-weight: 600;
    transition: all 0.3s ease;
    cursor: pointer;
}

.btn-crashed.active {
    background: #dc3545;
    border-color: #dc3545;
    color: white;
}

.submit-section {
    background: #f8f9fa;
    padding: 25px;
    border-radius: 0 0 20px 20px;
    text-align: center;
}

.btn-submit {
    background: linear-gradient(135deg, #39FF14 0%, #2ee000 100%);
    border: none;
    color: #000;
    font-weight: 700;
    font-size: 1.2rem;
    padding: 15px 40px;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(57, 255, 20, 0.3);
}

.btn-submit:disabled {
    background: #6c757d;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.participant-info {
    background: rgba(255, 255, 255, 0.9);
    padding: 15px;
    border-radius: 12px;
    margin-bottom: 20px;
    text-align: center;
}

.bib-number {
    background: #007bff;
    color: white;
    padding: 8px 15px;
    border-radius: 20px;
    font-weight: 700;
    display: inline-block;
    margin-right: 10px;
}

.participant-name {
    font-size: 1.3rem;
    font-weight: 600;
    color: #2c3e50;
}

.judge-info {
    background: rgba(0, 0, 0, 0.1);
    padding: 10px 20px;
    border-radius: 12px;
    margin-top: 15px;
    text-align: center;
    color: white;
}

.alert {
    border-radius: 12px;
    border: none;
    padding: 15px 20px;
    margin: 15px 0;
}

.alert-info {
    background: rgba(23, 162, 184, 0.1);
    color: #0c5460;
    border-left: 4px solid #17a2b8;
}

.alert-warning {
    background: rgba(255, 193, 7, 0.1);
    color: #856404;
    border-left: 4px solid #ffc107;
}

.diversity-info {
    background: rgba(108, 117, 125, 0.1);
    border: 1px solid #dee2e6;
    border-radius: 8px;
    padding: 15px;
    margin: 15px 0;
}

.diversity-title {
    font-weight: 600;
    color: #495057;
    margin-bottom: 10px;
}

.loading {
    opacity: 0.6;
    pointer-events: none;
}

@media (max-width: 768px) {
    .panel-container {
        margin: 10px;
        border-radius: 15px;
    }
    
    .panel-header {
        padding: 20px 15px;
        border-radius: 15px 15px 0 0;
    }
    
    .panel-title {
        font-size: 1.5rem;
    }
    
    .score-input {
        font-size: 1.8rem;
        padding: 12px;
    }
    
    .score-input-group {
        padding: 15px;
        margin: 10px 0;
    }
    
    .submit-section {
        padding: 20px 15px;
        border-radius: 0 0 15px 15px;
    }
}

.fade-in {
    animation: fadeIn 0.5s ease-in;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.pulse {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { opacity: 1; }
    50% { opacity: 0.7; }
    100% { opacity: 1; }
}
