/* _content/SportProgressHub.Web/Components/Layout/LoginLayout.razor.rz.scp.css */
/* ═══════════════════════════════════════════════════════════════════
   LoginLayout — Fullscreen centered layout (no sidebar)
   ═══════════════════════════════════════════════════════════════════ */
.login-layout[b-nycnaq7eaw] {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #0B1F3A 0%, #132F5E 50%, #0D2847 100%);
    padding: 20px;
}
/* _content/SportProgressHub.Web/Components/Layout/MainLayout.razor.rz.scp.css */
/* ═══════════════════════════════════════════════════════════════════
   MainLayout — App Shell
   Mobile-first · Sidebar off-screen → slides in
   Desktop     · Sidebar fixed left
   ═══════════════════════════════════════════════════════════════════ */

.shell[b-wkz715ffqx] {
    display: flex;
    min-height: 100vh;
}

/* ── Sidebar ───────────────────────────────────────────────────── */
.shell__sidebar[b-wkz715ffqx] {
    position: fixed;
    inset-block: 0;
    left: 0;
    width: var(--sidebar-width);
    background: var(--sidebar-bg);
    z-index: 100;
    transform: translateX(-100%);
    transition: transform var(--t-base);
    display: flex;
    flex-direction: column;
    overflow-y: auto;
    overflow-x: hidden;
}

.shell--open .shell__sidebar[b-wkz715ffqx] {
    transform: translateX(0);
}

/* ── Overlay ───────────────────────────────────────────────────── */
.shell__overlay[b-wkz715ffqx] {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);
    z-index: 99;
    backdrop-filter: blur(2px);
    animation: fadeIn 0.2s ease-out;
}

/* ── Main area ─────────────────────────────────────────────────── */
.shell__main[b-wkz715ffqx] {
    flex: 1;
    display: flex;
    flex-direction: column;
    min-width: 0;
    width: 100%;
}

/* ── Topbar ────────────────────────────────────────────────────── */
.topbar[b-wkz715ffqx] {
    position: sticky;
    top: 0;
    z-index: 50;
    height: var(--topbar-h);
    background: var(--bg-topbar);
    border-bottom: 1px solid var(--neutral-200);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 var(--s4);
    gap: var(--s3);
}

.topbar__left[b-wkz715ffqx] {
    display: flex;
    align-items: center;
    gap: var(--s3);
}

.topbar__burger[b-wkz715ffqx] {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border: none;
    background: none;
    color: var(--neutral-600);
    font-size: 1.35rem;
    cursor: pointer;
    border-radius: var(--r-md);
    transition: background var(--t-fast);
    flex-shrink: 0;
}

.topbar__burger:hover[b-wkz715ffqx] {
    background: var(--neutral-100);
}

/* ── Brand in topbar ── */
.topbar__brand[b-wkz715ffqx] {
    display: flex;
    align-items: center;
    gap: var(--s2);
}

.topbar__logo[b-wkz715ffqx] {
    width: 32px;
    height: 32px;
    border-radius: var(--r-md);
    background: linear-gradient(135deg, var(--accent-500), var(--sidebar-bg));
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 0.9rem;
    flex-shrink: 0;
}

.topbar__app-name[b-wkz715ffqx] {
    font-size: var(--fs-base);
    color: var(--neutral-800);
    font-weight: 400;
    letter-spacing: -0.01em;
}

.topbar__app-name strong[b-wkz715ffqx] {
    font-weight: 700;
}

/* ── Topbar right icons ── */
.topbar__right[b-wkz715ffqx] {
    display: flex;
    align-items: center;
    gap: var(--s2);
}

.topbar__search-box[b-wkz715ffqx] {
    display: none;
    /* hidden on mobile */
    align-items: center;
    gap: var(--s2);
    background: var(--neutral-100);
    border-radius: var(--r-full);
    padding: 6px 14px;
    border: 1px solid transparent;
    transition: all var(--t-fast);
}

.topbar__search-box:focus-within[b-wkz715ffqx] {
    background: var(--neutral-0);
    border-color: var(--primary-500);
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.08);
}

.topbar__search-box i[b-wkz715ffqx] {
    color: var(--neutral-400);
    font-size: var(--fs-sm);
}

.topbar__search-box input[b-wkz715ffqx] {
    border: none;
    background: transparent;
    outline: none;
    font-size: var(--fs-sm);
    font-family: var(--ff);
    color: var(--neutral-800);
    width: 150px;
}

.topbar__search-box input[b-wkz715ffqx]::placeholder {
    color: var(--neutral-400);
}

.topbar__icon-btn[b-wkz715ffqx] {
    position: relative;
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    background: none;
    color: var(--neutral-500);
    font-size: 1.15rem;
    cursor: pointer;
    border-radius: var(--r-md);
    transition: all var(--t-fast);
}

.topbar__icon-btn:hover[b-wkz715ffqx] {
    background: var(--neutral-100);
    color: var(--neutral-800);
}

.topbar__notif-dot[b-wkz715ffqx] {
    position: absolute;
    top: 8px;
    right: 8px;
    width: 8px;
    height: 8px;
    background: var(--danger-500);
    border-radius: 50%;
    border: 2px solid var(--bg-topbar);
}

.topbar__avatar[b-wkz715ffqx] {
    width: 34px;
    height: 34px;
    border-radius: var(--r-full);
    background: linear-gradient(135deg, var(--primary-500), var(--accent-500));
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 0.9rem;
    cursor: pointer;
    flex-shrink: 0;
}

/* ── Avatar button ───────────────────────────────────────────── */
.topbar__avatar[b-wkz715ffqx] {
    border: none;
    padding: 0;
    transition: opacity 0.15s;
}

.topbar__avatar:hover[b-wkz715ffqx] {
    opacity: 0.82;
}

/* ── Dropdown container ──────────────────────────────────────── */
.topbar__dropdown[b-wkz715ffqx] {
    position: relative;
}

/* Full-screen invisible overlay — closes dropdown on outside click.
   z-index MUST be below .topbar (50): the topbar creates its own stacking
   context, so the panel (z-index:61 inside topbar) is globally at level 50.
   Overlay at 49 → loses to topbar → panel items are clickable.
   Overlay at ≥50 → wins over topbar stacking context → blocks all panel clicks. */
.topbar__dropdown-overlay[b-wkz715ffqx] {
    position: fixed;
    inset: 0;
    z-index: 49;
}

/* Dropdown panel */
.topbar__dropdown-panel[b-wkz715ffqx] {
    position: absolute;
    top: calc(34px + 10px);
    right: 0;
    z-index: 61;
    min-width: 224px;
    background: var(--sidebar-bg);
    border: 1px solid var(--sidebar-border);
    border-radius: 10px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
    overflow: hidden;
    animation: dropdownIn-b-wkz715ffqx 0.15s ease-out;
}

@keyframes dropdownIn-b-wkz715ffqx {
    from { opacity: 0; transform: translateY(-6px); }
    to   { opacity: 1; transform: translateY(0);    }
}

/* Header: nombre + email */
.topbar__dropdown-header[b-wkz715ffqx] {
    padding: 14px 16px 12px;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.topbar__dropdown-name[b-wkz715ffqx] {
    font-size: 0.875rem;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.95);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.topbar__dropdown-email[b-wkz715ffqx] {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.45);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Separator */
.topbar__dropdown-separator[b-wkz715ffqx] {
    height: 1px;
    background: rgba(255, 255, 255, 0.08);
    margin: 0;
}

/* Menu items (shared for <a> and <button>) */
.topbar__dropdown-item[b-wkz715ffqx] {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    padding: 10px 16px;
    background: none;
    border: none;
    font-size: 0.875rem;
    font-family: var(--ff);
    color: rgba(255, 255, 255, 0.75);
    text-decoration: none;
    cursor: pointer;
    transition: background 0.12s, color 0.12s;
    text-align: left;
}

.topbar__dropdown-item:hover[b-wkz715ffqx] {
    background: rgba(255, 255, 255, 0.07);
    color: rgba(255, 255, 255, 0.95);
}

.topbar__dropdown-item i[b-wkz715ffqx] {
    font-size: 0.95rem;
    flex-shrink: 0;
}

/* Danger variant — cerrar sesión */
.topbar__dropdown-item--danger[b-wkz715ffqx] {
    color: #FCA5A5;
}

.topbar__dropdown-item--danger:hover[b-wkz715ffqx] {
    background: rgba(239, 68, 68, 0.12);
    color: #F87171;
}

/* Logout form wrapper — full width */
.topbar__dropdown-panel form[b-wkz715ffqx] {
    display: block;
}

/* ── Main content ──────────────────────────────────────────────── */
.shell__content[b-wkz715ffqx] {
    flex: 1;
    padding: var(--s5);
}

/* ══════════════════════════════════════════════════════════════════
   TABLET (≥768)
   ══════════════════════════════════════════════════════════════════ */
@media (min-width: 768px) {
    .topbar__search-box[b-wkz715ffqx] {
        display: flex;
    }

    .shell__content[b-wkz715ffqx] {
        padding: var(--s8);
    }

    .topbar[b-wkz715ffqx] {
        padding: 0 var(--s6);
    }
}

/* ══════════════════════════════════════════════════════════════════
   DESKTOP (≥1024)
   ══════════════════════════════════════════════════════════════════ */
@media (min-width: 1024px) {
    .shell__sidebar[b-wkz715ffqx] {
        transform: translateX(0);
    }

    .shell__overlay[b-wkz715ffqx] {
        display: none;
    }

    .shell__main[b-wkz715ffqx] {
        margin-left: var(--sidebar-width);
    }

    .topbar__burger[b-wkz715ffqx] {
        display: none;
    }

    .shell__content[b-wkz715ffqx] {
        padding: var(--s8) var(--s10);
    }

    .topbar[b-wkz715ffqx] {
        padding: 0 var(--s8);
    }
}

@media (min-width: 1400px) {
    .shell__content[b-wkz715ffqx] {
        padding: var(--s8) var(--s12);
        max-width: 1340px;
    }
}
/* _content/SportProgressHub.Web/Components/Layout/NavMenu.razor.rz.scp.css */
/* ═══════════════════════════════════════════════════════════════════
   NavMenu — Sidebar Styles  ·  SaaS Premium
   #0B1F3A dark sports theme · Pixel-perfect alignment
   ═══════════════════════════════════════════════════════════════════ */

/* ── Brand ─────────────────────────────────────────────────────── */
.sb-brand[b-yiqt51d0c3] {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 20px 20px 18px;
    border-bottom: 1px solid var(--sidebar-border);
    flex-shrink: 0;
}

.sb-brand__logo[b-yiqt51d0c3] {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: linear-gradient(135deg, var(--accent-500), var(--accent-400));
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.05rem;
    flex-shrink: 0;
    box-shadow: 0 4px 14px rgba(29, 158, 117, 0.28);
}

.sb-brand__text[b-yiqt51d0c3] {
    display: flex;
    align-items: baseline;
    gap: 0;
    line-height: 1;
}

.sb-brand__name[b-yiqt51d0c3] {
    font-size: 0.9375rem;
    /* 15px */
    font-weight: 700;
    color: rgba(255, 255, 255, 0.95);
    letter-spacing: -0.01em;
}

.sb-brand__accent[b-yiqt51d0c3] {
    font-size: 0.9375rem;
    font-weight: 700;
    color: var(--accent-400);
    letter-spacing: -0.01em;
}

/* ── Nav container ─────────────────────────────────────────────── */
.sb-nav[b-yiqt51d0c3] {
    flex: 1;
    padding: 16px 0 8px;
    overflow-y: auto;
    overflow-x: hidden;
}

/* ── Section ───────────────────────────────────────────────────── */
.sb-section[b-yiqt51d0c3] {
    margin-bottom: 24px;
    /* 24px entre secciones */
}

.sb-section:last-child[b-yiqt51d0c3] {
    margin-bottom: 8px;
}

.sb-section__label[b-yiqt51d0c3] {
    display: block;
    font-size: 0.625rem;
    /* 10px */
    font-weight: 700;
    color: var(--sidebar-text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.03em;
    padding: 0 20px;
    margin-bottom: 8px;
    line-height: 1;
    user-select: none;
}

/* ═══════════════════════════════════════════════════════════════════
   NAV LINK — Pixel-perfect alignment
   Layout: [3px bar] [20px icon] [flex text] [auto badge]
   ═══════════════════════════════════════════════════════════════════ */
.sb-link[b-yiqt51d0c3] {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 16px;
    margin: 0 8px;
    border-radius: 8px;
    color: var(--sidebar-text);
    text-decoration: none;
    font-size: 0.8125rem;
    /* 13px */
    font-weight: 500;
    position: relative;
    cursor: pointer;
    transition: background 200ms ease,
        color 200ms ease;
}

/* 12px vertical gap entre items */
.sb-link+.sb-link[b-yiqt51d0c3] {
    margin-top: 4px;
}

/* ── Hover ── */
.sb-link:hover[b-yiqt51d0c3] {
    background: var(--sidebar-hover-bg);
    color: var(--sidebar-text-hover);
}

/* ── Active state ── */
.sb-link.active[b-yiqt51d0c3] {
    background: var(--sidebar-active-bg);
    color: var(--sidebar-text-active);
}

/* Barra lateral de acento */
.sb-link.active[b-yiqt51d0c3]::before {
    content: '';
    position: absolute;
    left: 0;
    top: 8px;
    bottom: 8px;
    width: 3px;
    background: var(--sidebar-accent);
    border-radius: 0 3px 3px 0;
    transition: opacity 200ms ease;
}

/* ── Icon — 16px fijo ── */
.sb-link__icon[b-yiqt51d0c3] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 16px;
    height: 16px;
    font-size: 1rem;
    flex-shrink: 0;
    opacity: 0.55;
    transition: opacity 200ms ease;
}

.sb-link:hover .sb-link__icon[b-yiqt51d0c3] {
    opacity: 0.85;
}

.sb-link.active .sb-link__icon[b-yiqt51d0c3] {
    opacity: 1;
}

/* ── Text — flex: 1 para empujar badge a la derecha ── */
.sb-link__text[b-yiqt51d0c3] {
    flex: 1;
    line-height: 1;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* ── Badge/contador — alineado a la derecha via flex ── */
.sb-link__badge[b-yiqt51d0c3] {
    font-size: 0.6875rem;
    /* 11px */
    font-weight: 600;
    padding: 2px 8px;
    border-radius: 100px;
    background: rgba(29, 158, 117, 0.12);
    color: var(--sidebar-accent);
    line-height: 1.2;
    flex-shrink: 0;
    margin-left: auto;
}

/* ═══════════════════════════════════════════════════════════════════
   FOOTER — Plan usage
   ═══════════════════════════════════════════════════════════════════ */
.sb-footer[b-yiqt51d0c3] {
    padding: 16px 20px;
    border-top: 1px solid var(--sidebar-border);
    flex-shrink: 0;
}

.sb-plan[b-yiqt51d0c3] {
    background: rgba(255, 255, 255, 0.035);
    border-radius: 8px;
    padding: 12px 14px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.sb-plan__row[b-yiqt51d0c3] {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.sb-plan__name[b-yiqt51d0c3] {
    font-size: 0.75rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.70);
}

.sb-plan__tag[b-yiqt51d0c3] {
    font-size: 0.5625rem;
    /* 9px */
    font-weight: 700;
    padding: 2px 7px;
    border-radius: 100px;
    background: rgba(29, 158, 117, 0.12);
    color: var(--sidebar-accent);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    line-height: 1.3;
}

.sb-plan__bar-track[b-yiqt51d0c3] {
    height: 3px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 100px;
    overflow: hidden;
}

.sb-plan__bar-fill[b-yiqt51d0c3] {
    height: 100%;
    background: linear-gradient(90deg, var(--accent-500), var(--accent-400));
    border-radius: 100px;
    transition: width 1s ease;
}

.sb-plan__usage[b-yiqt51d0c3] {
    font-size: 0.625rem;
    /* 10px */
    color: rgba(255, 255, 255, 0.30);
    text-align: right;
    line-height: 1;
}
/* _content/SportProgressHub.Web/Components/Shared/DiagramPreview.razor.rz.scp.css */
.diagram-preview[b-qh260sonh6] {
    width: 100%;
    max-height: 160px;
    aspect-ratio: 100 / 65;
    border-radius: 5px;
    overflow: hidden;
    box-shadow: 0 1px 4px rgba(0,0,0,0.2);
}

.diagram-preview__svg[b-qh260sonh6] {
    width: 100%;
    height: 100%;
    display: block;
}

.diagram-preview--empty[b-qh260sonh6] {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    background: var(--neutral-100, #F3F4F6);
    border: 1px dashed var(--neutral-300, #D1D5DB);
    font-size: 0.72rem;
    color: var(--neutral-400, #9CA3AF);
}

.diagram-preview--empty i[b-qh260sonh6] {
    font-size: 1.1rem;
}
/* _content/SportProgressHub.Web/Components/Shared/ExercisePitchEditor.razor.rz.scp.css */
/* ═══════════════════════════════════════════════════════════
   ExercisePitchEditor — Scoped styles
   ═══════════════════════════════════════════════════════════ */

/* ── Toolbar ─────────────────────────────────────────────── */

.exped-toolbar[b-9jivgx5djz] {
    display: flex;
    align-items: center;
    gap: 4px;
    flex-wrap: wrap;
    padding: 6px 8px;
    background: var(--neutral-100, #F3F4F6);
    border: 1px solid var(--neutral-200, #E5E7EB);
    border-radius: 8px 8px 0 0;
    border-bottom: none;
}

.exped-tool[b-9jivgx5djz] {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
    padding: 5px 10px;
    border: 1.5px solid transparent;
    border-radius: 6px;
    background: transparent;
    cursor: pointer;
    font-size: 0.68rem;
    font-family: inherit;
    color: var(--neutral-600, #4B5563);
    line-height: 1;
    transition: background 0.1s, border-color 0.1s, color 0.1s;
    position: relative;
}

.exped-tool i[b-9jivgx5djz] {
    font-size: 1rem;
}

.exped-tool:hover[b-9jivgx5djz] {
    background: var(--neutral-200, #E5E7EB);
    color: var(--neutral-900, #111827);
}

.exped-tool--active[b-9jivgx5djz] {
    background: var(--primary-100, #DBEAFE);
    border-color: var(--primary-400, #60A5FA);
    color: var(--primary-700, #1D4ED8);
}

.exped-tool--active:hover[b-9jivgx5djz] {
    background: var(--primary-200, #BFDBFE);
}

.exped-tool--danger[b-9jivgx5djz] {
    color: #DC2626;
}

.exped-tool--danger:hover[b-9jivgx5djz] {
    background: #FEE2E2;
    color: #B91C1C;
}

.exped-tool__hint[b-9jivgx5djz] {
    position: absolute;
    bottom: -18px;
    left: 50%;
    transform: translateX(-50%);
    white-space: nowrap;
    font-size: 0.62rem;
    background: #facc15;
    color: #78350f;
    padding: 1px 5px;
    border-radius: 3px;
    pointer-events: none;
    z-index: 10;
}

.exped-toolbar__sep[b-9jivgx5djz] {
    width: 1px;
    height: 28px;
    background: var(--neutral-300, #D1D5DB);
    margin: 0 2px;
    flex-shrink: 0;
}

/* ── SVG wrapper ─────────────────────────────────────────── */

.exped-wrapper[b-9jivgx5djz] {
    width: 100%;
    aspect-ratio: 100 / 65;
    border: 1px solid var(--neutral-200, #E5E7EB);
    border-radius: 0 0 8px 8px;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.18);
}

.exped-svg[b-9jivgx5djz] {
    width: 100%;
    height: 100%;
    display: block;
    touch-action: none;
}

/* ── Cursor overrides per mode ───────────────────────────── */

.exped-cursor--place  .exped-svg[b-9jivgx5djz] { cursor: copy; }
.exped-cursor--move   .exped-svg[b-9jivgx5djz] { cursor: grab; }
.exped-cursor--delete .exped-svg[b-9jivgx5djz] { cursor: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16'%3E%3Ctext y='14' font-size='14'%3E🚫%3C/text%3E%3C/svg%3E") 8 8, not-allowed; }
.exped-cursor--arrow  .exped-svg[b-9jivgx5djz] { cursor: crosshair; }
.exped-cursor--crosshair .exped-svg[b-9jivgx5djz] { cursor: crosshair; }

/* ── Player token ────────────────────────────────────────── */

.ex-player__circle[b-9jivgx5djz] {
    fill: var(--primary-500, #3B82F6);
    stroke: #fff;
    stroke-width: 0.5;
}

.ex-player__num[b-9jivgx5djz] {
    fill: #fff;
    font-size: 2.4px;
    font-family: var(--ff, Inter, sans-serif);
    font-weight: 700;
    pointer-events: none;
}

.ex-element[b-9jivgx5djz] {
    cursor: inherit;
    user-select: none;
}

/* Dragging state */
.ex-element--dragging .ex-player__circle[b-9jivgx5djz],
.ex-element--dragging .ex-cone[b-9jivgx5djz],
.ex-element--dragging .ex-ball[b-9jivgx5djz] {
    filter: drop-shadow(0 0 2px rgba(0, 0, 0, 0.7));
}

/* Delete mode hover highlight */
.exped-cursor--delete .ex-element:hover .ex-player__circle[b-9jivgx5djz] {
    stroke: #DC2626;
    stroke-width: 1;
}
.exped-cursor--delete .ex-element:hover .ex-cone[b-9jivgx5djz] {
    stroke: #DC2626;
    stroke-width: 0.8;
}
.exped-cursor--delete .ex-element:hover .ex-ball[b-9jivgx5djz] {
    stroke: #DC2626;
    stroke-width: 0.8;
}
.exped-cursor--delete .ex-arrow:hover .ex-arrow__line[b-9jivgx5djz] {
    stroke: #DC2626;
}

/* ── Cone ────────────────────────────────────────────────── */

.ex-cone[b-9jivgx5djz] {
    fill: #f97316;
    stroke: #fff;
    stroke-width: 0.4;
    cursor: inherit;
}

/* ── Ball ────────────────────────────────────────────────── */

.ex-ball[b-9jivgx5djz] {
    fill: #1a1a1a;
    stroke: #fff;
    stroke-width: 0.4;
    cursor: inherit;
}

/* ── Arrow ───────────────────────────────────────────────── */

.ex-arrow[b-9jivgx5djz] {
    cursor: inherit;
}

.ex-arrow__line[b-9jivgx5djz] {
    stroke: #facc15;
    stroke-width: 0.8;
    fill: none;
}

/* ── Hint bar ────────────────────────────────────────────── */

.exped-hint[b-9jivgx5djz] {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-top: 6px;
    padding: 5px 10px;
    background: #EFF6FF;
    border: 1px solid #BFDBFE;
    border-radius: 6px;
    font-size: 0.76rem;
    color: #1E40AF;
}
/* _content/SportProgressHub.Web/Components/Shared/PitchEditor.razor.rz.scp.css */
/* ═══════════════════════════════════════════════════════════
   PitchEditor — Scoped styles
   ═══════════════════════════════════════════════════════════ */

.pitch-wrapper[b-djtg3ojf9a] {
    width: 100%;
    max-height: 420px;
    aspect-ratio: 100 / 65;
    border-radius: 6px;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.25);
}

.pitch-svg[b-djtg3ojf9a] {
    width: 100%;
    height: 100%;
    display: block;
    touch-action: none; /* prevent scroll interference on mobile */
}

/* ── Tokens ── */

.player-token[b-djtg3ojf9a] {
    cursor: grab;
    user-select: none;
}

.player-token circle[b-djtg3ojf9a] {
    fill: var(--primary-500, #3B82F6);
    stroke: #fff;
    stroke-width: 0.6;
    transition: filter 0.1s;
}

.player-token text[b-djtg3ojf9a] {
    fill: #fff;
    font-size: 2.5px;
    font-family: var(--ff, Inter, sans-serif);
    font-weight: 700;
    pointer-events: none;
}

/* Suplente: ámbar */
.player-token--sub circle[b-djtg3ojf9a] {
    fill: #f59e0b;
}

/* Leyenda */
.pitch-legend[b-djtg3ojf9a] {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 8px;
    font-size: 0.78rem;
    color: var(--neutral-600, #4B5563);
}

.pitch-legend__dot[b-djtg3ojf9a] {
    display: inline-block;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    border: 1.5px solid #fff;
    box-shadow: 0 0 0 1px rgba(0,0,0,0.15);
    flex-shrink: 0;
}

.pitch-legend__dot--starter[b-djtg3ojf9a] { background: var(--primary-500, #3B82F6); }
.pitch-legend__dot--sub[b-djtg3ojf9a]     { background: #f59e0b; }

.pitch-legend__label[b-djtg3ojf9a] {
    margin-right: 6px;
}

/* Overflow hint */
.pitch-overflow-hint[b-djtg3ojf9a] {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-top: 8px;
    padding: 6px 10px;
    background: #FEF3C7;
    border: 1px solid #FCD34D;
    border-radius: 6px;
    font-size: 0.78rem;
    color: #92400E;
}

/* Dragging */
.player-token--dragging[b-djtg3ojf9a] {
    cursor: grabbing;
}

.player-token--dragging circle[b-djtg3ojf9a] {
    filter: drop-shadow(0 0 2px rgba(0, 0, 0, 0.6));
    transform: scale(1.18);
    transform-origin: center;
    transform-box: fill-box;
}

/* ── Tooltip ─────────────────────────────────────────────────────── */

.player-token__tip[b-djtg3ojf9a] {
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.15s ease;
}

.player-token:hover .player-token__tip[b-djtg3ojf9a] {
    opacity: 1;
}

/* Hide tooltip while dragging to avoid visual noise */
.player-token--dragging .player-token__tip[b-djtg3ojf9a] {
    opacity: 0 !important;
}

.player-token__tip rect[b-djtg3ojf9a] {
    fill: rgba(15, 15, 15, 0.88);
    filter: drop-shadow(0 1px 3px rgba(0, 0, 0, 0.5));
}

.player-token__tip .tip-name[b-djtg3ojf9a] {
    fill: #ffffff;
    font-size: 1.6px;
    font-family: var(--ff, Inter, sans-serif);
    font-weight: 600;
    pointer-events: none;
}

.player-token__tip .tip-detail[b-djtg3ojf9a] {
    fill: rgba(255, 255, 255, 0.72);
    font-size: 1.3px;
    font-family: var(--ff, Inter, sans-serif);
    font-weight: 400;
    pointer-events: none;
}

/* ── Modal de sustitución ────────────────────────────────────────── */

.pitch-modal-overlay[b-djtg3ojf9a] {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.48);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 100;
}

.pitch-modal[b-djtg3ojf9a] {
    background: var(--neutral-0, #fff);
    border-radius: 12px;
    padding: var(--s5, 20px);
    width: min(340px, 90vw);
    max-height: 80vh;
    overflow-y: auto;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.28);
}

.pitch-modal__title[b-djtg3ojf9a] {
    font-size: 1rem;
    font-weight: 700;
    color: var(--neutral-900, #111827);
    margin: 0 0 var(--s1, 4px);
}

.pitch-modal__sub[b-djtg3ojf9a] {
    font-size: 0.82rem;
    color: var(--neutral-500, #6B7280);
    margin: 0 0 var(--s3, 12px);
}

.pitch-modal__list[b-djtg3ojf9a] {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: var(--s2, 8px);
}

.pitch-modal__item[b-djtg3ojf9a] {
    display: flex;
    align-items: center;
    gap: var(--s2, 8px);
    width: 100%;
    padding: var(--s2, 8px) var(--s3, 12px);
    border: 1.5px solid var(--neutral-200, #E5E7EB);
    border-radius: 8px;
    background: var(--neutral-0, #fff);
    cursor: pointer;
    text-align: left;
    transition: background 0.12s, border-color 0.12s;
    font: inherit;
}

.pitch-modal__item:hover[b-djtg3ojf9a] {
    background: var(--primary-50, #EFF6FF);
    border-color: var(--primary-300, #93C5FD);
}

.pitch-modal__jersey[b-djtg3ojf9a] {
    font-size: 0.78rem;
    font-weight: 700;
    color: var(--neutral-400, #9CA3AF);
    min-width: 22px;
}

.pitch-modal__name[b-djtg3ojf9a] {
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--neutral-900, #111827);
    flex: 1;
}

.pitch-modal__pos[b-djtg3ojf9a] {
    font-size: 0.75rem;
    color: var(--neutral-400, #9CA3AF);
    background: var(--neutral-100, #F3F4F6);
    padding: 1px 6px;
    border-radius: 4px;
}
