/* Theme variables */
:root {
    --primary-color: #2c3e50;
    --secondary-color: #34495e;
    --accent-color: #2a7de1;
    --accent-soft: rgba(42, 125, 225, 0.12);
    --border-radius: 6px;
    --card-shadow: 0 8px 18px rgba(44, 62, 80, 0.08);
}

.axis-settings {
    background: #fff;
    padding: 1.5rem;
    border-radius: var(--border-radius);
    box-shadow: var(--card-shadow);
    display: grid;
    gap: 1.5rem;
}

.axis-card h3 {
    color: var(--primary-color);
}

/* ===== PROFESSOR MODE STYLES ===== */

/* Professor Mode Toggle (light theme) */
.professor-mode-toggle {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 20px;
    cursor: pointer;
    font-size: 0.9rem;
    font-weight: 500;
    color: #475569;
    transition: all 0.2s ease;
    user-select: none;
}

.professor-mode-toggle:hover {
    background: #f1f5f9;
    border-color: #9333ea;
    color: #7c3aed;
}

.professor-mode-toggle input[type="checkbox"] {
    width: 18px;
    height: 18px;
    cursor: pointer;
    accent-color: #9333ea;
}

/* Professor Mode styles are now in shared/css/main.css */

/* ========================================
   DECISION INDICATOR (TRAFFIC LIGHT SYSTEM)
   ======================================== */

.decision-section {
    margin: 2.5rem 0;
}

.decision-section h2 {
    margin-bottom: 1.25rem;
}

.decision-card {
    border-radius: 16px;
    padding: 2rem;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 3px solid transparent;
    background: white;
}

/* Pending state (neutral) */
.decision-pending {
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    border-color: #cbd5e1;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

/* Success state (Green - Significant difference) */
.decision-success {
    background: linear-gradient(135deg, #d1fae5 0%, #a7f3d0 100%);
    border-color: #10b981;
    box-shadow: 0 4px 16px rgba(16, 185, 129, 0.2);
    animation: pulse-success 2s ease-in-out infinite;
}

@keyframes pulse-success {
    0%, 100% { box-shadow: 0 4px 16px rgba(16, 185, 129, 0.2); }
    50% { box-shadow: 0 4px 24px rgba(16, 185, 129, 0.35); }
}

/* Warning state (Yellow - Borderline) */
.decision-warning {
    background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
    border-color: #f59e0b;
}

/* Danger state (Red - No significant difference / fail to reject) */
.decision-danger {
    background: linear-gradient(135deg, #fee2e2 0%, #fecaca 100%);
    border-color: #ef4444;
}

.decision-indicator {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.decision-icon {
    font-size: 4rem;
    line-height: 1;
    flex-shrink: 0;
}

.decision-status h3 {
    margin: 0 0 0.5rem 0;
    font-size: 1.75rem;
    font-weight: 700;
    color: #1e293b;
}

.decision-status p {
    margin: 0;
    font-size: 1.1rem;
    color: #475569;
    line-height: 1.5;
}

.decision-details {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1rem;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.6);
    border-radius: 12px;
    margin-top: 1rem;
}

.decision-metric {
    text-align: center;
}

.decision-metric .metric-label {
    display: block;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #64748b;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.decision-metric .metric-value {
    display: block;
    font-size: 1.5rem;
    font-weight: 700;
    color: #1e293b;
}

.decision-action-btn {
    width: 100%;
    margin-top: 1.5rem;
    padding: 1rem 2rem;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 12px;
    border: none;
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
    color: white;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
}

.decision-action-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(59, 130, 246, 0.4);
}

/* ========================================
   INTERPRETATION AIDS
   ======================================== */

.interpretation-aid {
    background: #fefefe;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 0;
    margin-bottom: 1.5rem;
}

.interpretation-aid summary {
    padding: 1rem 1.25rem;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    background: #f8fafc;
    border-radius: 8px;
    color: #334155;
    transition: background 0.2s ease;
}

.interpretation-aid summary:hover {
    background: #f1f5f9;
}

.interpretation-aid[open] summary {
    border-radius: 8px 8px 0 0;
    border-bottom: 1px solid #e2e8f0;
}

.interpretation-aid > div {
    padding: 0.5rem 1.25rem;
}
