/* ==========================================
   POOL VOLUME CALCULATOR - NON-CRITICAL CSS
   ========================================== */

.shape-label:hover { background: #f8fafc; }
.shape-option input[type="radio"]:checked + .shape-label .radio-circle { box-shadow: 0 0 0 3px rgba(91, 33, 182, 0.1); }
.shape-option input[type="radio"]:checked + .shape-label .radio-circle::after { content: ''; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 6px; height: 6px; background: white; border-radius: 50%; }
.shape-option input[type="radio"]:checked + .shape-label .shape-text { color: #5b21b6; }

.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:focus-within { 
    border-color: #8b5cf6; 
    box-shadow: 0 0 0 4px rgba(139, 92, 246, 0.15); 
}
.input-field input:focus { outline: none; }

.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; }

.results-section {
    animation: fadeIn 0.3s ease;
}

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

.calculator-hero h1 { 
    font-size: 2.25rem; 
    font-weight: 800; 
    margin-bottom: 12px; 
    background: linear-gradient(135deg, #5b21b6, #8b5cf6); 
    -webkit-background-clip: text; 
    -webkit-text-fill-color: transparent; 
    background-clip: text; 
    line-height: 1.2; 
    letter-spacing: -0.02em; 
}

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