/* ==============================> LIBRO DE RECLAMACIONES - ESTILOS */

/* -> FORMULARIO GENERAL */
.lr-formulario {
    background: #ffffff;
    padding: 30px;
    max-width: 1200px;
    margin: 0 auto;
    transition: all 0.3s ease;
}

/* -> SECCIONES */
.lr-seccion {
    margin-bottom: 40px;
    padding: 30px;
    background: #ffffff;
    border: 1px solid #e0e0e0;
    border-radius: 6px;
    transition: box-shadow 0.3s ease;
}

.lr-seccion:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.lr-seccion-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 2px solid #f0f0f0;
}

.lr-seccion-header h3 {
    margin: 0;
    font-size: 22px;
    color: #333333;
    font-weight: 600;
}

.lr-requerido-text {
    font-size: 13px;
    color: #666666;
    font-style: italic;
}

/* -> FILAS Y CAMPOS */
.lr-fila {
    display: grid;
    gap: 20px;
    margin-bottom: 20px;
    transition: all 0.3s ease;
}

.lr-fila-3 {
    grid-template-columns: repeat(3, 1fr);
}

.lr-fila-2 {
    grid-template-columns: repeat(2, 1fr);
}

.lr-campo {
    display: flex;
    flex-direction: column;
}

.lr-campo label {
    margin-bottom: 8px;
    font-size: 14px;
    color: #333333;
    font-weight: 500;
    transition: color 0.3s ease;
}

.lr-asterisco {
    color: #ff0000;
    margin-left: 2px;
}

/* -> INPUTS */
.lr-campo input[type="text"],
.lr-campo input[type="email"],
.lr-campo input[type="tel"],
.lr-campo input[type="number"],
.lr-campo input[type="date"],
.lr-campo select,
.lr-campo textarea {
    padding: 12px 15px;
    border: 1px solid #d1d1d1;
    border-radius: 6px;
    font-size: 14px;
    color: #333333;
    background: #ffffff;
    transition: all 0.3s ease;
    outline: none;
}

.lr-campo input[type="text"]:hover,
.lr-campo input[type="email"]:hover,
.lr-campo input[type="tel"]:hover,
.lr-campo input[type="number"]:hover,
.lr-campo input[type="date"]:hover,
.lr-campo select:hover,
.lr-campo textarea:hover {
    border-color: #999999;
}

.lr-campo input[type="text"]:focus,
.lr-campo input[type="email"]:focus,
.lr-campo input[type="tel"]:focus,
.lr-campo input[type="number"]:focus,
.lr-campo input[type="date"]:focus,
.lr-campo select:focus,
.lr-campo textarea:focus {
    border-color: #333333;
    box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.05);
}

.lr-campo textarea {
    resize: vertical;
    min-height: 100px;
}

.lr-campo input[type="file"] {
    padding: 10px;
    border: 2px dashed #d1d1d1;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.lr-campo input[type="file"]:hover {
    border-color: #999999;
    background: #f9f9f9;
}

/* -> RADIO BUTTONS */
.lr-campo-radio label {
    margin-bottom: 10px;
}

.lr-radio-group {
    display: flex;
    gap: 30px;
    margin-top: 5px;
}

.lr-radio {
    display: flex;
    align-items: center;
    cursor: pointer;
    font-size: 14px;
    color: #333333;
    transition: color 0.3s ease;
}

.lr-radio:hover {
    color: var(--e-global-color-primary);
}

.lr-radio input[type="radio"] {
    margin-right: 8px;
    cursor: pointer;
    width: 18px;
    height: 18px;
    transition: all 0.3s ease;
}

/* -> CHECKBOXES */
.lr-campo-checkbox {
    margin-bottom: 15px;
}

.lr-checkbox {
    display: flex;
    align-items: flex-start;
    cursor: pointer;
    font-size: 14px;
    color: #333333;
    transition: color 0.3s ease;
}

.lr-checkbox:hover {
    color: #000000;
}

.lr-checkbox input[type="checkbox"] {
    margin-right: 10px;
    margin-top: 3px;
    cursor: pointer;
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.lr-checkbox span {
    line-height: 1.6;
}

/* -> INFORMACIÓN LEGAL */
.lr-info-legal {
    margin-top: 30px;
    padding: 20px;
    background: #f9f9f9;
    border-radius: 6px;
    border-left: 4px solid var(--e-global-color-primary);
    transition: all 0.3s ease;
}

.lr-info-legal h4 {
    margin-top: 0;
    margin-bottom: 15px;
    font-size: 16px;
    color: #333333;
}

.lr-info-legal ol {
    margin: 15px 0;
    padding-left: 20px;
}

.lr-info-legal ol li {
    margin-bottom: 10px;
    line-height: 1.6;
    font-size: 14px;
    color: #555555;
}

.lr-info-legal p {
    margin: 10px 0;
    line-height: 1.6;
    font-size: 14px;
    color: #555555;
}

/* -> TEXTO DE AYUDA */
.lr-ayuda {
    display: block;
    margin-top: 6px;
    font-size: 12px;
    color: #666666;
    font-style: italic;
}

/* -> BOTÓN ENVIAR */
.lr-submit-container {
    text-align: center;
    margin-top: 40px;
    padding-top: 30px;
    border-top: 2px solid #f0f0f0;
}

.lr-btn-enviar {
    background: var(--e-global-color-primary);
    color: #ffffff;
    border: none;
    padding: 16px 60px;
    font-size: 16px;
    font-weight: 600;
    border-radius: 6px;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.lr-btn-enviar:hover {
    background: var(--e-global-color-secondary);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.25);
    transform: translateY(-2px);
}

.lr-btn-enviar:active {
    transform: translateY(0);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

/* -> ESTADOS DISABLED */
select:disabled,
input:disabled {
    background: #f5f5f5;
    cursor: not-allowed;
    opacity: 0.6;
}

/* -> ANIMACIONES */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

#lr-datos-tutor {
    animation: fadeIn 0.4s ease;
}

/* -> RESPONSIVE TABLET */
@media (max-width: 768px) {
    .lr-formulario {
        padding: 20px;
    }

    .lr-seccion {
        padding: 20px;
    }

    .lr-fila-3,
    .lr-fila-2 {
        grid-template-columns: 1fr;
    }

    .lr-seccion-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    .lr-seccion-header h3 {
        font-size: 20px;
    }

    .lr-radio-group {
        gap: 20px;
    }

    .lr-btn-enviar {
        width: 100%;
        padding: 14px 40px;
    }
}

/* -> RESPONSIVE MÓVIL */
@media (max-width: 480px) {
    .lr-formulario {
        padding: 15px;
    }

    .lr-seccion {
        padding: 15px;
        margin-bottom: 25px;
    }

    .lr-seccion-header h3 {
        font-size: 18px;
    }

    .lr-requerido-text {
        font-size: 12px;
    }

    .lr-campo label {
        font-size: 13px;
    }

    .lr-campo input[type="text"],
    .lr-campo input[type="email"],
    .lr-campo input[type="tel"],
    .lr-campo input[type="number"],
    .lr-campo input[type="date"],
    .lr-campo select,
    .lr-campo textarea {
        padding: 10px 12px;
        font-size: 13px;
    }

    .lr-info-legal {
        padding: 15px;
    }

    .lr-info-legal h4 {
        font-size: 15px;
    }

    .lr-info-legal ol li,
    .lr-info-legal p {
        font-size: 13px;
    }

    .lr-btn-enviar {
        font-size: 15px;
        padding: 12px 30px;
    }

    .lr-radio-group {
        flex-direction: column;
        gap: 10px;
    }
}

/* -> COMPATIBILIDAD iOS */
@supports (-webkit-overflow-scrolling: touch) {

    .lr-campo input,
    .lr-campo select,
    .lr-campo textarea {
        -webkit-appearance: none;
        -webkit-border-radius: 6px;
    }

    .lr-btn-enviar {
        -webkit-tap-highlight-color: transparent;
    }
}

/* -> VALIDACIÓN HTML5 */
.lr-campo input:invalid:not(:placeholder-shown),
.lr-campo select:invalid:not(:placeholder-shown),
.lr-campo textarea:invalid:not(:placeholder-shown) {
    border-color: #ff6b6b;
}

.lr-campo input:valid:not(:placeholder-shown),
.lr-campo select:valid:not(:placeholder-shown),
.lr-campo textarea:valid:not(:placeholder-shown) {
    border-color: #51cf66;
}