/**
 * Frontend Styles for VitalAge Calculator
 */
        /* Estilos existentes... */
        :root {
            --bg: #f7f7fb;
            --card: #ffffff;
            --muted: #6b7280;
            --border: #e5e7eb;
            --accent: #2563eb;
            --good: #166534;
            --warn: #a16207;
            --bad: #991b1b;
            --err: #b91c1c;
            --critical: #7f1d1d;
            --negro: #0a0e12;
            --corporativo: #408080;
        }
.lunia-vitalage-ia-calculator {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0px !important;
    background: #f7f7fb;
    border-radius: 16px;
}

.vitalage-header {
    text-align: center;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 2px solid #e5e7eb;
}

.vitalage-header h2 {
    color: #1e40af;
    font-size: 28px;
    margin-bottom: 10px;
}

.vitalage-subtitle {
    color: #6b7280;
    font-size: 16px;
}

.vitalage-subtitle-3 {
    color: #408081;
    font-size: 15px;
    margin-top: 0.5em;
}

.vitalage-email-section {
    background: white;
    padding: 25px;
    border-radius: 12px;
    margin-bottom: 25px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.vitalage-fields-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 15px;
}

.vitalage-field-item {
    display: flex;
    flex-direction: column;
}

.vitalage-email-section label {
    display: block;
    font-weight: 600;
    margin-bottom: 8px;
    color: #1f2937;
}

.vitalage-email-section input[type="text"],
.vitalage-email-section input[type="email"] {
    width: 100%;
    padding: 12px;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    font-size: 16px;
    box-sizing: border-box;
}

.vitalage-email-section .description {
    margin-top: 6px;
    font-size: 13px;
    color: #6b7280;
}

.vitalage-email-section .required {
    color: #dc2626;
}

.vitalage-email-section input.error-field {
    border-color: #dc2626 !important;
    background-color: #fee2e2 !important;
}

.vitalage-email-section input:focus {
    outline: none;
    border-color: #2563eb;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

#vitalage-widget-container {
    margin-bottom: 30px;
}

.vitalage-submit-section {
    text-align: center;
    padding: 25px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.vitalage-submit-section .nota {
    margin-bottom: 25px;
    padding: 15px;
    background: #ecfdf5;
    border-left: 4px solid #408080;
    border-radius: 8px;
    color: #14532d;
    font-size: 14px;
    text-align: left;
}

.vitalage-terms-section {
    text-align: left;
    margin-bottom: 25px;
    padding: 20px;
    background: #f9fafb;
    border-radius: 8px;
}

.vitalage-term-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 15px;
    gap: 10px;
}

.vitalage-term-item:last-child {
    margin-bottom: 0;
}

.vitalage-term-item input[type="checkbox"] {
    margin-top: 4px;
    flex-shrink: 0;
    width: 18px;
    height: 18px;
    cursor: pointer;
}

.vitalage-term-item label {
    flex: 1;
    font-size: 14px;
    line-height: 1.6;
    color: #1f2937;
    cursor: pointer;
    margin: 0;
}

.vitalage-term-item.error-term {
    padding: 10px;
    background-color: #fee2e2;
    border: 1px solid #dc2626;
    border-radius: 6px;
}

.vitalage-term-item.error-term label {
    color: #991b1b;
}

.vitalage-term-item .required {
    color: #dc2626;
    font-weight: 600;
}

#vitalage-save-results {
    background: linear-gradient(to right, var(--negro), var(--corporativo));
    color: white;
    border: none;
    padding: 15px 35px;
    font-size: 16px;
    font-weight: 600;
    border-radius: 100px;
    cursor: pointer;
    transition: background 0.2s;
}

#vitalage-save-results:hover {
    background: linear-gradient(to right, var(--corporativo), var(--negro));
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(10, 14, 18, 0.15);
}

#vitalage-save-results:disabled {
    background: linear-gradient(to right, var(--negro), var(--corporativo));
    cursor: not-allowed;
}

.vitalage-message {
    margin-top: 20px;
    padding: 15px;
    border-radius: 8px;
}

.vitalage-message.success {
    background: #dcfce7;
    border: 1px solid #bbf7d0;
    color: #166534;
}

.vitalage-message.error {
    background: #fee2e2;
    border: 1px solid #fecaca;
    color: #991b1b;
}

.vitalage-recommendations {
    margin-top: 30px;
    padding: 30px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.vitalage-recommendations h3 {
    color: #1f2937;
    margin-bottom: 25px;
    text-align: center;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
}

.product-card {
    background: #f9fafb;
    padding: 20px;
    border-radius: 8px;
    text-align: center;
    border: 1px solid #e5e7eb;
}

.product-card .product-image {
    margin-bottom: 15px;
}

.product-card .product-image img {
    max-width: 100%;
    height: auto;
    border-radius: 6px;
}

.product-card h4 {
    color: #1f2937;
    margin-bottom: 10px;
}

.product-card .product-reason {
    color: #6b7280;
    font-size: 14px;
    margin-bottom: 10px;
}

.product-card .product-price {
    font-size: 20px;
    font-weight: 700;
    color: #2563eb;
    margin-bottom: 15px;
}

.product-card .button {
    display: inline-block;
    background: #2563eb;
    color: white;
    padding: 10px 20px;
    border-radius: 6px;
    text-decoration: none;
    transition: background 0.2s;
}

.product-card .button:hover {
    background: #1d4ed8;
}

/* Responsive */
@media (max-width: 768px) {
    .lunia-vitalage-ia-calculator {
        padding: 20px 0px !important;
    }
    
    .vitalage-fields-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .products-grid {
        grid-template-columns: 1fr;
    }
}



