/* ===== Calculator Specific Styles ===== */
.calculator-section {
    background-color: #fff;
    border-radius: 10px;
    padding: 2rem;
    margin: 2rem 0;
    box-shadow: var(--box-shadow);
}

.calculator-section h2 {
    color: var(--primary-color);
    text-align: center;
    font-size: 2rem;
    margin-bottom: 2rem;
}

.calculator-container {
    max-width: 600px;
    margin: 0 auto;
    background-color: #f8f9fa;
    border-radius: 8px;
    padding: 2rem;
}

/* Time Inputs Layout */
.time-inputs {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.time-inputs .form-group {
    flex: 1;
}

/* Calculate Button */
.btn-calculate {
    background-color: var(--secondary-color);
    color: white;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 4px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s ease;
    width: 100%;
    margin-top: 1rem;
}

.btn-calculate:hover {
    background-color: #3da69c;
}

/* Result Display */
.result-container {
    margin-top: 2rem;
    padding: 1.5rem;
    background-color: white;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.result-container h3 {
    color: var(--secondary-color);
    margin-bottom: 1rem;
}

.result {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin: 1rem 0;
    transition: all 0.3s ease;
}

.calculation-note {
    color: var(--light-text);
    font-size: 0.9rem;
    margin-top: 1rem;
}

/* Animation for result update */
@keyframes pulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
    100% {
        transform: scale(1);
    }
}

.pulse {
    animation: pulse 0.5s ease-in-out;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .calculator-container {
        padding: 1.5rem;
    }
}

@media (max-width: 480px) {
    .time-inputs {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .result {
        font-size: 2rem;
    }
}