/* ============================================
   LIBRO DE RECLAMACIONES - VERSIÓN SIN BARRA AZUL
   ============================================ */

/* RESET Y VARIABLES */
:root {
    --primary: #003366;
    --primary-dark: #002244;
    --secondary: #25A5DE;
    --secondary-dark: #1b7fb1;
    --success: #28a745;
    --danger: #dc3545;
    --warning: #ffc107;
    --light: #f8f9fa;
    --dark: #343a40;
    --gray: #6c757d;
    --border: #dee2e6;
    --shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    --shadow-lg: 0 5px 20px rgba(0, 0, 0, 0.1);
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Rubik', 'Poppins', sans-serif;
    background-color: #f5f7fa;
    color: #1a1a1a;
    line-height: 1.5;
}

/* CONTENEDOR PRINCIPAL */
.hz-lreclamaciones-container {
    max-width: 900px;
   margin: 140px auto 40px auto; 
    background: #fff;
    border-radius: 20px;
    box-shadow: var(--shadow-lg);
    overflow: hidden;
}

/* ============================================
   HEADER DEL FORMULARIO (reemplaza el aside)
   ============================================ */
.hz-libro-header {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 30px 40px;
    border-bottom: 1px solid var(--border);
    text-align: center;
}

.hz-libro-header h1 {
    font-size: 28px;
    color: var(--primary);
    margin-bottom: 8px;
}

.hz-libro-header p {
    color: var(--gray);
    font-size: 15px;
}

.hz-libro-header .datos-empresa {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-top: 20px;
    padding-top: 15px;
    border-top: 1px dashed var(--border);
    font-size: 13px;
    color: var(--gray);
}

.hz-libro-header .datos-empresa span {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.hz-libro-header .datos-empresa i {
    color: var(--secondary);
    width: 20px;
}

/* CONTENIDO PRINCIPAL */
.hz-libro-main {
    padding: 40px;
}

/* ============================================
   BARRA DE PROGRESO
   ============================================ */
.hz-wizard-progress {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 35px;
    padding-bottom: 20px;
    border-bottom: 2px solid var(--border);
    position: relative;
}

.hz-wizard-progress .step {
    flex: 1;
    text-align: center;
    font-size: 14px;
    font-weight: 500;
    color: var(--gray);
    position: relative;
    padding-bottom: 12px;
}

.hz-wizard-progress .step::before {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: var(--secondary);
    transition: width 0.3s ease;
}

.hz-wizard-progress .step.active {
    color: var(--secondary);
    font-weight: 600;
}

.hz-wizard-progress .step.active::before {
    width: 40px;
}

/* ============================================
   PASOS DEL FORMULARIO
   ============================================ */
.hz-wizard-step {
    display: none;
    animation: fadeIn 0.4s ease;
}

.hz-wizard-step.active {
    display: block;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hz-wizard-step h3 {
    font-size: 20px;
    color: var(--primary);
    margin-bottom: 25px;
    padding-bottom: 8px;
    border-bottom: 2px solid var(--secondary);
    display: inline-block;
}

/* ============================================
   GRID Y CAMPOS
   ============================================ */
.hz-grid-2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
    margin-bottom: 25px;
}

.hz-grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    margin-bottom: 25px;
}

.form-group {
    display: flex;
    flex-direction: column;
    width: 100%;
}

.form-group label {
    font-weight: 600;
    margin-bottom: 8px;
    font-size: 14px;
    color: var(--dark);
}

.form-group label .required {
    color: var(--danger);
    margin-left: 3px;
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 12px 14px;
    font-size: 14px;
    border: 1px solid var(--border);
    border-radius: 10px;
    outline: none;
    transition: all 0.2s ease;
    font-family: inherit;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--secondary);
    box-shadow: 0 0 0 3px rgba(37, 165, 222, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 100px;
}

/* ============================================
   VALIDACIÓN DE ERRORES
   ============================================ */
.error-message {
    color: var(--danger);
    font-size: 12px;
    margin-top: 6px;
    display: flex;
    align-items: center;
    gap: 5px;
}

.error-message::before {
    content: '⚠';
    font-size: 12px;
}

.form-group input.error,
.form-group select.error,
.form-group textarea.error {
    border-color: var(--danger);
    background-color: #fff8f8;
}

/* ============================================
   CAPTCHA
   ============================================ */
.captcha-group {
    background: var(--light);
    padding: 20px;
    border-radius: 12px;
    margin: 25px 0;
}

.captcha-container {
    display: flex;
    align-items: center;
    gap: 15px;
    flex-wrap: wrap;
}

.captcha-container img {
    background: white;
    padding: 10px 15px;
    border-radius: 10px;
    border: 1px solid var(--border);
    height: 60px;
}

.btn-refresh-captcha {
    background: var(--gray);
    color: white;
    border: none;
    border-radius: 8px;
    padding: 8px 16px;
    cursor: pointer;
    transition: background 0.2s;
}

.btn-refresh-captcha:hover {
    background: #5a6268;
}

/* ============================================
   CHECKBOX
   ============================================ */
.checkbox-label {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    margin: 20px 0;
}

.checkbox-label input {
    width: 18px;
    height: 18px;
    cursor: pointer;
    accent-color: var(--secondary);
}

.checkbox-label a {
    color: var(--secondary);
    text-decoration: none;
}

.checkbox-label a:hover {
    text-decoration: underline;
}

/* ============================================
   BOTONES
   ============================================ */
.hz-wizard-buttons {
    margin-top: 35px;
    padding-top: 25px;
    border-top: 1px solid var(--border);
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 15px;
}

.btn-next,
.btn-submit {
    background: var(--secondary);
    color: white;
    padding: 12px 32px;
    border: none;
    border-radius: 40px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.btn-next:hover,
.btn-submit:hover {
    background: var(--secondary-dark);
    transform: translateY(-2px);
}

.btn-submit:disabled {
    background: var(--gray);
    cursor: not-allowed;
    transform: none;
}

.btn-back {
    background: transparent;
    color: var(--gray);
    border: 1px solid var(--border);
    padding: 12px 32px;
    border-radius: 40px;
    font-size: 15px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-back:hover {
    background: var(--light);
    border-color: var(--secondary);
}

/* ============================================
   MENSAJES
   ============================================ */
.mensaje-exito {
    background: #d4edda;
    color: #155724;
    padding: 15px 20px;
    border-radius: 10px;
    margin-bottom: 25px;
    border-left: 4px solid var(--success);
}

.mensaje-error {
    background: #f8d7da;
    color: #721c24;
    padding: 15px 20px;
    border-radius: 10px;
    margin-bottom: 25px;
    border-left: 4px solid var(--danger);
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 768px) {
    .hz-lreclamaciones-container {
        margin: 80px 15px 20px 15px;
        border-radius: 16px;
    }
    
    .hz-libro-header {
        padding: 20px;
    }
    
    .hz-libro-header h1 {
        font-size: 22px;
    }
    
    .hz-libro-header .datos-empresa {
        flex-direction: column;
        gap: 10px;
        align-items: center;
    }
    
    .hz-libro-main {
        padding: 25px 20px;
    }
    
    .hz-grid-2,
    .hz-grid-3 {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .hz-wizard-progress {
        flex-wrap: wrap;
        gap: 10px;
    }
    
    .hz-wizard-progress .step {
        flex: auto;
        padding: 6px 12px;
        background: var(--light);
        border-radius: 20px;
        font-size: 12px;
    }
    
    .hz-wizard-progress .step::before {
        display: none;
    }
    
    .hz-wizard-progress .step.active {
        background: var(--secondary);
        color: white;
    }
    
    .hz-wizard-buttons {
        flex-direction: column-reverse;
    }
    
    .btn-next,
    .btn-submit,
    .btn-back {
        width: 100%;
        justify-content: center;
    }
}