/* ========== LIBRO DE RECLAMACIONES - ESTILOS ========== */

/* Header */
.reclamaciones-header {
    background: linear-gradient(135deg, #5E3E2B 0%, #8B5E3C 100%);
    padding: 4rem 7%;
    text-align: center;
    color: white;
    margin-bottom: 2rem;
}

.reclamaciones-header h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    font-family: 'Playfair Display', serif;
}

.reclamaciones-header h1 i {
    margin-right: 1rem;
    color: var(--gold-bright);
}

.reclamaciones-header p {
    font-size: 1.1rem;
    opacity: 0.95;
    max-width: 700px;
    margin: 0 auto 1.5rem;
}

.header-info {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(255,255,255,0.2);
}

.header-info p {
    margin: 0;
    font-size: 0.9rem;
}

/* Contenedor principal */
.reclamaciones-container {
    max-width: 900px;
    margin: 0 auto 4rem;
    padding: 2rem;
    background: white;
    border-radius: 32px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.08);
}

/* Aviso legal */
.aviso-legal {
    background: #F9F4EF;
    border-left: 4px solid var(--gold);
    padding: 1rem 1.5rem;
    border-radius: 12px;
    margin-bottom: 2rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.aviso-legal i {
    font-size: 1.5rem;
    color: var(--gold);
}

.aviso-legal p {
    margin: 0;
    font-size: 0.9rem;
    color: #5E3E2B;
}

.required {
    color: #e74c3c;
    font-weight: bold;
}

/* Formulario */
#reclamacionForm h3 {
    color: var(--brown);
    font-size: 1.3rem;
    margin: 1.5rem 0 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--gold);
    display: inline-block;
}

#reclamacionForm h3 i {
    color: var(--gold);
    margin-right: 0.5rem;
}

.form-row {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 1rem;
    flex-wrap: wrap;
}

.form-group {
    flex: 1;
    min-width: 200px;
}

.form-group label {
    display: block;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--brown);
    margin-bottom: 0.5rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid #E2D9D0;
    border-radius: 12px;
    font-family: 'Poppins', sans-serif;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    background: white;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--gold);
    box-shadow: 0 0 0 3px rgba(198, 161, 91, 0.1);
}

.form-group textarea {
    resize: vertical;
}

/* Checkbox */
.checkbox-group {
    margin: 1.5rem 0;
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    cursor: pointer;
    font-size: 0.9rem;
}

.checkbox-label input {
    width: 18px;
    height: 18px;
    cursor: pointer;
    accent-color: var(--gold);
}

.checkbox-label a {
    color: var(--gold);
    text-decoration: none;
}

.checkbox-label a:hover {
    text-decoration: underline;
}

/* Botones */
.form-actions {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
    flex-wrap: wrap;
}

.btn-primary {
    background: var(--gold);
    color: white;
    border: none;
    padding: 12px 28px;
    border-radius: 40px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
}

.btn-primary:hover {
    background: var(--gold-dark);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(198, 161, 91, 0.3);
}

.btn-primary:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

.btn-secondary {
    background: #E2D9D0;
    color: var(--brown);
    border: none;
    padding: 12px 28px;
    border-radius: 40px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
}

.btn-secondary:hover {
    background: #d4c8bc;
    transform: translateY(-2px);
}

/* Archivo */
.file-note {
    font-size: 0.7rem;
    color: #6c5a4b;
    display: block;
    margin-top: 0.3rem;
}

/* Información adicional */
.info-adicional {
    margin-top: 2rem;
    padding: 1.5rem;
    background: #F9F4EF;
    border-radius: 20px;
}

.info-adicional h4 {
    color: var(--brown);
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.info-adicional h4 i {
    color: var(--gold);
}

.info-adicional ul {
    padding-left: 1.5rem;
}

.info-adicional li {
    margin: 0.5rem 0;
    font-size: 0.85rem;
    color: #4a3a2c;
}

.info-adicional a {
    color: var(--gold);
    text-decoration: none;
}

.info-adicional a:hover {
    text-decoration: underline;
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.7);
    backdrop-filter: blur(5px);
    animation: fadeIn 0.3s ease;
}

.modal-content {
    background-color: #fff;
    margin: 10% auto;
    padding: 0;
    width: 90%;
    max-width: 500px;
    border-radius: 28px;
    box-shadow: 0 25px 50px rgba(0,0,0,0.3);
    animation: slideUp 0.3s ease;
}

.modal-close {
    float: right;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    padding: 15px 20px;
    color: #666;
    transition: 0.2s;
}

.modal-close:hover {
    color: var(--gold);
}

.modal-body {
    padding: 20px 30px 30px;
    clear: both;
}

.modal-body h3 {
    color: var(--brown);
    margin-bottom: 1rem;
}

.modal-body p {
    margin: 0.8rem 0;
    line-height: 1.5;
}

/* Animaciones */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideUp {
    from { opacity: 0; transform: translateY(50px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Toast personalizado */
.toast-notification {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: white;
    padding: 1rem 1.5rem;
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
    display: flex;
    align-items: center;
    gap: 0.8rem;
    z-index: 2001;
    animation: slideInRight 0.3s ease;
    border-left: 4px solid var(--gold);
}

.toast-notification.success {
    border-left-color: #2e7d32;
}

.toast-notification.error {
    border-left-color: #d32f2f;
}

.toast-notification i {
    font-size: 1.2rem;
}

.toast-notification.success i {
    color: #2e7d32;
}

.toast-notification.error i {
    color: #d32f2f;
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(100px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Responsive */
@media (max-width: 768px) {
    .reclamaciones-header {
        padding: 2rem 5%;
    }
    
    .reclamaciones-header h1 {
        font-size: 1.8rem;
    }
    
    .reclamaciones-container {
        padding: 1.5rem;
        margin: 1rem;
    }
    
    .form-row {
        flex-direction: column;
        gap: 0.8rem;
    }
    
    .header-info {
        flex-direction: column;
        gap: 0.5rem;
        text-align: center;
    }
    
    .form-actions {
        flex-direction: column;
    }
    
    .btn-primary, .btn-secondary {
        width: 100%;
        justify-content: center;
    }
    
    .toast-notification {
        bottom: 20px;
        right: 20px;
        left: 20px;
        padding: 0.8rem 1rem;
    }
}

@media (max-width: 480px) {
    .reclamaciones-header h1 {
        font-size: 1.5rem;
    }
    
    .aviso-legal {
        flex-direction: column;
        text-align: center;
    }
}