/* ==========================================
   AVERAGE VELOCITY CALCULATOR - NON-CRITICAL CSS
   ========================================== */

.mode-label:hover { background: #f8fafc; }
.mode-option input[type="radio"]:checked + .mode-label .radio-circle { box-shadow: 0 0 0 3px rgba(91, 33, 182, 0.1); }
.mode-option input[type="radio"]:checked + .mode-label { background: #f5f3ff; }

.left-panel, .right-panel { 
    box-shadow: 0 10px 40px -10px rgba(0, 0, 0, 0.08); 
    transition: box-shadow 0.3s ease;
}

.input-field { transition: all 0.2s ease; }
.input-field input:focus { outline: none; }
.input-field input.result-input { font-weight: 600; color: #5b21b6; }

.custom-select-trigger::after { content: '▼'; font-size: 0.6rem; color: #94a3b8; margin-left: 4px; }
.custom-options { box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1); max-width: 250px; }
.custom-option { transition: background 0.2s; overflow: hidden; text-overflow: ellipsis; }
.custom-option:hover { background: #f5f3ff; color: #5b21b6; }
.custom-option.selected { background: #ede9fe; font-weight: 600; color: #5b21b6; }

@media (min-width: 769px) {
    .mode-selector { gap: 4px; margin-bottom: 16px; }
    .mode-label { padding: 6px 10px; }
    .mode-text { font-size: 0.875rem; }
}

@media (max-width: 768px) {
    .vel-calc-wrapper { padding: 0 8px; }
    .left-panel, .right-panel { padding: 20px; min-height: auto; }
}

.related-calculators-grid a { 
    display: flex; 
    align-items: center; 
    gap: 12px; 
    padding: 12px 16px; 
    background: white; 
    border: 1px solid #f1f5f9; 
    border-radius: 10px; 
    text-decoration: none; 
    color: #1e293b; 
    transition: all 0.2s ease; 
    box-shadow: 0 2px 4px rgba(0,0,0,0.02);
}
.related-calculators-grid a:hover { 
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    transform: translateY(-2px);
}