/* ═══════════════════════════════════════════════════
   SCOPED RESET — aísla dashboard del CSS del sitio
═══════════════════════════════════════════════════ */
#dashboardPanel,
#dashboardPanel * {
    box-sizing: border-box;
    color: inherit;
}
#dashboardPanel input,
#dashboardPanel textarea,
#dashboardPanel select,
#dashboardPanel button {
    font-family: 'Montserrat', sans-serif;
    font-size: inherit;
}
/* Reset cualquier color negro que venga del sitio */
#dashboardPanel .db-section,
#dashboardPanel .db-section * {
    color: revert;
}
#dashboardPanel .db-section-title { color: #ffffff; }
#dashboardPanel .db-section-sub   { color: rgba(255,255,255,0.35); }
#dashboardPanel .db-label         { color: rgba(5,200,200,0.6); }
#dashboardPanel .db-input,
#dashboardPanel .db-textarea,
#dashboardPanel .db-select        { color: #ffffff; background: rgba(255,255,255,0.03); }
#dashboardPanel .db-input::placeholder,
#dashboardPanel .db-textarea::placeholder { color: rgba(255,255,255,0.15); }
#dashboardPanel p,
#dashboardPanel label,
#dashboardPanel span,
#dashboardPanel div                { color: inherit; }
#dashboardPanel .db-btn-primary    { color: #020E0E; }
#dashboardPanel .db-brand-t1       { color: #05C8C8; }
#dashboardPanel .db-brand-t2       { color: #ffffff; }
#dashboardPanel .db-user-name      { color: rgba(255,255,255,0.5); }
#dashboardPanel .db-user-name span { color: #05C8C8; }
#dashboardPanel .db-tab            { color: rgba(255,255,255,0.3); }
#dashboardPanel .db-tab.active     { color: #05C8C8; }
#dashboardPanel .db-tab:hover      { color: rgba(255,255,255,0.6); }
#dashboardPanel .product-name      { color: #ffffff; }
#dashboardPanel .product-desc      { color: rgba(255,255,255,0.45); }
#dashboardPanel .product-cat       { color: rgba(5,200,200,0.4); }
#dashboardPanel .product-price-num { color: #05C8C8; }
#dashboardPanel .product-price-suffix { color: rgba(255,255,255,0.25); }
#dashboardPanel .product-features li  { color: rgba(255,255,255,0.55); }
#dashboardPanel .video-title       { color: #ffffff; }
#dashboardPanel .video-desc        { color: rgba(255,255,255,0.35); }
#dashboardPanel .video-ep-num      { color: rgba(5,200,200,0.45); }
#dashboardPanel .vbo-label         { color: rgba(255,255,255,0.3); }
#dashboardPanel .vbo-quality       { color: #ffffff; }
#dashboardPanel .vbo-price         { color: #05C8C8; }
#dashboardPanel .vbo-size          { color: rgba(255,255,255,0.2); }
#dashboardPanel .vbo-cta           { color: rgba(5,200,200,0.6); }
#dashboardPanel .order-name        { color: #ffffff; }
#dashboardPanel .order-meta        { color: rgba(255,255,255,0.3); }
#dashboardPanel .order-amount      { color: #ffffff; }
#dashboardPanel .order-amount .eur { color: rgba(255,255,255,0.25); }
#dashboardPanel .invoice-number    { color: #05C8C8; }
#dashboardPanel .invoice-desc      { color: rgba(255,255,255,0.65); }
#dashboardPanel .invoice-date      { color: rgba(255,255,255,0.2); }
#dashboardPanel .invoice-amount    { color: #ffffff; }
#dashboardPanel .interview-status-label { color: rgba(5,200,200,0.5); }
#dashboardPanel .interview-status-val   { color: #ffffff; }
#dashboardPanel .empty-state       { color: rgba(255,255,255,0.18); }
#dashboardPanel .db-alert.success  { color: #05C8C8; }
#dashboardPanel .db-alert.error    { color: #E63946; }
#dashboardPanel .db-close          { color: rgba(255,255,255,0.3); }
#dashboardPanel .db-btn-ghost      { color: rgba(255,255,255,0.4); }
#dashboardPanel .db-filter-btn     { color: rgba(255,255,255,0.35); }
#dashboardPanel .db-filter-btn.active { color: #05C8C8; }
#dashboardPanel .badge-pending     { color: #f59e0b; }
#dashboardPanel .badge-approved    { color: #05C8C8; }
#dashboardPanel .product-badge.popular   { color: #020E0E; }
#dashboardPanel .product-badge.premium   { color: #000000; }
#dashboardPanel .product-badge.destacado { color: #ffffff; }
#dashboardPanel .db-spinner        { color: rgba(5,200,200,0.3); }
#dashboardPanel .skeleton-line     { color: transparent; }

/* ═══════════════════════════════════════════════════
   dashboard.css — Área de cliente Time For Business
   Fullscreen panel · Cards premium · UX level 4
═══════════════════════════════════════════════════ */

/* ── OVERLAY ─────────────────────────────────────── */
#dashboardOverlay {
    position: fixed;
    inset: 0;
    z-index: 19999;
    background: rgba(0,0,0,0.5);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.35s ease, visibility 0.35s ease;
}
#dashboardOverlay.active { opacity: 1; visibility: visible; }

/* ── PANEL — FULLSCREEN ──────────────────────────── */
#dashboardPanel {
    position: fixed;
    inset: 0;
    z-index: 20000;
    width: 100vw;
    height: 100vh;
    display: flex;
    flex-direction: column;
    background: #020E0E;
    transform: translateY(100%);
    transition: transform 0.42s cubic-bezier(0.215, 0.610, 0.355, 1);
    overflow: hidden;
}
#dashboardPanel.active { transform: translateY(0); }

/* ── HEADER ──────────────────────────────────────── */
.db-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 2.5rem;
    height: 60px;
    border-bottom: 1px solid rgba(5,200,200,0.08);
    background: #030F0F;
    flex-shrink: 0;
}
.db-header-brand { display:flex; align-items:center; gap:0.8rem; }
.db-logo {
    width: 32px; height: 32px; border-radius: 50%;
    border: 1.5px solid rgba(5,200,200,0.4);
    display: flex; align-items: center; justify-content: center;
    background: rgba(5,200,200,0.06);
}
.db-logo i { color: #05C8C8; font-size: 0.7rem; }
.db-brand-t1 { font-size: 0.48rem; font-weight: 700; letter-spacing: 2.5px; color: #05C8C8; display:block; }
.db-brand-t2 { font-size: 0.72rem; font-weight: 800; color: #fff; display:block; letter-spacing: 1px; }
.db-user-info { display:flex; align-items:center; gap:1.2rem; }
.db-user-name { font-size: 0.68rem; font-weight: 500; color: rgba(255,255,255,0.5); }
.db-user-name span { color: #05C8C8; font-weight: 700; }
.db-btn-ghost {
    background: transparent; color: rgba(255,255,255,0.4);
    border: 1px solid rgba(255,255,255,0.08);
    padding: 0.4rem 1rem; border-radius: 50px;
    font-size: 0.55rem; font-weight: 700; letter-spacing: 1.5px;
    text-transform: uppercase; cursor: pointer; font-family: 'Montserrat', sans-serif;
    transition: all 0.2s; display:inline-flex; align-items:center; gap:0.4rem;
}
.db-btn-ghost:hover { border-color: #05C8C8; color: #05C8C8; }
.db-close {
    background: none; border: 1px solid rgba(255,255,255,0.08);
    color: rgba(255,255,255,0.3); width: 32px; height: 32px;
    border-radius: 50%; cursor: pointer; font-size: 0.75rem;
    display:flex; align-items:center; justify-content:center; transition: all 0.2s;
}
.db-close:hover { border-color: #05C8C8; color: #05C8C8; }

/* ── TABS ────────────────────────────────────────── */
.db-tabs {
    display: flex;
    border-bottom: 1px solid rgba(5,200,200,0.08);
    background: #030F0F;
    flex-shrink: 0;
    padding: 0 2.5rem;
    gap: 0;
}
.db-tab {
    padding: 0 1.8rem;
    height: 48px;
    font-size: 0.58rem; font-weight: 700; letter-spacing: 1.5px;
    text-transform: uppercase; color: rgba(255,255,255,0.3);
    cursor: pointer; border-bottom: 2px solid transparent;
    white-space: nowrap; transition: all 0.2s;
    display:flex; align-items:center; gap:0.5rem;
    background: none; border-top:none; border-left:none; border-right:none;
    font-family: 'Montserrat', sans-serif;
}
.db-tab i { font-size: 0.65rem; }
.db-tab:hover { color: rgba(255,255,255,0.6); }
.db-tab.active { color: #05C8C8; border-bottom-color: #05C8C8; }

/* ── BODY ────────────────────────────────────────── */
.db-body {
    flex: 1;
    min-height: 0;          /* crítico: permite que flex child scroll */
    overflow-y: auto;
    overflow-x: hidden;
    scrollbar-width: thin;
    scrollbar-color: rgba(5,200,200,0.15) transparent;
}
.db-body::-webkit-scrollbar { width: 4px; }
.db-body::-webkit-scrollbar-thumb { background: rgba(5,200,200,0.15); border-radius: 2px; }

.db-section { display:none; padding: 2.5rem 2.5rem 4rem; max-width: 1400px; margin: 0 auto; width: 100%; }
.db-section.active { display: block; }

/* ── SECTION HEADERS ─────────────────────────────── */
.db-section-title {
    font-size: 1.6rem; font-weight: 900; text-transform: uppercase;
    letter-spacing: -0.5px; color: #fff; margin-bottom: 0.3rem;
    line-height: 1.1;
}
.db-section-title span { color: #05C8C8; }
.db-section-sub {
    font-size: 0.75rem; font-weight: 300; color: rgba(255,255,255,0.35);
    margin-bottom: 2.5rem; line-height: 1.7; max-width: 600px;
}

/* ── FORM ────────────────────────────────────────── */
.db-form { display:flex; flex-direction:column; gap:1rem; max-width: 800px; }
.db-form-row { display:grid; grid-template-columns:1fr 1fr; gap:1rem; }
.db-field { display:flex; flex-direction:column; gap:0.35rem; }
.db-label {
    font-size: 0.5rem; font-weight: 700; letter-spacing: 2px;
    color: rgba(5,200,200,0.6); text-transform: uppercase;
}
.db-input, .db-select, .db-textarea {
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(5,200,200,0.1); border-radius: 2px;
    padding: 0.75rem 0.9rem; color: #fff;
    font-family: 'Montserrat', sans-serif; font-size: 0.78rem;
    outline: none; transition: border-color 0.2s, background 0.2s;
}
.db-input::placeholder, .db-textarea::placeholder { color: rgba(255,255,255,0.15); }
.db-input:focus, .db-select:focus, .db-textarea:focus {
    border-color: rgba(5,200,200,0.4); background: rgba(5,200,200,0.03);
}
.db-select { cursor: pointer; }
.db-select option { background: #071414; color: #fff; }
.db-textarea { min-height: 100px; resize: vertical; }

.db-btn-primary {
    background: #05C8C8; color: #020E0E; border: none;
    padding: 0.85rem 2rem; font-family: 'Montserrat', sans-serif;
    font-size: 0.62rem; font-weight: 800; letter-spacing: 2px;
    text-transform: uppercase; cursor: pointer; border-radius: 50px;
    align-self: flex-start; transition: all 0.25s;
    display: inline-flex; align-items: center; gap: 0.5rem;
    /* GPU-accelerated hover */
    will-change: transform;
}
.db-btn-primary:hover {
    background: #fff;
    box-shadow: 0 0 24px rgba(5,200,200,0.4);
    transform: translateY(-2px);
}
.db-btn-primary:active { transform: scale(0.97); }
.db-btn-primary:disabled { opacity: 0.35; cursor: not-allowed; transform: none; }

/* ── ALERTS ──────────────────────────────────────── */
.db-alert {
    padding: 0.9rem 1.2rem; border-radius: 2px;
    font-size: 0.72rem; font-weight: 500;
    display: flex; align-items: center; gap: 0.6rem; margin-bottom: 1rem;
}
.db-alert.success { background: rgba(5,200,200,0.06); border: 1px solid rgba(5,200,200,0.2); color: #05C8C8; }
.db-alert.error   { background: rgba(230,57,70,0.06); border: 1px solid rgba(230,57,70,0.2); color: #E63946; }

/* ── INTERVIEW STATUS ────────────────────────────── */
.interview-status {
    padding: 1.2rem 1.5rem; background: rgba(5,200,200,0.04);
    border: 1px solid rgba(5,200,200,0.1); margin-top: 1rem;
}
.interview-status-label {
    font-size: 0.5rem; font-weight: 700; letter-spacing: 2px;
    color: rgba(5,200,200,0.5); margin-bottom: 0.3rem; display: block;
}
.interview-status-val { font-size: 0.82rem; font-weight: 600; color: #fff; }
.badge-pending { color: #f59e0b; }
.badge-approved { color: #05C8C8; }

/* ═══════════════════════════════════════════════════
   PRODUCTS — Cards nivel 4
═══════════════════════════════════════════════════ */
.db-filters {
    display: flex; gap: 0.5rem; flex-wrap: wrap; margin-bottom: 2rem;
}
.db-filter-btn {
    font-size: 0.55rem; font-weight: 700; letter-spacing: 1.5px;
    text-transform: uppercase; padding: 0.45rem 1rem; border-radius: 50px;
    border: 1px solid rgba(5,200,200,0.15); background: transparent;
    color: rgba(255,255,255,0.35); cursor: pointer;
    font-family: 'Montserrat', sans-serif; transition: all 0.2s;
}
.db-filter-btn:hover { color: rgba(255,255,255,0.7); border-color: rgba(5,200,200,0.3); }
.db-filter-btn.active { background: rgba(5,200,200,0.08); border-color: #05C8C8; color: #05C8C8; }

.products-grid {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

/* Card horizontal: contenido a la izquierda, precio+CTA a la derecha */
.product-card {
    background: #071414;
    border: 1px solid rgba(5,200,200,0.08);
    border-radius: 8px;
    padding: 1.8rem 2.2rem;
    position: relative;
    overflow: hidden;
    cursor: default;
    transition: background 0.3s, border-color 0.3s;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    flex-wrap: wrap;
}
.product-card:hover { border-color: rgba(5,200,200,0.25); }
.product-card::after {
    content: '';
    position: absolute; inset: 0;
    background: radial-gradient(600px circle at var(--mouse-x, -999px) var(--mouse-y, -999px),
        rgba(5,200,200,0.06), transparent 40%);
    pointer-events: none;
    z-index: 0;
    transition: opacity 0.3s;
    border-radius: 8px;
}
.product-card > * { position: relative; z-index: 1; }

/* Bloque de info (izquierda, crece) */
.product-info-block {
    flex: 1 1 420px;
    min-width: 0;
}

/* Bloque de features (centro) */
.product-features-block {
    flex: 0 1 280px;
    min-width: 220px;
}

/* Bloque precio+CTA (derecha, fijo) */
.product-action-block {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-left: auto;
}

/* Badge reposicionado — encima del título, efecto halo */
.product-badge {
    display: inline-block;
    font-size: 0.48rem; font-weight: 800; letter-spacing: 2px;
    padding: 0.22rem 0.7rem; margin-bottom: 0.6rem;
    text-transform: uppercase;
    border-radius: 3px;
}
.product-badge.popular   { background: #05C8C8; color: #020E0E; }
.product-badge.premium   { background: rgba(201,169,97,0.9); color: #000; }
.product-badge.destacado { background: #E63946; color: #fff; }

.product-cat {
    font-size: 0.48rem; font-weight: 700; letter-spacing: 2.5px;
    color: rgba(5,200,200,0.4); text-transform: uppercase; margin-bottom: 0.4rem;
}
.product-name {
    font-size: 1rem; font-weight: 900; color: #fff;
    line-height: 1.2; margin-bottom: 0.6rem;
    text-transform: uppercase;
    letter-spacing: -0.02em;
}
.product-desc {
    font-size: 0.72rem; font-weight: 300; color: rgba(255,255,255,0.45);
    line-height: 1.65; margin: 0;
}
.product-features {
    list-style: none; margin: 0;
    display: flex; flex-direction: column; gap: 0.4rem;
}
.product-features li {
    font-size: 0.65rem; font-weight: 500; color: rgba(255,255,255,0.55);
    display: flex; align-items: center; gap: 0.6rem;
}
.product-features li::before {
    content: ''; width: 4px; height: 4px; border-radius: 50%;
    background: #05C8C8; flex-shrink: 0; opacity: 0.7;
}

/* Precio + CTA — verticales, alineados a la derecha */
.product-footer {
    display: flex; flex-direction: column; align-items: flex-end;
    gap: 0.8rem;
}
/* Precio: número grande protagonista */
.product-price {
    line-height: 1;
    text-align: right;
}
}
.product-price-num {
    font-size: 2.2rem; font-weight: 900; color: #05C8C8;
    letter-spacing: -2px; display: block; line-height: 1;
}
.product-price-suffix {
    font-size: 0.6rem; font-weight: 400; color: rgba(255,255,255,0.25);
    letter-spacing: 1px;
}
/* Botón: texto aspiracional */
.product-cta {
    background: transparent; color: #05C8C8;
    border: 1px solid rgba(5,200,200,0.3);
    padding: 0.65rem 1.4rem; border-radius: 50px;
    font-family: 'Montserrat', sans-serif; font-size: 0.58rem;
    font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase;
    cursor: pointer; white-space: nowrap;
    transition: all 0.25s; will-change: transform;
    display: inline-flex; align-items: center; gap: 0.4rem;
}
.product-cta:hover {
    background: #05C8C8; color: #020E0E;
    box-shadow: 0 0 20px rgba(5,200,200,0.3);
    transform: translateY(-2px);
}
.product-cta:active { transform: scale(0.97); }
.product-cta:disabled { opacity: 0.35; cursor: not-allowed; transform: none; }
.product-cta.contracted {
    background: rgba(5,200,200,0.08); color: #05C8C8;
    border-color: rgba(5,200,200,0.2); cursor: default;
}

/* ═══════════════════════════════════════════════════
   VIDEOS — Cards con thumbnail + compra dual
═══════════════════════════════════════════════════ */
.videos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 1.2rem;
}
.video-card {
    background: #071414;
    border: 1px solid rgba(5,200,200,0.08);
    border-radius: 8px;
    overflow: hidden;
    transition: background 0.25s, border-color 0.25s; position: relative;
}
.video-card:hover { background: #0A1A1A; border-color: rgba(5,200,200,0.2); }

.video-thumb {
    aspect-ratio: 16/9; position: relative;
    background: #0A1A1A; overflow: hidden;
}
.video-thumb img {
    width: 100%; height: 100%; object-fit: cover;
    opacity: 0.75; transition: opacity 0.3s, transform 0.5s ease;
}
.video-card:hover .video-thumb img { opacity: 0.9; transform: scale(1.03); }
.video-thumb-ph {
    width: 100%; height: 100%;
    display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 0.5rem;
    background: linear-gradient(135deg, #071414, #041010);
}
.video-thumb-ph i { font-size: 2rem; color: rgba(5,200,200,0.12); }
.video-thumb-ph span { font-size: 0.5rem; letter-spacing: 3px; color: rgba(5,200,200,0.2); }

/* Overlay degradado sobre thumbnail — texto siempre legible */
.video-thumb-overlay {
    position: absolute; inset: 0;
    background: linear-gradient(to top, rgba(7,20,20,0.95) 0%, rgba(7,20,20,0.3) 50%, transparent 100%);
}
.video-ep-label {
    position: absolute; top: 0.8rem; left: 0.8rem;
    font-size: 0.5rem; font-weight: 700; letter-spacing: 2px; color: #fff;
    background: rgba(2,14,14,0.8); backdrop-filter: blur(6px);
    padding: 0.25rem 0.6rem; border: 1px solid rgba(5,200,200,0.2);
}
.video-duration {
    position: absolute; bottom: 0.8rem; right: 0.8rem;
    font-size: 0.55rem; font-weight: 600; color: rgba(255,255,255,0.7);
    background: rgba(0,0,0,0.55); padding: 0.2rem 0.5rem;
}

.video-info { padding: 1.2rem 1.4rem 0; }
.video-ep-num {
    font-size: 0.48rem; font-weight: 700; letter-spacing: 2px;
    color: rgba(5,200,200,0.45); margin-bottom: 0.3rem;
}
.video-title {
    font-size: 0.9rem; font-weight: 800; color: #fff;
    line-height: 1.35; margin-bottom: 0.4rem; letter-spacing: -0.02em;
}
.video-desc {
    font-size: 0.68rem; font-weight: 300; color: rgba(255,255,255,0.35);
    line-height: 1.6; margin-bottom: 1rem;
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}

/* Opciones de compra: dos tarjetas lado a lado, HD preseleccionada */
.video-buy-row {
    display: grid; grid-template-columns: 1fr 1fr;
    gap: 0; border-top: 1px solid rgba(5,200,200,0.06);
}
.video-buy-opt {
    background: rgba(5,200,200,0.02);
    border: none; border-right: 1px solid rgba(5,200,200,0.06);
    padding: 1rem 1.2rem; text-align: left; cursor: pointer;
    transition: background 0.2s; font-family: 'Montserrat', sans-serif;
    display: flex; flex-direction: column; gap: 0.1rem;
    position: relative;
}
.video-buy-opt:last-child { border-right: none; }
.video-buy-opt:hover { background: rgba(5,200,200,0.07); }
.video-buy-opt.featured { background: rgba(5,200,200,0.05); }

/* Badge "Más popular" en opción HD — preseleccionada */
.vbo-popular {
    position: absolute; top: 0.5rem; right: 0.5rem;
    font-size: 0.42rem; font-weight: 800; letter-spacing: 1px;
    background: #05C8C8; color: #020E0E; padding: 0.15rem 0.4rem;
}
.vbo-label { font-size: 0.48rem; font-weight: 700; letter-spacing: 2px; color: rgba(255,255,255,0.3); text-transform: uppercase; }
.vbo-quality { font-size: 0.7rem; font-weight: 800; color: #fff; text-transform: uppercase; }
/* Precio único y grande — no rango */
.vbo-price { font-size: 1.3rem; font-weight: 900; color: #05C8C8; letter-spacing: -1px; line-height: 1.1; }
.vbo-size  { font-size: 0.5rem; color: rgba(255,255,255,0.2); margin-top: 0.1rem; }
.vbo-cta   {
    margin-top: 0.6rem; font-size: 0.52rem; font-weight: 700; letter-spacing: 1px;
    color: rgba(5,200,200,0.6); text-transform: uppercase;
    display: inline-flex; align-items: center; gap: 0.3rem;
    transition: color 0.2s;
}
.video-buy-opt:hover .vbo-cta { color: #05C8C8; }

/* ═══════════════════════════════════════════════════
   MIS COMPRAS
═══════════════════════════════════════════════════ */
.orders-list { display:flex; flex-direction:column; gap: 1.5px; }
.order-card {
    background: #071414; padding: 1.3rem 1.8rem;
    display: grid; grid-template-columns: 44px 1fr auto auto;
    gap: 1.4rem; align-items: center; transition: background 0.2s;
}
.order-card:hover { background: #0A1A1A; }
.order-type-icon {
    width: 40px; height: 40px; border-radius: 50%;
    border: 1px solid rgba(5,200,200,0.15);
    background: rgba(5,200,200,0.04);
    display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.order-type-icon i { color: #05C8C8; font-size: 0.85rem; }
.order-name { font-size: 0.82rem; font-weight: 700; color: #fff; margin-bottom: 0.2rem; }
.order-meta { font-size: 0.6rem; color: rgba(255,255,255,0.3); letter-spacing: 0.5px; }
.order-amount { font-size: 1.1rem; font-weight: 900; color: #fff; letter-spacing: -0.5px; white-space: nowrap; text-align: right; }
.order-amount .eur { font-size: 0.6rem; font-weight: 400; color: rgba(255,255,255,0.25); }
.order-status {
    display: block; font-size: 0.48rem; font-weight: 700; letter-spacing: 1.5px;
    padding: 0.18rem 0.6rem; border-radius: 50px; text-transform: uppercase; margin-top: 0.3rem;
}
.order-status.completed { background: rgba(5,200,200,0.08); color: #05C8C8; border: 1px solid rgba(5,200,200,0.2); }
.order-status.pending   { background: rgba(245,158,11,0.08); color: #f59e0b; border: 1px solid rgba(245,158,11,0.2); }
.order-actions { display:flex; gap: 0.5rem; }

/* ═══════════════════════════════════════════════════
   FACTURAS
═══════════════════════════════════════════════════ */
.invoices-list { display:flex; flex-direction:column; gap: 1.5px; }
.invoice-card {
    background: #071414; padding: 1.1rem 1.8rem;
    display: grid; grid-template-columns: 36px 1fr auto auto;
    gap: 1.4rem; align-items: center; transition: background 0.2s;
}
.invoice-card:hover { background: #0A1A1A; }
.invoice-icon-col {
    width: 36px; height: 36px; background: rgba(5,200,200,0.04);
    border: 1px solid rgba(5,200,200,0.1); border-radius: 50%;
    display:flex; align-items:center; justify-content:center;
}
.invoice-icon-col i { color: rgba(5,200,200,0.35); font-size: 0.75rem; }
.invoice-number { font-size: 0.6rem; font-weight: 700; letter-spacing: 1px; color: #05C8C8; font-family: monospace; }
.invoice-desc { font-size: 0.75rem; font-weight: 500; color: rgba(255,255,255,0.65); }
.invoice-date { font-size: 0.58rem; color: rgba(255,255,255,0.2); margin-top: 0.15rem; }
.invoice-amount { font-size: 1rem; font-weight: 900; color: #fff; letter-spacing: -0.5px; white-space: nowrap; }

/* ═══════════════════════════════════════════════════
   EMPTY STATE
═══════════════════════════════════════════════════ */
.empty-state {
    text-align: center; padding: 5rem 2rem; color: rgba(255,255,255,0.18);
}
.empty-state i { font-size: 2.5rem; color: rgba(5,200,200,0.1); display:block; margin-bottom:1rem; }
.empty-state p { font-size: 0.78rem; line-height:1.8; }
.empty-state p span { color: rgba(5,200,200,0.3); }

/* ═══════════════════════════════════════════════════
   SPINNER / LOADING — Skeleton shimmer
═══════════════════════════════════════════════════ */
.db-spinner {
    display: flex; align-items: center; justify-content: center;
    padding: 4rem; gap: 0.8rem;
    font-size: 0.58rem; letter-spacing: 3px; color: rgba(5,200,200,0.3);
}
.db-spinner i { font-size: 1.2rem; color: #05C8C8; animation: dbspin 1s linear infinite; }
@keyframes dbspin { to { transform: rotate(360deg); } }

/* Skeleton para carga inicial */
.skeleton-grid {
    display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 1.5px; background: rgba(5,200,200,0.06);
}
.skeleton-card {
    background: #071414; padding: 2rem; height: 340px;
}
.skeleton-line {
    background: linear-gradient(90deg, #071414 25%, #0c1e1e 50%, #071414 75%);
    background-size: 200% 100%;
    animation: shimmer 1.5s infinite;
    border-radius: 2px; margin-bottom: 0.8rem;
}
@keyframes shimmer {
    0%   { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

/* ═══════════════════════════════════════════════════
   TOAST
═══════════════════════════════════════════════════ */
#dbToast {
    position: fixed; bottom: 2rem; right: 2rem; z-index: 99999;
    min-width: 260px; padding: 1rem 1.4rem; border-radius: 2px;
    font-size: 0.72rem; font-weight: 600;
    display: flex; align-items: center; gap: 0.6rem;
    transform: translateY(80px); opacity: 0;
    transition: all 0.3s cubic-bezier(0.215, 0.610, 0.355, 1);
}
#dbToast.show { transform: translateY(0); opacity: 1; }
#dbToast.success { background: rgba(5,200,200,0.1); border: 1px solid rgba(5,200,200,0.25); color: #05C8C8; }
#dbToast.error   { background: rgba(230,57,70,0.1); border: 1px solid rgba(230,57,70,0.25); color: #E63946; }

/* ── Product cards horizontales: responsive ── */
@media (max-width: 900px) {
    .product-card {
        flex-direction: column;
        align-items: stretch;
        gap: 1.2rem;
    }
    .product-action-block {
        margin-left: 0;
        width: 100%;
        justify-content: flex-end;
    }
    .product-footer {
        align-items: flex-end;
    }
}
