﻿/* Please see documentation at https://docs.microsoft.com/aspnet/core/client-side/bundling-and-minification
for details on configuring this project to bundle and minify static web assets. */

/* =========================
   Base template defaults
   ========================= */
a.navbar-brand {
    white-space: normal;
    text-align: center;
    word-break: break-all;
}

.navbar {
    position: relative;
    z-index: 1050;
}

a {
    color: #9ad7c8;
}

    a:hover {
        color: #c6fff0;
    }

.form-control:focus {
    border-color: #0077cc;
    box-shadow: 0 0 0 0.2rem #0077cc;
}

.btn-primary {
    color: #fff;
    background-color: #1b6ec2;
    border-color: #1861ac;
}

.nav-pills .nav-link.active,
.nav-pills .show > .nav-link {
    color: #fff;
    background-color: #1b6ec2;
    border-color: #1861ac;
}

.btn-link.nav-link:focus {
    outline: black auto 1px;
}

html {
    position: relative;
    min-height: 100%;
    font-size: 14px;
}

@media (min-width: 768px) {
    html {
        font-size: 16px;
    }
}

body {
    margin-bottom: 60px;
}

.container {
    max-width: 960px;
}

.pricing-header {
    max-width: 700px;
}

.border-top {
    border-top: 1px solid #e5e5e5;
}

.border-bottom {
    border-bottom: 1px solid #e5e5e5;
}

.box-shadow {
    box-shadow: 0 .25rem .75rem rgba(0, 0, 0, .05);
}

button.accept-policy {
    font-size: 1rem;
    line-height: inherit;
}

.footer {
    position: absolute;
    bottom: 0;
    width: 100%;
    overflow: scroll;
    white-space: nowrap;
    line-height: 60px;
}

/* =========================
   Theme variables + globals
   ========================= */
:root {
    --bg-black: #0b0f10;
    --card-dark: #111617;
    --text-main: rgba(255,255,255,.88);
    --text-dim: rgba(255,255,255,.65);
    --nkb-green: #9ad7c8;
    --nkb-darkgreen: #024b20;
}

body.bg-black {
    background: var(--bg-black);
    color: var(--text-main);
}

.text-muted {
    color: var(--text-dim) !important;
}

.btn,
.btn:focus,
.btn:hover {
    color: #eaeaea;
}

header h1 {
    color: #eaeaea;
}

/* =========================
   Cards / containers
   ========================= */
.nkb-card {
    background: rgba(255,255,255,.04);
    border: 1px solid rgba(255,255,255,.12);
    border-radius: .6rem;
    box-shadow: 0 .25rem .75rem rgba(0,0,0,.25);
}

.session-card {
    background: rgba(255,255,255,.04);
    border: 1px solid rgba(255,255,255,.12);
    color: #eaeaea;
    margin-bottom: .75rem;
    border-radius: .4rem;
}

    .session-card.active {
        background: rgba(32,80,64,.35);
        border-color: rgba(154,215,200,.35);
    }

    .session-card.pending {
        background: rgba(255,193,7,.14);
        border-color: rgba(255,193,7,.25);
    }

    .session-card.ended {
        background: rgba(255,255,255,.08);
        border-color: rgba(255,255,255,.18);
    }

.session-card-link {
    display: block;
    text-decoration: none;
    color: inherit;
}

    .session-card-link:hover .session-card {
        border-color: rgba(154,215,200,.55);
        box-shadow: 0 .25rem .75rem rgba(0,0,0,.35);
    }

.text-nkb-link {
    color: #9ad7c8;
}

.lane-card {
    background: rgba(255,255,255,.03);
    border: 1px solid rgba(255,255,255,.12);
    border-radius: .4rem;
}

/* General card theme */
.card {
    background-color: #595959;
    color: var(--nkb-darkgreen);
    border-color: rgba(255,255,255,.12);
}

.card-header,
.card-body {
    background-color: #595959;
    color: var(--nkb-darkgreen);
}

/* =========================
   Nav link styling
   ========================= */
nav a {
    color: #9ad7c8;
    text-decoration: underline;
}

    nav a:hover {
        color: #c6fff0;
    }

/* =========================
   Rounded corners
   ========================= */
.card,
.alert,
.table,
.form-control,
.form-select,
.btn,
.input-group-text {
    border-radius: 8px !important;
}

.btn-sm {
    border-radius: 6px !important;
}

/* =========================
   Dark form controls
   ========================= */
.form-label {
    color: rgba(255,255,255,.85);
}

.form-control,
.form-select {
    background-color: #2b2f36 !important;
    color: #e9ecef !important;
    border: 1px solid #3a3f47 !important;
}

    .form-control:focus,
    .form-select:focus {
        background-color: #2f343c !important;
        color: #ffffff !important;
        border-color: #0dcaf0 !important;
        box-shadow: 0 0 0 0.15rem rgba(13, 202, 240, 0.25) !important;
    }

    .form-control::placeholder {
        color: #9aa3ad !important;
    }

.form-select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%23cccccc' viewBox='0 0 16 16'%3E%3Cpath d='M1.5 5l6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 0.75rem center;
    background-size: 12px;
    padding-right: 2rem;
}

input[type=number]::-webkit-inner-spin-button,
input[type=number]::-webkit-outer-spin-button {
    filter: invert(1);
}

/* =========================
   Floating labels
   ========================= */
.form-floating > .form-control {
    padding-top: 1.625rem !important;
    padding-bottom: .625rem !important;
    height: calc(3.5rem + 2px) !important;
    line-height: 1.25 !important;
}

.form-floating > label {
    padding: 1rem .75rem !important;
    color: var(--nkb-darkgreen) !important;
}

.form-floating > .form-control::placeholder {
    color: rgba(255,255,255,.45) !important;
}

/* =========================
   Input text visibility
   ========================= */
input.form-control,
textarea.form-control,
.form-floating > .form-control {
    color: #e9ecef !important;
    caret-color: #e9ecef !important;
    -webkit-text-fill-color: #e9ecef !important;
}

    input.form-control:focus,
    textarea.form-control:focus,
    .form-floating > .form-control:focus {
        color: #ffffff !important;
        caret-color: #ffffff !important;
        -webkit-text-fill-color: #ffffff !important;
    }

    input.form-control::selection,
    textarea.form-control::selection {
        background: rgba(13, 202, 240, 0.55);
        color: #0b0f10;
    }

    input.form-control::-moz-selection,
    textarea.form-control::-moz-selection {
        background: rgba(13, 202, 240, 0.55);
        color: #0b0f10;
    }

input:-webkit-autofill,
input:-webkit-autofill:focus,
textarea:-webkit-autofill,
textarea:-webkit-autofill:focus {
    -webkit-text-fill-color: #e9ecef !important;
    box-shadow: 0 0 0px 1000px #2b2f36 inset !important;
}

/* =========================
   Outline buttons tuned for dark
   ========================= */
.btn-primary {
    background-color: var(--nkb-darkgreen);
    border-color: var(--nkb-green);
}

    .btn-primary:hover {
        background-color: #173a30;
        border-color: #173a30;
    }

.btn-outline-primary {
    color: #9ad7c8;
    border-color: rgba(154,215,200,.55);
}

    .btn-outline-primary:hover {
        background: rgba(32,80,64,.45);
        border-color: rgba(154,215,200,.75);
        color: #fff;
    }

.btn-outline-warning {
    color: #ffd36a;
    border-color: rgba(255,193,7,.55);
}

    .btn-outline-warning:hover {
        background: rgba(255,193,7,.18);
        border-color: rgba(255,193,7,.75);
        color: #fff;
    }

.btn-outline-danger {
    color: #ff9aa8;
    border-color: rgba(249,50,127,.55);
}

    .btn-outline-danger:hover {
        background: rgba(249,50,127,.18);
        border-color: rgba(249,50,127,.8);
        color: #fff;
    }

.btn-outline-secondary {
    border-color: rgba(255,255,255,.25);
    color: rgba(255,255,255,.75);
}

    .btn-outline-secondary:hover {
        background: rgba(255,255,255,.08);
    }

.btn-warning {
    background: rgba(249,50,127,.20);
    border-color: rgba(249,50,127,.45);
    color: #fff;
}

/* =========================
   Tables (dark / IMX)
   ========================= */
.table {
    --bs-table-bg: transparent;
    --bs-table-color: var(--nkb-green);
    --bs-table-border-color: rgba(255,255,255,.10);
    --bs-table-striped-bg: rgba(255,255,255,.03);
    --bs-table-striped-color: var(--text-main);
    --bs-table-hover-bg: rgba(32,80,64,.12);
    --bs-table-hover-color: var(--text-main);
    overflow: hidden;
}

    .table thead th {
        color: var(--nkb-green);
        background: rgba(255,255,255,.04);
        border-bottom-color: rgba(255,255,255,.14);
        border-top: none;
    }

    .table td,
    .table th {
        border-top-color: rgba(255,255,255,.08);
    }

.table-striped > tbody > tr:nth-of-type(odd) > * {
    background-color: rgba(255,255,255,.03);
    color: var(--nkb-green);
}

.profile-table,
.imx-matrix-table,
.imx-results-table {
    background-color: #a6a6a6;
    color: var(--nkb-darkgreen);
}

    .profile-table th,
    .profile-table td,
    .imx-matrix-table th,
    .imx-matrix-table td,
    .imx-results-table th,
    .imx-results-table td {
        background-color: #a6a6a6 !important;
        color: var(--nkb-darkgreen) !important;
        border-color: rgba(2, 75, 32, 0.35);
    }

    .imx-matrix-table .sticky-col {
        position: sticky;
        left: 0;
        background: #a6a6a6 !important;
        color: var(--nkb-darkgreen) !important;
        z-index: 2;
        min-width: 180px;
    }

    .imx-matrix-table td,
    .imx-matrix-table th {
        white-space: nowrap;
        vertical-align: middle;
    }

    .imx-matrix-table .cell-best {
        background-color: rgba(25, 135, 84, 0.35) !important;
        color: #012d13 !important;
        font-weight: 700;
        border: 2px solid rgba(25, 135, 84, 0.8);
    }

    .imx-matrix-table .cell-worst {
        background-color: rgba(220, 53, 69, 0.28) !important;
        color: #3b0b0b !important;
        font-weight: 700;
        border: 2px solid rgba(220, 53, 69, 0.7);
    }

    .imx-matrix-table .benchmark-cell.benchmark-met {
        background-color: rgba(25, 135, 84, 0.35) !important;
        color: #012d13 !important;
        font-weight: 700;
        border: 2px solid rgba(25, 135, 84, 0.8) !important;
    }

    .imx-matrix-table .benchmark-cell.benchmark-close-3 {
        background-color: rgba(255, 193, 7, 0.50) !important;
        color: #3b3000 !important;
        font-weight: 700;
        border: 2px solid rgba(255, 193, 7, 0.9) !important;
    }

    .imx-matrix-table .benchmark-cell.benchmark-close-5 {
        background-color: rgba(244, 229, 138, 0.75) !important;
        color: #3b3000 !important;
        font-weight: 700;
        border: 2px solid rgba(214, 192, 74, 0.9) !important;
    }

    .imx-matrix-table .meet-header {
        white-space: normal !important;
        min-width: 140px;
        max-width: 180px;
        line-height: 1.2;
        vertical-align: middle;
    }

    .imx-matrix-table .meet-date {
        display: inline-block;
        font-size: 0.85rem;
        font-weight: 500;
    }

/* =========================
   Dropdown menus
   ========================= */
.dropdown-menu {
    background-color: #1e1e1e;
    border: 1px solid #333;
}

.dropdown-item {
    color: #ddd;
}

    .dropdown-item:hover,
    .dropdown-item:focus {
        background-color: #333;
        color: #fff;
    }

    .dropdown-item.imx-disabled {
        color: #9aa0a6;
        opacity: 1 !important;
        cursor: not-allowed;
    }

        .dropdown-item.imx-disabled:hover,
        .dropdown-item.imx-disabled:focus {
            background-color: transparent;
            color: #9aa0a6;
        }

/* =========================
   Identity pages
   ========================= */
.identity-page h1 {
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
}

.identity-page h2 {
    font-size: 1.15rem;
    font-weight: 500;
    opacity: 0.85;
    margin-bottom: 0.75rem;
}

.identity-page h3 {
    font-size: 1rem;
    font-weight: 500;
    opacity: 0.85;
    margin: 0.5rem 0;
}

.identity-page hr {
    opacity: 0.15;
}

.identity-page .row > div {
    margin-top: 0.75rem;
}

/* =========================
   Navbar
   ========================= */
.navbar-collapse {
    background: rgba(0,0,0,.25);
    padding: .5rem .75rem;
    border-radius: 12px;
    margin-top: .5rem;
}

.navbar-dark .navbar-toggler {
    border-color: rgba(255,255,255,.25);
}

.navbar-dark .navbar-toggler-icon {
    filter: none;
}

/* =========================
   Help page
   ========================= */
.help-page .help-panel-soft {
    background-color: #d7d7d7 !important;
    border: 1px solid #d6d6d6 !important;
    border-radius: 10px !important;
    padding: 20px !important;
}

.help-page .card,
.help-page .card-header,
.help-page .card-body {
    background-color: #d7d7d7 !important;
    color: var(--nkb-darkgreen) !important;
    border-color: rgba(2, 75, 32, 0.22) !important;
}

.help-page .card-header {
    border-bottom-color: rgba(2, 75, 32, 0.18) !important;
}

.help-page h1,
.help-page h2,
.help-page h3,
.help-page h4,
.help-page h5,
.help-page h6,
.help-page p,
.help-page li,
.help-page ol,
.help-page ul,
.help-page strong,
.help-page label,
.help-page span {
    color: var(--nkb-darkgreen) !important;
}

.help-page .text-muted {
    color: rgba(2, 75, 32, 0.72) !important;
}

.help-page .alert-secondary {
    background-color: #d7d7d7 !important;
    color: var(--nkb-darkgreen) !important;
    border-color: rgba(2, 75, 32, 0.18) !important;
}

.help-page .help-card,
.help-page .help-card .card-header,
.help-page .help-card .card-body {
    background-color: #d9d9d9 !important;
    color: var(--nkb-darkgreen) !important;
    border-color: rgba(2, 75, 32, 0.18) !important;
}

    .help-page .help-card .card-header {
        border-bottom: 1px solid rgba(2, 75, 32, 0.18) !important;
    }

    .help-page .help-card h1,
    .help-page .help-card h2,
    .help-page .help-card h3,
    .help-page .help-card h4,
    .help-page .help-card h5,
    .help-page .help-card h6,
    .help-page .help-card p,
    .help-page .help-card li,
    .help-page .help-card ol,
    .help-page .help-card ul,
    .help-page .help-card strong {
        color: var(--nkb-darkgreen) !important;
    }

    .help-page .help-card .alert-secondary {
        background-color: #dddddd !important;
        color: var(--nkb-darkgreen) !important;
        border-color: rgba(2, 75, 32, 0.15) !important;
    }

/* =========================
   Assistant lane logger
   ========================= */
.assistant-lane-shell {
    width: calc(100vw - 24px);
    max-width: none;
    margin-left: calc(50% - 50vw + 12px);
    margin-right: calc(50% - 50vw + 12px);
}

.lane-title-row {
    max-width: 1100px;
    margin: 0 auto 10px auto;
}

.lane-sticky-bar {
    position: sticky;
    top: 8px;
    z-index: 1030;
    padding-bottom: 10px;
}

.lane-sticky-inner {
    max-width: 1100px;
    margin: 0 auto;
    padding: 10px 12px 12px 12px;
    background: rgba(11, 15, 16, 0.96);
    border: 1px solid rgba(255,255,255,.08);
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(0,0,0,.35);
    backdrop-filter: blur(4px);
}

.lane-toolbar-row {
    display: flex;
    justify-content: flex-end;
    margin-bottom: 10px;
}

.lane-toolbar-form {
    display: flex;
    gap: 8px;
    align-items: end;
    flex-wrap: wrap;
}

.lane-toolbar-select {
    min-width: 120px;
}

.lane-status-alert {
    padding: 10px 12px !important;
}

.compact-info-alert {
    padding: 8px 10px !important;
    font-size: 0.9rem;
}

.session-banner-grid.compact {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 10px 14px;
    align-items: center;
}

.session-banner-item {
    min-width: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    font-size: 0.98rem;
}

.lane-grid {
    display: grid;
    width: min(100%, var(--lane-grid-max));
    margin: 0 auto;
    gap: 12px;
    align-items: start;
    justify-content: center;
    grid-template-columns: repeat(var(--lane-count), minmax(var(--lane-col-min), 1fr));
}

.lane-column {
    min-width: 0;
    width: 100%;
}

    .lane-column .card-body {
        min-height: 120px;
    }

.compact-swimmer-card {
    box-shadow: 0 2px 10px rgba(0,0,0,.25);
    padding: 0.7rem !important;
}

    .compact-swimmer-card.near-finish {
        border: 2px solid #ffc107 !important;
        box-shadow: 0 0 0 1px rgba(255,193,7,.25), 0 2px 10px rgba(0,0,0,.25);
    }

.swimmer-top-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 10px;
    align-items: start;
}

.swimmer-main {
    min-width: 0;
}

.swimmer-name {
    font-size: 1rem;
    line-height: 1.15;
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    align-items: center;
}

.swimmer-order {
    color: var(--nkb-green);
    font-weight: 700;
}

.swimmer-fullname {
    min-width: 0;
}

.swimmer-action {
    display: flex;
    align-items: flex-start;
}

.swimmer-split-line {
    display: flex;
    flex-wrap: wrap;
    gap: 4px 8px;
    line-height: 1.2;
}

.log-lap-btn {
    min-width: 104px !important;
    min-height: 48px !important;
}

    .log-lap-btn.cooldown-active {
        opacity: 0.95;
        cursor: not-allowed;
        background-color: #0d6efd !important;
        border-color: #0a58ca !important;
        color: #ffffff !important;
    }

    .log-lap-btn.first-lap-active {
        opacity: 0.95;
        cursor: not-allowed;
        background-color: #d1e7dd !important;
        border-color: #badbcc !important;
        color: #0f5132 !important;
    }

.identifier-row {
    margin-top: 10px;
    max-width: 260px;
}

.identifier-inline {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 8px;
    align-items: center;
}

.identifier-input,
.identifier-input:focus {
    background-color: #2b2b2b;
    color: #fff;
    border-color: #666;
}

.identifier-save-btn {
    white-space: nowrap;
}

.lane-page-header,
.assistant-top-wrap {
    max-width: 1100px;
    margin: 0 auto;
    width: 100%;
}

/* =========================
   Mobile
   ========================= */
@media (max-width: 991px) {
    .navbar-collapse {
        background: rgba(20,20,20,0.95);
        border: 1px solid rgba(255,255,255,0.15);
        border-radius: 16px;
        padding: 12px;
        margin-top: 10px;
        box-shadow: 0 6px 20px rgba(0,0,0,0.5);
    }

    .navbar-nav .nav-link {
        padding: 10px 12px;
        border-radius: 8px;
    }

        .navbar-nav .nav-link:hover {
            background: rgba(255,255,255,0.08);
        }

    .dropdown-menu {
        border-radius: 10px;
    }
}

@media (max-width: 1200px) {
    .lane-grid {
        gap: 10px;
    }

    .compact-swimmer-card {
        padding: 0.6rem !important;
    }

    .swimmer-name {
        font-size: 0.95rem;
    }

    .log-lap-btn {
        min-width: 92px !important;
        min-height: 42px !important;
        font-size: 0.85rem;
        padding: 0.35rem 0.5rem;
    }

    .identifier-input {
        font-size: 0.85rem;
    }
}

@media (max-width: 932px) and (orientation: landscape) {
    .session-banner-grid.compact {
        grid-template-columns: repeat(4, minmax(0, 1fr));
        gap: 8px 10px;
    }

    .lane-grid {
        width: 100%;
        max-width: none;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 8px;
    }

    .compact-swimmer-card {
        padding: 0.55rem !important;
    }

    .swimmer-name {
        font-size: 0.9rem;
    }

    .swimmer-split-line {
        font-size: 0.82rem;
    }

    .log-lap-btn {
        min-width: 84px !important;
        min-height: 40px !important;
        font-size: 0.8rem;
    }

    .identifier-row {
        max-width: 220px;
    }
}

@media (max-width: 640px) {
    .assistant-lane-shell {
        width: calc(100vw - 12px);
        margin-left: calc(50% - 50vw + 6px);
        margin-right: calc(50% - 50vw + 6px);
    }

    .lane-title-row {
        margin-bottom: 8px;
    }

        .lane-title-row h2 {
            font-size: 1.05rem;
            line-height: 1.15;
        }

    .lane-sticky-bar {
        top: 6px;
    }

    .lane-sticky-inner {
        padding: 8px;
        border-radius: 10px;
    }

    .lane-toolbar-row {
        justify-content: flex-start;
        margin-bottom: 8px;
    }

    .lane-toolbar-form {
        gap: 6px;
    }

    .lane-toolbar-select {
        min-width: 105px;
    }

    .lane-status-alert {
        padding: 8px !important;
    }

    .session-banner-grid.compact {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 6px 10px;
    }

    .session-banner-item {
        font-size: 0.9rem;
    }

    .lane-grid {
        width: 100%;
        max-width: none;
        grid-template-columns: 1fr;
        gap: 8px;
    }

    .session-card {
        padding: 0.6rem !important;
        margin-bottom: 0.6rem !important;
    }

    .compact-swimmer-card {
        padding: 0.55rem !important;
    }

    .swimmer-top-row {
        grid-template-columns: minmax(0, 1fr) 96px;
        gap: 8px;
    }

    .swimmer-name {
        font-size: 0.95rem;
        margin-bottom: 0.2rem;
    }

    .swimmer-split-line {
        font-size: 0.82rem;
        gap: 3px 6px;
    }

    .log-lap-btn {
        width: 96px;
        min-width: 96px !important;
        min-height: 44px !important;
        font-size: 0.82rem;
        padding: 0.3rem 0.45rem;
    }

    .identifier-row {
        max-width: 200px;
    }

    .identifier-inline {
        grid-template-columns: minmax(0, 1fr);
        gap: 6px;
    }

    .identifier-save-btn {
        width: 100%;
    }

    .table td,
    .table th {
        padding: 0.35rem 0.4rem;
        font-size: 0.9rem;
    }

    td:first-child {
        width: 40px;
        text-align: center;
    }

    form.d-flex {
        flex-direction: column;
        gap: 0.4rem !important;
    }

    select.form-select {
        font-size: 0.85rem;
        padding: 0.3rem 0.4rem;
    }

    input.form-control {
        font-size: 0.85rem;
        padding: 0.3rem 0.4rem;
    }

    .btn-success {
        width: 100%;
        padding: 0.35rem;
        font-size: 0.85rem;
    }

    .d-flex.flex-column > * {
        margin-bottom: 0.5rem;
    }

    .assign-form {
        flex-direction: column;
        align-items: stretch;
    }
    /* Make Log Lap button taller on mobile */
    @@media (max-width: 768px) {
        .log-lap-btn {
            min-height: 80px; /* increase from ~60px */
            font-size: 1.25rem; /* slightly larger text */
            border-radius: 14px;
        }
    }
    /* =========================
   Reporting - Active Lap Exceptions
   ========================= */
    .reporting-exceptions-page {
        max-width: 100%;
    }

    .reporting-breadcrumb {
        font-size: 0.95rem;
    }

    .reporting-title {
        color: #f3f5f4;
        font-size: 2.4rem;
        font-weight: 700;
    }

    .reporting-subtitle {
        font-size: 1rem;
    }

    .reporting-panel {
        background: rgba(255,255,255,.05);
        border: 1px solid rgba(255,255,255,.10);
        border-radius: 16px;
        box-shadow: 0 .25rem .75rem rgba(0,0,0,.20);
    }

    .reporting-panel-body {
        padding: 1.25rem;
    }

    .reporting-stat-card {
        background: rgba(255,255,255,.05);
        border: 1px solid rgba(255,255,255,.10);
        border-radius: 14px;
        padding: 1rem 1.1rem;
        min-height: 110px;
        box-shadow: 0 .25rem .75rem rgba(0,0,0,.18);
    }

    .reporting-stat-label {
        color: rgba(255,255,255,.70);
        font-size: .9rem;
        margin-bottom: .45rem;
    }

    .reporting-stat-value {
        color: #ffffff;
        font-size: 2rem;
        font-weight: 700;
    }

    .reporting-stat-value-sm {
        font-size: 1.15rem;
        line-height: 1.35;
    }

    .reporting-reload-btn {
        color: #fff;
        background-color: var(--nkb-darkgreen);
        border: 1px solid rgba(154,215,200,.35);
    }

        .reporting-reload-btn:hover {
            background-color: #03612a;
            border-color: rgba(154,215,200,.50);
            color: #fff;
        }

    .reporting-table-panel {
        background: rgba(255,255,255,.04);
        border: 1px solid rgba(255,255,255,.10);
        border-radius: 16px;
        overflow: hidden;
        box-shadow: 0 .25rem .75rem rgba(0,0,0,.20);
    }

    .reporting-table-title {
        background: var(--nkb-darkgreen);
        color: #ffffff;
        font-size: 1.2rem;
        font-weight: 700;
        padding: 1rem 1.25rem;
        border-bottom: 1px solid rgba(255,255,255,.08);
    }

    .reporting-table-wrap {
    }

    .reporting-exception-table {
        background-color: #ffffff !important;
        color: var(--nkb-darkgreen) !important;
        border-collapse: separate;
        border-spacing: 0;
        margin-bottom: 0;
    }

        .reporting-exception-table thead th {
            background-color: var(--nkb-darkgreen) !important;
            color: #ffffff !important;
            border-color: rgba(255,255,255,.16) !important;
            white-space: nowrap;
            vertical-align: middle;
            padding: .95rem .9rem;
        }

        .reporting-exception-table td {
            background-color: #ffffff !important;
            color: var(--nkb-darkgreen) !important;
            border-color: rgba(2, 75, 32, 0.18) !important;
            white-space: nowrap;
            vertical-align: middle;
            padding: .9rem .9rem;
        }

        .reporting-exception-table tbody tr:nth-child(even) td {
            background-color: #f5f8f6 !important;
        }

        .reporting-exception-table tbody tr:hover td {
            background-color: #eef6f0 !important;
        }

    .reporting-row-hard td {
        box-shadow: inset 0 4px 0 rgba(220,53,69,.65);
    }

    .reporting-row-variance td {
        box-shadow: inset 0 4px 0 rgba(255,193,7,.75);
    }

    .reporting-delta-slower {
        color: #9c1c1c;
        font-weight: 700;
    }

    .reporting-delta-faster {
        color: #0a6d3d;
        font-weight: 700;
    }

    .reporting-cell-wide {
        min-width: 220px;
    }

    .reporting-cell-reasons {
        min-width: 240px;
        white-space: normal !important;
    }

    .reporting-badge-danger {
        background-color: #b42318 !important;
        color: #fff !important;
    }

    .reporting-badge-warning {
        background-color: #f4d35e !important;
        color: #3b3000 !important;
    }

    .reporting-exception-table .btn-outline-light {
        color: var(--nkb-darkgreen);
        border-color: rgba(2, 75, 32, 0.35);
        background-color: #ffffff;
    }

        .reporting-exception-table .btn-outline-light:hover {
            background-color: var(--nkb-darkgreen);
            border-color: var(--nkb-darkgreen);
            color: #ffffff;
        }

    .reporting-exceptions-page {
        max-width: 1880px;
        margin: 0 auto;
    }

    .reporting-table-wrap {
        overflow-x: auto;
        padding-bottom: .25rem;
    }

    .reporting-exception-table {
        min-width: 1850px;
        background-color: #ffffff !important;
        color: var(--nkb-darkgreen) !important;
        border-collapse: separate;
        border-spacing: 0;
        margin-bottom: 0;
    }

        .reporting-exception-table thead th {
            background-color: var(--nkb-darkgreen) !important;
            color: #ffffff !important;
            border-color: rgba(255,255,255,.16) !important;
            white-space: nowrap;
            vertical-align: middle;
            padding: .95rem .9rem;
        }

        .reporting-exception-table td {
            background-color: #ffffff !important;
            color: var(--nkb-darkgreen) !important;
            border-color: rgba(2, 75, 32, 0.18) !important;
            white-space: nowrap;
            vertical-align: top;
            padding: .9rem .9rem;
        }

        .reporting-exception-table tbody tr:nth-child(even) td {
            background-color: #f5f8f6 !important;
        }

        .reporting-exception-table tbody tr:hover td {
            background-color: #eef6f0 !important;
        }

    .reporting-row-hard td {
        box-shadow: inset 0 4px 0 rgba(220,53,69,.65);
    }

    .reporting-row-variance td {
        box-shadow: inset 0 4px 0 rgba(255,193,7,.75);
    }

    .reporting-delta-slower {
        color: #9c1c1c;
        font-weight: 700;
    }

    .reporting-delta-faster {
        color: #0a6d3d;
        font-weight: 700;
    }

    .reporting-cell-wide {
        min-width: 220px;
    }

    .reporting-cell-reasons {
        min-width: 240px;
        white-space: normal !important;
    }

    .reporting-cell-notes {
        min-width: 260px;
        white-space: normal !important;
    }

    .reporting-notes-text {
        white-space: pre-wrap;
        color: var(--nkb-darkgreen);
        opacity: .9;
    }

    .reporting-badge-danger {
        background-color: #b42318 !important;
        color: #fff !important;
    }

    .reporting-badge-warning {
        background-color: #f4d35e !important;
        color: #3b3000 !important;
    }

    .reporting-badge-ack {
        background-color: var(--nkb-darkgreen) !important;
        color: #fff !important;
    }

    .reporting-ack-btn {
        color: #fff;
        background-color: var(--nkb-darkgreen);
        border: 1px solid rgba(154,215,200,.35);
        min-width: 120px;
    }

        .reporting-ack-btn:hover {
            background-color: #03612a;
            border-color: rgba(154,215,200,.50);
            color: #fff;
        }
    .reporting-exceptions-page {
        max-width: 2200px;
        margin: 0 auto;
    }

    .reporting-table-wrap {
        overflow-x: auto;
        padding-bottom: .25rem;
    }

    .reporting-exception-table {
        min-width: 2050px;
        background-color: #ffffff !important;
        color: var(--nkb-darkgreen) !important;
        border-collapse: separate;
        border-spacing: 0;
        margin-bottom: 0;
    }

        .reporting-exception-table thead th {
            background-color: var(--nkb-darkgreen) !important;
            color: #ffffff !important;
            border-color: rgba(255,255,255,.16) !important;
            white-space: nowrap;
            vertical-align: middle;
            padding: .95rem .9rem;
        }

        .reporting-exception-table td {
            background-color: #ffffff !important;
            color: var(--nkb-darkgreen) !important;
            border-color: rgba(2, 75, 32, 0.18) !important;
            white-space: nowrap;
            vertical-align: top;
            padding: .9rem .9rem;
        }

        .reporting-exception-table tbody tr:nth-child(even) td {
            background-color: #f5f8f6 !important;
        }

        .reporting-exception-table tbody tr:hover td {
            background-color: #eef6f0 !important;
        }

    .reporting-row-hard td {
        box-shadow: inset 0 4px 0 rgba(220,53,69,.65);
    }

    .reporting-row-variance td {
        box-shadow: inset 0 4px 0 rgba(255,193,7,.75);
    }

    .reporting-delta-slower {
        color: #9c1c1c;
        font-weight: 700;
    }

    .reporting-delta-faster {
        color: #0a6d3d;
        font-weight: 700;
    }

    .reporting-cell-wide {
        min-width: 220px;
    }

    .reporting-cell-reasons {
        min-width: 240px;
        white-space: normal !important;
    }

    .reporting-cell-notes {
        min-width: 270px;
        white-space: normal !important;
    }

    .reporting-notes-text {
        white-space: pre-wrap;
        color: var(--nkb-darkgreen);
        opacity: .9;
    }

    .reporting-badge-danger {
        background-color: #b42318 !important;
        color: #fff !important;
    }

    .reporting-badge-warning {
        background-color: #f4d35e !important;
        color: #3b3000 !important;
    }

    .reporting-badge-ack {
        background-color: var(--nkb-darkgreen) !important;
        color: #fff !important;
    }

    .reporting-ack-btn {
        color: #fff;
        background-color: var(--nkb-darkgreen);
        border: 1px solid rgba(154,215,200,.35);
        min-width: 120px;
    }

        .reporting-ack-btn:hover {
            background-color: #03612a;
            border-color: rgba(154,215,200,.50);
            color: #fff;
        }

    .reporting-toggle-wrap {
        padding-top: 2rem;
    }

        .reporting-toggle-wrap .form-check-label {
            color: rgba(255,255,255,.88);
        }
}

/* Desktop assign form */
.assign-form {
    align-items: center;
}
