﻿:root {
    --solind-primary: #f39c12;
    --solind-secondary: #2c3e50;
    --solind-accent: #27ae60;
    --solind-text: #333;
    --solind-bg: #f9f9f9;
    --solind-white: #ffffff;
    --solind-border: #ddd;
}

.solind-fotovoltaica-container {
    max-width: 850px;
    margin: 20px auto;
    padding: 30px;
    background: var(--solind-white);
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    font-family:
        "Inter",
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        Roboto,
        sans-serif;
    color: var(--solind-text);
}

.solind-fotovoltaica-steps {
    display: flex;
    justify-content: space-between;
    margin-bottom: 40px;
    border-bottom: 2px solid #eee;
    padding-bottom: 15px;
}
.solind-fotovoltaica-steps .step {
    flex: 1;
    text-align: center;
    opacity: 0.4;
    transition: 0.3s;
}
.solind-fotovoltaica-steps .step.active {
    opacity: 1;
    font-weight: bold;
}
.solind-fotovoltaica-steps .step-number {
    display: inline-block;
    width: 35px;
    height: 35px;
    line-height: 35px;
    border-radius: 50%;
    background: var(--solind-secondary);
    color: #fff;
    margin-bottom: 8px;
}
.solind-fotovoltaica-steps .step.active .step-number {
    background: var(--solind-primary);
    box-shadow: 0 0 15px rgba(243, 156, 18, 0.4);
}

.solind-fotovoltaica-step-content {
    display: none;
    animation: fadeIn 0.4s ease;
}
.solind-fotovoltaica-step-content.active {
    display: block;
}

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

/* CONFIGURADOR INTERACTIVO */
.solind-fotovoltaica-configurator {
    background: #fcfcfc;
    border: 1px solid #e1e1e1;
    border-radius: 10px;
    padding: 20px;
    margin-bottom: 30px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
}
.config-section label {
    display: block;
    font-size: 13px;
    font-weight: 700;
    color: #555;
    margin-bottom: 8px;
}
.solind-product-selector {
    width: 100%;
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 8px;
    background: #fff;
    font-size: 14px;
    cursor: pointer;
}

/* RESULT CARDS */
.solind-fotovoltaica-results-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 15px;
    margin: 25px 0;
}
.solind-fotovoltaica-result-card {
    background: #fff;
    padding: 20px;
    border-radius: 10px;
    text-align: center;
    border: 1px solid #eee;
}
.solind-fotovoltaica-result-card i {
    font-size: 28px;
    color: var(--solind-primary);
    margin-bottom: 12px;
}
.solind-fotovoltaica-result-card .value {
    display: block;
    font-size: 24px;
    font-weight: 800;
    color: var(--solind-secondary);
}
.solind-fotovoltaica-result-card .label {
    font-size: 12px;
    color: #888;
    text-transform: uppercase;
}

/* BUDGET TABLE */
.solind-fotovoltaica-budget-summary {
    background: #fff;
    padding: 20px;
    border-radius: 12px;
    margin: 30px 0;
    border: 1px solid #eee;
}
.solind-fotovoltaica-budget-summary h4 {
    margin: 0 0 20px 0;
    color: var(--solind-secondary);
    border-bottom: 2px solid var(--solind-primary);
    padding-bottom: 10px;
}

.solind-budget-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 20px;
}
.solind-budget-table th {
    text-align: left;
    padding: 12px;
    border-bottom: 2px solid #eee;
    color: #777;
    font-size: 14px;
}
.solind-budget-table td {
    padding: 12px;
    border-bottom: 1px solid #f5f5f5;
    font-size: 14px;
    vertical-align: top;
}

.solind-budget-label {
    font-weight: 700;
    color: var(--solind-secondary);
    margin-bottom: 3px;
}
.solind-budget-product {
    font-size: 13px;
    color: #555;
}
.solind-budget-brand {
    font-size: 11px;
    color: #999;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.solind-budget-table tfoot td {
    padding: 10px 12px;
    text-align: right;
}
.solind-budget-table tfoot tr.total-row td {
    font-size: 22px;
    font-weight: 800;
    color: var(--solind-accent);
    border-top: 2px solid #eee;
    padding-top: 15px;
}

/* ACTIONS */
.solind-fotovoltaica-actions.row {
    display: flex;
    gap: 15px;
    justify-content: space-between;
}
.solind-fotovoltaica-actions.row .solind-fotovoltaica-btn {
    flex: 1;
    margin: 0;
}

/* FORM ELEMENTS */
.solind-fotovoltaica-field {
    margin-bottom: 25px;
}
.solind-fotovoltaica-field label {
    display: block;
    font-weight: 700;
    margin-bottom: 10px;
}
.solind-fotovoltaica-field input[type="text"],
.solind-fotovoltaica-field input[type="number"],
.solind-fotovoltaica-field input[type="email"],
.solind-fotovoltaica-field input[type="tel"] {
    width: 100%;
    padding: 15px;
    border: 2px solid #eee;
    border-radius: 10px;
    font-size: 16px;
}
.solind-fotovoltaica-radio-group {
    display: flex;
    gap: 30px;
    background: #f9f9f9;
    padding: 15px;
    border-radius: 10px;
}

.solind-fotovoltaica-btn {
    background: var(--solind-primary);
    color: #fff;
    border: none;
    padding: 18px 30px;
    border-radius: 10px;
    font-size: 16px;
    font-weight: 800;
    cursor: pointer;
    transition: 0.3s;
    width: 100%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}
.solind-fotovoltaica-btn:hover {
    background: #e67e22;
    transform: translateY(-2px);
}
.solind-fotovoltaica-btn.btn-secondary {
    background: #555;
}

.solind-fotovoltaica-alert {
    padding: 20px;
    border-radius: 10px;
    margin-top: 20px;
    text-align: center;
    font-weight: bold;
}
.solind-fotovoltaica-alert.success {
    background: #d4edda;
    color: #155724;
}
.solind-fotovoltaica-alert.error {
    background: #f8d7da;
    color: #721c24;
}
