/* =====================================================
   Sistema de Gestión de Reclamos - Estilos públicos
   ===================================================== */

:root {
    --primary: #2563eb;
    --primary-dark: #1d4ed8;
    --primary-light: #dbeafe;
    --accent: #0ea5e9;
    --success: #16a34a;
    --warning: #f59e0b;
    --danger: #dc2626;
    --gray-50: #f8fafc;
    --gray-100: #f1f5f9;
    --gray-200: #e2e8f0;
    --gray-300: #cbd5e1;
    --gray-500: #64748b;
    --gray-700: #334155;
    --gray-900: #0f172a;
    --radius: 12px;
    --radius-sm: 8px;
    --shadow-sm: 0 1px 2px rgba(0,0,0,0.05);
    --shadow: 0 1px 3px rgba(0,0,0,0.08), 0 1px 2px rgba(0,0,0,0.06);
    --shadow-md: 0 4px 6px -1px rgba(0,0,0,0.08), 0 2px 4px -2px rgba(0,0,0,0.05);
    --shadow-lg: 0 10px 15px -3px rgba(0,0,0,0.08), 0 4px 6px -4px rgba(0,0,0,0.05);
    --transition: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

* { box-sizing: border-box; }

body {
    background-color: var(--gray-50);
    font-family: 'Inter', 'Segoe UI', system-ui, -apple-system, sans-serif;
    color: var(--gray-700);
    -webkit-font-smoothing: antialiased;
}

/* ---- Navbar ---- */
.main-navbar {
    background: linear-gradient(135deg, #1e3a5f 0%, #2563eb 60%, #3b82f6 100%);
    padding: 0.65rem 0;
    box-shadow: 0 4px 20px rgba(37, 99, 235, 0.25);
    position: sticky;
    top: 0;
    z-index: 1030;
}

.main-navbar .navbar-brand {
    color: #fff !important;
    text-decoration: none;
    gap: 0.6rem;
}

.brand-icon {
    width: 38px;
    height: 38px;
    background: linear-gradient(135deg, rgba(255,255,255,0.22), rgba(255,255,255,0.08));
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.15rem;
    margin-right: 0.5rem;
    flex-shrink: 0;
}

.brand-text {
    display: flex;
    flex-direction: column;
    line-height: 1.15;
}
.brand-title { font-size: 1.05rem; font-weight: 700; letter-spacing: -0.02em; color: #fff; }
.brand-subtitle { font-size: 0.6rem; opacity: 0.55; font-weight: 500; letter-spacing: 0.06em; text-transform: uppercase; }

.nav-pill {
    border-radius: 8px !important;
    padding: 0.45rem 1rem !important;
    font-size: 0.85rem;
    font-weight: 500;
    color: rgba(255,255,255,0.75) !important;
    transition: all var(--transition);
}
.nav-pill:hover {
    background: rgba(255,255,255,0.12);
    color: #fff !important;
}
.nav-pill.active {
    background: rgba(255,255,255,0.18);
    color: #fff !important;
}
.nav-pill i { margin-right: 5px; font-size: 0.9rem; }

.main-navbar .navbar-toggler-icon {
    filter: brightness(0) invert(1);
    opacity: 0.8;
}

@media (max-width: 991.98px) {
    .main-navbar .navbar-collapse {
        padding-top: 0.75rem;
        margin-top: 0.5rem;
        border-top: 1px solid rgba(255,255,255,0.1);
    }
    .nav-pill { padding: 0.55rem 1rem !important; }
    .brand-subtitle { display: none !important; }
}

/* ---- Page header ---- */
.page-header {
    margin-bottom: 1.75rem;
    text-align: center;
}
.page-header h2 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--gray-900);
    letter-spacing: -0.025em;
}
.page-header h2 i {
    color: var(--primary);
}
.page-header p {
    color: var(--gray-500);
    font-size: 0.9rem;
    margin-bottom: 0;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

/* ---- Stepper ---- */
.form-stepper {
    display: flex;
    justify-content: center;
    gap: 0;
    margin-bottom: 2rem;
    padding: 1rem 1.5rem;
    list-style: none;
    counter-reset: step;
    background: #fff;
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--gray-200);
}
.form-stepper li {
    display: flex;
    align-items: center;
    font-size: 0.78rem;
    font-weight: 500;
    color: var(--gray-300);
    counter-increment: step;
    position: relative;
}
.form-stepper li::before {
    content: counter(step);
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--gray-100);
    color: var(--gray-500);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 0.8rem;
    margin-right: 6px;
    flex-shrink: 0;
    transition: all var(--transition);
    border: 2px solid var(--gray-200);
}
.form-stepper li + li { margin-left: 8px; }
.form-stepper li + li::after {
    content: '';
    position: absolute;
    left: -12px;
    top: 50%;
    width: 10px;
    height: 2px;
    background: var(--gray-200);
    border-radius: 1px;
}
.form-stepper li span { display: none; }
@media (min-width: 768px) {
    .form-stepper li span { display: inline; }
    .form-stepper li + li { margin-left: 20px; }
    .form-stepper li + li::after { left: -24px; width: 20px; }
}
.form-stepper li.active { color: var(--primary); }
.form-stepper li.active::before {
    background: var(--primary);
    color: #fff;
    border-color: var(--primary);
    box-shadow: 0 0 0 4px var(--primary-light);
}
.form-stepper li.completed { color: var(--success); }
.form-stepper li.completed::before {
    content: '\2713';
    background: var(--success);
    color: #fff;
    border-color: var(--success);
}
.form-stepper li.completed + li::after {
    background: var(--success);
}

/* ---- Cards ---- */
.card {
    border: 1px solid var(--gray-200);
    box-shadow: var(--shadow);
    border-radius: var(--radius);
    overflow: hidden;
    transition: box-shadow var(--transition);
}

.card-header {
    border-radius: 0 !important;
    border-bottom: none;
    padding: 0.85rem 1.25rem;
}

.section-card .card-header {
    background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
    color: #fff;
}
.section-card .card-header h5 {
    font-size: 0.95rem;
    font-weight: 600;
    letter-spacing: -0.01em;
}
.section-card .card-header i {
    opacity: 0.85;
}

.card-body {
    padding: 1.25rem;
}

/* ---- Form controls ---- */
.form-label {
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--gray-700);
    margin-bottom: 0.35rem;
}
.form-label .text-danger { font-weight: 400; }

.form-control, .form-select {
    border: 1.5px solid var(--gray-200);
    border-radius: var(--radius-sm);
    padding: 0.55rem 0.85rem;
    font-size: 0.9rem;
    transition: border-color var(--transition), box-shadow var(--transition);
    background-color: #fff;
}
.form-control:hover, .form-select:hover {
    border-color: var(--gray-300);
}
.form-control:focus, .form-select:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px var(--primary-light);
}
.form-control.is-invalid {
    border-color: var(--danger);
    box-shadow: 0 0 0 3px rgba(220,38,38,0.1);
}

.form-control-sm {
    padding: 0.4rem 0.7rem;
    font-size: 0.85rem;
}

.input-group-text {
    background: var(--gray-50);
    border: 1.5px solid var(--gray-200);
    border-radius: var(--radius-sm) 0 0 var(--radius-sm);
    color: var(--gray-500);
    font-size: 0.9rem;
}
.input-group .form-control {
    border-left: 0;
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}

textarea.form-control {
    min-height: 100px;
}

.form-text {
    font-size: 0.78rem;
    color: var(--gray-500);
}

.char-counter {
    font-size: 0.75rem;
    color: var(--gray-500);
    text-align: right;
    transition: color var(--transition);
}
.char-counter.warn { color: var(--warning); font-weight: 600; }
.char-counter.danger { color: var(--danger); font-weight: 600; }

/* ---- Product items ---- */
.producto-item {
    position: relative;
    background: #fff;
    border: 1.5px solid var(--gray-200) !important;
    border-radius: var(--radius-sm) !important;
    padding: 1rem !important;
    margin-bottom: 0.75rem;
    transition: all var(--transition);
    animation: slideIn 0.25s ease-out;
}
@keyframes slideIn {
    from { opacity: 0; transform: translateY(-8px); }
    to { opacity: 1; transform: translateY(0); }
}
.producto-item:hover {
    border-color: var(--primary-light) !important;
    box-shadow: var(--shadow-md);
}
.producto-item.producto-seleccionado {
    border-color: #bbf7d0 !important;
    background: #f0fdf4;
}
.producto-item.producto-manual {
    border-color: #fde68a !important;
    background: #fffbeb;
}

.producto-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.75rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid var(--gray-100);
}
.producto-header h6 {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--gray-700);
    margin: 0;
}

.btn-eliminar-producto {
    width: 30px;
    height: 30px;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    font-size: 0.8rem;
    transition: all var(--transition);
}
.btn-eliminar-producto:hover {
    background: var(--danger);
    border-color: var(--danger);
    color: #fff;
}

.info-tip {
    background: var(--primary-light);
    border: 1px solid #93c5fd;
    border-radius: var(--radius-sm);
    padding: 0.65rem 1rem;
    font-size: 0.82rem;
    color: var(--primary-dark);
    margin-bottom: 1rem;
}
.info-tip i { margin-right: 4px; }

/* Dropdown de resultados de búsqueda */
.resultados-busqueda {
    position: absolute;
    z-index: 1060;
    background: #fff;
    border: 1px solid var(--gray-200);
    box-shadow: var(--shadow-lg);
    border-radius: var(--radius-sm);
    max-height: 220px;
    overflow-y: auto;
}
.resultados-busqueda .dropdown-item {
    padding: 0.5rem 0.85rem;
    font-size: 0.82rem;
    border-bottom: 1px solid var(--gray-100);
    color: var(--gray-700);
    transition: background var(--transition);
}
.resultados-busqueda .dropdown-item:last-child { border-bottom: none; }
.resultados-busqueda .dropdown-item:hover {
    background: var(--primary-light);
    color: var(--primary-dark);
}
.resultados-busqueda .dropdown-item strong {
    color: var(--primary);
    font-family: 'Courier New', monospace;
}

#sinProductos {
    padding: 2rem;
    color: var(--gray-300);
}
#sinProductos i { font-size: 2.5rem; margin-bottom: 0.5rem; display: block; }
#sinProductos p { font-size: 0.9rem; margin-bottom: 0; }

/* ---- Badges ---- */
.badge {
    font-weight: 500;
    font-size: 0.72rem;
    padding: 0.3em 0.65em;
    border-radius: 6px;
    letter-spacing: 0.02em;
}

/* ---- Buttons ---- */
.btn-primary {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    border: none;
    font-weight: 600;
    letter-spacing: -0.01em;
    box-shadow: 0 2px 8px rgba(37, 99, 235, 0.25);
    transition: all var(--transition);
}
.btn-primary:hover {
    box-shadow: 0 4px 14px rgba(37, 99, 235, 0.35);
    transform: translateY(-1px);
}
.btn-primary:active { transform: translateY(0); }

.btn-success {
    background: linear-gradient(135deg, var(--success) 0%, #15803d 100%);
    border: none;
    font-weight: 600;
    box-shadow: 0 2px 8px rgba(22,163,74,0.25);
}

.btn-submit-group {
    display: flex;
    gap: 0.75rem;
    justify-content: center;
    align-items: center;
    padding: 1.5rem 0;
}
.btn-submit-group .btn-lg {
    padding: 0.7rem 2rem;
    font-size: 1rem;
    border-radius: var(--radius-sm);
}

/* Loading state */
.btn-loading {
    pointer-events: none;
    opacity: 0.75;
}
.btn-loading .spinner-border {
    width: 1rem;
    height: 1rem;
    border-width: 2px;
    margin-right: 6px;
}

/* ---- Alerts ---- */
.alert {
    border-radius: var(--radius-sm);
    border: none;
    font-size: 0.88rem;
}
.alert-danger {
    background: #fef2f2;
    color: #991b1b;
    border-left: 4px solid var(--danger);
}
.alert-success {
    background: #f0fdf4;
    color: #166534;
    border-left: 4px solid var(--success);
}

/* ---- Footer ---- */
.public-footer {
    background: #fff;
    border-top: 1px solid var(--gray-200);
    margin-top: 2rem;
    padding: 1.25rem 0;
}

.public-footer-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.public-footer-left {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.public-footer-brand {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-weight: 600;
    font-size: 0.82rem;
    color: var(--gray-700);
}

.public-footer-brand i {
    color: var(--primary);
    font-size: 0.95rem;
}

.public-footer-copy {
    font-size: 0.78rem;
    color: var(--gray-500);
}

.public-footer-right {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.public-footer-link {
    font-size: 0.78rem;
    color: var(--gray-500);
    text-decoration: none;
    transition: color var(--transition);
}

.public-footer-link:hover {
    color: var(--primary);
}

.public-footer-dot {
    width: 3px;
    height: 3px;
    border-radius: 50%;
    background: var(--gray-300);
}

@media (max-width: 575.98px) {
    .public-footer-inner {
        flex-direction: column;
        text-align: center;
    }
    .public-footer-left {
        flex-direction: column;
        gap: 0.25rem;
    }
    .public-footer-right {
        justify-content: center;
    }
}

/* ---- Success page ---- */
.success-hero {
    text-align: center;
    padding: 2rem 1rem 1.5rem;
    margin-bottom: 1.5rem;
}

.success-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: linear-gradient(135deg, #bbf7d0 0%, #86efac 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.25rem;
    animation: scaleIn 0.4s ease-out;
    box-shadow: 0 8px 25px rgba(22, 163, 74, 0.2);
}
@keyframes scaleIn {
    from { transform: scale(0); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}
.success-icon i { font-size: 2.5rem; color: var(--success); }

.success-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--success);
    letter-spacing: -0.02em;
    margin-bottom: 0.4rem;
}

.success-subtitle {
    color: var(--gray-500);
    font-size: 0.9rem;
    max-width: 450px;
    margin: 0 auto 1.25rem;
}

.success-hint {
    color: var(--gray-500);
    font-size: 0.78rem;
    margin-top: 0.75rem;
    margin-bottom: 0;
}

.ticket-display {
    display: inline-block;
    background: linear-gradient(135deg, #eff6ff 0%, var(--primary-light) 100%);
    color: var(--primary-dark);
    font-size: 1.5rem;
    font-weight: 700;
    padding: 0.65rem 2rem;
    border-radius: var(--radius);
    letter-spacing: 0.02em;
    border: 2px dashed var(--primary);
    font-family: 'Courier New', monospace;
}

/* ---- Responsive ---- */
@media (max-width: 768px) {
    .card-body { padding: 1rem; }
    .producto-item { padding: 0.75rem !important; }
    .btn-submit-group { flex-direction: column; }
    .btn-submit-group .btn-lg { width: 100%; }
    .ticket-display { font-size: 1.2rem; }
}

/* ---- Smooth scrolling ---- */
html { scroll-behavior: smooth; }

/* ---- Skeleton placeholder for loading ---- */
.skeleton {
    background: linear-gradient(90deg, var(--gray-100) 25%, var(--gray-200) 50%, var(--gray-100) 75%);
    background-size: 200% 100%;
    animation: shimmer 1.5s infinite;
    border-radius: 4px;
}
@keyframes shimmer {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

/* =====================================================
   Consultar Reclamo - Estilos
   ===================================================== */

/* Hero de búsqueda */
.consulta-hero { padding-top: 2rem; }
.hero-icon {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-light) 0%, #bfdbfe 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
}
.hero-icon i { font-size: 1.8rem; color: var(--primary); }

.search-card-hero {
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    border: 2px solid var(--gray-200);
}

/* Empty state */
.empty-state-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: var(--gray-100);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
}
.empty-state-icon i { font-size: 2rem; color: var(--gray-300); }

/* Status banner */
.status-banner {
    background: #fff;
    border: 1.5px solid var(--gray-200);
    border-radius: var(--radius);
    padding: 1rem 1.5rem;
    box-shadow: var(--shadow);
    border-left: 5px solid var(--gray-300);
}
.status-banner.status-pendiente { border-left-color: var(--warning); background: #fffbeb; }
.status-banner.status-en-revision { border-left-color: #0ea5e9; background: #f0f9ff; }
.status-banner.status-en-espera { border-left-color: var(--gray-500); background: var(--gray-50); }
.status-banner.status-aprobado { border-left-color: var(--success); background: #f0fdf4; }
.status-banner.status-rechazado { border-left-color: var(--danger); background: #fef2f2; }
.status-banner.status-resuelto { border-left-color: var(--primary); background: #eff6ff; }
.status-banner.status-cerrado { border-left-color: var(--gray-700); background: var(--gray-50); }

.status-icon-circle {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(0,0,0,0.06);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    flex-shrink: 0;
}
.status-label {
    font-size: 0.72rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--gray-500);
}
.status-value {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--gray-900);
    line-height: 1.2;
}
.ticket-badge {
    display: inline-block;
    background: var(--gray-100);
    color: var(--gray-700);
    font-family: 'Courier New', monospace;
    font-weight: 700;
    font-size: 0.9rem;
    padding: 0.25rem 0.75rem;
    border-radius: 6px;
    letter-spacing: 0.02em;
}

/* Data fields */
.data-field {
    padding: 0.5rem 0;
}
.data-label {
    display: block;
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--gray-500);
    text-transform: uppercase;
    letter-spacing: 0.04em;
    margin-bottom: 0.2rem;
}
.data-value {
    font-size: 0.92rem;
    color: var(--gray-900);
}

.detail-box {
    background: var(--gray-50);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-sm);
    padding: 0.85rem 1rem;
    font-size: 0.9rem;
    line-height: 1.6;
    color: var(--gray-700);
}

/* Response bubbles */
.response-bubble {
    background: #eff6ff;
    border: 1px solid #bfdbfe;
    border-radius: var(--radius-sm);
    padding: 0.85rem 1rem;
}
.response-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.5rem;
}
.response-author {
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--primary-dark);
}
.response-date {
    font-size: 0.75rem;
    color: var(--gray-500);
}
.response-body {
    font-size: 0.88rem;
    line-height: 1.55;
    color: var(--gray-700);
}

/* Timeline vertical */
.timeline-vertical {
    position: relative;
    padding-left: 24px;
}
.timeline-item {
    position: relative;
    padding-bottom: 1rem;
    padding-left: 12px;
}
.timeline-item::before {
    content: '';
    position: absolute;
    left: -18px;
    top: 8px;
    bottom: -8px;
    width: 2px;
    background: var(--gray-200);
}
.timeline-item-last::before { display: none; }

.timeline-dot {
    position: absolute;
    left: -22px;
    top: 6px;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--gray-300);
    border: 2px solid #fff;
    box-shadow: 0 0 0 2px var(--gray-200);
}
.timeline-dot-active {
    background: var(--primary);
    box-shadow: 0 0 0 3px var(--primary-light);
}

.timeline-content { min-height: 30px; }
.timeline-date { font-size: 0.72rem; color: var(--gray-500); }
.timeline-comment { font-size: 0.8rem; color: var(--gray-700); margin-top: 2px; }

/* Table improvements for consultar */
.table thead th {
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--gray-500);
    border-bottom: 2px solid var(--gray-200);
    padding: 0.6rem 0.5rem;
    background: var(--gray-50);
}
.table tbody td {
    padding: 0.6rem 0.5rem;
    font-size: 0.85rem;
    vertical-align: middle;
}
.table-hover tbody tr:hover { background: var(--primary-light); }

/* Reclamos list (email search results) */
.reclamos-list-header h5 {
    color: var(--gray-900);
}

.reclamos-list {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.reclamo-list-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    background: #fff;
    border: 1px solid var(--gray-200);
    border-radius: var(--radius);
    padding: 1rem 1.25rem;
    text-decoration: none;
    color: inherit;
    transition: all 0.15s ease;
    box-shadow: var(--shadow);
}

.reclamo-list-item:hover {
    border-color: var(--primary);
    box-shadow: 0 2px 8px rgba(37, 99, 235, 0.1);
    transform: translateY(-1px);
    color: inherit;
}

.reclamo-list-status {
    flex-shrink: 0;
}

.reclamo-status-dot {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    font-size: 1rem;
}

.status-dot-pendiente { background: #fef3c7; color: #92400e; }
.status-dot-en-revision { background: #dbeafe; color: #1e40af; }
.status-dot-en-espera { background: #ede9fe; color: #5b21b6; }
.status-dot-aprobado { background: #d1fae5; color: #065f46; }
.status-dot-rechazado { background: #fee2e2; color: #991b1b; }
.status-dot-resuelto { background: #d1fae5; color: #065f46; }
.status-dot-cerrado { background: var(--gray-100); color: var(--gray-600); }

.reclamo-list-body {
    flex: 1;
    min-width: 0;
}

.reclamo-list-ticket {
    font-family: 'Courier New', monospace;
    font-weight: 700;
    font-size: 0.9rem;
    color: var(--gray-900);
}

.reclamo-list-badge {
    font-size: 0.68rem;
    font-weight: 600;
    padding: 0.15rem 0.5rem;
    border-radius: 20px;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.status-bg-pendiente { background: #fef3c7; color: #92400e; }
.status-bg-en-revision { background: #dbeafe; color: #1e40af; }
.status-bg-en-espera { background: #ede9fe; color: #5b21b6; }
.status-bg-aprobado { background: #d1fae5; color: #065f46; }
.status-bg-rechazado { background: #fee2e2; color: #991b1b; }
.status-bg-resuelto { background: #d1fae5; color: #065f46; }
.status-bg-cerrado { background: var(--gray-100); color: var(--gray-600); }

.reclamo-list-meta {
    display: flex;
    gap: 1rem;
    font-size: 0.78rem;
    color: var(--gray-500);
    margin-top: 0.15rem;
}

.reclamo-list-date {
    flex-shrink: 0;
    text-align: right;
}

.reclamo-list-date-day {
    font-size: 0.82rem;
    font-weight: 500;
    color: var(--gray-700);
}

.reclamo-list-date-time {
    font-size: 0.72rem;
    color: var(--gray-400);
}

.reclamo-list-arrow {
    flex-shrink: 0;
    color: var(--gray-300);
    font-size: 1rem;
    transition: all 0.15s ease;
}

.reclamo-list-item:hover .reclamo-list-arrow {
    color: var(--primary);
    transform: translateX(2px);
}

/* Responsive for consultar */
@media (max-width: 768px) {
    .status-banner { padding: 0.85rem; }
    .status-value { font-size: 1rem; }
    .status-icon-circle { width: 40px; height: 40px; font-size: 1.1rem; }
    .data-field { padding: 0.35rem 0; }

    .reclamo-list-item {
        flex-wrap: wrap;
        gap: 0.6rem;
        padding: 0.85rem 1rem;
    }

    .reclamo-list-meta {
        flex-wrap: wrap;
        gap: 0.5rem;
    }

    .reclamo-list-date {
        text-align: left;
    }

    .reclamo-list-arrow { display: none; }
}
