/* Contenedor Principal */
.libro-reclamaciones-wrapper {
    background: linear-gradient(135deg, var(--uesca-neutral) 0%, var(--uesca-light) 100%);
    min-height: 100vh;
    padding: 7rem 1rem;
}

.libro-reclamaciones-container {
    max-width: 900px;
    margin: 0 auto;
    background: var(--uesca-light);
    border-radius: 24px;
    box-shadow: 0 20px 60px rgba(134, 47, 46, 0.15);
    overflow: hidden;
    animation: libro-reclamaciones-slideUp 0.6s ease;
}

/* Header */
.libro-reclamaciones-header {
    background: linear-gradient(135deg, var(--uesca-primary), var(--uesca-primary-dark));
    color: var(--uesca-light);
    padding: 2.5rem 2rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.libro-reclamaciones-header::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    animation: libro-reclamaciones-rotate 20s linear infinite;
}

.libro-reclamaciones-header-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    opacity: 0.9;
}

.libro-reclamaciones-header-title {
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
    position: relative;
    z-index: 1;
}

.libro-reclamaciones-header-subtitle {
    font-size: 1rem;
    opacity: 0.9;
    position: relative;
    z-index: 1;
}

/* Info Legal */
.libro-reclamaciones-info-legal {
    background: color-mix(in srgb, var(--uesca-primary) 8%, var(--uesca-neutral));
    padding: 1.5rem 2rem;
    border-left: 4px solid var(--uesca-primary);
    margin: 2rem;
    border-radius: 12px;
}

.libro-reclamaciones-info-legal-title {
    color: var(--uesca-primary);
    font-size: 1.1rem;
    margin-bottom: 0.8rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.libro-reclamaciones-info-legal-text {
    color: var(--uesca-dark);
    line-height: 1.7;
    font-size: 0.95rem;
}

/* Formulario */
.libro-reclamaciones-form {
    padding: 2rem;
}

.libro-reclamaciones-section {
    margin-bottom: 2.5rem;
}

.libro-reclamaciones-section-title {
    color: var(--uesca-primary);
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    padding-bottom: 0.8rem;
    border-bottom: 2px solid color-mix(in srgb, var(--uesca-primary) 20%, transparent);
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.libro-reclamaciones-form-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.libro-reclamaciones-form-group {
    display: flex;
    flex-direction: column;
}

.libro-reclamaciones-form-group-full {
    grid-column: 1 / -1;
}

.libro-reclamaciones-label {
    color: var(--uesca-dark);
    font-weight: 600;
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

.libro-reclamaciones-required {
    color: var(--uesca-primary);
}

.libro-reclamaciones-input,
.libro-reclamaciones-select,
.libro-reclamaciones-textarea {
    padding: 0.9rem 1rem;
    border: 2px solid color-mix(in srgb, var(--uesca-primary) 20%, transparent);
    border-radius: 12px;
    font-size: 0.95rem;
    font-family: inherit;
    transition: all 0.3s ease;
    background: var(--uesca-light);
    color: var(--uesca-dark);
}

.libro-reclamaciones-input:focus,
.libro-reclamaciones-select:focus,
.libro-reclamaciones-textarea:focus {
    outline: none;
    border-color: var(--uesca-primary);
    box-shadow: 0 0 0 3px color-mix(in srgb, var(--uesca-primary) 10%, transparent);
}

.libro-reclamaciones-textarea {
    resize: vertical;
    min-height: 120px;
    line-height: 1.6;
}

/* Radio Buttons */
.libro-reclamaciones-radio-group {
    display: flex;
    gap: 2rem;
    margin-top: 0.5rem;
}

.libro-reclamaciones-radio-option {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
}

.libro-reclamaciones-radio-option input[type="radio"] {
    width: 20px;
    height: 20px;
    cursor: pointer;
    accent-color: var(--uesca-primary);
}

.libro-reclamaciones-radio-option label {
    cursor: pointer;
    color: var(--uesca-dark);
    font-weight: 500;
}

/* Checkbox */
.libro-reclamaciones-checkbox-group {
    display: flex;
    align-items: flex-start;
    gap: 0.8rem;
    padding: 1.2rem;
    background: var(--uesca-neutral);
    border-radius: 12px;
    border: 2px solid color-mix(in srgb, var(--uesca-primary) 15%, transparent);
    margin-top: 1rem;
}

.libro-reclamaciones-checkbox-group input[type="checkbox"] {
    width: 20px;
    height: 20px;
    cursor: pointer;
    accent-color: var(--uesca-primary);
    margin-top: 0.2rem;
}

.libro-reclamaciones-checkbox-group label {
    cursor: pointer;
    color: var(--uesca-dark);
    line-height: 1.6;
    font-size: 0.9rem;
}

/* Botón Submit */
.libro-reclamaciones-submit-wrapper {
    text-align: center;
    padding-top: 2rem;
    border-top: 2px solid color-mix(in srgb, var(--uesca-primary) 10%, transparent);
}

.libro-reclamaciones-btn-submit {
    background: linear-gradient(135deg, var(--uesca-primary), var(--uesca-primary-dark));
    color: var(--uesca-light);
    border: none;
    padding: 1.2rem 3rem;
    font-size: 1.1rem;
    font-weight: 700;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    box-shadow: 0 8px 24px rgba(134, 47, 46, 0.3);
}

.libro-reclamaciones-btn-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 32px rgba(134, 47, 46, 0.4);
}

.libro-reclamaciones-btn-submit:active {
    transform: translateY(0);
}

/* Footer Info */
.libro-reclamaciones-footer {
    background: var(--uesca-neutral);
    padding: 1.5rem 2rem;
    text-align: center;
    color: var(--uesca-secondary);
    font-size: 0.85rem;
    line-height: 1.6;
}

.libro-reclamaciones-footer strong {
    color: var(--uesca-primary);
}

/* Animaciones */
@keyframes libro-reclamaciones-slideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes libro-reclamaciones-rotate {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

/* Responsive */
@media (max-width: 768px) {
    .libro-reclamaciones-wrapper {
        padding: 1rem 0.5rem;
    }

    .libro-reclamaciones-container {
        border-radius: 16px;
    }

    .libro-reclamaciones-header {
        padding: 2rem 1.5rem;
    }

    .libro-reclamaciones-header-title {
        font-size: 1.5rem;
    }

    .libro-reclamaciones-header-icon {
        font-size: 2.5rem;
    }

    .libro-reclamaciones-info-legal,
    .libro-reclamaciones-form {
        padding: 1.5rem;
    }

    .libro-reclamaciones-form-row {
        grid-template-columns: 1fr;
    }

    .libro-reclamaciones-radio-group {
        flex-direction: column;
        gap: 1rem;
    }

    .libro-reclamaciones-btn-submit {
        width: 100%;
        justify-content: center;
    }
}