/* Frontend CSS - Inspirado em forcasolar.com.br/tabela-price/ */
.scc-simulator {
    background: #ffffff;
    border-radius: 16px;
    padding: 40px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    max-width: 700px;
    margin: 0 auto;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
}

.scc-simulator-header {
    text-align: center;
    margin-bottom: 35px;
    padding-bottom: 25px;
    border-bottom: 2px solid #f0f0f0;
}

.scc-title {
    font-size: 32px;
    font-weight: 700;
    color: #333;
    margin: 0 0 12px 0;
    line-height: 1.2;
}

.scc-subtitle {
    font-size: 16px;
    color: #777;
    margin: 0;
    font-weight: 400;
}

.scc-form {
    margin-bottom: 30px;
}

.scc-form-row {
    margin-bottom: 25px;
}

.scc-form-field label {
    display: block;
    margin-bottom: 10px;
    font-weight: 600;
    color: #333;
    font-size: 15px;
    letter-spacing: 0.3px;
}

.scc-form-field input,
.scc-form-field select {
    width: 100%;
    padding: 15px 18px;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    font-size: 16px;
    transition: all 0.3s ease;
    background: #fafafa;
    color: #333;
    font-weight: 500;
}

.scc-form-field input:focus,
.scc-form-field select:focus {
    outline: none;
    border-color: #ff6b35;
    background: #fff;
    box-shadow: 0 0 0 4px rgba(255, 107, 53, 0.1);
}

.scc-form-field select:disabled {
    background: #f5f5f5;
    color: #999;
    cursor: not-allowed;
}

.scc-form-actions {
    margin-top: 30px;
}

.scc-btn {
    width: 100%;
    padding: 18px 30px;
    font-size: 18px;
    font-weight: 700;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.scc-btn-primary {
    background: linear-gradient(135deg, #ff6b35 0%, #ff8c61 100%);
    color: #fff;
    box-shadow: 0 4px 15px rgba(255, 107, 53, 0.3);
}

.scc-btn-primary:hover {
    background: linear-gradient(135deg, #ff5722 0%, #ff6b35 100%);
    box-shadow: 0 6px 20px rgba(255, 107, 53, 0.4);
    transform: translateY(-2px);
}

.scc-btn-primary:active {
    transform: translateY(0);
}

/* Resultado */
.scc-result {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 14px;
    padding: 30px;
    margin-top: 30px;
    border: 2px solid #e0e0e0;
}

.scc-result-header {
    text-align: center;
    margin-bottom: 25px;
    padding-bottom: 20px;
    border-bottom: 2px solid #d0d0d0;
}

.scc-result-header h3 {
    font-size: 24px;
    font-weight: 700;
    color: #333;
    margin: 0;
}

.scc-result-content {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.scc-result-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 20px;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    transition: all 0.2s ease;
}

.scc-result-item:hover {
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    transform: translateX(5px);
}

.scc-result-installment {
    background: linear-gradient(135deg, #4caf50 0%, #66bb6a 100%);
    color: #fff;
    border: none;
}

.scc-result-installment .scc-result-label,
.scc-result-installment .scc-result-value {
    color: #fff;
}

.scc-result-label {
    font-size: 15px;
    font-weight: 600;
    color: #666;
    letter-spacing: 0.3px;
}

.scc-result-value {
    font-size: 22px;
    font-weight: 700;
    color: #333;
}

.scc-result-installment .scc-result-value {
    font-size: 28px;
}

/* Responsivo */
@media (max-width: 768px) {
    .scc-simulator {
        padding: 25px 20px;
        border-radius: 12px;
    }
    
    .scc-title {
        font-size: 26px;
    }
    
    .scc-subtitle {
        font-size: 14px;
    }
    
    .scc-result-value {
        font-size: 18px;
    }
    
    .scc-result-installment .scc-result-value {
        font-size: 22px;
    }
    
    .scc-result-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }
}

/* Loading */
.scc-form.loading {
    opacity: 0.6;
    pointer-events: none;
}

.scc-btn.loading::after {
    content: "";
    display: inline-block;
    width: 16px;
    height: 16px;
    margin-left: 10px;
    border: 2px solid rgba(255,255,255,0.3);
    border-top-color: #fff;
    border-radius: 50%;
    animation: scc-spin 0.6s linear infinite;
}

@keyframes scc-spin {
    to { transform: rotate(360deg); }
}
