/* === INACI Libro de Reclamaciones === */
@import url('https://fonts.googleapis.com/css2?family=Rubik:wght@400;500;600;700&display=swap');

.ilr-wrap {
    font-family: 'Rubik', sans-serif;
    max-width: 860px;
    margin: 0 auto;
    padding: 0 16px 40px;
    color: #374151;
}

/* HEADER */
.ilr-header {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    background: linear-gradient(135deg, #c41230 0%, #8b1a6b 50%, #1a237e 100%);
    border-radius: 12px;
    padding: 28px 32px;
    margin-bottom: 24px;
}
.ilr-header-icon {
    font-size: 42px;
    flex-shrink: 0;
    margin-top: 4px;
}
.ilr-main-title {
    font-size: clamp(20px, 2.5vw, 28px);
    font-weight: 700;
    color: #fff;
    margin: 0 0 8px;
}
.ilr-subtitle {
    font-size: 14px;
    color: rgba(255,255,255,.88);
    line-height: 1.6;
    margin: 0;
}

/* FECHA */
.ilr-fecha-wrap {
    font-size: 13px;
    color: #888;
    margin-bottom: 20px;
    padding-left: 4px;
}
.ilr-fecha-label { font-weight: 600; }

/* SECTION */
.ilr-section {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    padding: 24px 28px;
    margin-bottom: 20px;
    box-shadow: 0 1px 4px rgba(0,0,0,.05);
}
.ilr-section-title {
    font-size: 16px;
    font-weight: 700;
    color: #1a237e;
    margin: 0 0 20px;
    padding-bottom: 12px;
    border-bottom: 2px solid #f0f0f0;
}
.ilr-req { color: #c41230; }

/* GRID */
.ilr-row-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 16px;
}
.ilr-row-doc {
    display: grid;
    grid-template-columns: 200px 1fr;
    gap: 16px;
    margin-bottom: 16px;
}

/* FIELDS */
.ilr-field {
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.ilr-field label {
    font-size: 13px;
    font-weight: 600;
    color: #374151;
}
.ilr-field input[type="text"],
.ilr-field input[type="email"],
.ilr-field input[type="tel"],
.ilr-field select,
.ilr-field textarea {
    width: 100%;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    padding: 10px 12px;
    font-size: 14px;
    font-family: 'Rubik', sans-serif;
    color: #374151;
    background: #fff;
    transition: border-color .2s, box-shadow .2s;
    appearance: none;
    -webkit-appearance: none;
}
.ilr-field select {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%236b7280' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    padding-right: 36px;
}
.ilr-field input:focus,
.ilr-field select:focus,
.ilr-field textarea:focus {
    outline: none;
    border-color: #c41230;
    box-shadow: 0 0 0 3px rgba(196,18,48,.12);
}
.ilr-field input.ilr-error,
.ilr-field select.ilr-error,
.ilr-field textarea.ilr-error {
    border-color: #c41230;
}
.ilr-field textarea {
    resize: vertical;
    min-height: 140px;
    line-height: 1.6;
}

/* CAPTCHA */
.ilr-captcha-area { margin-bottom: 16px; }
.ilr-captcha-box {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    padding: 14px 20px;
    background: #f9fafb;
    min-width: 260px;
}
.ilr-captcha-box input[type="checkbox"] {
    width: 20px;
    height: 20px;
    accent-color: #c41230;
    cursor: pointer;
    flex-shrink: 0;
}
.ilr-captcha-box label {
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    flex: 1;
}
.ilr-captcha-logo {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-left: auto;
}
.ilr-captcha-text {
    font-size: 10px;
    color: #888;
    line-height: 1.3;
    text-align: center;
}

/* LEGAL */
.ilr-legal {
    font-size: 12px;
    color: #6b7280;
    line-height: 1.6;
    border-top: 1px solid #f0f0f0;
    padding-top: 16px;
    margin-bottom: 20px;
}

/* SUBMIT */
.ilr-submit-row { display: flex; align-items: center; gap: 16px; }
.ilr-btn-submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    color: #fff !important;
    font-family: 'Rubik', sans-serif;
    font-weight: 600;
    font-size: 15px;
    padding: 14px 40px;
    border-radius: 50px;
    border: none;
    cursor: pointer;
    transition: opacity .2s, transform .1s;
    min-width: 200px;
}
.ilr-btn-submit:hover { opacity: .88; }
.ilr-btn-submit:active { transform: scale(.98); }
.ilr-btn-submit:disabled { opacity: .6; cursor: not-allowed; }

/* MESSAGES */
.ilr-msg {
    padding: 14px 18px;
    border-radius: 8px;
    font-size: 14px;
    margin-top: 16px;
    line-height: 1.5;
}
.ilr-msg.ilr-msg-error {
    background: #fde8e8;
    color: #c41230;
    border: 1px solid #f5c2c2;
}
.ilr-msg.ilr-msg-ok {
    background: #e8f4ea;
    color: #1a5c2a;
    border: 1px solid #b2d8b8;
}

/* CONFIRM */
.ilr-confirm {
    text-align: center;
    padding: 60px 40px;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    box-shadow: 0 2px 12px rgba(0,0,0,.06);
}
.ilr-confirm-icon { font-size: 56px; margin-bottom: 16px; }
.ilr-confirm-title {
    font-size: 22px;
    font-weight: 700;
    color: #1a237e;
    margin: 0 0 12px;
}
.ilr-confirm p { font-size: 15px; color: #4a5568; line-height: 1.7; margin-bottom: 10px; }
.ilr-btn-nuevo {
    display: inline-block;
    color: #fff;
    font-family: 'Rubik', sans-serif;
    font-weight: 600;
    font-size: 14px;
    padding: 12px 32px;
    border-radius: 50px;
    border: none;
    cursor: pointer;
    margin-top: 20px;
    transition: opacity .2s;
}
.ilr-btn-nuevo:hover { opacity: .88; }

/* RESPONSIVE */
@media (max-width: 640px) {
    .ilr-header { flex-direction: column; gap: 12px; padding: 20px 18px; }
    .ilr-section { padding: 18px 16px; }
    .ilr-row-2 { grid-template-columns: 1fr; }
    .ilr-row-doc { grid-template-columns: 1fr; }
    .ilr-captcha-box { min-width: 100%; }
}
