
body { 
    font-family: 'Lato', sans-serif; 
    font-weight: 400; 
    background: #ffffff;
    min-height: 100vh;
    min-height: 100dvh;
    display: flex; 
    align-items: center; 
    justify-content: center; 
    padding: 24px; 
    font-size: 16px; 
    line-height: 1.5; 
}

h1 { font-family: 'Montserrat', sans-serif !important; font-weight: 700 !important; }
.btn { font-family: 'Montserrat', sans-serif !important; font-weight: 600 !important; letter-spacing: 0.3px; }

.logo { text-align: center; margin-bottom: 18px; padding-bottom: 0; border-bottom: 0 solid #e9ecef; }
.logo-img { 
    width: 262px; height: 267px; object-fit: contain; 
    padding-left: 25px;
}
.logo h1 { font-size: 26px; color: #004519; margin-bottom: 5px; letter-spacing: -0.3px; }
.logo p { 
    color: #76b82a;  
    font-size: 14px; font-weight: 400; margin: 0; 
}

.page-wrap {
    width: min(1100px, 100%);
    display: grid;
    grid-template-columns: minmax(280px, 360px) minmax(320px, 420px);
    gap: 24px;
    align-items: center;
    justify-content: center;
}

.container { max-width: 420px; width: 100%; }
.card { 
    background: white; padding: 45px 35px; 
    border-radius: 16px; box-shadow: 0 15px 40px rgba(0,0,0,0.08); 
    border: 1px solid #e9ecef; border-top: 6px solid #004519; 
    padding-right: 60px;
    animation: cardEnter 450ms ease-out;
}

.form-group { margin-bottom: 24px; }
label { display: block; margin-bottom: 8px; color: #004519; font-weight: 500; font-size: 14px; }
input { 
    width: 100%; padding: 14px 16px; border: 2px solid #e9ecef; 
    border-radius: 8px; font-size: 16px; font-family: 'Lato', sans-serif; 
    font-weight: 400; transition: all 0.2s;
    background: #ffffff;
}
input:focus { outline: none; border-color: #004519; box-shadow: 0 0 0 3px rgba(0,69,25,0.1); }
.is-valid { border-color: #1d9c58 !important; box-shadow: 0 0 0 3px rgba(29,156,88,0.12) !important; }
.is-invalid { border-color: #c53030 !important; box-shadow: 0 0 0 3px rgba(197,48,48,0.12) !important; }

.field-error {
    display: block;
    min-height: 16px;
    margin-top: 6px;
    color: #b42318;
    font-size: 12px;
    font-weight: 600;
}

.input-with-icon {
    display: flex;
    align-items: center;
    gap: 8px;
    border-radius: 8px;
    transition: transform 0.2s ease;
}

.input-with-icon:focus-within {
    transform: translateY(-1px);
}

.input-with-icon input {
    flex: 1;
}

.field-user-icon {
    width: 34px;
    height: 34px;
    object-fit: contain;
    border-radius: 50%;
    border: 1px solid #d7e4da;
    padding: 4px;
    background: #ffffff;
}

select {
    width: 100%;
    padding: 14px 42px 14px 16px;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    font-size: 16px;
    font-family: 'Lato', sans-serif;
    font-weight: 400;
    background: url('img/arrow-down.png') no-repeat right 16px center;
    color: #212529;
    transition: all 0.2s;
    appearance: none;
    background-image:
        linear-gradient(45deg, transparent 50%, #004519 50%),
        linear-gradient(135deg, #004519 50%, transparent 50%);
    background-position:
        calc(100% - 22px) calc(50% - 2px),
        calc(100% - 16px) calc(50% - 2px);
    background-size: 6px 6px, 6px 6px;
    background-repeat: no-repeat;
    background-color: #ffffff;
}
select:focus {
    outline: none;
    border-color: #004519;
    box-shadow: 0 0 0 3px rgba(0,69,25,0.1);
}
select:required:invalid {
    color: #6c757d;
}

.btn { width: 100%; padding: 14px; border: none; border-radius: 8px; font-size: 16px; cursor: pointer; transition: all 0.2s; position: relative; overflow: hidden; }
.btn-primary { background: #004519; color: white; border-top: 3px solid #006b2a; }
.btn-primary:hover { background: #006b2a; transform: translateY(-1px); }
.btn-secondary { background: #004519; color: white; margin-top: 12px; border-top: 3px solid #006b2a; font-weight: 500; }
.btn-secondary:hover { background: #006b2a; transform: translateY(-1px); }
.btn.is-loading {
    cursor: wait;
    opacity: 0.92;
    padding-left: 42px;
}
.btn.is-loading::before {
    content: '';
    position: absolute;
    left: 16px;
    top: 50%;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.45);
    border-top-color: #ffffff;
    transform: translateY(-50%);
    animation: spin 0.8s linear infinite;
}

.alert { padding: 14px 16px; border-radius: 8px; margin-bottom: 20px; font-size: 14px; font-family: 'Lato', sans-serif; }
.alert-danger { background: #fff5f5; color: #721c24; border: 1px solid #f5c6cb; border-left: 4px solid #dc3545; }
.alert-success { background: #f0fdf4; color: #166534; border: 1px solid #bbf7d0; border-left: 4px solid #22c55e; }

.divider-wrapper { position: relative; margin: 30px 0 20px; }
.divider { height: 1px; background: linear-gradient(90deg, #e9ecef 0%, transparent 50%, #e9ecef 100%); }
.divider-wrapper span { 
    position: absolute; top: -8px; left: 50%; transform: translateX(-50%); 
    background: white; padding: 0 16px; color: #6c757d; font-size: 13px; 
    font-weight: 500; font-family: 'Montserrat', sans-serif; 
}

.links { text-align: center; margin-top: 28px; padding-top: 20px; border-top: 1px solid #e9ecef; }
.links a { color: #004519; text-decoration: none; font-size: 14px; font-weight: 500; font-family: 'Lato', sans-serif; }
.links a:hover { opacity: 0.8; }
.login-help-message {
    margin: 14px 0 0;
    padding: 12px 14px;
    color: #46515a;
    font-size: 13px;
    line-height: 1.45;
    text-align: left;
    background: #f7fbf7;
    border: 1px solid #d7e6db;
    border-left: 4px solid #004519;
    border-radius: 10px;
    box-shadow: 0 4px 14px rgba(0, 69, 25, 0.05);
}

.consentimiento-group {
    margin-top: -8px;
}

.consentimiento-check {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 8px;
    color: #1f3e2b;
    font-size: 14px;
    font-weight: 600;
}

.consentimiento-check input[type="checkbox"] {
    width: 16px;
    height: 16px;
    margin-top: 2px;
    flex: 0 0 auto;
}

.consentimiento-detalle,
.consentimiento-group details {
    display: block;
    width: 100%;
    margin-top: 6px;
    border: 1px solid #d8e6dc;
    border-radius: 12px;
    background: #f8fbf8;
    overflow: hidden;
}

.consentimiento-detalle summary,
.consentimiento-group details summary {
    list-style: none;
    display: flex;
    width: 100%;
    box-sizing: border-box;
    cursor: pointer;
    padding: 10px 14px;
    color: #004519;
    font-size: 13px;
    font-weight: 700;
    font-family: 'Montserrat', sans-serif;
    align-items: center;
    justify-content: space-between;
    background: transparent;
    border: 0;
    outline: 0;
}

.consentimiento-detalle summary::-webkit-details-marker,
.consentimiento-group details summary::-webkit-details-marker {
    display: none;
}

.consentimiento-detalle summary::marker,
.consentimiento-group details summary::marker {
    content: '';
}

.consentimiento-detalle summary::after,
.consentimiento-group details summary::after {
    content: '+';
    font-size: 18px;
    line-height: 1;
    color: #2c6e3a;
}

.consentimiento-detalle[open] summary::after,
.consentimiento-group details[open] summary::after {
    content: '-';
}

.consentimiento-texto {
    margin: 0;
    padding: 0 14px 14px;
    color: #495057;
    font-size: 12px;
    line-height: 1.45;
    text-align: justify;
}

.consentimiento-texto a {
    color: #004519;
    font-weight: 700;
    text-decoration: underline;
}


@media (max-width: 768px) { .logo-img { width: 160px; height: 213px; } .card { padding: 35px 25px; } }
@media (max-width: 480px) { .logo-img { width: 140px; height: 187px; } .card { padding: 30px 20px; } }
@media (max-width: 520px) {
    .card {
        padding-right: 25px;
    }

    .logo-img {
        padding-left: 0;
    }
}

@media (max-width: 980px) {
    .page-wrap {
        grid-template-columns: 1fr;
    }
}


@keyframes gradientShift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

@keyframes cardEnter {
    from { opacity: 0; transform: translateY(12px) scale(0.985); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}

@keyframes spin {
    to { transform: translateY(-50%) rotate(360deg); }
}


.tarifas-banner {
    margin: 0;
    padding: 24px;
    border-radius: 22px;
    background:
        radial-gradient(circle at top left, rgba(255, 255, 255, 0.85), transparent 34%),
        linear-gradient(155deg, #eef9ee 0%, #e3f5ef 48%, #e5eefc 100%);
    border: 1px solid #d2e6d7;
    box-shadow: 0 22px 48px rgba(0, 69, 25, 0.14);
    position: relative;
    overflow: hidden;
}

.tarifas-banner::after {
    content: '';
    position: absolute;
    inset: auto -40px -60px auto;
    width: 180px;
    height: 180px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(118, 184, 42, 0.16) 0%, rgba(118, 184, 42, 0) 70%);
    pointer-events: none;
}

.tarifas-banner__header {
    position: relative;
    z-index: 1;
}

.tarifas-banner__header h2 {
    margin: 6px 0 8px;
    font-size: 24px;
    line-height: 1.15;
    color: #0b3b1d;
    font-family: 'Montserrat', sans-serif;
}

.tarifas-banner__eyebrow {
    margin: 0;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #2c6e3a;
}

.tarifas-banner__intro {
    margin: 0 0 18px;
    max-width: 30ch;
    font-size: 14px;
    line-height: 1.5;
    color: #365545;
}

.tarifas-banner__actions {
    position: relative;
    z-index: 1;
    margin-top: 16px;
    padding: 16px 18px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.72);
    border: 1px solid rgba(196, 221, 203, 0.95);
    backdrop-filter: blur(6px);
}

.tarifas-banner__action-copy {
    margin: 0 0 12px;
    color: #355445;
    font-size: 13px;
    line-height: 1.45;
}

.tarifas-banner__download {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 190px;
    padding: 12px 18px;
    border-radius: 999px;
    background: linear-gradient(135deg, #004519 0%, #0d6b2a 100%);
    box-shadow: 0 10px 24px rgba(0, 69, 25, 0.2);
    color: #ffffff;
    text-decoration: none;
    font-family: 'Montserrat', sans-serif;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.03em;
    transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
}

.tarifas-banner__download:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 28px rgba(0, 69, 25, 0.24);
    filter: brightness(1.04);
}

.tarifas-banner__download--disabled {
    background: #9aa8a0;
    box-shadow: none;
    cursor: not-allowed;
    pointer-events: none;
}

.tarifas-banner__grid {
    display: grid;
    gap: 14px;
    position: relative;
    z-index: 1;
}

.tarifas-banner__panel {
    background: rgba(255, 255, 255, 0.92);
    border-radius: 16px;
    padding: 14px 16px;
    border: 1px solid #deece2;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.tarifas-banner__panel h3 {
    margin: 0 0 8px;
    font-size: 14px;
    color: #0f3f23;
    font-weight: 700;
}

.tarifas-banner__chips {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 8px;
}

.tarifa-chip {
    display: inline-flex;
    align-items: center;
    padding: 4px 10px;
    border-radius: 999px;
    background: #e9f6e6;
    color: #1b4d29;
    font-size: 12px;
    font-weight: 700;
}

.tarifas-banner__list {
    margin: 0 0 6px;
    padding-left: 16px;
    color: #1f3e2b;
    font-size: 13px;
    line-height: 1.5;
}

.tarifas-banner__note {
    margin: 0;
    font-size: 12px;
    color: #4b6356;
}

@media (max-width: 980px) {
    .tarifas-banner__header h2 {
        font-size: 21px;
    }

    .tarifas-banner__intro {
        max-width: none;
    }
}
