/* Nuevos colores de ENVIBOL */
:root {
    --azul-principal: #001C61;
    --verde-principal: #00A93C;
    --verde-claro: #7BD128;
    --verde-oscuro: #00870E;
    --celeste: #BFD1DD;
    --celeste-claro: #E4FAFA;
    --rojo: #FF0000;
    --naranja: #FFA500;
    --gris-claro: #F5F5F5;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(135deg, var(--azul-principal) 0%, var(--verde-oscuro) 100%);
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.container {
    background: white;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    max-width: 700px;
    width: 100%;
    padding: 40px;
}

.logo-container {
    text-align: center;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 4px solid var(--azul-principal);
}

.logo-container h1 {
    color: var(--azul-principal);
    font-size: 2.8em;
    font-weight: bold;
    margin-bottom: 5px;
    text-shadow: 2px 2px 4px rgba(0, 28, 97, 0.1);
}

.subtitle {
    color: var(--verde-principal);
    font-size: 1.1em;
    font-weight: 600;
}

.alert-box {
    background: linear-gradient(135deg, var(--naranja) 0%, var(--rojo) 100%);
    color: white;
    padding: 20px;
    border-radius: 12px;
    margin-bottom: 25px;
    box-shadow: 0 4px 15px rgba(255, 0, 0, 0.2);
}

.alert-box h3 {
    margin-bottom: 12px;
    font-size: 1.3em;
    display: flex;
    align-items: center;
    gap: 8px;
}

.alert-box p {
    font-size: 1em;
    line-height: 1.7;
}

.price-info {
    background: linear-gradient(135deg, var(--celeste-claro) 0%, var(--celeste) 100%);
    padding: 25px;
    border-radius: 12px;
    margin-bottom: 30px;
    border-left: 6px solid var(--azul-principal);
}

.price-info h3 {
    color: var(--azul-principal);
    margin-bottom: 15px;
    font-size: 1.4em;
}

.intro-text {
    color: #333;
    margin-bottom: 20px;
    line-height: 1.6;
    font-size: 1em;
}

.price-list {
    background: white;
    border-radius: 10px;
    padding: 20px;
    margin: 20px 0;
    box-shadow: 0 2px 10px rgba(0, 28, 97, 0.1);
}

.price-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px;
    border-bottom: 2px solid var(--celeste);
    transition: all 0.3s ease;
}

.price-item:last-child {
    border-bottom: none;
}

.price-item:hover {
    background: var(--celeste-claro);
    transform: translateX(5px);
}

.price-item.highlight {
    background: linear-gradient(90deg, var(--verde-claro) 0%, var(--verde-principal) 100%);
    color: white;
    border-radius: 8px;
    font-weight: bold;
    margin-top: 10px;
}

.item-name {
    font-size: 1.1em;
    font-weight: 600;
}

.item-price {
    font-size: 1.3em;
    font-weight: bold;
    color: var(--azul-principal);
}

.price-item.highlight .item-price {
    color: white;
}

.warning-text {
    color: #d32f2f;
    background: #fff3cd;
    padding: 15px;
    border-radius: 8px;
    margin-top: 20px;
    border-left: 4px solid var(--rojo);
    line-height: 1.6;
    font-size: 0.95em;
}

.warning-text strong {
    color: var(--rojo);
}

form h2 {
    color: var(--azul-principal);
    margin-bottom: 15px;
    text-align: center;
    font-size: 1.8em;
}

.form-description {
    text-align: center;
    color: #555;
    margin-bottom: 25px;
    font-size: 1.05em;
    font-weight: 500;
}

.form-group {
    margin-bottom: 25px;
}

label {
    display: block;
    color: var(--azul-principal);
    font-weight: 600;
    margin-bottom: 10px;
    font-size: 1em;
}

input[type="text"] {
    width: 100%;
    padding: 14px 16px;
    border: 2px solid var(--celeste);
    border-radius: 10px;
    font-size: 1.05em;
    transition: all 0.3s ease;
    background: var(--celeste-claro);
}

input[type="text"]:focus {
    outline: none;
    border-color: var(--azul-principal);
    box-shadow: 0 0 0 3px rgba(0, 28, 97, 0.1);
    background: white;
}

.question {
    font-size: 1.15em;
    margin-bottom: 18px;
    text-align: center;
}

.radio-group {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.radio-label {
    position: relative;
    cursor: pointer;
    flex: 1;
    min-width: 200px;
}

.radio-label input[type="radio"] {
    position: absolute;
    opacity: 0;
}

.radio-custom {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 18px 20px;
    border: 3px solid transparent;
    border-radius: 12px;
    font-size: 1em;
    font-weight: bold;
    transition: all 0.3s ease;
    color: white;
    text-align: center;
    line-height: 1.3;
}
.radio-icon {
    font-size: 1.4em;
    font-weight: bold;
}

.radio-custom.si {
    background: linear-gradient(135deg, var(--verde-principal), var(--verde-claro));
    box-shadow: 0 4px 15px rgba(0, 169, 60, 0.3);
}

.radio-custom.no {
    background: linear-gradient(135deg, var(--rojo), var(--naranja));
    box-shadow: 0 4px 15px rgba(255, 0, 0, 0.3);
}

.radio-label input[type="radio"]:checked + .radio-custom {
    transform: scale(1.08);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
    border-color: var(--azul-principal);
}

.radio-label:hover .radio-custom {
    transform: translateY(-3px);
}

.btn-submit {
    width: 100%;
    padding: 16px;
    background: linear-gradient(135deg, var(--azul-principal), var(--verde-principal));
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 1.3em;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 25px;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 6px 20px rgba(0, 28, 97, 0.3);
}

.btn-submit:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0, 28, 97, 0.5);
}

.btn-submit:active {
    transform: translateY(0);
}

.footer {
    text-align: center;
    margin-top: 35px;
    padding-top: 25px;
    border-top: 2px solid var(--celeste);
    color: #666;
    font-size: 0.9em;
}

/* Estilos para success y error */
.success-box, .error-box {
    text-align: center;
    padding: 40px 20px;
}

.success-icon, .error-icon {
    font-size: 5em;
    margin-bottom: 20px;
}

.success-icon {
    color: var(--verde-principal);
}

.error-icon {
    color: var(--rojo);
}

.success-box h2, .error-box h2 {
    color: var(--azul-principal);
    margin-bottom: 15px;
    font-size: 2em;
}

.success-message, .error-message {
    color: #555;
    font-size: 1.15em;
    line-height: 1.7;
    margin: 20px 0;
}

.btn-back {
    display: inline-block;
    padding: 14px 35px;
    background: var(--verde-principal);
    color: white;
    text-decoration: none;
    border-radius: 10px;
    font-weight: 600;
    margin-top: 25px;
    transition: all 0.3s ease;
    font-size: 1.1em;
}

.btn-back:hover {
    background: var(--azul-principal);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 28, 97, 0.3);
}

/* Responsive */
@media (max-width: 600px) {
    .container {
        padding: 25px;
    }
    
    .logo-container h1 {
        font-size: 2.2em;
    }
    
    .radio-group {
        flex-direction: column;
        gap: 15px;
    }
    
    .radio-label {
        min-width: 100%;
    }
    
    .price-item {
        flex-direction: column;
        gap: 8px;
        text-align: center;
    }
}

.consequence-text {
    color: #333;
    background: #fff9e6;
    padding: 15px;
    border-radius: 8px;
    margin-top: 20px;
    border-left: 4px solid var(--naranja);
    line-height: 1.6;
    font-size: 0.95em;
}

.thanks-text {
    color: #555;
    margin-top: 15px;
    line-height: 1.6;
    font-size: 0.95em;
    font-style: italic;
}