/* Cazador de Pisos - Dark Theme (Hub Marques) */

:root {
    --bg: #0a0a0f;
    --surface: #111118;
    --surface-2: #1a1a24;
    --surface-3: #222230;
    --border: #2a2a3a;
    --border-light: #333346;
    --text: #e8e8f0;
    --text-muted: #8888a0;
    --text-dim: #666680;
    --primary: #6c8aff;
    --primary-hover: #5a78ee;
    --primary-bg: rgba(108, 138, 255, 0.1);
    --verde: #22c55e;
    --verde-bg: rgba(34, 197, 94, 0.08);
    --verde-border: rgba(34, 197, 94, 0.3);
    --amarillo: #eab308;
    --amarillo-bg: rgba(234, 179, 8, 0.08);
    --amarillo-border: rgba(234, 179, 8, 0.3);
    --rojo: #ef4444;
    --rojo-bg: rgba(239, 68, 68, 0.08);
    --rojo-border: rgba(239, 68, 68, 0.3);
    --descuento: #22c55e;
    --ahorro: #22c55e;
    --danger: #ef4444;
    --warning: #f59e0b;
    --radius: 8px;
    --radius-lg: 12px;
    --shadow: 0 2px 8px rgba(0,0,0,0.3);
    --font: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

/* Reset */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { font-size: 16px; }

body {
    font-family: var(--font);
    background: var(--bg);
    color: var(--text);
    line-height: 1.5;
    min-height: 100vh;
}

a { color: var(--primary); text-decoration: none; }
a:hover { color: var(--primary-hover); }

/* Navbar */
.navbar {
    background: var(--surface);
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 0;
    z-index: 100;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 56px;
}

.nav-brand {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text);
}

.nav-links {
    display: flex;
    gap: 0.5rem;
    align-items: center;
}

.nav-link {
    padding: 0.5rem 0.75rem;
    color: var(--text-muted);
    border-radius: var(--radius);
    font-size: 0.9rem;
    transition: all 0.2s;
}

.nav-link:hover, .nav-link.active {
    color: var(--text);
    background: var(--surface-2);
}

.nav-logout { color: var(--text-dim); }

/* Content */
.content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1.5rem 1rem;
}

/* Flash messages */
.flash-messages { margin-bottom: 1rem; }

.flash {
    padding: 0.75rem 1rem;
    border-radius: var(--radius);
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.flash-error {
    background: var(--rojo-bg);
    border: 1px solid var(--rojo-border);
    color: var(--rojo);
}

.flash-success {
    background: var(--verde-bg);
    border: 1px solid var(--verde-border);
    color: var(--verde);
}

/* Login */
.login-container {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 80vh;
}

.login-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 2.5rem 2rem;
    width: 100%;
    max-width: 380px;
}

.login-title {
    font-size: 1.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 0.25rem;
}

.login-subtitle {
    color: var(--text-muted);
    text-align: center;
    font-size: 0.9rem;
    margin-bottom: 2rem;
}

.login-form { display: flex; flex-direction: column; gap: 1.25rem; }

.form-group { display: flex; flex-direction: column; gap: 0.4rem; }

.form-label {
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--text-muted);
}

.form-input {
    background: var(--surface-2);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 0.65rem 0.75rem;
    color: var(--text);
    font-size: 1rem;
    font-family: var(--font);
    outline: none;
    transition: border-color 0.2s;
}

.form-input:focus {
    border-color: var(--primary);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    padding: 0.6rem 1.2rem;
    border-radius: var(--radius);
    font-size: 0.9rem;
    font-weight: 500;
    font-family: var(--font);
    cursor: pointer;
    border: none;
    transition: all 0.2s;
    text-decoration: none;
}

.btn-primary {
    background: var(--primary);
    color: #fff;
}

.btn-primary:hover {
    background: var(--primary-hover);
    color: #fff;
}

.btn-secondary {
    background: var(--surface-2);
    color: var(--text);
    border: 1px solid var(--border);
}

.btn-secondary:hover {
    background: var(--surface-3);
    color: var(--text);
}

.btn-block { width: 100%; }

.btn-sm {
    padding: 0.4rem 0.8rem;
    font-size: 0.8rem;
}

.btn-icon {
    background: none;
    border: none;
    font-size: 1.2rem;
    cursor: pointer;
    padding: 0.3rem;
    border-radius: var(--radius);
    color: var(--text-dim);
    transition: all 0.2s;
    line-height: 1;
}

.btn-icon:hover { color: var(--text); }

.btn-fav.active, .btn-fav-lg.active { color: var(--amarillo); }
.btn-discard.active { color: var(--rojo); }

/* Page header */
.page-header {
    margin-bottom: 1.5rem;
}

.page-header h1 {
    font-size: 1.5rem;
    font-weight: 700;
}

.text-muted { color: var(--text-muted); font-size: 0.9rem; }

/* Filters */
.filters-panel {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 1.25rem;
    margin-bottom: 1.5rem;
}

.filters-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.filter-group { display: flex; flex-direction: column; gap: 0.3rem; }

.filter-label {
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.filter-select, .filter-input {
    background: var(--surface-2);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 0.5rem 0.6rem;
    color: var(--text);
    font-size: 0.85rem;
    font-family: var(--font);
    outline: none;
}

.filter-select:focus, .filter-input:focus {
    border-color: var(--primary);
}

.filters-actions {
    display: flex;
    gap: 0.5rem;
}

/* Subastas grid */
.subastas-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 1rem;
}

.subasta-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: transform 0.2s, box-shadow 0.2s;
}

.subasta-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

.subasta-card.semaforo-verde { border-left: 3px solid var(--verde); }
.subasta-card.semaforo-amarillo { border-left: 3px solid var(--amarillo); }
.subasta-card.semaforo-rojo { border-left: 3px solid var(--rojo); }
.subasta-card.card-descartada { opacity: 0.5; }

.card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.75rem 1rem 0;
}

.card-actions { display: flex; gap: 0.25rem; }

.card-link {
    display: block;
    padding: 0.75rem 1rem 1rem;
    color: var(--text);
}

.card-link:hover { color: var(--text); }

.card-location {
    margin-bottom: 0.5rem;
}

.card-location strong {
    display: block;
    font-size: 0.95rem;
    line-height: 1.3;
}

.card-location span {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.card-photo {
    margin: 0.5rem 0;
    border-radius: var(--radius);
    overflow: hidden;
    max-height: 140px;
}

.card-photo img {
    width: 100%;
    height: 140px;
    object-fit: cover;
}

.card-specs {
    display: flex;
    gap: 0.75rem;
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 0.5rem;
}

.card-prices {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
    margin-bottom: 0.5rem;
}

.price-row {
    display: flex;
    justify-content: space-between;
    font-size: 0.85rem;
}

.price-label { color: var(--text-muted); }
.price-value { font-weight: 500; }
.price-row.highlight { font-weight: 600; }

.descuento { color: var(--descuento); font-weight: 700; }
.ahorro { color: var(--ahorro); font-weight: 600; }

.card-total {
    font-size: 0.9rem;
    font-weight: 600;
    padding: 0.5rem 0;
    border-top: 1px solid var(--border);
    margin-top: 0.25rem;
}

.card-countdown {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-top: 0.25rem;
}

.card-checklist {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 0.5rem;
    font-size: 0.8rem;
    color: var(--text-muted);
}

/* Semaforo badges */
.semaforo-badge {
    font-size: 0.7rem;
    font-weight: 700;
    padding: 0.2rem 0.6rem;
    border-radius: 100px;
    letter-spacing: 0.05em;
}

.semaforo-verde { background: var(--verde-bg); color: var(--verde); border: 1px solid var(--verde-border); }
.semaforo-amarillo { background: var(--amarillo-bg); color: var(--amarillo); border: 1px solid var(--amarillo-border); }
.semaforo-rojo { background: var(--rojo-bg); color: var(--rojo); border: 1px solid var(--rojo-border); }
.semaforo-none { background: var(--surface-2); color: var(--text-dim); border: 1px solid var(--border); }

.semaforo-badge-lg {
    font-size: 1rem;
    font-weight: 700;
    padding: 0.4rem 1rem;
    border-radius: 100px;
    letter-spacing: 0.05em;
}

.btn-fav-lg {
    font-size: 1.5rem;
    background: none;
    border: none;
    cursor: pointer;
    color: var(--text-dim);
    transition: color 0.2s;
}

.btn-fav-lg:hover { color: var(--amarillo); }
.btn-fav-lg.active { color: var(--amarillo); }

/* Progress bar */
.progress-bar {
    flex: 1;
    height: 4px;
    background: var(--surface-3);
    border-radius: 2px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background: var(--primary);
    border-radius: 2px;
    transition: width 0.3s;
}

/* Detail page */
.detalle-page {
    max-width: 800px;
    margin: 0 auto;
}

.detalle-header {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    margin-bottom: 1rem;
}

.semaforo-bg-verde { border-top: 3px solid var(--verde); }
.semaforo-bg-amarillo { border-top: 3px solid var(--amarillo); }
.semaforo-bg-rojo { border-top: 3px solid var(--rojo); }

.header-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 0.75rem;
}

.semaforo-motivo {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 0.75rem;
}

.detalle-direccion {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 0.25rem;
}

.detalle-ubicacion {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 0.75rem;
}

.countdown-big {
    font-size: 1rem;
    font-weight: 600;
    color: var(--warning);
    margin-bottom: 1rem;
}

.header-actions {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

/* Detail blocks */
.detalle-block {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 1.25rem;
    margin-bottom: 1rem;
}

.block-title {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid var(--border);
}

/* Data tables */
.data-table {
    width: 100%;
    border-collapse: collapse;
}

.data-table th, .data-table td {
    padding: 0.5rem 0.75rem;
    text-align: left;
    font-size: 0.9rem;
    border-bottom: 1px solid var(--border);
}

.data-table th {
    color: var(--text-muted);
    font-weight: 500;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.text-right { text-align: right; }

.row-highlight td { font-weight: 600; }

.row-total td {
    border-top: 2px solid var(--border-light);
    font-size: 1rem;
}

.ref-catastral {
    font-family: monospace;
    font-size: 0.8rem;
    word-break: break-all;
}

/* Inmueble grid */
.inmueble-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-bottom: 1rem;
}

.foto-aerea {
    width: 100%;
    border-radius: var(--radius);
    max-height: 300px;
    object-fit: cover;
}

/* Map */
.map-container { margin: 1rem 0; }

.map-embed {
    width: 100%;
    height: 300px;
    border: none;
    border-radius: var(--radius);
}

.map-links {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

/* Fotos gallery */
.fotos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 0.5rem;
    margin-top: 0.5rem;
}

.foto-thumb {
    width: 100%;
    height: 120px;
    object-fit: cover;
    border-radius: var(--radius);
    cursor: pointer;
}

/* Market bar */
.market-bar-container { margin: 1rem 0; }

.market-bar {
    height: 8px;
    background: var(--surface-3);
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 0.5rem;
}

.market-bar-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--verde), var(--amarillo), var(--rojo));
    border-radius: 4px;
    transition: width 0.5s;
}

.market-bar-labels {
    display: flex;
    justify-content: space-between;
    font-size: 0.8rem;
    color: var(--text-muted);
}

/* IA sections */
.ia-section {
    margin-bottom: 1.25rem;
}

.ia-section h3 {
    font-size: 0.95rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--text);
}

.ia-resumen {
    line-height: 1.6;
    color: var(--text);
}

.ia-consejo {
    line-height: 1.6;
    color: var(--text);
    background: var(--primary-bg);
    padding: 0.75rem;
    border-radius: var(--radius);
}

.ia-oportunidad {
    font-weight: 600;
    font-size: 1rem;
}

/* Badges */
.badge {
    display: inline-block;
    padding: 0.2rem 0.6rem;
    border-radius: 100px;
    font-size: 0.8rem;
    font-weight: 600;
}

.badge-verde { background: var(--verde-bg); color: var(--verde); }
.badge-amarillo { background: var(--amarillo-bg); color: var(--amarillo); }
.badge-rojo { background: var(--rojo-bg); color: var(--rojo); }

/* Risk/positive lists */
.risk-list, .positive-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
}

.risk-item::before {
    content: "\26A0\FE0F ";
}

.positive-item::before {
    content: "\2705 ";
}

.risk-item, .positive-item {
    font-size: 0.9rem;
    padding: 0.3rem 0;
}

/* Block link */
.block-link {
    display: block;
    margin-top: 0.75rem;
}

/* Checklist */
.checklist {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.check-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    cursor: pointer;
    padding: 0.4rem 0;
}

.check-input {
    width: 18px;
    height: 18px;
    accent-color: var(--primary);
    cursor: pointer;
}

.check-label { flex: 1; }

.check-link {
    font-size: 0.8rem;
    color: var(--primary);
}

/* Notas */
.notas-section {
    margin-top: 1.5rem;
    padding-top: 1rem;
    border-top: 1px solid var(--border);
}

.notas-section h3 {
    font-size: 0.95rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.notas-input {
    width: 100%;
    min-height: 100px;
    background: var(--surface-2);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 0.75rem;
    color: var(--text);
    font-family: var(--font);
    font-size: 0.9rem;
    resize: vertical;
    outline: none;
    margin-bottom: 0.5rem;
}

.notas-input:focus { border-color: var(--primary); }

/* Links grid */
.links-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 0.5rem;
}

.link-card {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem;
    background: var(--surface-2);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    color: var(--text);
    transition: all 0.2s;
    font-size: 0.85rem;
}

.link-card:hover {
    background: var(--surface-3);
    color: var(--text);
    border-color: var(--primary);
}

.link-icon {
    font-size: 0.7rem;
    font-weight: 700;
    background: var(--primary-bg);
    color: var(--primary);
    padding: 0.3rem 0.5rem;
    border-radius: var(--radius);
    min-width: 36px;
    text-align: center;
}

/* Empty state */
.empty-state {
    text-align: center;
    padding: 3rem 1rem;
    color: var(--text-muted);
}

.empty-state p { margin-bottom: 0.75rem; }

.empty-state .btn { margin-top: 0.5rem; }

/* ============================================
   Historico page
   ============================================ */

/* Stats grid */
.historico-stats {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 1.25rem;
    margin-bottom: 1.5rem;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: 0.75rem;
}

.stat-card {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
    padding: 0.75rem;
    background: var(--surface-2);
    border: 1px solid var(--border);
    border-radius: var(--radius);
}

.stat-value {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text);
}

.stat-label {
    font-size: 0.75rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

/* Historico table */
.historico-table-wrapper {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    margin-bottom: 1rem;
}

.historico-table {
    width: 100%;
    border-collapse: collapse;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.historico-table th, .historico-table td {
    padding: 0.6rem 0.75rem;
    text-align: left;
    font-size: 0.85rem;
    border-bottom: 1px solid var(--border);
    white-space: nowrap;
}

.historico-table th {
    color: var(--text-muted);
    font-weight: 600;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    background: var(--surface-2);
    position: sticky;
    top: 0;
}

.historico-table .td-direccion {
    max-width: 200px;
    overflow: hidden;
    text-overflow: ellipsis;
}

.hist-row {
    cursor: pointer;
    transition: background 0.15s;
}

.hist-row:hover {
    background: var(--surface-2);
}

/* Sortable headers */
.sortable {
    cursor: pointer;
    user-select: none;
    position: relative;
    padding-right: 1.2rem;
}

.sortable::after {
    content: '\2195';
    position: absolute;
    right: 0.3rem;
    opacity: 0.3;
    font-size: 0.7rem;
}

.sortable.sort-asc::after {
    content: '\2191';
    opacity: 0.8;
}

.sortable.sort-desc::after {
    content: '\2193';
    opacity: 0.8;
}

.sortable.sorted {
    color: var(--primary);
}

/* Percentage color coding */
.pct-cell { font-weight: 600; }
.pct-verde { color: var(--verde); }
.pct-amarillo { color: var(--amarillo); }
.pct-rojo { color: var(--rojo); }
.pct-desierta { color: var(--text-dim); }

/* Result badges */
.badge-resultado {
    display: inline-block;
    padding: 0.15rem 0.5rem;
    border-radius: 100px;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.badge-adjudicada {
    background: var(--primary-bg);
    color: var(--primary);
    border: 1px solid rgba(108, 138, 255, 0.3);
}

.badge-desierta {
    background: var(--amarillo-bg);
    color: var(--amarillo);
    border: 1px solid var(--amarillo-border);
}

.badge-cerrada {
    background: var(--surface-2);
    color: var(--text-dim);
    border: 1px solid var(--border);
}

/* Pagination */
.paginacion {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    padding: 1rem 0;
}

.pag-info {
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* ============================================
   Closed auction banners
   ============================================ */

.banner-cerrada {
    border-radius: var(--radius-lg);
    padding: 1rem 1.25rem;
    margin-bottom: 1rem;
}

.banner-adjudicada {
    background: var(--surface-2);
    border: 1px solid var(--border-light);
}

.banner-desierta {
    background: var(--amarillo-bg);
    border: 1px solid var(--amarillo-border);
}

.banner-cerrada-gris {
    background: var(--surface-2);
    border: 1px solid var(--border);
}

.banner-titulo {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 0.3rem;
}

.banner-adjudicada .banner-titulo { color: var(--text); }
.banner-desierta .banner-titulo { color: var(--amarillo); }
.banner-cerrada-gris .banner-titulo { color: var(--text-dim); }

.banner-detalle {
    font-size: 0.9rem;
    color: var(--text-muted);
}

.banner-tip {
    font-size: 0.85rem;
    color: var(--amarillo);
    margin-top: 0.4rem;
    font-style: italic;
}

/* ============================================
   Block 9: Similar closed auctions
   ============================================ */

.similares-table-wrapper {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    margin-bottom: 1rem;
}

.similares-table th {
    font-size: 0.75rem;
}

.similares-table td {
    font-size: 0.85rem;
}

.similares-resumen {
    background: var(--primary-bg);
    border: 1px solid rgba(108, 138, 255, 0.2);
    border-radius: var(--radius);
    padding: 0.75rem 1rem;
    font-size: 0.9rem;
    line-height: 1.5;
}

.similares-sugerencia {
    font-weight: 600;
    margin-top: 0.3rem;
    color: var(--primary);
}

/* Responsive */
@media (max-width: 768px) {
    .subastas-grid {
        grid-template-columns: 1fr;
    }

    .filters-grid {
        grid-template-columns: 1fr 1fr;
    }

    .inmueble-grid {
        grid-template-columns: 1fr;
    }

    .links-grid {
        grid-template-columns: 1fr;
    }

    .detalle-direccion {
        font-size: 1.1rem;
    }

    .nav-container {
        padding: 0 0.75rem;
    }

    .stats-grid {
        grid-template-columns: 1fr 1fr;
    }

    .historico-table th, .historico-table td {
        padding: 0.4rem 0.5rem;
        font-size: 0.78rem;
    }

    .paginacion {
        flex-wrap: wrap;
    }
}

@media (max-width: 480px) {
    .filters-grid {
        grid-template-columns: 1fr;
    }

    .content {
        padding: 1rem 0.75rem;
    }

    .header-actions {
        flex-direction: column;
    }

    .header-actions .btn {
        width: 100%;
    }
}

/* Status tags en tarjetas */
.card-status-tags { display:flex; flex-wrap:wrap; gap:4px; margin:6px 0; }
.status-tag { font-size:11px; padding:2px 8px; border-radius:4px; font-weight:500; }
.tag-ok { background:rgba(0,208,132,0.15); color:#00d084; }
.tag-warn { background:rgba(245,200,66,0.15); color:#f5c842; }
.tag-danger { background:rgba(255,77,77,0.15); color:#ff4d4d; }
.tag-info { background:rgba(77,159,255,0.15); color:#4d9fff; }
