/* minimal clean design */
.wac-calculator-container {
    max-width: 600px;
    margin: 20px auto;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    background: #fff;
    padding: 24px;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

.wac-header {
    margin-bottom: 24px;
    border-bottom: 1px solid #e2e8f0;
    padding-bottom: 16px;
}

.wac-header h2 {
    margin: 0 0 8px 0;
    font-size: 1.5rem;
    font-weight: 700;
    color: #1a202c;
}

.wac-header p {
    margin: 0;
    color: #718096;
    font-size: 0.95rem;
}

.wac-form-group {
    margin-bottom: 20px;
}

.wac-label {
    display: block;
    font-weight: 500;
    margin-bottom: 8px;
    color: #2d3748;
    font-size: 0.9rem;
}

.wac-row {
    display: flex;
    gap: 20px;
}

.wac-row .wac-form-group {
    flex: 1;
}

.wac-input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.wac-input-wrapper input {
    width: 100%;
    padding: 10px 36px 10px 12px;
    border: 1px solid #cbd5e0;
    border-radius: 6px;
    font-size: 1rem;
    line-height: 1.5;
    transition: border-color 0.2s;
}

.wac-input-wrapper input:focus {
    outline: none;
    border-color: #3182ce;
    box-shadow: 0 0 0 3px rgba(66, 153, 225, 0.2);
}

.wac-unit {
    position: absolute;
    right: 12px;
    color: #718096;
    font-size: 0.85rem;
    pointer-events: none;
}

.wac-radio-group {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.wac-radio-group.wac-vertical {
    flex-direction: column;
    gap: 8px;
}

.wac-radio-option {
    display: flex;
    align-items: center;
    cursor: pointer;
    border: 1px solid #e2e8f0;
    padding: 8px 12px;
    border-radius: 6px;
    transition: background 0.2s;
}

.wac-radio-option:hover {
    background-color: #f7fafc;
}

.wac-radio-option input {
    margin-right: 8px;
}

.wac-actions {
    display: flex;
    gap: 12px;
    margin-top: 24px;
}

.wac-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 20px;
    font-weight: 600;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s;
    font-size: 1rem;
    border: none;
    flex: 1;
}

.wac-btn-primary {
    background-color: #3182ce;
    color: white;
}

.wac-btn-primary:hover {
    background-color: #2b6cb0;
}

.wac-btn-secondary {
    background-color: #edf2f7;
    color: #4a5568;
}

.wac-btn-secondary:hover {
    background-color: #e2e8f0;
}

.wac-result-container {
    margin-top: 24px;
    padding: 20px;
    background-color: #ebf8ff;
    border: 1px solid #bee3f8;
    border-radius: 8px;
    text-align: center;
    animation: wac-fade-in 0.3s ease-out;
}

@keyframes wac-fade-in {
    from { opacity: 0; transform: translateY(5px); }
    to { opacity: 1; transform: translateY(0); }
}

.wac-result-header {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #2c5282;
    font-weight: 700;
    margin-bottom: 8px;
}

.wac-result-value {
    font-size: 2.5rem;
    font-weight: 700;
    color: #2a4365;
    line-height: 1.2;
}

.wac-result-unit {
    font-size: 1.25rem;
    color: #4a5568;
    margin-left: 4px;
}

.wac-formula-box {
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px solid #bee3f8;
    font-size: 0.9rem;
}

.wac-formula-label {
    font-weight: 600;
    color: #4a5568;
    margin-right: 6px;
}

.wac-formula-text {
    font-family: monospace;
    color: #2b6cb0;
}

/* Mobile responsiveness */
@media (max-width: 480px) {
    .wac-row {
        flex-direction: column;
        gap: 0;
    }
}
