/**
 * Widget "Libro de reclamaciones" — CSS propio y autocontenido, réplica
 * 1:1 de info/libro-reclamaciones.php + el bloque .lr-* de style.css del
 * prototipo.
 */
.roger-editor-lr-breadcrumb-wrap { padding-top: 20px; }

.roger-editor-breadcrumb {
    font-size: 13px;
    color: #8d8d8d;
    margin-bottom: 8px;
}
.roger-editor-breadcrumb a { color: #8d8d8d; text-decoration: none; }
.roger-editor-breadcrumb a:hover { color: #6f759c; }
.roger-editor-breadcrumb span { margin: 0 6px; }

.roger-editor-lr {
    padding: 12px 0 4rem;
    font-family: 'Montserrat', sans-serif;
    color: #333333;
}
.roger-editor-lr .roger-editor-lr-wrap { max-width: 820px; }

.roger-editor-lr-header {
    background: linear-gradient(155deg, color-mix(in srgb, #91adba 18%, white), #fff 70%);
    border: 1px solid #e6e8f0;
    border-radius: 22px;
    padding: 32px 36px;
    margin-bottom: 28px;
    border-bottom: 4px solid #6f759c;
}
.roger-editor-lr-header-logo {
    font-family: 'Poppins', sans-serif; font-size: 24px; font-style: italic; font-weight: 600;
    color: #6f759c;
}
.roger-editor-lr-header-divider { height: 1px; background: #e6e8f0; margin: 16px 0 20px; }
.roger-editor-lr-titulo { font-family: 'Poppins', sans-serif; font-size: 24px; color: #333333; margin: 0 0 14px; }
.roger-editor-lr-datos-empresa { font-size: 13.5px; color: #8d8d8d; line-height: 1.6; margin: 0; }

.roger-editor-lr-card {
    background: #fff; border: 1px solid #e6e8f0; border-radius: 14px;
    padding: 28px; margin-bottom: 20px;
}
.roger-editor-lr-card h2 {
    font-family: 'Poppins', sans-serif;
    font-size: 15px; font-weight: 700; text-transform: uppercase; letter-spacing: .03em;
    color: #333333; margin: 0 0 20px;
    padding-left: 14px; border-left: 3px solid #6f759c;
}

.roger-editor-lr-row { display: flex; gap: 16px; }
.roger-editor-lr-row .roger-editor-lr-field { flex: 1; }

.roger-editor-lr-field { margin-bottom: 18px; }
.roger-editor-lr-field:last-child { margin-bottom: 0; }
.roger-editor-lr-field-sm { max-width: 160px; }
.roger-editor-lr-field label {
    display: block; font-size: 12.5px; font-weight: 600; color: #8d8d8d; margin-bottom: 6px;
}
.roger-editor-lr-field input,
.roger-editor-lr-field select,
.roger-editor-lr-field textarea {
    width: 100%; padding: 11px 14px; box-sizing: border-box;
    border: 1px solid #e6e8f0; border-radius: 8px;
    font-family: inherit; font-size: 14px; color: #333333;
    background: #f8f9fc;
}
.roger-editor-lr-field input:focus,
.roger-editor-lr-field select:focus,
.roger-editor-lr-field textarea:focus {
    border-color: #6f759c; outline: none; background: #fff;
}
.roger-editor-lr-field textarea { resize: vertical; }
.roger-editor-lr-nota { display: block; font-size: 11.5px; color: #8d8d8d; margin-top: 6px; }

.roger-editor-lr-definiciones { font-size: 13px; color: #8d8d8d; line-height: 1.7; margin: 0 0 22px; }

.roger-editor-lr-observaciones-nota {
    background: #f8f9fc; border-radius: 8px;
    padding: 16px; font-size: 13px; color: #8d8d8d; font-style: italic;
}

/* ---- Zona de evidencia (drag & drop visual) ---- */
.roger-editor-lr-dropzone {
    display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px;
    border: 1.5px dashed #91adba;
    border-radius: 14px;
    padding: 36px 20px;
    cursor: pointer;
    text-align: center;
    transition: border-color .2s ease, background .2s ease;
}
.roger-editor-lr-dropzone:hover,
.roger-editor-lr-dropzone.arrastrando {
    border-color: #6f759c; background: color-mix(in srgb, #91adba 18%, white);
}
.roger-editor-lr-dropzone-icono {
    width: 48px; height: 48px; border-radius: 50%;
    background: color-mix(in srgb, #91adba 18%, white);
    display: flex; align-items: center; justify-content: center; font-size: 20px;
}
.roger-editor-lr-dropzone-texto { font-size: 12.5px; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; color: #6f759c; }
.roger-editor-lr-archivos-lista { list-style: none; margin: 14px 0 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.roger-editor-lr-archivos-lista li {
    display: flex; align-items: center; justify-content: space-between; gap: 10px;
    font-size: 13px; color: #333333; background: #f8f9fc;
    padding: 8px 14px; border-radius: 8px;
}
.roger-editor-lr-archivos-lista button {
    color: #e0532e; font-size: 16px; line-height: 1; background: none; border: none; cursor: pointer;
}

/* ---- Importante (texto legal) ---- */
.roger-editor-lr-legal { font-size: 12.5px; color: #8d8d8d; line-height: 1.7; margin: 0 0 16px; }
.roger-editor-lr-legal:last-of-type { margin-bottom: 20px; }
.roger-editor-lr-check {
    display: flex; align-items: flex-start; gap: 10px;
    font-size: 13px; color: #333333; cursor: pointer; line-height: 1.5;
}
.roger-editor-lr-check input { width: 16px; height: 16px; margin-top: 2px; accent-color: #6f759c; flex-shrink: 0; }

/* ---- Acciones ---- */
.roger-editor-lr-error {
    background: #FDECEA; border: 1px solid #F5A9A0;
    color: #B3261E; font-size: 13px;
    padding: 12px 16px; border-radius: 8px;
    margin-bottom: 20px;
}

.roger-editor-lr-acciones {
    display: flex; align-items: center; gap: 20px;
    margin-top: 8px;
}
.roger-editor-lr-btn-enviar {
    display: inline-block;
    padding: 14px 36px;
    background: #6f759c; color: #fff;
    border: none; border-radius: 999px;
    font-size: 14px; font-weight: 700; cursor: pointer;
    transition: background .2s ease;
}
.roger-editor-lr-btn-enviar:hover { background: color-mix(in srgb, #6f759c 80%, black); }
.roger-editor-lr-btn-borrar {
    background: none; border: none; cursor: pointer;
    font-size: 13px; font-weight: 600; color: #e0532e;
}
.roger-editor-lr-btn-borrar:hover { text-decoration: underline; }

/* ---- Confirmación tras enviar ---- */
.roger-editor-lr-confirmacion {
    text-align: center; padding: 60px 24px;
    background: #fff; border: 1px solid #e6e8f0; border-radius: 22px;
}
.roger-editor-lr-confirmacion-icono {
    display: inline-flex; align-items: center; justify-content: center;
    width: 56px; height: 56px; border-radius: 50%;
    background: color-mix(in srgb, #91adba 18%, white); color: #6f759c;
    font-size: 26px; font-weight: 700; margin-bottom: 20px;
}
.roger-editor-lr-confirmacion h2 { font-family: 'Poppins', sans-serif; font-size: 22px; color: #333333; margin: 0 0 14px; }
.roger-editor-lr-confirmacion p { font-size: 14px; color: #8d8d8d; line-height: 1.7; max-width: 420px; margin: 0 auto 6px; }
.roger-editor-lr-confirmacion strong { color: #6f759c; }
.roger-editor-lr-confirmacion-nota { font-size: 11.5px; color: #8d8d8d; margin-top: 16px; }

@media (max-width: 640px) {
    .roger-editor-lr-row { flex-direction: column; gap: 0; }
    .roger-editor-lr-header { padding: 24px; }
    .roger-editor-lr-card { padding: 20px; }
}
