/* SCA-LT Savings Calculator Styles */
.sca-lt-calculator-wrapper {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    max-width: 600px;
    margin: 0 auto;
    padding: 30px;
}

.sca-lt-calculator {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 10px 40px rgba(0, 118, 182, 0.15);
    border: 1px solid rgba(0, 118, 182, 0.1);
}

.calculator-form .input-group {
    margin-bottom: 30px;
}

.calculator-form label {
    display: block;
    margin-bottom: 10px;
    font-weight: 600;
    color: #2c3e50;
    font-size: 16px;
}

.input-with-unit {
    display: flex;
    align-items: center;
    gap: 15px;
    background: white;
    padding: 15px;
    border-radius: 12px;
    border: 2px solid #e0e6ed;
    transition: all 0.3s ease;
}

.input-with-unit:focus-within {
    border-color: #0076b6; /* Azul SCA-LT */
    box-shadow: 0 0 0 3px rgba(0, 118, 182, 0.1);
}

.input-with-unit input[type="range"] {
    flex: 1;
    height: 6px;
    border-radius: 3px;
    background: #e0e6ed;
    outline: none;
    -webkit-appearance: none;
}

.input-with-unit input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: #0076b6;
    cursor: pointer;
    border: 3px solid white;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
    transition: all 0.2s ease;
}

.input-with-unit input[type="range"]::-webkit-slider-thumb:hover {
    transform: scale(1.1);
    background: #005a8c;
}

.input-with-unit .number-input {
    width: 120px;
    padding: 12px 15px;
    border: 2px solid #e0e6ed;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    color: #2c3e50;
    text-align: center;
    transition: border-color 0.3s ease;
}

.input-with-unit .number-input:focus {
    outline: none;
    border-color: #0076b6;
}

.input-with-unit .unit {
    font-weight: 600;
    color: #0076b6;
    min-width: 50px;
    text-align: center;
}

/* Resultado */
.calculator-result {
    margin-top: 40px;
    padding: 30px;
    background: linear-gradient(135deg, #0076b6 0%, #005a8c 100%);
    border-radius: 15px;
    text-align: center;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { box-shadow: 0 5px 20px rgba(0, 118, 182, 0.4); }
    50% { box-shadow: 0 5px 30px rgba(0, 118, 182, 0.6); }
    100% { box-shadow: 0 5px 20px rgba(0, 118, 182, 0.4); }
}

.result-title {
    color: white;
    font-size: 28px;
    margin: 0;
    font-weight: 700;
}

.save-text, .per-year-text {
    opacity: 0.9;
    font-weight: 500;
}

.savings-amount {
    font-size: 48px;
    font-weight: 800;
    color: #00a651; /* Verde SCA-LT */
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    margin: 0 10px;
    display: inline-block;
    transition: transform 0.3s ease;
}

/* Responsividade */
@media (max-width: 768px) {
    .sca-lt-calculator-wrapper {
        padding: 15px;
    }
    
    .sca-lt-calculator {
        padding: 25px;
    }
    
    .input-with-unit {
        flex-direction: column;
        align-items: stretch;
        gap: 20px;
    }
    
    .input-with-unit .number-input {
        width: 100%;
    }
    
    .result-title {
        font-size: 22px;
    }
    
    .savings-amount {
        font-size: 36px;
    }
}

/* Dark Mode Support */
@media (prefers-color-scheme: dark) {
    .sca-lt-calculator {
        background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
        border-color: #404b5a;
    }
    
    .calculator-form label {
        color: #ecf0f1;
    }
    
    .input-with-unit {
        background: #2c3e50;
        border-color: #404b5a;
    }
    
    .input-with-unit .number-input {
        background: #34495e;
        border-color: #404b5a;
        color: #ecf0f1;
    }
    
    .input-with-unit input[type="range"] {
        background: #404b5a;
    }
}