/* =========================================================
   BL SIGNAGE
   site.css
   ========================================================= */


/* =========================================================
   1. VARIABLES
   ========================================================= */

:root {
    --bl-primary: #2563eb;
    --bl-primary-dark: #1d4ed8;
    --bl-navy: #0f172a;
    --bl-navy-light: #1e293b;
    --bl-background: #f6f8fb;
    --bl-surface: #ffffff;
    --bl-border: #e5e7eb;
    --bl-text: #172033;
    --bl-muted: #64748b;
    --bl-danger: #dc2626;
}


/* =========================================================
   2. BASE
   ========================================================= */

html {
    position: relative;
    min-height: 100%;
    font-size: 14px;
}

@media (min-width: 768px) {
    html {
        font-size: 16px;
    }
}

body.bl-body {
    margin: 0;
    min-height: 100vh;
    background: var(--bl-background);
    color: var(--bl-text);
    font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    color: var(--bl-text);
}

h1 {
    letter-spacing: -0.8px;
}

.text-muted {
    color: var(--bl-muted) !important;
}


/* =========================================================
   3. HEADER / NAVIGATION
   ========================================================= */

.bl-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: var(--bl-navy);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

    .bl-header .navbar {
        min-height: 72px;
        padding: 0;
    }

.bl-nav-container {
    padding-left: 32px;
    padding-right: 32px;
}


/* Brand */

.bl-brand {
    display: flex;
    align-items: center;
    gap: 11px;
    margin-right: 45px;
    text-decoration: none;
}

    .bl-brand:hover {
        text-decoration: none;
    }

.bl-brand-mark {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 42px;
    height: 42px;
    padding: 0 9px;
    background: var(--bl-primary);
    color: #ffffff;
    border-radius: 10px;
    font-size: 15px;
    font-weight: 800;
    letter-spacing: 0.4px;
}

.bl-brand-name {
    color: #ffffff;
    font-size: 21px;
    font-weight: 650;
    letter-spacing: -0.3px;
}


/* Main navigation */

.bl-main-nav {
    gap: 6px;
}

    .bl-main-nav .nav-link {
        padding: 10px 14px !important;
        color: #cbd5e1;
        border-radius: 8px;
        font-weight: 500;
        transition: background-color 0.15s ease, color 0.15s ease;
    }

        .bl-main-nav .nav-link:hover {
            color: #ffffff;
            background: rgba(255, 255, 255, 0.08);
        }


/* Account navigation */

.bl-account-nav {
    margin-left: auto;
}

    .bl-account-nav .navbar-nav {
        align-items: center;
        gap: 4px;
    }

    .bl-account-nav .nav-link {
        padding: 9px 12px !important;
        color: #cbd5e1 !important;
        border-radius: 8px;
    }

        .bl-account-nav .nav-link:hover {
            color: #ffffff !important;
            background: rgba(255, 255, 255, 0.08);
        }


/* Mobile navbar */

.bl-header .navbar-toggler {
    border-color: rgba(255, 255, 255, 0.2);
}

    .bl-header .navbar-toggler:focus {
        box-shadow: none;
    }

.bl-header .navbar-toggler-icon {
    filter: invert(1);
}


/* =========================================================
   4. MAIN CONTENT
   ========================================================= */

.bl-main {
    min-height: calc(100vh - 130px);
}

.bl-content {
    width: 100%;
    max-width: 1500px;
    margin: 0 auto;
    padding: 38px 32px 50px;
}


/* =========================================================
   5. GENERELLE CARDS
   ========================================================= */

.card {
    background: var(--bl-surface);
    border: 1px solid var(--bl-border);
    border-radius: 14px;
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.03), 0 5px 18px rgba(15, 23, 42, 0.04);
    transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease;
}

    .card:hover {
        border-color: #d7dce5;
        box-shadow: 0 2px 5px rgba(15, 23, 42, 0.04), 0 10px 28px rgba(15, 23, 42, 0.07);
    }

.card-title {
    font-weight: 650;
    letter-spacing: -0.25px;
}


/* =========================================================
   6. BUTTONS
   ========================================================= */

.btn {
    padding: 8px 15px;
    border-radius: 8px;
    font-weight: 550;
}

.btn-primary {
    background: var(--bl-primary);
    border-color: var(--bl-primary);
}

    .btn-primary:hover,
    .btn-primary:focus {
        background: var(--bl-primary-dark);
        border-color: var(--bl-primary-dark);
    }

.btn-outline-danger {
    color: var(--bl-danger);
    background: #ffffff;
    border-color: #fecaca;
}

    .btn-outline-danger:hover {
        color: #ffffff;
        background: var(--bl-danger);
        border-color: var(--bl-danger);
    }


/* =========================================================
   7. FORMS
   ========================================================= */

.form-control,
.form-select {
    min-height: 42px;
    border-color: #d9dee7;
    border-radius: 8px;
}

    .form-control:focus,
    .form-select:focus,
    .form-check-input:focus {
        border-color: #93b4fa;
        box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.12);
    }


/* =========================================================
   8. TABLES
   ========================================================= */

.table {
    --bs-table-bg: transparent;
}

    .table > :not(caption) > * > * {
        padding-top: 14px;
        padding-bottom: 14px;
        border-bottom-color: var(--bl-border);
    }


/* =========================================================
   9. FOOTER
   ========================================================= */

.bl-footer {
    padding: 20px 32px 26px;
    color: #94a3b8;
    font-size: 13px;
}

    .bl-footer .container-fluid {
        max-width: 1500px;
        margin: 0 auto;
        padding: 0;
    }


/* =========================================================
   10. LOGIN
   ========================================================= */

.bl-login-page {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: calc(100vh - 150px);
    padding: 40px 20px;
}

.bl-login-card {
    width: 100%;
    max-width: 460px;
    padding: 38px;
    background: #ffffff;
    border: 1px solid #e5e9f0;
    border-radius: 16px;
    box-shadow: 0 12px 40px rgba(15, 23, 42, 0.08);
}

.bl-login-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 34px;
}

.bl-login-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    background: var(--bl-primary);
    color: #ffffff;
    border-radius: 10px;
    font-size: 16px;
    font-weight: 700;
}

.bl-login-brand-name {
    color: var(--bl-navy);
    font-size: 20px;
    font-weight: 700;
    line-height: 1.1;
}

.bl-login-brand-subtitle {
    margin-top: 3px;
    color: #94a3b8;
    font-size: 12px;
}

.bl-login-header {
    margin-bottom: 28px;
}

    .bl-login-header h1 {
        margin-bottom: 8px;
        color: var(--bl-navy);
        font-size: 27px;
        font-weight: 700;
    }

    .bl-login-header p {
        margin: 0;
        color: var(--bl-muted);
        font-size: 14px;
    }

.bl-login-card .form-label {
    margin-bottom: 7px;
    color: #334155;
    font-size: 13px;
    font-weight: 600;
}

.bl-login-input {
    height: 48px;
    padding-left: 14px;
    border: 1px solid #dbe1ea;
    border-radius: 8px;
    font-size: 14px;
}

    .bl-login-input:focus {
        border-color: var(--bl-primary);
        box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.12);
    }

.bl-forgot-link {
    color: var(--bl-primary);
    text-decoration: none;
    font-size: 13px;
    font-weight: 500;
}

    .bl-forgot-link:hover {
        text-decoration: underline;
    }

.bl-login-button {
    height: 48px;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 600;
}

.bl-login-footer {
    margin-top: 30px;
    padding-top: 20px;
    color: #94a3b8;
    border-top: 1px solid #edf0f4;
    text-align: center;
    font-size: 12px;
}


/* =========================================================
   11. DASHBOARD
   ========================================================= */

.bl-dashboard {
    width: 100%;
    max-width: 1320px;
}


/* =========================================================
   PAGE HEADER
   ========================================================= */

.bl-page-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 30px;
    margin-bottom: 30px;
}

    .bl-page-header h1 {
        margin: 0 0 6px;
        color: var(--bl-text);
        font-size: 32px;
        font-weight: 700;
        line-height: 1.15;
        letter-spacing: -0.7px;
    }

    .bl-page-header p {
        margin: 0;
        color: var(--bl-muted);
        font-size: 14px;
    }


/* =========================================================
   PLAYER COUNT
   ========================================================= */

.bl-player-count {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 8px 12px;
    background: #ffffff;
    border: 1px solid var(--bl-border);
    border-radius: 9px;
}

.bl-player-count-number {
    color: var(--bl-text);
    font-size: 16px;
    font-weight: 700;
}

.bl-player-count-label {
    color: var(--bl-muted);
    font-size: 12px;
    font-weight: 500;
}


/* =========================================================
   PLAYER GRID
   ========================================================= */

.bl-player-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(420px, 1fr));
    gap: 20px;
}


/* =========================================================
   PLAYER CARD
   ========================================================= */

.bl-player-card {
    display: flex;
    flex-direction: column;
    min-width: 0;
    overflow: hidden;
    background: #ffffff;
    border: 1px solid var(--bl-border);
    border-radius: 14px;
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.03), 0 5px 18px rgba(15, 23, 42, 0.04);
    transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease;
}

    .bl-player-card:hover {
        transform: translateY(-2px);
        border-color: #d5dbe5;
        box-shadow: 0 3px 8px rgba(15, 23, 42, 0.05), 0 12px 30px rgba(15, 23, 42, 0.08);
    }


/* =========================================================
   PLAYER CARD HEADER
   ========================================================= */

.bl-player-card-top {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 22px 22px 20px;
}

.bl-player-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    flex: 0 0 50px;
    background: #eef4ff;
    border-radius: 11px;
}

    .bl-player-icon span {
        position: relative;
        display: block;
        width: 25px;
        height: 17px;
        border: 2px solid var(--bl-primary);
        border-radius: 3px;
    }

        .bl-player-icon span::after {
            content: "";
            position: absolute;
            left: 50%;
            bottom: -6px;
            width: 10px;
            height: 2px;
            background: var(--bl-primary);
            border-radius: 2px;
            transform: translateX(-50%);
        }

.bl-player-info {
    flex: 1;
    min-width: 0;
}

    .bl-player-info h3 {
        margin: 0 0 5px;
        color: var(--bl-text);
        font-size: 18px;
        font-weight: 700;
        line-height: 1.3;
        letter-spacing: -0.2px;
        /*
       Tillad navnet at gå på to linjer i stedet
       for at blive klippet med ...
    */
        white-space: normal;
        overflow-wrap: anywhere;
    }

.bl-player-resolution {
    color: var(--bl-muted);
    font-size: 13px;
}


/* =========================================================
   PLAYER META
   ========================================================= */

.bl-player-meta {
    display: grid;
    grid-template-columns: 1fr 1fr;
    margin: 0 22px;
    background: #f8fafc;
    border: 1px solid #e8edf3;
    border-radius: 9px;
}

.bl-player-meta-item {
    display: flex;
    flex-direction: column;
    gap: 5px;
    padding: 13px 15px;
}

    .bl-player-meta-item + .bl-player-meta-item {
        border-left: 1px solid #e8edf3;
    }

.bl-meta-label {
    color: #94a3b8;
    font-size: 9px;
    font-weight: 800;
    letter-spacing: 0.7px;
    text-transform: uppercase;
}

.bl-meta-value {
    color: var(--bl-text);
    font-size: 13px;
    font-weight: 650;
}


/* =========================================================
   PLAYER ACTIONS
   ========================================================= */

.bl-player-actions {
    display: grid;
    grid-template-columns: 1.2fr 1fr 1fr;
    gap: 9px;
    margin-top: 20px;
    padding: 16px 22px;
    background: #fafbfc;
    border-top: 1px solid var(--bl-border);
}

    .bl-player-actions .btn {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 100%;
        min-height: 42px;
        margin: 0;
        padding: 8px 11px;
        white-space: nowrap;
        font-size: 13px;
    }

.bl-open-player {
    width: 100%;
}

.bl-restart-form {
    width: 100%;
    margin: 0;
}

.bl-restart-button {
    width: 100%;
    min-height: 42px;
    color: var(--bl-danger);
    background: #ffffff;
    border: 1px solid #fecaca;
}

    .bl-restart-button:hover {
        color: #ffffff;
        background: var(--bl-danger);
        border-color: var(--bl-danger);
    }


/* =========================================================
   12. EMPTY STATE
   ========================================================= */

.bl-empty-state {
    padding: 60px 30px;
    background: #ffffff;
    border: 1px dashed #d6dce6;
    border-radius: 14px;
    text-align: center;
}

.bl-empty-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 54px;
    height: 54px;
    margin: 0 auto 18px;
    background: #eef4ff;
    color: var(--bl-primary);
    border-radius: 12px;
    font-size: 25px;
}

.bl-empty-state h3 {
    margin-bottom: 7px;
    font-size: 18px;
    font-weight: 650;
}

.bl-empty-state p {
    margin: 0;
    color: var(--bl-muted);
}


/* =========================================================
   13. PLAYER DETAILS
   ========================================================= */

.bl-player-details {
    width: 100%;
    max-width: 1320px;
}


/* Details header */

.bl-details-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 30px;
    margin-bottom: 26px;
}

.bl-back-link {
    display: inline-block;
    margin-bottom: 12px;
    color: var(--bl-primary);
    text-decoration: none;
    font-size: 13px;
    font-weight: 600;
}

    .bl-back-link:hover {
        color: var(--bl-primary-dark);
        text-decoration: none;
    }

.bl-details-header h1 {
    margin: 0 0 6px;
    font-size: 32px;
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: -0.7px;
}

.bl-details-subtitle {
    color: var(--bl-muted);
    font-size: 14px;
}

.bl-details-header-actions {
    flex-shrink: 0;
}


/* Player information bar */

.bl-player-info-bar {
    display: grid;
    grid-template-columns: minmax(280px, 2fr) 1fr 1fr;
    gap: 0;
    margin-bottom: 38px;
    overflow: hidden;
    background: var(--bl-surface);
    border: 1px solid var(--bl-border);
    border-radius: 12px;
}

.bl-player-info-block {
    display: flex;
    flex-direction: column;
    gap: 5px;
    padding: 17px 20px;
    border-right: 1px solid var(--bl-border);
}

    .bl-player-info-block:last-child {
        border-right: 0;
    }

.bl-info-label {
    color: #94a3b8;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.7px;
}

.bl-info-value {
    color: var(--bl-text);
    font-size: 13px;
    font-weight: 600;
}

.bl-player-guid {
    overflow-wrap: anywhere;
    color: var(--bl-primary);
    font-family: Consolas, "Courier New", monospace;
    font-size: 12px;
}


/* Sections */

.bl-details-section {
    margin-bottom: 46px;
}

.bl-section-heading {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 17px;
}

    .bl-section-heading h2 {
        margin: 0 0 4px;
        font-size: 20px;
        font-weight: 700;
        letter-spacing: -0.3px;
    }

    .bl-section-heading p {
        margin: 0;
        color: var(--bl-muted);
        font-size: 13px;
    }


/* =========================================================
   14. PREVIEW
   ========================================================= */

.bl-preview-card {
    width: 100%;
    max-width: 760px;
}

.bl-preview-shell {
    width: 100%;
    max-width: 720px;
    padding: 12px;
    background: #ffffff;
    border: 1px solid var(--bl-border);
    border-radius: 14px;
    box-shadow: 0 3px 15px rgba(15, 23, 42, 0.05);
}

.bl-preview-frame {
    width: 100%;
    max-width: 720px;
    margin: 0;
    overflow: hidden;
}

.bl-preview-screen {
    position: relative;
    width: 100%;
    max-height: 520px;
    overflow: hidden;
    background: #050505;
    border-radius: 7px;
}

    .bl-preview-screen img,
    .bl-preview-screen video {
        position: absolute;
        inset: 0;
    }

.bl-preview-frame img,
.bl-preview-frame video,
.bl-preview-frame .player-slide {
    width: 100%;
    height: 100%;
    max-width: 100%;
    object-fit: contain;
}

.bl-preview-empty {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 25px;
    color: #94a3b8;
    text-align: center;
}

    .bl-preview-empty strong {
        margin: 7px 0 3px;
        color: #cbd5e1;
        font-size: 14px;
    }

    .bl-preview-empty span {
        font-size: 12px;
    }

.bl-preview-empty-icon {
    font-size: 26px;
}


/* =========================================================
   15. CONTENT LIST
   ========================================================= */

.bl-content-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
    width: 100%;
}

.bl-content-card {
    width: 100%;
    overflow: hidden;
    background: #ffffff;
    border: 1px solid var(--bl-border);
    border-radius: 14px;
    box-shadow: 0 2px 10px rgba(15, 23, 42, 0.035);
}

.bl-content-main {
    display: flex;
    gap: 20px;
    padding: 20px;
}

.bl-content-thumbnail {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 170px;
    height: 112px;
    flex: 0 0 170px;
    overflow: hidden;
    background: #050505;
    border-radius: 8px;
}

    .bl-content-thumbnail img,
    .bl-content-thumbnail video {
        width: 100%;
        height: 100%;
        object-fit: contain;
    }

.bl-video-badge {
    position: absolute;
    left: 10px;
    bottom: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    padding-left: 2px;
    background: rgba(15, 23, 42, 0.82);
    color: #ffffff;
    border-radius: 50%;
    font-size: 10px;
}

.bl-content-information {
    flex: 1;
    min-width: 0;
}

.bl-content-title-row {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 20px;
}

    .bl-content-title-row h3 {
        margin: 0 0 4px;
        font-size: 18px;
        font-weight: 700;
        letter-spacing: -0.2px;
    }

.bl-content-type {
    color: var(--bl-muted);
    font-size: 12px;
}


/* =========================================================
   16. STATUS
   ========================================================= */

.bl-status {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    flex-shrink: 0;
    padding: 5px 9px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 650;
}

    .bl-status span {
        width: 6px;
        height: 6px;
        border-radius: 50%;
    }

.bl-status-active {
    color: #15803d;
    background: #f0fdf4;
    border: 1px solid #bbf7d0;
}

    .bl-status-active span {
        background: #22c55e;
    }

.bl-status-inactive {
    color: #64748b;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
}

    .bl-status-inactive span {
        background: #94a3b8;
    }


/* =========================================================
   17. SCHEDULE SUMMARY
   ========================================================= */

.bl-schedule-summary {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 15px;
    font-size: 12px;
}

.bl-schedule-state {
    color: #475569;
    font-weight: 600;
}

.bl-date-range {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    color: var(--bl-muted);
}


/* =========================================================
   18. WEEKLY SCHEDULE
   ========================================================= */

.bl-week-schedule {
    margin-top: 17px;
    padding: 13px 15px;
    background: #f8fafc;
    border: 1px solid #e8edf3;
    border-radius: 9px;
}

.bl-week-schedule-title {
    margin-bottom: 8px;
    color: #94a3b8;
    font-size: 9px;
    font-weight: 800;
    letter-spacing: 0.8px;
}

.bl-schedule-row {
    display: grid;
    grid-template-columns: 115px minmax(150px, 1fr) auto;
    align-items: center;
    gap: 12px;
    padding: 7px 0;
    border-top: 1px solid #edf1f5;
    font-size: 12px;
}

    .bl-schedule-row:first-of-type {
        border-top: 0;
    }

.bl-schedule-time {
    color: var(--bl-text);
    font-weight: 650;
}

.bl-schedule-days {
    color: var(--bl-muted);
}

.bl-schedule-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 12px;
}

    .bl-schedule-actions details[open] {
        position: static;
    }

        .bl-schedule-actions details[open] .bl-schedule-editor {
            position: absolute;
            left: 15px;
            right: 15px;
            top: 100%;
            z-index: 10;
            max-width: none;
            margin-top: 8px;
        }

.bl-schedule-row:has(.bl-schedule-actions details[open]) {
    position: relative;
    margin-bottom: 205px;
}

    .bl-schedule-actions details {
        position: relative;
    }

    .bl-schedule-actions summary,
    .bl-add-schedule summary {
        color: var(--bl-primary);
        cursor: pointer;
        font-size: 12px;
        font-weight: 600;
        list-style: none;
    }


.bl-link-danger {
    padding: 0;
    color: var(--bl-danger);
    background: none;
    border: 0;
    font-size: 12px;
    font-weight: 500;
}


/* =========================================================
   19. ADD SCHEDULE
   ========================================================= */

.bl-add-schedule {
    margin-top: 18px;
}

    .bl-add-schedule > summary {
        display: inline-flex;
        align-items: center;
        gap: 6px;
        padding: 7px 11px;
        color: var(--bl-primary);
        background: #f8fbff;
        border: 1px solid #dbe5f5;
        border-radius: 7px;
        cursor: pointer;
        font-size: 12px;
        font-weight: 650;
        list-style: none;
        transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease;
    }


        .bl-add-schedule > summary:hover {
            background: #eef5ff;
            border-color: #bfd2f5;
        }

    .bl-add-schedule[open] > summary {
        margin-bottom: 10px;
        color: #64748b;
        background: #f8fafc;
        border-color: #dbe1e8;
    }

        .bl-add-schedule[open] > summary:hover {
            color: var(--bl-text);
            background: #f1f5f9;
            border-color: #cbd5e1;
        }

.bl-add-schedule-close-text {
    display: none;
}

.bl-add-schedule[open] .bl-add-schedule-open-text {
    display: none;
}

.bl-add-schedule[open] .bl-add-schedule-close-text {
    display: inline;
}


/* =========================================================
   20. SCHEDULE EDITOR
   ========================================================= */

.bl-schedule-editor {
    width: 100%;
    max-width: 580px;
    margin-top: 10px;
    padding: 18px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
}

    .bl-schedule-editor::before {
        content: "TIDSPLAN";
        display: block;
        margin-bottom: 13px;
        color: #94a3b8;
        font-size: 10px;
        font-weight: 800;
        letter-spacing: 0.8px;
    }


/* Time fields */

.bl-time-fields {
    display: flex;
    align-items: flex-end;
    gap: 12px;
    margin-bottom: 15px;
}

    .bl-time-fields label {
        display: flex;
        flex-direction: column;
        gap: 5px;
        margin: 0;
        color: #64748b;
        font-size: 11px;
        font-weight: 650;
    }

    .bl-time-fields input {
        width: 130px;
        height: 38px;
        min-height: 38px;
        margin: 0;
        background: #ffffff;
    }


/* Day selector */


.bl-day-selector {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    margin-bottom: 16px;
}

    .bl-day-selector label {
        position: relative;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        min-width: 50px;
        height: 36px;
        margin: 0;
        padding: 0 11px;
        color: #475569;
        background: #ffffff;
        border: 1px solid #dbe1e8;
        border-radius: 8px;
        cursor: pointer;
        font-size: 11px;
        font-weight: 650;
        user-select: none;
        transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease, box-shadow 0.15s ease;
    }

        .bl-day-selector label input[type="checkbox"] {
            position: absolute;
            opacity: 0;
            width: 1px;
            height: 1px;
            pointer-events: none;
        }

        .bl-day-selector label:hover {
            color: var(--bl-primary);
            background: #f1f6ff;
            border-color: #a9c2f4;
        }

        /* Valgt dag */
        .bl-day-selector label:has(input[type="checkbox"]:checked) {
            color: #ffffff;
            background: var(--bl-primary);
            border-color: var(--bl-primary);
            box-shadow: 0 2px 6px rgba(37, 99, 235, 0.20);
        }

            /* Valgt dag + hover */
            .bl-day-selector label:has(input[type="checkbox"]:checked):hover {
                color: #ffffff;
                background: var(--bl-primary-dark);
                border-color: var(--bl-primary-dark);
            }

.bl-schedule-editor .btn-primary {
    min-width: 125px;
}


/* =========================================================
   21. CONTENT ACTION BAR
   ========================================================= */

.bl-content-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    padding: 12px 20px;
    background: #fafbfc;
    border-top: 1px solid var(--bl-border);
}

.bl-order-buttons,
.bl-content-action-buttons {
    display: flex;
    align-items: center;
    gap: 7px;
}

.bl-content-actions form {
    margin: 0;
}


/* =========================================================
   DETAILS EMPTY STATE
   ========================================================= */

.bl-details-section .bl-empty-state {
    width: 100%;
    max-width: none;
    padding: 45px 30px;
    background: #ffffff;
    border: 1px dashed #d6dce5;
    border-radius: 14px;
    text-align: center;
}

    .bl-details-section .bl-empty-state h3 {
        margin: 10px 0 5px;
        font-size: 17px;
    }

    .bl-details-section .bl-empty-state p {
        margin: 0;
        color: var(--bl-muted);
        font-size: 13px;
    }


/* =========================================================
   22. PLAYER GROUPS
   ========================================================= */

.bl-group-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    flex: 0 0 48px;
    background: #eef4ff;
    color: var(--bl-primary);
    border-radius: 10px;
    font-size: 16px;
    font-weight: 800;
}

.bl-group-action-button {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 42px;
    white-space: nowrap;
}

.bl-group-info-bar {
    width: 100%;
}


/* Tilføj player til gruppe */

.bl-group-add-form {
    margin: 20px 22px 16px;
}

    .bl-group-add-form .btn {
        width: 100%;
        min-height: 42px;
    }


/* =========================================================
   23. RESPONSIVE - TABLET / NAVIGATION
   ========================================================= */

@media (max-width: 991.98px) {

    .bl-nav-container {
        padding-left: 18px;
        padding-right: 18px;
    }

    .bl-header .navbar {
        padding: 12px 0;
    }

    .bl-main-nav {
        padding-top: 15px;
    }

    .bl-account-nav {
        margin-left: 0;
        padding-top: 8px;
        padding-bottom: 8px;
    }

    .bl-content {
        padding: 26px 18px 40px;
    }

    .bl-footer {
        padding-left: 18px;
        padding-right: 18px;
    }
}


/* =========================================================
   24. RESPONSIVE - MOBILE
   ========================================================= */

@media (max-width: 767.98px) {

    .bl-page-header {
        align-items: flex-start;
        flex-direction: column;
        gap: 14px;
    }

        .bl-page-header > .d-flex {
            width: 100%;
            align-items: flex-start !important;
            flex-direction: column;
            gap: 14px !important;
        }

    .bl-player-grid {
        grid-template-columns: 1fr;
    }

    .bl-player-actions {
        grid-template-columns: 1fr;
    }

        .bl-player-actions .btn,
        .bl-restart-form,
        .bl-restart-button,
        .bl-group-action-button {
            width: 100%;
        }

    .bl-details-header {
        align-items: flex-start;
        flex-direction: column;
    }

    .bl-details-header-actions {
        display: flex;
        flex-wrap: wrap;
        gap: 8px;
    }

    .bl-player-info-bar {
        grid-template-columns: 1fr;
    }

    .bl-player-info-block {
        border-right: 0;
        border-bottom: 1px solid var(--bl-border);
    }

        .bl-player-info-block:last-child {
            border-bottom: 0;
        }

    .bl-section-heading {
        align-items: flex-start;
        flex-direction: column;
    }

    .bl-content-main {
        flex-direction: column;
    }

    .bl-content-thumbnail {
        width: 100%;
        height: 190px;
        flex-basis: auto;
    }

    .bl-schedule-row {
        grid-template-columns: 1fr;
        gap: 5px;
    }

    .bl-content-actions {
        align-items: flex-start;
        flex-direction: column;
    }

    .bl-content-action-buttons {
        flex-wrap: wrap;
    }
}


/* =========================================================
   25. RESPONSIVE - SCHEDULE EDITOR
   ========================================================= */

@media (max-width: 600px) {

    .bl-time-fields {
        flex-direction: column;
        align-items: stretch;
    }

        .bl-time-fields input {
            width: 100%;
        }

    .bl-day-selector label {
        flex: 1 1 60px;
    }
}