/* Ajustes propios sobre el template Lahomes */

/* Marca en el menú lateral */
.app-brand { display: inline-flex; align-items: center; gap: .6rem; text-decoration: none; }
.app-brand-icon {
    width: 32px; height: 32px; border-radius: 10px; flex-shrink: 0;
    display: inline-flex; align-items: center; justify-content: center;
    background: linear-gradient(135deg, var(--bs-primary), #d2457a); color: #fff; font-size: 18px;
}
.app-brand-text { font-weight: 700; font-size: 1.05rem; color: #fff; letter-spacing: .2px; }
html[data-menu-color="light"] .app-brand-text { color: var(--bs-body-color); }
html[data-menu-size="condensed"] .main-nav .app-brand-text,
html[data-menu-size="sm-hover"] .main-nav:not(:hover) .app-brand-text { display: none; }

.user-avatar { width: 34px; height: 34px; font-size: .8rem; }
.wedding-switcher { border-radius: 999px; padding-inline: .9rem; }
.wedding-menu .dropdown-item.active { background: var(--bs-primary-bg-subtle); color: var(--bs-primary); }

/* Tarjetas de indicadores */
.stat-card .stat-icon {
    width: 48px; height: 48px; border-radius: 12px;
    display: inline-flex; align-items: center; justify-content: center; font-size: 24px;
}
.stat-card .stat-value { font-size: 1.6rem; font-weight: 700; line-height: 1.1; }
.stat-card .stat-value.money { font-size: 1.25rem; }

/* Tablas */
.table-app thead th { white-space: nowrap; font-size: .78rem; text-transform: uppercase; letter-spacing: .03em; color: var(--bs-secondary-color); font-weight: 600; }
.table-app td { vertical-align: middle; }
.table-app tbody tr.row-muted { opacity: .55; }
.sort-link { color: inherit; text-decoration: none; display: inline-flex; align-items: center; gap: .15rem; }
.sort-link:hover, .sort-link.active { color: var(--bs-primary); }
.cell-wrap { white-space: normal; min-width: 180px; max-width: 320px; }
.text-truncate-2 { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.filters .form-control, .filters .form-select { min-width: 140px; }
.bulk-bar { display: none; }
.bulk-bar.show { display: flex; }
.table-check { width: 36px; }

/* Varios */
.code-chip { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: .8rem; }
.import-drop { border: 2px dashed var(--bs-border-color); border-radius: 14px; padding: 2rem; text-align: center; transition: border-color .2s, background .2s; }
.import-drop:hover { border-color: var(--bs-primary); background: var(--bs-primary-bg-subtle); }
.import-drop input[type=file] { max-width: 360px; margin: 0 auto; }
.step-badge { width: 28px; height: 28px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; font-weight: 700; background: var(--bs-primary); color: #fff; flex-shrink: 0; }
.message-preview { white-space: pre-wrap; font-size: .85rem; }
.progress-thin { height: 8px; }
.auth-card .app-brand-text { color: var(--bs-body-color); font-size: 1.3rem; }
.temp-password { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 1.15rem; letter-spacing: .05em; }

/* Planificador de mesas */
.seat-table .card-header { padding: .75rem 1rem; }
.seat-list { min-height: 90px; padding: .75rem; display: flex; flex-direction: column; gap: 6px; }
.seat-unassigned .seat-list { max-height: 60vh; overflow-y: auto; }
.seat-table.drop-over { outline: 2px dashed var(--bs-primary); outline-offset: -4px; background: var(--bs-primary-bg-subtle); }
.seat-chip { display: flex; align-items: center; gap: 8px; padding: 6px 10px; border: 1px solid var(--bs-border-color); border-radius: 8px;
    background: var(--bs-body-bg); font-size: .85rem; cursor: grab; user-select: none; min-width: 0; }
.seat-chip:hover { border-color: var(--bs-primary); }
.seat-chip.selected { border-color: var(--bs-primary); box-shadow: 0 0 0 2px var(--bs-primary-bg-subtle); background: var(--bs-primary-bg-subtle); }
.seat-chip.dragging { opacity: .45; }
.seat-dot { width: 8px; height: 8px; border-radius: 50%; display: inline-block; flex-shrink: 0; }
.seat-table details summary { cursor: pointer; }

/* Recepción (día de la boda) */
.reception-search { position: sticky; top: calc(var(--bs-topbar-height, 70px) + 4px); z-index: 5; background: var(--bs-body-bg); padding: 8px 0; }
.reception-card { border-left: 4px solid var(--bs-warning); }
.reception-card.arrived { border-left-color: var(--bs-success); background: var(--bs-success-bg-subtle); }
.reception-table { min-width: 64px; padding: 6px 8px; border-radius: 10px; background: var(--bs-primary); color: #fff; line-height: 1.1; }
.reception-table small { font-size: .6rem; letter-spacing: .1em; opacity: .85; display: block; }
.reception-table strong { font-size: 1.5rem; display: block; }
.reception-people { width: 70px; }
.min-w-0 { min-width: 0; }
.table-select { min-width: 130px; }
.attended-check { width: 1.3em; height: 1.3em; cursor: pointer; }

@media print {
    .main-nav, .topbar, .footer, .page-title-box .btn, .no-print { display: none !important; }
    .page-content { margin: 0 !important; padding: 0 !important; }
}
