/* ============================================
   LIBRO DE RECLAMACIONES
   ============================================ */

.complaints-section {
    padding: 120px 0 80px;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    min-height: 100vh;
}

.complaints-header {
    text-align: center;
    margin-bottom: 50px;
}

.complaints-icon {
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 30px;
    box-shadow: 0 10px 40px rgba(102, 126, 234, 0.3);
}

.complaints-icon i {
    font-size: 48px;
    color: white;
}

.complaints-header h1 {
    font-size: 2.5rem;
    font-weight: 800;
    color: #2d3748;
    margin-bottom: 15px;
}

.complaints-header p {
    font-size: 1.1rem;
    color: #718096;
    max-width: 600px;
    margin: 0 auto;
}

/* Info Boxes */
.complaints-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 50px;
}

.info-box {
    background: white;
    padding: 30px;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    display: flex;
    gap: 20px;
    align-items: flex-start;
    transition: all 0.3s ease;
}

.info-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.15);
}

.info-box i {
    font-size: 32px;
    color: #667eea;
    flex-shrink: 0;
}

.info-box h3 {
    font-size: 1.3rem;
    color: #2d3748;
    margin-bottom: 10px;
}

.info-box p {
    color: #718096;
    line-height: 1.6;
}

/* Form Wrapper */
.complaints-form-wrapper {
    background: white;
    padding: 50px;
    border-radius: 30px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
    margin-bottom: 50px;
}

.complaints-form h2 {
    font-size: 1.5rem;
    color: #2d3748;
    margin-bottom: 30px;
    padding-bottom: 15px;
    border-bottom: 2px solid #e2e8f0;
    display: flex;
    align-items: center;
    gap: 12px;
}

.complaints-form h2 i {
    color: #667eea;
}

.form-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-bottom: 20px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-weight: 600;
    color: #2d3748;
    margin-bottom: 10px;
    font-size: 0.95rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 14px 18px;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    font-size: 1rem;
    font-family: inherit;
    transition: all 0.3s ease;
    background: white;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 4px rgba(102, 126, 234, 0.1);
}

.form-group input.input-error,
.form-group select.input-error,
.form-group textarea.input-error {
    border-color: #dc3545;
    background-color: #fff5f5;
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.form-actions {
    margin-top: 40px;
    text-align: center;
}

.form-actions .btn {
    min-width: 300px;
    font-size: 1.1rem;
    padding: 18px 40px;
}

/* Footer Info */
.complaints-footer-info {
    background: white;
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

.complaints-footer-info p {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
    color: #4a5568;
    font-size: 1rem;
}

.complaints-footer-info p:last-child {
    margin-bottom: 0;
}

.complaints-footer-info i {
    color: #667eea;
    font-size: 20px;
    width: 30px;
    text-align: center;
}

/* Alerts */
.complaints-alert {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 20px 25px;
    border-radius: 12px;
    margin-bottom: 30px;
    font-size: 1rem;
    animation: slideDown 0.3s ease-out;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.complaints-alert i {
    font-size: 24px;
    flex-shrink: 0;
}

.complaints-alert-success {
    background: #d4edda;
    border: 2px solid #c3e6cb;
    color: #155724;
}

.complaints-alert-success i {
    color: #28a745;
}

.complaints-alert-error {
    background: #f8d7da;
    border: 2px solid #f5c6cb;
    color: #721c24;
}

.complaints-alert-error i {
    color: #dc3545;
}

.complaints-alert .correlativo {
    font-size: 1.3rem;
    font-weight: 700;
    color: #667eea;
    display: block;
    margin-top: 10px;
}

/* Footer Button */
.footer-complaints {
    margin-top: 20px;
}

.btn-complaints {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 14px 28px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
}

.btn-complaints:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.4);
}

.btn-complaints i {
    font-size: 1.2rem;
}

/* Responsive */
@media (max-width: 768px) {
    .complaints-section {
        padding: 100px 0 60px;
    }

    .complaints-header h1 {
        font-size: 2rem;
    }

    .complaints-form-wrapper {
        padding: 30px 20px;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .form-actions .btn {
        min-width: 100%;
    }

    .complaints-footer-info {
        padding: 30px 20px;
    }

    .complaints-footer-info p {
        font-size: 0.9rem;
    }
}
