/* Components Bootstrap 5 does not provide for the V2 design system.
   Everything here is prefixed `ss-` and named after the UI concept it
   renders, never after a page — this file is shared across every V2 view.

   Scaffolded empty: the Video Evaluation developer adds to this file as
   the UI is built (filter pills, circular score badges, the black-header
   data table, status dots, the breadcrumb stepper). Nothing page-specific
   belongs here until it's a second consumer — one screen's styles still
   belong in that screen's own view. */

.ss-icon {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
}

.ss-page-shell {
    /* Full-bleed like the rest of the app's pages (legacy .container-fluid) —
       only the padding below defines the gutter, no centered max-width box.
       min-height keeps the background covering the full viewport even when
       the content is shorter, instead of pushing that concern onto the
       shared _LayoutV2.cshtml body (page-specific color, page-specific fix). */
    min-height: 100vh;
    padding: 32px;
    background: #e9e9ea;
}

.ss-page-title {
    font-size: 21px;
    line-height: 29px;
    font-weight: 700;
    color: #000;
}

/* Filter pills — the folder-style tabs above a ss-card */
.ss-tabs {
    display: flex;
    gap: 6px;
    margin: 0;
    padding: 0;
    list-style: none;
    overflow-x: auto;
    border: none;
}

.ss-tab {
    display: inline-block;
    padding: 12px 22px;
    border: none;
    border-radius: 6px 6px 0 0;
    background: #e4ddd3;
    color: #717171;
    font-weight: 600;
    font-size: 14px;
    line-height: 19px;
    cursor: pointer;
}

.ss-tab.active {
    background: #fff;
    color: #000;
}

.ss-card {
    background: #fff;
    border-radius: 5px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, .1);
}

.ss-divider {
    border: none;
    border-top: 1px solid #eee;
    margin: 16px 0 20px;
}

.ss-filter-row {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 14px;
    margin-bottom: 24px;
}

.ss-select {
    width: auto;
    min-width: 150px;
    border: 1px solid #edf1f3;
    border-radius: 10px;
    padding: 12px 40px 12px 14px;
    font-size: 14px;
    box-shadow: 0 1px 2px rgba(228, 229, 231, .24);
}

.ss-btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 24px;
    background: #cbcbcb;
    border: 2px solid #cbcbcb;
    color: #fff;
    border-radius: 30px;
    font-weight: 600;
    font-size: 16px;
    letter-spacing: -.01em;
}

.ss-search-box {
    display: flex;
    align-items: center;
    gap: 16px;
    background: #f8f9fe;
    border: 2px solid #d9d9d9;
    border-radius: 24px;
    padding: 12px 16px;
    flex: 1 1 320px;
    max-width: 420px;
}

.ss-search-box input {
    border: none;
    outline: none;
    background: transparent;
    font-size: 14px;
    flex: 1;
}

.ss-search-box .ss-icon {
    color: #2f3036;
}

.ss-search-box input::placeholder {
    color: #8f9098;
}

/* Black-header data table */
.ss-table thead th {
    background: #1c1c1f;
    color: #fff;
    text-transform: uppercase;
    font-size: 14px;
    letter-spacing: .1em;
    font-weight: 700;
    padding: 14px 16px;
    border: none;
    white-space: nowrap;
    vertical-align: middle;
}

.ss-table thead th .ss-icon {
    width: 12px;
    height: 12px;
    margin-left: 4px;
    opacity: .55;
    vertical-align: -1px;
}

.ss-table td {
    padding: 16px;
    font-size: 14px;
}

.ss-badge {
    background: #000 !important;
    padding: 8px 10px;
    font-size: 10px;
    font-weight: 600;
    white-space: nowrap;
}

/* These trigger a modal / are placeholders, not navigation — <button>, not
   <a>, so they need the same reset a browser applies to inline links. */
.ss-player-name,
.ss-video-link {
    display: inline;
    border: none;
    background: none;
    padding: 0;
    font: inherit;
    color: var(--bs-link-color);
    cursor: pointer;
}

.ss-player-name {
    font-weight: 600;
    text-decoration: none;
}

.ss-player-name:hover {
    text-decoration: underline;
}

.ss-video-link {
    text-decoration: none;
}

.ss-video-link:hover {
    text-decoration: underline;
}

/* Table pager — reused by every ss-table in this view (My Evaluations, Team Evaluations) */
.ss-pagination {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 20px;
    font-size: 14px;
    color: #6c6c6c;
}

.ss-pagination-pages {
    display: flex;
    align-items: center;
    gap: 4px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.ss-pagination-ellipsis {
    padding: 0 4px;
    color: #9a9a9a;
}

.ss-page-btn {
    min-width: 32px;
    height: 32px;
    padding: 0 8px;
    border: 1px solid #e1e1e1;
    border-radius: 6px;
    background: #fff;
    color: #333;
    font-size: 14px;
    cursor: pointer;
}

.ss-page-btn.active {
    background: #1c1c1f;
    border-color: #1c1c1f;
    color: #fff;
    cursor: default;
}

.ss-page-btn:disabled,
.ss-page-btn.disabled {
    opacity: .4;
    cursor: default;
}

.ss-pagination-size {
    display: flex;
    align-items: center;
    gap: 8px;
}

.ss-page-size-select {
    width: auto;
    min-width: 64px;
    padding: 6px 28px 6px 10px;
    font-size: 14px;
}

@media (max-width: 992px) {
    .ss-page-shell {
        padding: 20px;
    }

    .ss-search-box {
        max-width: none;
    }

    .ss-filter-row {
        align-items: stretch;
    }
}

@media (max-width: 576px) {
    .ss-page-shell {
        padding: 12px;
    }

    .ss-card {
        padding: 16px !important;
    }

    .ss-tab {
        padding: 10px 14px;
        font-size: 13px;
    }
}
