﻿body.app-body,
body {
    min-width: 1280px;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
    background: #eef2f6;
    color: #1f2933;
}

/* Fixed workspace width: keep dense office screens readable when the browser narrows. */
html,
body.app-body,
body {
    min-width: 1280px;
}

.navbar.navbar-kassa,
.kassa-main-container,
.app-footer {
    min-width: 1280px;
}

.navbar.navbar-kassa > .container-fluid > .hidden-lg,
.kassa-main-container > div > .hidden-lg,
.app-footer .container-fluid > .hidden-lg {
    display: none !important;
}

.navbar.navbar-kassa > .container-fluid > .col-lg-12,
.navbar.navbar-kassa > .container-fluid > .col-md-10,
.kassa-main-container > div > #maincontainer,
.app-footer .container-fluid > .col-lg-12,
.app-footer .container-fluid > .col-md-10 {
    float: none;
    width: 100%;
    max-width: none;
}

#maincontainer,
.work-page,
.dashboard,
.admin-page,
.directory-page,
.finance-moves-page,
.monthly-summary-page {
    min-width: 0;
}

.work-table-card,
.table_wrap,
.admin-table-card,
.directory-table-card,
.analyse-table-card,
.drop-stat-table-card,
.drop-trans-table-card,
.drop-history-table-card,
.bks-table-card {
    overflow-x: auto;
    overflow-y: visible;
}

.navbar.navbar-kassa {
    min-height: 68px;
    background: #ffffff;
    border: 0;
    border-bottom: 1px solid #dfe6ef;
    box-shadow: 0 10px 30px rgba(18, 32, 53, 0.08);
}

.navbar.navbar-kassa > .container-fluid > .col-lg-12,
.navbar.navbar-kassa > .container-fluid > .col-md-10 {
    min-height: 68px;
}

.navbar-header {
    min-width: 230px;
}

.navbar-brand.app-brand {
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: 68px;
    padding: 0 18px 0 0;
    color: #111827;
    text-decoration: none;
}

.app-brand-name {
    display: block;
    color: #111827;
    font-size: 19px;
    font-weight: 800;
    line-height: 1;
    letter-spacing: 1.8px;
}

.app-brand-name:hover,
.app-brand-name:focus {
    color: #111827;
    text-decoration: none;
}

.app-brand-user {
    display: flex;
    align-items: center;
    margin-top: 7px;
    color: #64748b;
    font-size: 11px;
    font-weight: 700;
    line-height: 1;
    letter-spacing: 0.7px;
    text-transform: uppercase;
}

.app-brand-user b {
    color: #334155;
    font-weight: 800;
}

.app-task-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 20px;
    height: 20px;
    margin-left: 8px;
    padding: 0 6px;
    border-radius: 999px;
    color: #ffffff;
    background: #d92d20;
    box-shadow: 0 0 0 2px #ffffff;
    font-size: 12px;
    font-weight: 800;
    line-height: 1;
    vertical-align: top;
}

.app-task-badge:hover,
.app-task-badge:focus {
    color: #ffffff;
    text-decoration: none;
    background: #b42318;
}

.navbar-collapse {
    border-top: 0;
    box-shadow: none;
}

.navbar.navbar-kassa .navbar-toggle {
    display: none;
}

.navbar.navbar-kassa .navbar-header {
    float: left;
}

.navbar.navbar-kassa .navbar-collapse.collapse {
    display: block !important;
    height: auto !important;
    overflow: visible !important;
}

.navbar.navbar-kassa .navbar-nav {
    float: left;
    margin: 0;
}

.navbar.navbar-kassa .navbar-nav > li {
    float: left;
}

.navbar.navbar-kassa .navbar-nav .dropdown-menu {
    position: absolute;
    float: left;
}

.app-nav > li > a {
    display: flex;
    align-items: center;
    gap: 6px;
    height: 68px !important;
    padding: 0 13px !important;
    color: #253244;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.55px;
    line-height: 1;
    text-transform: uppercase;
}

.app-nav > li > a:hover,
.app-nav > li > a:focus,
.app-nav > .open > a,
.app-nav > .open > a:hover,
.app-nav > .open > a:focus {
    color: #0f4f7a;
    background: #eef6fd;
}

.app-nav .glyphicon {
    top: 0;
    margin-right: 0;
    font-size: 14px;
}

.app-nav .caret {
    margin-left: 2px;
    border-top-color: currentColor;
}

.app-nav .dropdown-menu {
    min-width: 210px;
    padding: 8px;
    border: 1px solid #dfe6ef;
    border-radius: 8px;
    box-shadow: 0 18px 42px rgba(18, 32, 53, 0.14);
}

.app-nav .dropdown-menu > li > a {
    padding: 10px 12px;
    color: #253244;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 750;
    letter-spacing: 0.45px;
    text-transform: uppercase;
}

.app-nav .dropdown-menu > li > a:hover,
.app-nav .dropdown-menu > li > a:focus {
    color: #0f4f7a;
    background: #eef6fd;
}

.navbar-toggle {
    margin-top: 16px;
    margin-right: 0;
    background: #f3f7fb;
    border: 1px solid #d8e3ee;
    border-radius: 8px;
    box-shadow: none;
}

.navbar-toggle .icon-bar {
    background: #253244;
}

.kassa-main-container {
    padding-top: 88px;
    padding-bottom: 48px;
    background: #eef2f6;
}

#maincontainer {
    float: none;
}

.dashboard {
    max-width: 1180px;
    margin: 0 auto;
}

.dashboard-message {
    margin-bottom: 18px;
    padding: 16px 18px;
    color: #2f3a49;
    background: #fff8dc;
    border: 1px solid #eddc97;
    border-radius: 8px;
}

.dashboard-message h3 {
    margin-top: 0;
    font-size: 20px;
}

.dashboard-hero {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 18px;
    padding: 30px;
    color: #ffffff;
    background: #17466e;
    border-radius: 8px;
    box-shadow: 0 18px 42px rgba(23, 70, 110, 0.22);
}

.dashboard-kicker {
    margin: 0 0 8px;
    color: rgba(255, 255, 255, 0.72);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0;
    text-transform: uppercase;
}

.dashboard-hero h1 {
    margin: 0 0 8px;
    font-size: 34px;
    line-height: 1.2;
}

.dashboard-hero p {
    max-width: 720px;
    margin: 0;
    color: rgba(255, 255, 255, 0.84);
}

.dashboard-user {
    min-width: 190px;
    padding: 12px 14px;
    text-align: right;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
}

.dashboard-user span,
.dashboard-user strong {
    display: block;
}

.dashboard-user span {
    color: rgba(255, 255, 255, 0.68);
    font-size: 12px;
}

.dashboard-user strong {
    margin-top: 4px;
    color: #ffffff;
}

.dashboard-metrics {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 12px;
    margin-bottom: 18px;
}

.dashboard-metric,
.dashboard-card,
.dashboard-section {
    background: #ffffff;
    border: 1px solid #dfe6ef;
    border-radius: 8px;
    box-shadow: 0 10px 24px rgba(18, 32, 53, 0.06);
}

.dashboard-metric {
    display: block;
    padding: 16px;
    color: #253244;
    text-decoration: none;
}

.dashboard-metric:hover,
.dashboard-card:hover,
.dashboard-compact-grid a:hover {
    color: #17466e;
    text-decoration: none;
    border-color: #adc3d8;
}

.dashboard-metric span {
    display: block;
    color: #667386;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0;
    text-transform: uppercase;
}

.dashboard-metric strong {
    display: block;
    margin-top: 8px;
    font-size: 28px;
    line-height: 1;
}

.dashboard-metric-alert {
    background: #fff5f1;
    border-color: #e9b9a7;
}

.dashboard-section {
    margin-bottom: 18px;
    padding: 20px;
}

.dashboard-section-title {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 16px;
}

.dashboard-section-title h2 {
    margin: 0;
    font-size: 20px;
}

.dashboard-section-title span {
    color: #667386;
    font-size: 13px;
}

.dashboard-action-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.dashboard-action-row .glyphicon,
.dashboard .btn .glyphicon {
    margin-right: 6px;
}

.dashboard-stat-section {
    padding-bottom: 18px;
}

.dashboard-stat-filters {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 10px;
    margin-bottom: 14px;
}

.dashboard-stat-filters-period {
    grid-template-columns: minmax(118px, 0.9fr) repeat(4, minmax(104px, 1fr)) minmax(186px, 1.35fr);
}

.dashboard-stat-filters label {
    min-width: 0;
    margin-bottom: 0;
}

.dashboard-stat-filters > input[type="hidden"] {
    display: none;
}

.dashboard-stat-filters span {
    display: block;
    margin-bottom: 7px;
    color: #667386;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
}

.dashboard-stat-filters .form-control {
    height: 36px;
    border-color: #d8e3ee;
    border-radius: 8px;
    box-shadow: none;
}

.dashboard-period-field {
    position: relative;
}

.dashboard-period-input {
    cursor: pointer;
    font-size: 12px;
    background: #ffffff;
    color: #26384d;
}

.dashboard-stat-summary {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    overflow: hidden;
    margin-bottom: 14px;
    background: #ffffff;
    border: 1px solid #dfe6ef;
    border-radius: 8px;
}

.dashboard-match-box,
.dashboard-average-box {
    padding-top: 10px;
    padding-bottom: 10px;
}

.dashboard-match-box span,
.dashboard-average-box span {
    font-size: 10px;
}

.dashboard-match-box strong,
.dashboard-average-box strong {
    margin-top: 4px;
    font-size: 18px;
}

.dashboard-match-box small,
.dashboard-average-box small {
    display: block;
    margin-top: 2px;
    color: #667386;
    font-size: 10px;
    font-weight: 700;
    line-height: 1.15;
    white-space: nowrap;
}

.dashboard-stat-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.dashboard-dynamics-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(320px, 0.65fr);
    gap: 14px;
    margin-bottom: 14px;
}

.dashboard-dynamics-card {
    min-width: 0;
    padding: 14px;
    background: #ffffff;
    border: 1px solid #dfe6ef;
    border-radius: 8px;
}

.dashboard-dynamics-svg {
    display: block;
    width: 100%;
    height: 190px;
    margin-top: 10px;
    background: linear-gradient(to bottom, #f8fafc 0, #f8fafc 50%, #ffffff 50%, #ffffff 100%);
    border: 1px solid #edf2f7;
    border-radius: 6px;
}

.dashboard-dynamics-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 14px;
    margin-top: 8px;
    color: #667386;
    font-size: 11px;
}

.dashboard-dynamics-meta b {
    color: #10233d;
}

.dashboard-axis-label {
    fill: #667386;
    font-size: 10px;
    font-weight: 700;
}

.dashboard-stat-card {
    min-width: 0;
    padding: 16px;
    background: #ffffff;
    border: 1px solid #dfe6ef;
    border-radius: 8px;
}

.dashboard-stat-card-head {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 14px;
}

.dashboard-stat-card-head strong {
    color: #253244;
    font-size: 17px;
}

.dashboard-stat-card-head span {
    color: #667386;
    font-size: 12px;
}

.dashboard-stat-chart-row {
    display: grid;
    grid-template-columns: 158px minmax(0, 1fr);
    gap: 16px;
    align-items: center;
}

.dashboard-donut {
    position: relative;
    width: 158px;
    height: 158px;
    border-radius: 50%;
    box-shadow: inset 0 0 0 1px rgba(18, 32, 53, 0.06);
}

.dashboard-donut span {
    position: absolute;
    inset: 34px;
    background: #ffffff;
    border-radius: 50%;
    box-shadow: 0 0 0 1px #e2e8f0;
}

.dashboard-stat-legend {
    display: grid;
    gap: 7px;
    min-width: 0;
}

.dashboard-stat-legend-row {
    display: grid;
    grid-template-columns: 10px minmax(0, 1fr) auto 48px;
    gap: 8px;
    align-items: center;
    min-height: 28px;
    color: #253244;
    text-decoration: none;
}

.dashboard-stat-legend-row-average {
    grid-template-columns: 10px minmax(0, 1fr) auto auto auto 48px;
}

.dashboard-stat-legend-row:hover,
.dashboard-stat-legend-row:focus {
    color: #17466e;
    text-decoration: none;
}

.dashboard-stat-legend-muted {
    color: #667386;
}

.dashboard-stat-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}

.dashboard-stat-country {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.dashboard-stat-legend-row strong {
    font-size: 13px;
    white-space: nowrap;
}

.dashboard-stat-average {
    color: #17466e;
    font-size: 12px;
    font-weight: 700;
    text-align: right;
    white-space: nowrap;
}

.dashboard-stat-winrate {
    color: #1f7a4d;
    font-size: 12px;
    font-weight: 700;
    text-align: right;
    white-space: nowrap;
}

.dashboard-stat-percent {
    color: #667386;
    font-size: 12px;
    text-align: right;
    white-space: nowrap;
}

.dashboard-stat-empty {
    padding: 12px;
    color: #667386;
    background: #f7fafc;
    border: 1px dashed #cbd5e1;
    border-radius: 8px;
    font-size: 13px;
}

.schedule-page .work-toolbar {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 16px;
    padding: 8px 12px 10px;
}

.schedule-page .work-head {
    padding: 14px 18px;
    box-shadow: 0 10px 22px rgba(23, 70, 110, 0.14);
}

.schedule-page .work-head h1 {
    margin-bottom: 3px;
    font-size: 24px;
}

.schedule-page .work-head p {
    font-size: 13px;
}

.schedule-filters {
    grid-template-columns: 150px 110px;
}

.schedule-legend {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: flex-end;
    padding-bottom: 1px;
}

.schedule-legend-item {
    display: inline-flex;
    align-items: center;
    min-height: 26px;
    padding: 4px 9px;
    border: 1px solid transparent;
    border-radius: 6px;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.35px;
    text-transform: uppercase;
}

.schedule-table-card {
    overflow: visible;
}

.schedule-table {
    min-width: 980px;
    border-collapse: separate;
    border-spacing: 0;
    table-layout: fixed;
}

.schedule-table th,
.schedule-table td {
    padding: 7px 8px !important;
    border: 1px solid #d7e1ec;
    vertical-align: middle !important;
}

.schedule-table thead {
    position: sticky;
    top: 68px;
    z-index: 60;
}

.schedule-table th {
    position: sticky;
    top: 68px;
    z-index: 61;
    color: #253244;
    background: #eef3f8;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.4px;
    text-align: center;
    text-transform: uppercase;
}

.schedule-table thead th {
    box-shadow: 0 2px 0 #c7d3df, 0 8px 18px rgba(18, 32, 53, 0.08);
}

.schedule-date-head,
.schedule-date {
    width: 190px;
}

.schedule-night-head {
    width: 170px;
}

.schedule-night {
    width: 170px;
}

.schedule-date {
    color: #334155;
    background: #f8fafc;
    font-size: 12px;
    font-weight: 700;
    white-space: nowrap;
}

.schedule-cell {
    height: 34px;
    text-align: center;
}

.schedule-page .schedule-cell[data-user-id] {
    cursor: pointer;
}

.schedule-cell a {
    display: inline-flex;
    color: inherit;
    text-decoration: none;
}

.schedule-cell-button {
    display: inline-flex;
    padding: 0;
    color: inherit;
    background: transparent;
    border: 0;
}

.schedule-cell-button:focus {
    outline: 0;
}

.schedule-cell a:hover span,
.schedule-cell a:focus span,
.schedule-cell-button:hover span,
.schedule-cell-button:focus span {
    outline: 2px solid rgba(23, 70, 110, 0.3);
    outline-offset: 2px;
}

.schedule-cell span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 86px;
    min-height: 22px;
    padding: 3px 7px;
    border-radius: 999px;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.35px;
    text-transform: uppercase;
}

.schedule-edited {
    box-shadow: inset 0 0 0 2px rgba(23, 70, 110, 0.2);
}

.schedule-selected {
    position: relative;
    z-index: 1;
    box-shadow: inset 0 0 0 3px #f59e0b !important;
}

.schedule-work,
.schedule-work span {
    color: #174d78;
    background: #dcecf8;
    border-color: #b7d4ea;
}

.schedule-duty,
.schedule-duty span {
    color: #7a5a00;
    background: #fff1bf;
    border-color: #e2bd4d;
}

.schedule-vacation,
.schedule-vacation span {
    color: #9a2f35;
    background: #f8d7da;
    border-color: #e8a8ad;
}

.schedule-off,
.schedule-off span {
    color: #64748b;
    background: #f1f5f9;
    border-color: #d4dee9;
}

.schedule-weekend .schedule-date {
    background: #edf2f7;
}

.schedule-today .schedule-date {
    color: #0f4f7a;
    background: #d9ecfb;
    box-shadow: inset 4px 0 0 #2f80ed;
}

.schedule-today td {
    border-top-color: #87bde6;
    border-bottom-color: #87bde6;
}

.schedule-night {
    color: #253244;
    background: #f8fafc;
    font-size: 12px;
    font-weight: 700;
    white-space: normal;
}

.schedule-night-form {
    display: block;
}

.schedule-night-form .form-control {
    height: 28px;
    width: 100%;
    padding: 3px 6px;
    border-color: #cfd8e3;
    border-radius: 6px;
    font-size: 11px;
    box-shadow: none;
}

.schedule-duty-summary {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(128px, 1fr));
    gap: 8px;
    margin-bottom: 14px;
}

.schedule-duty-count {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    min-height: 48px;
    padding: 10px 12px;
    background: #ffffff;
    border: 1px solid #dfe6ef;
    border-radius: 8px;
    box-shadow: 0 10px 24px rgba(18, 32, 53, 0.05);
}

.schedule-duty-count span {
    overflow: hidden;
    color: #667386;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.35px;
    text-overflow: ellipsis;
    text-transform: uppercase;
    white-space: nowrap;
}

.schedule-duty-count strong {
    color: #17324d;
    font-size: 22px;
    line-height: 1;
}

.schedule-template-card {
    margin-top: 14px;
    padding: 16px;
}

.schedule-edit-panel {
    display: grid;
    grid-template-columns: minmax(220px, 1fr) 170px 150px 118px 96px;
    gap: 10px;
    align-items: center;
    margin-bottom: 12px;
    padding: 14px;
    background: #ffffff;
    border: 1px solid #c9d9e8;
    border-radius: 8px;
    box-shadow: 0 10px 24px rgba(18, 32, 53, 0.06);
}

.schedule-edit-panel span {
    display: block;
    margin-bottom: 6px;
    color: #667386;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.35px;
    text-transform: uppercase;
}

.schedule-edit-panel strong {
    display: block;
    min-height: 34px;
    padding-top: 5px;
    color: #253244;
}

.schedule-edit-panel label {
    min-width: 0;
    margin-bottom: 0;
}

.schedule-edit-panel .form-control {
    height: 34px;
    border-color: #cfd8e3;
    border-radius: 6px;
    box-shadow: none;
}

.schedule-edit-panel .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    width: 100%;
    height: 34px;
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 700;
    line-height: 1.2;
}

.schedule-edit-panel .glyphicon {
    position: static;
    top: auto;
    margin: 0;
}

.schedule-cell-modal .modal-dialog {
    width: min(520px, calc(100% - 28px));
    margin: 90px auto 20px;
}

.schedule-cell-modal .modal-content {
    overflow: hidden;
    border: 1px solid #cbd8e5;
    border-radius: 9px;
}

.schedule-cell-modal .modal-header {
    color: #ffffff;
    background: #17466e;
    border-bottom: 0;
}

.schedule-cell-modal .modal-title {
    font-weight: 700;
}

.schedule-cell-modal .close {
    color: #ffffff;
    opacity: 0.8;
    text-shadow: none;
}

.schedule-cell-modal .modal-body > strong {
    display: block;
    margin-bottom: 14px;
    color: #253244;
}

.schedule-cell-modal-fields {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.schedule-cell-modal-fields label {
    margin: 0;
}

.schedule-cell-modal-fields label span {
    display: block;
    margin-bottom: 5px;
    color: #667386;
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
}

.schedule-template-head {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 12px;
}

.schedule-template-head h2 {
    margin: 0;
    font-size: 18px;
}

.schedule-template-head span {
    color: #667386;
    font-size: 12px;
}

.schedule-template-table {
    min-width: 720px;
}

.schedule-template-table th,
.schedule-template-table td {
    padding: 8px !important;
    border: 1px solid #dfe6ef;
}

.schedule-template-table .form-control {
    height: 32px;
    border-color: #cfd8e3;
    border-radius: 6px;
    box-shadow: none;
}

.schedule-user-check {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 0;
    font-weight: 700;
}

.schedule-user-check input {
    margin: 0;
}

.schedule-template-actions {
    margin-top: 12px;
}

.dashboard-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
    margin-bottom: 18px;
}

.dashboard-card {
    display: block;
    min-height: 156px;
    padding: 20px;
    color: #253244;
    text-decoration: none;
}

.dashboard-card-icon {
    display: inline-block;
    width: 38px;
    height: 38px;
    padding-top: 10px;
    text-align: center;
    color: #17466e;
    background: #eaf2f8;
    border-radius: 8px;
}

.dashboard-card strong {
    display: block;
    margin: 12px 0 7px;
    font-size: 17px;
}

.dashboard-card span:last-child {
    display: block;
    color: #667386;
    line-height: 1.45;
}

.dashboard-compact-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 10px;
}

.dashboard-compact-grid a {
    display: block;
    padding: 12px 14px;
    color: #253244;
    background: #f7f9fc;
    border: 1px solid #e1e7f0;
    border-radius: 6px;
    text-decoration: none;
}

.work_table,
.work_table2,
.work_table3,
.log_table,
.file_table {
    width: 100%;
    background: #ffffff;
}

.tzag,
.tzagc {
    background: #eef3f8 !important;
    color: #223044;
}

.empty-state {
    padding: 28px !important;
    color: #667386;
    text-align: center;
    background: #ffffff !important;
}

.div_container {
    min-height: 260px;
}

.error_div {
    position: static !important;
    width: min(620px, calc(100% - 32px)) !important;
    margin: 34px auto !important;
    padding: 22px !important;
    color: #7f1d1d !important;
    text-align: left !important;
    background: #ffffff !important;
    border: 1px solid #f0b4b4 !important;
    border-radius: 8px !important;
    box-shadow: 0 18px 42px rgba(18, 32, 53, 0.12) !important;
    transform: none !important;
}

.app-message-wrap {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    min-height: 280px;
}

.app-error-panel {
    display: grid;
    grid-template-columns: 44px minmax(0, 1fr);
    gap: 14px;
}

.app-error-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    color: #b4232a;
    background: #fff0f0;
    border: 1px solid #f0b4b4;
    border-radius: 8px;
    font-size: 20px;
}

.app-error-body h2 {
    margin: 0 0 8px;
    color: #1f2933;
    font-size: 22px;
}

.app-error-body p {
    margin: 0 0 14px;
    color: #475569;
    line-height: 1.5;
}

.app-error-details {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    margin-bottom: 16px;
}

.app-error-details div {
    padding: 9px 10px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
}

.app-error-details span {
    display: block;
    margin-bottom: 4px;
    color: #64748b;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.35px;
    text-transform: uppercase;
}

.app-error-details strong {
    color: #253244;
    font-size: 14px;
}

.app-modal-backdrop {
    position: fixed;
    inset: 0;
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    background: rgba(15, 23, 42, 0.38);
}

.app-modal-card {
    position: relative;
    width: min(620px, 100%);
    max-height: calc(100vh - 48px);
    overflow: auto;
    padding: 22px;
    border: 1px solid #dbe4ef;
    border-radius: 8px;
    background: #ffffff;
    box-shadow: 0 28px 80px rgba(15, 23, 42, 0.24);
}

.app-modal-error-panel {
    margin: 0 !important;
    padding: 0 !important;
    width: auto !important;
    border: 0 !important;
    box-shadow: none !important;
}

.app-modal-close {
    position: absolute;
    top: 10px;
    right: 12px;
    width: 32px;
    height: 32px;
    border: 0;
    border-radius: 6px;
    background: transparent;
    color: #64748b;
    font-size: 28px;
    line-height: 28px;
}

.app-modal-close:hover,
.app-modal-close:focus {
    background: #f1f5f9;
    color: #253244;
    outline: none;
}

.work-page {
    max-width: 1180px;
    margin: 0 auto;
}

.match-sticky-panel {
    position: sticky;
    top: 78px;
    z-index: 20;
    margin-bottom: 14px;
    padding: 0 0 2px;
    background: #eef2f6;
}

.bets-sticky-panel {
    position: sticky;
    top: 78px;
    z-index: 20;
    margin-bottom: 14px;
    padding: 0 0 2px;
    background: #eef2f6;
}

.work-head,
.match-detail-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 16px;
    padding: 24px 28px;
    color: #ffffff;
    background: #17466e;
    border-radius: 8px;
    box-shadow: 0 18px 42px rgba(23, 70, 110, 0.2);
}

.match-page .work-head {
    align-items: center;
    margin-bottom: 8px;
    padding: 14px 18px;
    box-shadow: 0 10px 22px rgba(23, 70, 110, 0.14);
}

.match-page .work-head h1 {
    margin-bottom: 3px;
    font-size: 24px;
}

.match-page .work-head p {
    font-size: 13px;
}

.match-page .work-kicker {
    margin-bottom: 4px;
    font-size: 11px;
}

.work-kicker {
    display: block;
    margin-bottom: 8px;
    color: rgba(255, 255, 255, 0.72);
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
}

.work-head h1,
.match-detail-main h1 {
    margin: 0 0 8px;
    font-size: 30px;
    line-height: 1.2;
}

.work-head p,
.match-detail-main p {
    max-width: 720px;
    margin: 0;
    color: rgba(255, 255, 255, 0.84);
}

.work-head-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 8px;
}

.work-head-actions .glyphicon {
    margin-right: 6px;
}

.work-toolbar,
.work-summary,
.work-table-card {
    margin-bottom: 14px;
    background: #ffffff;
    border: 1px solid #dfe6ef;
    border-radius: 8px;
    box-shadow: 0 10px 24px rgba(18, 32, 53, 0.05);
}

.work-toolbar {
    padding: 16px;
}

.match-page .work-toolbar {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 8px;
    padding: 10px 12px;
}

.work-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.work-filters label {
    min-width: 150px;
    margin: 0;
}

.work-filters label span {
    display: block;
    margin-bottom: 6px;
    color: #667386;
    font-size: 12px;
    font-weight: 600;
}

.match-page .work-filters {
    flex: 1;
    align-items: end;
    gap: 10px;
}

.match-page .work-filters label {
    min-width: 130px;
}

.match-page .work-filters label span {
    margin-bottom: 4px;
    font-size: 11px;
}

.match-page .work-filters .form-control {
    height: 32px;
    padding: 5px 10px;
}

.work-toolbar-actions {
    display: flex;
    align-items: flex-end;
    justify-content: flex-end;
    white-space: nowrap;
}

.work-summary {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0;
    overflow: hidden;
}

.match-page .work-summary {
    margin-bottom: 0;
}

.summary-item {
    padding: 16px 18px;
    border-right: 1px solid #dfe6ef;
}

.summary-item:last-child {
    border-right: 0;
}

.match-page .summary-item {
    padding: 10px 14px;
}

.summary-item span {
    display: block;
    color: #667386;
    font-size: 12px;
}

.match-page .summary-item span {
    font-size: 11px;
}

.summary-item strong {
    display: block;
    margin-top: 7px;
    font-size: 23px;
    line-height: 1.1;
}

.match-page .summary-item strong {
    margin-top: 4px;
    font-size: 19px;
}

.summary-profit strong {
    color: #17466e;
}

.app-table {
    margin-bottom: 0;
    min-width: 980px;
}

.match-table {
    table-layout: fixed;
}

.match-table .match-name-head,
.match-table .match-name {
    width: auto;
}

.match-table td:nth-child(7),
.match-table td:nth-child(8),
.match-table td:nth-child(9) {
    white-space: nowrap;
}

.app-table td {
    padding: 9px 10px !important;
}

.app-table thead td,
.app-table thead th,
.app-table .tzagc td {
    color: #223044;
    background: #eef3f8 !important;
    font-weight: 700;
}

.match-row,
.bet-row {
    transition: background 0.12s ease;
}

.match-row td {
    border-color: #d9e2ec !important;
}

.match-row-alt-0 td {
    background: #ffffff !important;
}

.match-row-alt-1 td {
    background: #f8fafc !important;
}

.match-status-1 td {
    background: #ffe3e3 !important;
}

.match-status-2 td {
    background: #dcfce7 !important;
}

.match-status-3 td {
    background: #f4f0b8 !important;
}

.match-status-1 td:first-child {
    box-shadow: inset 5px 0 0 #d94848;
}

.match-status-2 td:first-child {
    box-shadow: inset 5px 0 0 #2f9e44;
}

.match-status-3 td:first-child {
    box-shadow: inset 5px 0 0 #c8b900;
}

.match-row:hover,
.bet-row:hover {
    outline: 1px solid #b8cadc;
}

.match-row:hover td {
    filter: brightness(0.98);
}

.match-name a {
    color: #17466e;
    font-weight: 700;
}

.match-name {
    min-width: 320px;
}

.match-date {
    text-align: center;
    white-space: nowrap;
}

.match-actions {
    text-align: center;
    white-space: nowrap;
}

.match-edit-btn {
    display: inline-block;
    width: 28px;
    height: 28px;
    padding-top: 6px;
    color: #17466e;
    text-align: center;
    background: #eaf2f8;
    border: 1px solid #c9d9e8;
    border-radius: 6px;
}

.match-edit-btn:hover,
.match-edit-btn:focus {
    color: #0f3554;
    background: #dbeaf5;
    text-decoration: none;
}

.match-desc-modal .modal-content {
    border: 1px solid #dfe6ef;
    border-radius: 8px;
    box-shadow: 0 18px 42px rgba(18, 32, 53, 0.18);
}

.match-desc-modal .modal-header {
    padding: 12px 16px;
    color: #ffffff;
    background: #17466e;
    border-bottom: 0;
    border-radius: 8px 8px 0 0;
}

.match-desc-modal .modal-title {
    color: #ffffff;
    font-size: 20px;
    font-weight: 700;
}

.match-desc-modal .close {
    color: #ffffff;
    opacity: 0.75;
    text-shadow: none;
}

.match-desc-modal .modal-body {
    padding: 16px;
}

.match-desc-modal .modal-footer {
    padding: 12px 16px;
    background: #f7f9fc;
    border-top: 1px solid #dfe6ef;
    border-radius: 0 0 8px 8px;
}

.match-modal-grid label {
    font-size: 17px;
}

.match-modal-grid .form-control {
    height: 46px;
    font-size: 18px;
}

.match-modal-loading {
    padding: 22px;
    color: #667386;
    text-align: center;
    font-weight: 700;
}

.match-detail-head {
    align-items: stretch;
}

.bets-overview {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    grid-template-rows: minmax(66px, auto) 34px;
    gap: 8px;
    margin-bottom: 10px;
}

.bets-page .match-detail-head {
    position: relative;
    display: block;
    align-items: center;
    gap: 0;
    margin-bottom: 10px;
    padding: 10px 14px;
}

.bets-page .match-detail-info {
    display: flex;
    align-items: center;
    gap: 14px;
    min-width: 0;
}

.bets-page .match-detail-main {
    min-width: 0;
    padding-right: 96px;
}

.bets-page .match-detail-main h1 {
    overflow: hidden;
    margin-bottom: 3px;
    font-size: 20px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.bets-page .match-detail-main p {
    overflow: hidden;
    font-size: 13px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.bets-page .work-kicker {
    margin-bottom: 3px;
    font-size: 11px;
}

.match-type-inline {
    position: absolute;
    top: 10px;
    right: 14px;
    color: rgba(255, 255, 255, 0.72);
    font-size: 11px;
    font-weight: 700;
    line-height: 1.2;
    text-transform: uppercase;
}

.bets-page-actions {
    display: grid;
    grid-column: 1 / span 4;
    grid-row: 2;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
    min-width: 0;
}

.bets-page-actions .btn,
.bets-page .match-itog-action .btn,
.bets-page .work-head-actions .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    width: 100%;
    height: 34px;
    padding: 5px 10px;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.35;
    text-transform: uppercase;
}

.bets-page-actions .glyphicon {
    position: static;
    top: auto;
    margin: 0;
}

.bets-page .match-itog-action,
.bets-page .work-head-actions {
    min-width: 0;
}

.match-detail-main h1 {
    max-width: 760px;
}

.match-detail-meta {
    min-width: 150px;
    padding: 12px 14px;
    align-self: flex-end;
    text-align: right;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
}

.bets-page .match-detail-meta {
    min-width: 82px;
    padding: 6px 9px;
}

.match-detail-meta span,
.match-detail-meta strong {
    display: block;
}

.match-detail-meta span {
    color: rgba(255, 255, 255, 0.68);
    font-size: 12px;
}

.match-detail-meta strong {
    margin-top: 4px;
    color: #ffffff;
}

.bet-actions img {
    max-width: 22px;
    height: auto;
    margin: 0 3px;
}

.bets-page {
    width: 100%;
    min-width: 1180px;
    max-width: 1390px;
    margin: 0 auto;
}

.bets-page .work-table-card {
    overflow-x: auto;
}

.bets-page .summary-item {
    min-height: 66px;
    padding: 8px 12px;
    background: #ffffff;
    border: 1px solid #dfe6ef;
    border-radius: 8px;
    box-shadow: 0 10px 24px rgba(18, 32, 53, 0.05);
}

.bets-overview .summary-item:nth-of-type(1) {
    grid-column: 1;
    grid-row: 1;
}

.bets-overview .summary-item:nth-of-type(2) {
    grid-column: 2;
    grid-row: 1;
}

.bets-overview .summary-item:nth-of-type(3) {
    grid-column: 3;
    grid-row: 1;
}

.bets-overview .summary-item:nth-of-type(4) {
    grid-column: 4;
    grid-row: 1;
}

.bets-page .summary-item span {
    font-size: 11px;
}

.bets-page .summary-item strong {
    margin-top: 4px;
    font-size: 19px;
}

.bets-page .work-summary {
    margin-bottom: 10px;
}

.itog-modal .modal-dialog {
    width: 420px;
}

.itog-modal .modal-content {
    border: 1px solid #dfe6ef;
    border-radius: 8px;
    box-shadow: 0 18px 42px rgba(18, 32, 53, 0.18);
}

.itog-modal .modal-header {
    padding: 12px 16px;
    background: #17466e;
    border-bottom: 0;
    border-radius: 8px 8px 0 0;
}

.itog-modal .modal-title {
    color: #ffffff;
    font-size: 16px;
    font-weight: 700;
}

.itog-modal .close {
    color: #ffffff;
    opacity: 0.75;
    text-shadow: none;
}

.itog-modal .modal-body {
    padding: 14px 16px 16px;
}

.itog-form .form-group {
    margin-bottom: 10px;
}

.itog-form label {
    margin-bottom: 5px;
    color: #334155;
    font-size: 12px;
    font-weight: 700;
}

.itog-fields {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}

.itog-form .form-control {
    height: 34px;
    padding: 6px 9px;
    border-color: #cfd8e3;
    border-radius: 6px;
    box-shadow: none;
}

.itog-form .form-control:focus {
    border-color: #8eabc8;
    box-shadow: 0 0 0 3px rgba(23, 70, 110, 0.1);
}

.itog-generate-btn {
    width: 100%;
    height: 34px;
    margin: 2px 0 12px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
}

.itog-generate-btn .glyphicon {
    margin-right: 6px;
}

.itog-result {
    margin-bottom: 0 !important;
}

.itog-result textarea.form-control {
    height: 132px;
    resize: vertical;
}

.bet-modal .modal-content {
    border: 1px solid #dfe6ef;
    border-radius: 8px;
    box-shadow: 0 18px 42px rgba(18, 32, 53, 0.18);
}

.bet-modal .modal-header {
    padding: 12px 16px;
    background: #17466e;
    border-bottom: 0;
    border-radius: 8px 8px 0 0;
}

.bet-modal .modal-title {
    color: #ffffff;
    font-size: 20px;
    font-weight: 700;
}

.bet-modal .close {
    color: #ffffff;
    opacity: 0.75;
    text-shadow: none;
}

.bet-modal .modal-body {
    padding: 16px;
}

.bet-modal .modal-footer {
    padding: 12px 16px;
    background: #f7f9fc;
    border-top: 1px solid #dfe6ef;
    border-radius: 0 0 8px 8px;
}

.bet-edit-form .form-group {
    margin-bottom: 0;
}

.bet-edit-form label {
    margin-bottom: 5px;
    color: #334155;
    font-size: 16px;
    font-weight: 700;
}

.bet-edit-grid,
.bet-money-grid {
    display: grid;
    gap: 12px;
}

.bet-edit-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.bet-money-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin-top: 12px;
}

.bet-edit-form .form-control {
    height: 42px;
    padding: 6px 9px;
    border-color: #cfd8e3;
    border-radius: 6px;
    font-size: 18px;
    box-shadow: none;
}

.bet-edit-form .form-control:focus {
    border-color: #8eabc8;
    box-shadow: 0 0 0 3px rgba(23, 70, 110, 0.1);
}

.bet-toggle-row,
.bet-calc-mode {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
}

.bet-toggle-row {
    margin-bottom: 12px;
}

.bet-calc-mode {
    margin-top: 12px;
    padding: 10px 12px;
    background: #f7f9fc;
    border: 1px solid #dfe6ef;
    border-radius: 8px;
}

.bet-calc-mode span {
    color: #667386;
    font-size: 16px;
    font-weight: 700;
}

.bet-radio-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin: 0 !important;
    padding: 5px 9px;
    color: #334155;
    background: #ffffff;
    border: 1px solid #d6e0eb;
    border-radius: 999px;
    font-size: 16px !important;
    font-weight: 700;
    line-height: 1.2;
}

.bet-radio-pill input {
    margin: 0;
}

.bet-edit-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-top: 12px;
    color: #667386;
    font-size: 16px;
}

.bet-current-curr {
    padding: 6px 9px;
    background: #edf3f8;
    border: 1px solid #d8e3ee;
    border-radius: 6px;
}

.bet-author {
    text-align: right;
}

.bet-back-action {
    margin: 12px 0 0;
}

.bets-table {
    width: 100%;
    min-width: 1180px;
    table-layout: fixed;
}

.bets-table td {
    padding: 7px 4px !important;
    vertical-align: middle !important;
}

.bets-table thead td {
    font-size: 12px;
    line-height: 1.2;
}

.bets-table .bet-result-head,
.bets-table .bet-result {
    width: 74px;
}

.bet-row {
    transition: background 0.12s ease;
}

.bet-row td {
    border-color: #d9e2ec !important;
}

.bet-row td:first-child {
    padding-left: 12px !important;
}

.bet-row-alt-0 td {
    background: #ffffff !important;
}

.bet-row-alt-1 td {
    background: #f8fafc !important;
}

.bet-status-1 td {
    background: #ffe3e3 !important;
}

.bet-status-2 td {
    background: #dcfce7 !important;
}

.bet-status-3 td {
    background: #f4f0b8 !important;
}

.bet-status-1 td:first-child {
    box-shadow: inset 5px 0 0 #d94848;
}

.bet-status-2 td:first-child {
    box-shadow: inset 5px 0 0 #2f9e44;
}

.bet-status-3 td:first-child {
    box-shadow: inset 5px 0 0 #c8b900;
}

.bet-row:hover td {
    filter: brightness(0.98);
}

.bet-person,
.bet-result {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.bet-bookmaker {
    overflow-wrap: anywhere;
    word-break: break-word;
}

.bet-person {
    overflow-wrap: anywhere;
    white-space: normal;
    word-break: break-word;
}

.bet-person,
.bet-bookmaker {
    color: #263548;
    font-weight: 600;
}

.bet-result {
    color: #1f2933;
}

.bet-currency {
    display: inline-block;
    min-width: 30px;
    padding: 2px 4px;
    color: #405166;
    background: #edf3f8;
    border: 1px solid #d8e3ee;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 700;
}

.bets-table .bold {
    color: #17324d;
    background: transparent !important;
    font-weight: 700;
}

.bet-status-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 62px;
    padding: 3px 5px;
    border: 1px solid #cfd8e3;
    border-radius: 999px;
    color: #4b5b70;
    background: #f4f7fa;
    font-size: 11px;
    font-weight: 700;
    line-height: 1.2;
}

.bet-status-pill-1 {
    color: #8b2f2f;
    background: #fff0f0;
    border-color: #efc0c0;
}

.bet-status-pill-2 {
    color: #24623d;
    background: #ecf8f0;
    border-color: #b9dfc8;
}

.bet-status-pill-3 {
    color: #775512;
    background: #fff7df;
    border-color: #ead48c;
}

.bet-actions {
    white-space: nowrap;
}

.bet-action {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    margin: 0 1px;
    padding: 0;
    color: #17466e;
    background: #eaf2f8;
    border: 1px solid #c9d9e8;
    border-radius: 6px;
    cursor: pointer;
    text-decoration: none;
    vertical-align: middle;
}

.bet-action:hover,
.bet-action:focus {
    text-decoration: none;
}

.bet-action-win {
    color: #24623d;
    background: #ecf8f0;
    border-color: #b9dfc8;
}

.bet-action-lose {
    color: #8b2f2f;
    background: #fff0f0;
    border-color: #efc0c0;
}

.bet-action-delete {
    color: #5f6673;
    background: #f5f6f8;
    border-color: #d9dee6;
}

.bet-action-done {
    color: #667386;
    font-size: 12px;
    font-weight: 600;
}

.match-edit-page {
    max-width: 980px;
}

.match-edit-head {
    align-items: center;
    padding: 22px 26px;
}

.match-desc-edit-page .match-edit-head {
    margin-bottom: 10px;
    padding: 11px 18px;
}

.match-desc-edit-page .work-kicker {
    margin-bottom: 2px;
    font-size: 10px;
}

.match-desc-edit-page .work-head h1 {
    margin-bottom: 3px;
    font-size: 22px;
}

.match-desc-edit-page .work-head p {
    max-width: 640px;
    font-size: 12px;
    line-height: 1.35;
}

.match-desc-edit-page .work-head-actions .btn {
    min-height: 34px;
    padding: 6px 12px;
}

.edit-card {
    padding: 22px;
    background: #ffffff;
    border: 1px solid #dfe6ef;
    border-radius: 8px;
    box-shadow: 0 10px 24px rgba(18, 32, 53, 0.06);
}

.edit-card-title {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 18px;
    padding-bottom: 14px;
    border-bottom: 1px solid #e4ebf3;
}

.edit-card-title h2 {
    margin: 0;
    font-size: 20px;
}

.edit-card-title span {
    color: #667386;
    font-size: 13px;
}

.edit-form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.edit-form-grid .form-group {
    margin-bottom: 0;
}

.edit-form-grid label {
    margin-bottom: 6px;
    color: #334155;
    font-size: 13px;
    font-weight: 700;
}

.edit-field-wide {
    grid-column: 1 / -1;
}

.match-edit-form .form-control {
    height: 38px;
    border-color: #cfd8e3;
    border-radius: 6px;
    box-shadow: none;
}

.match-edit-form .form-control:focus {
    border-color: #8eabc8;
    box-shadow: 0 0 0 3px rgba(23, 70, 110, 0.1);
}

.match-desc-edit-form .edit-card-title h2 {
    font-size: 22px;
}

.match-desc-edit-form .edit-card-title span {
    font-size: 15px;
}

.match-desc-edit-form .edit-form-grid label {
    font-size: 15px;
}

.match-desc-edit-form .form-control {
    height: 42px;
    font-size: 16px;
}

.drops-page,
.drop-edit-page {
    max-width: 1240px;
}

.drops-table {
    min-width: 760px;
}

.drops-overview {
    display: grid;
    grid-template-columns: repeat(8, minmax(0, 1fr));
    grid-template-rows: minmax(66px, auto) minmax(66px, auto) 34px;
    gap: 8px;
    margin-bottom: 10px;
}

.drops-page .match-detail-head {
    display: flex;
    align-items: center;
    grid-column: 1 / -1;
    grid-row: 1;
    margin-bottom: 0;
    padding: 10px 14px;
}

.drops-page .match-detail-head h1 {
    overflow: hidden;
    margin: 0;
    font-size: 20px;
    line-height: 1.2;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.drops-page .work-kicker {
    margin-bottom: 3px;
    font-size: 11px;
}

.drops-page .summary-item {
    min-height: 66px;
    padding: 8px 12px;
    background: #ffffff;
    border: 1px solid #dfe6ef;
    border-radius: 8px;
    box-shadow: 0 10px 24px rgba(18, 32, 53, 0.05);
}

.drops-page .summary-item span {
    font-size: 11px;
}

.drops-page .summary-item strong {
    margin-top: 4px;
    font-size: 19px;
}

.drops-filter-box {
    grid-column: 1 / span 4;
    grid-row: 2 / span 2;
}

.drops-count-box {
    grid-column: 5 / span 2;
    grid-row: 2;
}

.drops-balance-box {
    grid-column: 7 / span 2;
    grid-row: 2;
}

.drops-filter-box .form-control {
    height: 34px;
    padding: 5px 10px;
    border-color: #cfd8e3;
    border-radius: 6px;
    box-shadow: none;
}

.drops-archive-action {
    grid-column: 5 / span 2;
    grid-row: 3;
}

.drops-page .work-head-actions {
    grid-column: 7 / span 2;
    grid-row: 3;
    min-width: 0;
}

.drops-archive-action,
.drops-page .work-head-actions {
    min-width: 0;
}

.drops-archive-action .btn,
.drops-page .work-head-actions .btn {
    width: 100%;
    height: 34px;
    padding: 5px 10px;
    font-size: 11px;
    font-weight: 700;
    line-height: 1.35;
    text-transform: uppercase;
}

.drops-archive-action .glyphicon,
.drops-page .work-head-actions .glyphicon {
    margin-right: 6px;
}

.drops-archive-action .btn {
    font-style: italic;
}

.drops-table th,
.drops-table td {
    vertical-align: middle !important;
}

.drop-row {
    cursor: pointer;
}

.drop-row:hover {
    outline: 1px solid #b8cadc;
}

.drop-date,
.drop-actions {
    white-space: nowrap;
}

.drop-name a {
    color: #17466e;
    font-weight: 700;
}

.drop-stat-page {
    width: 100%;
    min-width: 1180px;
    max-width: 1390px;
    margin: 0 auto;
}

.drop-stat-overview {
    display: grid;
    grid-template-columns: minmax(280px, 1.6fr) repeat(4, minmax(112px, 0.65fr)) minmax(250px, 1.25fr);
    grid-template-rows: 72px;
    gap: 8px;
    margin-bottom: 10px;
}

.drop-stat-page .match-detail-head {
    display: flex;
    align-items: center;
    grid-column: 1;
    grid-row: 1;
    margin-bottom: 0;
    padding: 12px 16px;
    box-shadow: 0 10px 24px rgba(23, 70, 110, 0.14);
}

.drop-stat-page .match-detail-main {
    min-width: 0;
}

.drop-stat-page .match-detail-main h1 {
    overflow: hidden;
    margin-bottom: 0;
    font-size: 18px;
    line-height: 1.2;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.drop-stat-page .match-detail-main p {
    overflow: hidden;
    font-size: 12px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.drop-stat-page .work-kicker {
    margin-bottom: 3px;
    font-size: 10px;
}

.drop-stat-page .summary-item {
    min-height: 72px;
    padding: 10px 12px;
    background: #ffffff;
    border: 1px solid #dfe6ef;
    border-radius: 8px;
    box-shadow: 0 10px 24px rgba(18, 32, 53, 0.05);
}

.drop-stat-page .summary-item span {
    font-size: 10px;
}

.drop-stat-page .summary-item strong {
    overflow: hidden;
    margin-top: 7px;
    font-size: 21px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.drop-stat-overview .summary-item:nth-of-type(2) {
    grid-column: 2;
    grid-row: 1;
}

.drop-stat-overview .summary-item:nth-of-type(3) {
    grid-column: 3;
    grid-row: 1;
}

.drop-stat-overview .summary-item:nth-of-type(4) {
    grid-column: 4;
    grid-row: 1;
}

.drop-stat-overview .summary-item:nth-of-type(5) {
    grid-column: 5;
    grid-row: 1;
}

.drop-stat-toolbar {
    display: flex;
    align-items: center;
    justify-content: stretch;
    grid-column: 6;
    grid-row: 1;
    min-width: 0;
    padding: 10px;
    background: #ffffff;
    border: 1px solid #dfe6ef;
    border-radius: 8px;
    box-shadow: 0 10px 24px rgba(18, 32, 53, 0.05);
}

.drop-stat-filter {
    min-width: 0;
}

.drop-stat-filter label {
    display: block;
    margin: 0;
}

.drop-stat-filter label span {
    display: block;
    margin-bottom: 4px;
    color: #667386;
    font-size: 11px;
    font-weight: 700;
    line-height: 1.1;
}

.drop-stat-filter .form-control {
    height: 32px;
    padding: 5px 9px;
    border-color: #cfd8e3;
    border-radius: 6px;
    box-shadow: none;
}

.drop-stat-page .work-head-actions {
    width: 100%;
    min-width: 0;
}

.drop-stat-page .work-head-actions .btn {
    width: 100%;
    height: 32px;
    padding: 6px 10px;
    font-size: 11px;
    font-weight: 700;
    line-height: 1.35;
    text-transform: uppercase;
}

.drop-stat-page .work-head-actions .glyphicon {
    margin-right: 6px;
}

.drop-stat-table-card {
    overflow-x: hidden;
    border-radius: 8px;
    margin-bottom: 0;
}

.drop-stat-table-filter-form {
    margin: 0;
}

.drop-stat-table {
    width: 100%;
    min-width: 1120px;
    table-layout: fixed;
}

.drop-stat-table td {
    overflow: hidden;
    padding: 7px 6px !important;
    text-overflow: ellipsis;
    vertical-align: middle !important;
    white-space: nowrap;
}

.drop-stat-table thead td {
    color: #223044;
    background: #eef3f8 !important;
    border-color: #d9e2ec !important;
    font-size: 12px;
    font-weight: 700;
    line-height: 1.2;
    text-align: center;
}

.drop-stat-table .drop-stat-filter-row td {
    padding: 4px 5px !important;
    background: #f8fafc !important;
    border-top: 0 !important;
}

.drop-stat-filter-row .form-control {
    width: 100%;
    height: 28px;
    padding: 3px 6px;
    color: #223044;
    background: #ffffff;
    border: 1px solid #cfd8e3;
    border-radius: 5px;
    box-shadow: none;
    font-size: 11px;
    font-weight: 600;
}

.drop-stat-filter-row .form-control:focus {
    border-color: #8eabc8;
    box-shadow: 0 0 0 2px rgba(23, 70, 110, 0.1);
}

.drop-stat-date-range {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2px;
}

.drop-stat-date-range .form-control {
    height: 23px;
    padding: 2px 5px;
    font-size: 10px;
}

.drop-stat-row {
    cursor: pointer;
    transition: filter 0.12s ease;
}

.drop-stat-row:hover {
    outline: 1px solid #b8cadc;
    filter: brightness(0.98);
}

.drop-stat-table .drop-stat-date {
    width: 92px;
}

.drop-stat-table .drop-stat-sport {
    width: 92px;
}

.drop-stat-table .drop-stat-match {
    width: auto;
}

.drop-stat-table .drop-stat-country {
    width: 112px;
}

.drop-stat-table .drop-stat-type {
    width: 64px;
}

.drop-stat-table .drop-stat-bk {
    width: 78px;
}

.drop-stat-table .drop-stat-currency {
    width: 58px;
}

.drop-stat-table .drop-stat-result {
    width: 96px;
}

.drop-stat-table .drop-stat-money {
    width: 74px;
}

.drop-stat-table .drop-stat-status {
    width: 92px;
}

.drop-stat-match {
    color: #17324d;
    font-weight: 700;
}

.drop-stat-bk {
    color: #17466e;
    font-weight: 700;
}

.drop-stat-money {
    color: #223044;
    font-variant-numeric: tabular-nums;
    font-weight: 700;
}

.drop-stat-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    max-width: 100%;
    min-height: 22px;
    padding: 3px 7px;
    color: #344054;
    background: #ffffff;
    border: 1px solid #cfd8e3;
    border-radius: 999px;
    font-size: 10px;
    font-weight: 700;
    line-height: 1.1;
}

.drop-stat-pill-1 {
    color: #8b2f2f;
    background: #fff0f0;
    border-color: #efc0c0;
}

.drop-stat-pill-2 {
    color: #24623d;
    background: #ecf8f0;
    border-color: #9bd0ad;
}

.drop-stat-pill-3 {
    color: #8a4b12;
    background: #fff2df;
    border-color: #edc28c;
}

.drop-stat-table .empty-state {
    padding: 16px !important;
    text-align: center;
}

.drop-trans-page {
    max-width: 1140px;
}

.drop-trans-overview {
    display: grid;
    grid-template-columns: minmax(250px, 1.35fr) 104px 150px minmax(116px, 0.5fr);
    grid-template-rows: 64px;
    gap: 8px;
    margin-bottom: 8px;
}

.drop-trans-page .match-detail-head {
    display: flex;
    align-items: center;
    grid-column: 1;
    grid-row: 1;
    margin-bottom: 0;
    padding: 10px 16px;
    box-shadow: 0 10px 22px rgba(23, 70, 110, 0.13);
}

.drop-trans-page .match-detail-main {
    min-width: 0;
}

.drop-trans-page .match-detail-main h1 {
    overflow: hidden;
    margin-bottom: 0;
    font-size: 18px;
    line-height: 1.2;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.drop-trans-page .work-kicker {
    margin-bottom: 3px;
    font-size: 10px;
}

.drop-trans-page .summary-item {
    min-height: 64px;
    padding: 9px 12px;
    background: #ffffff;
    border: 1px solid #dfe6ef;
    border-radius: 8px;
    box-shadow: 0 8px 18px rgba(18, 32, 53, 0.045);
}

.drop-trans-page .summary-item:nth-of-type(2) {
    grid-column: 2;
    grid-row: 1;
}

.drop-trans-page .summary-item:nth-of-type(3) {
    grid-column: 3;
    grid-row: 1;
    border-color: #b9dfc8;
    background: #f6fbf7;
}

.drop-trans-page .summary-item span {
    font-size: 10px;
}

.drop-trans-page .summary-item strong {
    overflow: hidden;
    margin-top: 5px;
    font-size: 20px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.drop-trans-page .summary-profit span {
    color: #24623d;
}

.drop-trans-page .summary-profit strong {
    color: #123d29;
}

.drop-trans-toolbar {
    display: flex;
    align-items: center;
    justify-content: stretch;
    grid-column: 4;
    grid-row: 1;
    min-width: 0;
    margin: 0;
    padding: 8px 10px;
    background: #f8fafc;
    border: 1px solid #dfe6ef;
    border-radius: 8px;
    box-shadow: 0 8px 18px rgba(18, 32, 53, 0.045);
}

.drop-trans-toolbar .btn {
    width: 100%;
    height: 30px;
    padding: 5px 9px;
    font-size: 11px;
    font-weight: 700;
    line-height: 1.35;
    text-transform: uppercase;
}

.drop-trans-toolbar .glyphicon {
    margin-right: 6px;
}

.drop-trans-date-range {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2px;
}

.drop-trans-table-filter-form {
    margin: 0;
}

.drop-trans-table-card {
    overflow-x: auto;
    border-radius: 8px;
    margin-bottom: 0;
}

.drop-trans-table {
    width: 100%;
    min-width: 1040px;
    table-layout: fixed;
}

.drop-trans-table td {
    overflow: hidden;
    padding: 8px 9px !important;
    text-overflow: ellipsis;
    vertical-align: middle !important;
    white-space: nowrap;
}

.drop-trans-table thead td {
    color: #223044;
    background: #eef3f8 !important;
    border-color: #d9e2ec !important;
    font-size: 12px;
    font-weight: 700;
    line-height: 1.2;
    text-align: center;
}

.drop-trans-table .drop-trans-filter-row td {
    padding: 4px 5px !important;
    background: #f8fafc !important;
    border-top: 0 !important;
}

.drop-trans-filter-row .form-control {
    width: 100%;
    height: 28px;
    padding: 3px 6px;
    color: #223044;
    background: #ffffff;
    border: 1px solid #cfd8e3;
    border-radius: 5px;
    box-shadow: none;
    font-size: 11px;
    font-weight: 600;
}

.drop-trans-filter-row .form-control:focus {
    border-color: #8eabc8;
    box-shadow: 0 0 0 2px rgba(23, 70, 110, 0.1);
}

.drop-trans-date-range .form-control {
    height: 23px;
    padding: 2px 5px;
    font-size: 10px;
}

.bank-history-overview {
    grid-template-columns: 15% repeat(3, minmax(0, 1fr));
}

.bank-history-toolbar {
    display: block;
    grid-column: 1 / -1;
    padding: 8px 10px;
    background: #ffffff;
    border: 1px solid #dfe6ef;
    border-radius: 8px;
}

.bank-history-toolbar .drop-trans-date-range {
    display: grid;
    grid-template-columns: 128px 128px 150px 116px 116px;
    gap: 8px;
    align-items: center;
}

.bank-history-toolbar .drop-trans-date-range .form-control,
.bank-history-toolbar .btn {
    width: 100%;
    height: 30px;
}

.bank-history-table {
    min-width: 980px;
}

.bank-history-table .drop-trans-date {
    width: 132px;
}

.bank-history-table .drop-trans-oper {
    width: 118px;
}

.bank-history-table .drop-trans-sum {
    width: 192px;
}

.bank-history-table .drop-trans-user {
    width: 130px;
}

.bank-history-table .drop-trans-to {
    width: auto;
}

.drop-trans-row {
    transition: filter 0.12s ease;
}

.drop-trans-row:hover {
    outline: 1px solid #b8cadc;
    filter: brightness(0.98);
}

.drop-trans-table .drop-trans-date {
    width: 126px;
}

.drop-trans-table .drop-trans-oper {
    width: 96px;
}

.drop-trans-table .drop-trans-sum {
    width: 84px;
}

.drop-trans-table .drop-trans-currency {
    width: 54px;
}

.drop-trans-table .drop-trans-from,
.drop-trans-table .drop-trans-to {
    width: auto;
}

.drop-trans-table .drop-trans-user {
    width: 108px;
}

.drop-trans-table .drop-trans-action {
    width: 102px;
    text-align: center;
}

.drop-trans-cancel-btn {
    padding: 4px 8px;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
}

.finance-cancel-modal .modal-dialog {
    max-width: 520px;
}

.finance-cancel-warning {
    margin-bottom: 14px;
    padding: 10px 12px;
    color: #7a271a;
    background: #fff1ef;
    border: 1px solid #f4c7c1;
    border-radius: 6px;
    font-weight: 700;
    line-height: 1.4;
}

.finance-cancel-details {
    display: grid;
    grid-template-columns: 90px 1fr;
    gap: 8px 12px;
    margin: 0;
}

.finance-cancel-details dt,
.finance-cancel-details dd {
    margin: 0;
}

.finance-cancel-details dt {
    color: #667386;
}

.finance-cancel-details dd {
    color: #1f2937;
    overflow-wrap: anywhere;
}

.drop-trans-table.bank-history-table .drop-trans-date {
    width: 132px;
}

.drop-trans-table.bank-history-table .drop-trans-oper {
    width: 118px;
}

.drop-trans-table.bank-history-table .drop-trans-sum {
    width: 192px;
}

.drop-trans-table.bank-history-table .drop-trans-user {
    width: 130px;
}

.drop-trans-table.bank-history-table .drop-trans-to {
    width: auto;
}

.drop-trans-sum {
    color: #223044;
    font-variant-numeric: tabular-nums;
    font-weight: 700;
}

.drop-trans-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    max-width: 100%;
    min-height: 21px;
    padding: 3px 8px;
    color: #17466e;
    background: #eef6fd;
    border: 1px solid #bfd8ec;
    border-radius: 999px;
    font-size: 10px;
    font-weight: 700;
    line-height: 1.1;
}

.drop-trans-from,
.drop-trans-to {
    color: #17324d;
}

.drop-trans-user {
    color: #344054;
    font-weight: 600;
}

.drop-history-page {
    max-width: 1140px;
}

.drop-history-overview {
    display: grid;
    grid-template-columns: minmax(320px, 1fr) minmax(140px, 180px) minmax(160px, 220px);
    gap: 8px;
    margin-bottom: 10px;
}

.drop-history-page .match-detail-head {
    display: flex;
    align-items: center;
    grid-column: 1;
    margin-bottom: 0;
    padding: 12px 16px;
}

.drop-history-page .match-detail-main {
    min-width: 0;
}

.drop-history-page .match-detail-main h1,
.drop-history-page .match-detail-main p {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.drop-history-page .match-detail-main h1 {
    margin-bottom: 2px;
    font-size: 18px;
}

.drop-history-page .match-detail-main p {
    font-size: 12px;
}

.drop-history-page .summary-item {
    min-height: 64px;
    padding: 9px 12px;
    background: #ffffff;
    border: 1px solid #dfe6ef;
    border-radius: 8px;
    box-shadow: 0 10px 24px rgba(18, 32, 53, 0.05);
}

.drop-history-page .summary-item strong {
    margin-top: 5px;
    font-size: 20px;
}

.drop-charges-summary {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.drop-charges-table {
    min-width: 0;
    table-layout: fixed;
}

.drop-history-page .work-table-card {
    overflow-x: hidden;
}

.drop-history-toolbar {
    display: flex;
    align-items: center;
    padding: 8px 10px;
    background: #f8fafc;
    border: 1px solid #dfe6ef;
    border-radius: 8px;
}

.drop-history-toolbar .btn {
    width: 100%;
    height: 30px;
    padding: 5px 9px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
}

.drop-history-filter-form {
    margin: 0 0 10px;
}

.drop-history-filter {
    display: flex;
    align-items: flex-end;
    margin-bottom: 0;
}

.drop-history-filter label {
    width: 240px;
    margin: 0;
}

.drop-history-filter label span {
    display: block;
    margin-bottom: 4px;
    color: #667386;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
}

.drop-history-table-card {
    overflow-x: auto;
    border-radius: 8px;
}

.drop-history-table {
    min-width: 1100px;
    table-layout: fixed;
}

.drop-history-table th,
.drop-history-table td {
    padding: 8px 10px !important;
    vertical-align: top !important;
}

.drop-history-table th:nth-child(1),
.drop-history-table td:nth-child(1) {
    width: 15% !important;
}

.drop-history-table th:nth-child(2),
.drop-history-table td:nth-child(2) {
    width: 15% !important;
}

.drop-history-table th:nth-child(3),
.drop-history-table td:nth-child(3) {
    width: 15% !important;
}

.drop-history-table th:nth-child(4),
.drop-history-table td:nth-child(4) {
    width: 55% !important;
}

.drop-history-date {
    width: 15%;
    white-space: nowrap;
}

.drop-history-category {
    width: 15%;
}

.drop-history-category span {
    display: inline-flex;
    padding: 3px 8px;
    color: #17466e;
    background: #eef6fd;
    border: 1px solid #bfd8ec;
    border-radius: 999px;
    font-size: 10px;
    font-weight: 700;
}

.drop-history-user {
    width: 15%;
    font-weight: 600;
}

.drop-history-action {
    width: 55%;
    white-space: normal;
}

.drop-history-fields {
    margin-top: 6px;
    color: #40566f;
    font-size: 12px;
    font-weight: 700;
    line-height: 1.35;
}

@media (max-width: 0px) {
    .drop-card-actions {
        grid-template-columns: 1fr;
    }

    .drop-history-filter label {
        width: 100%;
    }
}

.drop-trans-table .empty-state {
    padding: 16px !important;
    text-align: center;
}

.drop-edit-page .work-head {
    align-items: center;
}

.drop-overview {
    display: grid;
    grid-template-columns: repeat(8, minmax(0, 1fr));
    grid-template-rows: minmax(56px, auto) 30px;
    gap: 6px;
    margin-bottom: 8px;
}

.drop-edit-page .drop-overview .match-detail-head {
    position: relative;
    display: block;
    grid-column: 1 / span 4;
    grid-row: 1;
    margin-bottom: 0;
    padding: 8px 12px;
}

.drop-card-back-action {
    grid-column: 1 / span 4;
    grid-row: 2;
    min-width: 0;
}

.drop-edit-page .drop-overview .match-detail-info {
    display: flex;
    align-items: center;
    min-width: 0;
}

.drop-edit-page .drop-overview .match-detail-main {
    min-width: 0;
    padding-right: 82px;
}

.drop-edit-page .drop-overview .match-detail-main h1 {
    overflow: hidden;
    margin-bottom: 2px;
    font-size: 18px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.drop-edit-page .drop-overview .match-detail-main p {
    overflow: hidden;
    font-size: 12px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.drop-edit-page .drop-overview .work-kicker {
    margin-bottom: 2px;
    font-size: 10px;
}

.drop-edit-page .summary-item {
    min-height: 56px;
    padding: 6px 10px;
    background: #ffffff;
    border: 1px solid #dfe6ef;
    border-radius: 8px;
    box-shadow: 0 10px 24px rgba(18, 32, 53, 0.05);
}

.drop-overview .summary-item:nth-of-type(2) {
    grid-column: 5;
    grid-row: 1;
}

.drop-overview .summary-item:nth-of-type(3) {
    grid-column: 6;
    grid-row: 1;
}

.drop-overview .summary-item:nth-of-type(4) {
    grid-column: 7;
    grid-row: 1;
}

.drop-overview .summary-item:nth-of-type(5) {
    grid-column: 8;
    grid-row: 1;
}

.drop-edit-page .summary-item span {
    font-size: 10px;
}

.drop-edit-page .summary-item strong {
    overflow: hidden;
    margin-top: 3px;
    font-size: 17px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.drop-list-action {
    grid-column: 5;
    grid-row: 2;
}

.drop-card-actions {
    display: grid;
    grid-column: 5 / span 4;
    grid-row: 2;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 6px;
    min-width: 0;
}

.drop-card-expenses-btn,
.drop-card-expenses-btn:focus {
    color: #ffffff;
    background: #a65c62;
    border-color: #925057;
}

.drop-card-expenses-btn:hover,
.drop-card-expenses-btn:active {
    color: #ffffff;
    background: #925057;
    border-color: #80464c;
}

.drop-card-history-btn,
.drop-card-history-btn:focus {
    color: #ffffff;
    background: #64798c;
    border-color: #566b7e;
}

.drop-card-history-btn:hover,
.drop-card-history-btn:active {
    color: #ffffff;
    background: #566b7e;
    border-color: #495d6f;
}

.drop-edit-page .drop-overview .work-head-actions {
    grid-column: 7 / span 2;
    grid-row: 2;
    min-width: 0;
}

.drop-list-action,
.drop-stat-action,
.drop-card-back-action,
.drop-card-actions {
    min-width: 0;
}

.drop-list-action .btn,
.drop-stat-action .btn,
.drop-card-back-action .btn,
.drop-card-actions .btn,
.drop-edit-page .drop-overview .work-head-actions .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 30px;
    padding: 4px 7px;
    font-size: 10px;
    font-weight: 700;
    line-height: 1.35;
    text-align: center;
    text-transform: uppercase;
}

.drop-list-action .glyphicon,
.drop-stat-action .glyphicon,
.drop-card-back-action .glyphicon,
.drop-card-actions .glyphicon,
.drop-edit-page .drop-overview .work-head-actions .glyphicon {
    flex: 0 0 auto;
    margin-right: 6px;
}

.drop-panel,
.section-head {
    margin-bottom: 14px;
    padding: 16px;
    background: #ffffff;
    border: 1px solid #dfe6ef;
    border-radius: 8px;
    box-shadow: 0 10px 24px rgba(18, 32, 53, 0.05);
}

.drop-panel-title {
    margin-bottom: 8px;
    color: #223044;
    font-size: 15px;
    font-weight: 700;
}

.drop-card-form .drop-panel {
    margin-bottom: 10px;
    padding: 12px 14px;
}

.drop-data-grid {
    display: grid;
    grid-template-columns: minmax(290px, 29%) minmax(0, 1fr);
    gap: 6px;
    align-items: start;
}

.drop-data-left,
.drop-data-right {
    display: grid;
    gap: 2px;
    align-content: start;
    min-width: 0;
}

.drop-data-left label,
.drop-data-right label {
    display: grid;
    align-items: center;
    min-width: 0;
    margin: 0;
}

.drop-data-left label {
    grid-template-columns: 66px minmax(0, 1fr);
    gap: 4px;
}

.drop-data-right label {
    grid-template-columns: 78px minmax(0, 1fr);
    gap: 4px;
}

.drop-data-left span,
.drop-data-right span {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    min-height: 27px;
    padding: 2px 5px;
    color: #10243d;
    background: #eef3f8;
    border-radius: 5px;
    font-size: 12px;
    font-weight: 700;
    line-height: 1.15;
    text-align: right;
}

.drop-card-form input[type="text"],
.drop-card-form textarea,
.drop-card-form .form-control {
    border: 1px solid #cfd8e3;
    border-radius: 6px;
    font-weight: 400;
}

.drop-card-form input[type="text"] {
    width: 100%;
    height: 28px;
    padding: 4px 7px;
}

.drop-card-form textarea {
    width: 100%;
    height: 28px;
    min-height: 28px;
    padding: 4px 7px;
    line-height: 1.25;
    resize: vertical;
}

.drop-card-form .drop-address-field textarea {
    height: 48px;
    min-height: 48px;
}

.drop-card-form .drop-tall-field textarea {
    height: 66px;
    min-height: 66px;
}

.drop-card-form .form-control {
    width: 100%;
    height: 28px;
    padding: 4px 7px;
}

.drop-form-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 10px;
    margin: 8px 0 0;
}

.drop-form-actions .btn {
    height: 30px;
    padding: 5px 12px;
    font-size: 11px;
    font-weight: 700;
    line-height: 1.35;
    text-transform: uppercase;
}

.drop-form-actions .glyphicon {
    margin-right: 6px;
}

.drop-save-btn {
    min-width: 168px;
}

.drop-copy-btn {
    min-width: 112px;
    color: #344054;
    background: #f8fafc;
    border-color: #cfd8e3;
}

.drop-copy-btn:hover,
.drop-copy-btn:focus {
    color: #17466e;
    background: #eef5fb;
    border-color: #b8cadc;
}

.drop-active-toggle {
    margin: 0 auto 0 0;
    color: #344054;
    font-weight: 600;
}

.drop-active-toggle input {
    margin-right: 6px;
}

.drop-side-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 420px;
    gap: 10px;
    align-items: start;
    margin-bottom: 14px;
}

.drop-side-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 8px;
}

.drop-side-head .work-kicker,
.drop-side-head strong {
    display: block;
}

.drop-side-head .work-kicker {
    margin-bottom: 2px;
    color: #667386;
    font-size: 10px;
    line-height: 1.1;
    text-transform: uppercase;
}

.drop-side-head strong {
    color: #223044;
    font-size: 17px;
    line-height: 1.1;
}

.addfile_form.drop-panel {
    margin-top: 0;
    padding: 10px;
    width: 100%;
    max-width: none;
}

.drop-files-layout {
    display: grid;
    grid-template-columns: 1fr;
    align-items: start;
    gap: 0;
}

.drop-files-list {
    display: block;
    columns: 2;
    column-gap: 0;
    min-width: 0;
    border: 1px solid #dfe6ef;
    border-radius: 6px;
    overflow: hidden;
}

.drop-side-row .drop-files-list {
    display: block;
    columns: 2;
    column-gap: 0;
}

.drop-file-item {
    display: grid;
    grid-template-columns: minmax(110px, 1fr) auto 26px;
    align-items: center;
    break-inside: avoid;
    -webkit-column-break-inside: avoid;
    gap: 6px;
    min-height: 30px;
    padding: 3px 7px 3px 9px;
    background: #f8fafc;
    border-bottom: 1px solid #dfe6ef;
}

.drop-file-item:nth-child(n) {
    border-right: 0;
}

.drop-file-item:last-child {
    border-bottom: 0;
}

.drop-file-item:nth-child(odd):not(:last-child) {
    border-right: 1px solid #dfe6ef;
}

.drop-file-name {
    overflow: hidden;
    color: #17466e;
    font-weight: 700;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.drop-file-meta {
    color: #667386;
    font-size: 11px;
    white-space: nowrap;
}

.drop-file-delete {
    width: 26px;
    height: 22px;
    padding: 0;
    color: #9a3412;
    background: #fff7ed;
    border: 1px solid #fed7aa;
    border-radius: 5px;
}

.drop-file-delete:hover,
.drop-file-delete:focus {
    color: #7f1d1d;
    background: #fee2e2;
    border-color: #fecaca;
}

.drop-files-empty {
    display: block;
    min-height: 30px;
    padding: 6px 10px !important;
}

.drop-file-upload {
    display: grid;
    grid-template-columns: 190px minmax(150px, 1fr) 128px;
    align-items: center;
    flex: 1 1 420px;
    max-width: 620px;
    min-width: 0;
    padding: 0;
    background: #f8fafc;
    border: 1px solid #dfe6ef;
    border-radius: 6px;
    overflow: hidden;
}

.addfile_form input[type="file"] {
    width: 190px;
    height: 30px;
    padding: 3px;
    background: #ffffff;
    border: 0;
    border-right: 1px solid #cfd8e3;
    border-radius: 0;
    font-size: 12px;
}

.addfile_form input[type="file"]::file-selector-button {
    height: 22px;
    margin-right: 5px;
    color: #223044;
    background: #eef3f8;
    border: 1px solid #d7e0ea;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 700;
}

.addfile_form input[type="text"],
.drop-file-upload input[type="text"] {
    min-width: 0;
    height: 30px;
    padding: 5px 8px;
    border: 0;
    border-right: 1px solid #cfd8e3;
    border-radius: 0;
}

.drop-file-upload .btn {
    justify-self: stretch;
    height: 30px;
    margin-top: 0;
    padding: 5px 12px;
    border-radius: 0;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
}

.section-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 14px 16px;
}

.section-head .work-kicker {
    margin-bottom: 3px;
    color: #667386;
    font-size: 11px;
}

.section-head h2 {
    margin: 0;
    color: #223044;
    font-size: 22px;
}

.section-head .glyphicon,
.drop-edit-page .work-head-actions .glyphicon {
    margin-right: 6px;
}

.bk-section-head {
    margin-bottom: 8px;
    padding: 9px 14px;
}

.bk-section-head .work-kicker {
    margin-bottom: 1px;
    font-size: 10px;
    line-height: 1.1;
    text-transform: uppercase;
}

.bk-section-head h2 {
    font-size: 18px;
    line-height: 1.15;
}

.bk-add-btn {
    height: 32px;
    padding: 6px 14px;
    font-size: 12px;
    font-weight: 700;
    line-height: 1.35;
}

.bk-add-btn .glyphicon {
    margin-right: 6px;
}

.bk-table-card {
    border-radius: 8px;
}

.bk-table {
    width: 100%;
    min-width: 1120px;
    table-layout: fixed;
    border: 0 !important;
}

.bk-table td {
    overflow: hidden;
    padding: 7px 5px !important;
    text-overflow: ellipsis;
    vertical-align: middle !important;
    white-space: nowrap;
    user-select: text;
}

.bk-table tr:first-child td {
    color: #223044;
    background: #eef3f8 !important;
    border-color: #d9e2ec !important;
    font-size: 12px;
    font-weight: 700;
    line-height: 1.2;
}

.bk-copy-col {
    cursor: copy;
    transition: background 0.12s ease, color 0.12s ease;
    user-select: none;
}

.bk-copy-col:hover {
    color: #0f4778;
    background: #dcecf8 !important;
}

.bk-copy-col.is-copied {
    color: #123d29;
    background: #dff3e7 !important;
}

.bk-table td:nth-child(7),
.bk-table td:nth-child(8),
.bk-table td:nth-child(9),
.bk-table td:nth-child(10) {
    padding-right: 4px !important;
    padding-left: 3px !important;
}

.bk-table td:nth-child(12),
.bk-table td:nth-child(13) {
    padding-right: 4px !important;
    padding-left: 4px !important;
}

.bk-table td:nth-child(11) {
    white-space: normal;
    word-break: break-word;
    overflow-wrap: anywhere;
    line-height: 1.35;
}

.bk-table {
    border-collapse: separate;
    border-spacing: 0;
    border: 1px solid #b9c8d8;
}

.bk-table .tzagc {
    border-right: 1px solid #c1cfdd;
    border-bottom: 1px solid #aebfd0;
}

.bk-table .tzagc:last-child,
.bk-row td:last-child,
.bk-total-row td:last-child {
    border-right: 0;
}

.bk-row td,
.bk-total-row td {
    border-right: 1px solid rgba(112, 132, 154, 0.42);
    border-bottom: 1px solid rgba(112, 132, 154, 0.34);
}

.bk-row td:nth-child(1),
.bk-row td:nth-child(5),
.bk-row td:nth-child(7),
.bk-row td:nth-child(11),
.bk-row td:nth-child(12),
.bk-total-row td:nth-child(1),
.bk-total-row td:nth-child(5),
.bk-total-row td:nth-child(7),
.bk-total-row td:nth-child(11),
.bk-total-row td:nth-child(12) {
    border-left: 1px solid rgba(88, 105, 124, 0.22);
}

.bk-row td:nth-child(12) {
    padding-top: 6px !important;
    padding-bottom: 6px !important;
}

.bk-row {
    cursor: pointer;
    transition: filter 0.12s ease;
}

.bk-row td.is-selected {
    outline: 2px solid #2d78b8;
    outline-offset: -2px;
    background-image: linear-gradient(rgba(45, 120, 184, 0.10), rgba(45, 120, 184, 0.10));
}

.bk-row td.is-copied {
    outline-color: #2f9f5b;
    background-image: linear-gradient(rgba(47, 159, 91, 0.14), rgba(47, 159, 91, 0.14));
}

.bk-row td.is-range-selected {
    outline: 1px solid #2d78b8;
    outline-offset: -1px;
    background-image: linear-gradient(rgba(45, 120, 184, 0.16), rgba(45, 120, 184, 0.16));
    user-select: none;
}

.bk-row td:nth-child(2),
.bk-row td:nth-child(3),
.bk-row td:nth-child(4) {
    cursor: cell;
}

.bk-row:hover {
    outline: 1px solid #b8cadc;
    filter: brightness(0.98);
}

.bk-row td {
    background: #ffffff !important;
}

.bk-status-1 td {
    background: #ffffff !important;
}

.bk-status-2 td {
    background: #ffffff !important;
}

.bk-status-3 td {
    background: #d9ead3 !important;
}

.bk-status-4 td {
    background: #cfe2f3 !important;
}

.bk-status-5 td {
    background: #fce5cd !important;
}

.bk-status-6 td {
    background: #f4cccc !important;
}

.bk-status-7 td {
    background: #fb8585 !important;
}

.bk-status-8 td {
    background: #e3e602 !important;
}

.bk-status-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    max-width: 100%;
    min-height: 22px;
    padding: 3px 7px;
    border: 1px solid #cfd8e3;
    border-radius: 999px;
    color: #344054;
    background: #ffffff;
    font-size: 10px;
    font-weight: 700;
    line-height: 1.1;
    white-space: normal;
}

.bk-status-pill-1 {
    color: #17603a;
    background: #f2fbf5;
    border-color: #b9dfc8;
}

.bk-status-pill-2 {
    color: #344054;
    background: #ffffff;
    border-color: #cfd8e3;
}

.bk-status-pill-3 {
    color: #24623d;
    background: #ecf8f0;
    border-color: #9bd0ad;
}

.bk-status-pill-4 {
    color: #1d4f75;
    background: #eef6fd;
    border-color: #bfd8ec;
}

.bk-status-pill-5 {
    color: #8a4b12;
    background: #fff2df;
    border-color: #edc28c;
}

.bk-status-pill-6 {
    color: #8b2f2f;
    background: #fff0f0;
    border-color: #efc0c0;
}

.bk-status-pill-7 {
    color: #ffffff;
    background: #c43d3d;
    border-color: #9f2525;
}

.bk-status-pill-8 {
    color: #5f4b00;
    background: #fff7a8;
    border-color: #c8bc18;
}

.bk-money-action {
    width: 17px;
    height: 17px;
    margin-left: 4px;
    vertical-align: -3px;
    cursor: pointer;
}

.bk-total-row td {
    background: #ffffff !important;
    border-top: 2px solid #d9e2ec !important;
}

.drop-edit-page .work_table2 {
    margin-bottom: 0;
}

.drop-payments-panel {
    display: grid;
    grid-template-columns: 1fr;
    align-items: start;
    gap: 0;
    padding: 10px;
}

.drop-side-row .drop-payments-panel {
    grid-template-columns: 1fr;
    gap: 0;
    margin-bottom: 0;
    padding: 10px;
}

.drop-payments-heading {
    min-width: 0;
}

.drop-payments-heading .work-kicker,
.drop-payments-heading strong {
    display: block;
}

.drop-payments-heading .work-kicker {
    margin-bottom: 2px;
    color: #667386;
    font-size: 10px;
}

.drop-payments-heading strong {
    color: #223044;
    font-size: 18px;
    line-height: 1.1;
}

.drop-side-row .drop-payments-heading strong {
    font-size: 17px;
}

.drop-payments-table-wrap {
    overflow: hidden;
    border: 1px solid #dfe6ef;
    border-radius: 6px;
}

.drop-payments-table {
    width: 100%;
    min-width: 0;
    border: 0 !important;
    table-layout: fixed;
}

.drop-payment-name-col {
    width: 42%;
}

.drop-payment-currency-col {
    width: 24%;
}

.drop-payment-balance-col {
    width: 34%;
}

.drop-side-row .drop-payments-table {
    min-width: 0;
}

.drop-payments-table td {
    padding: 5px 8px;
}

.drop-payments-table .empty-state {
    padding: 12px 10px !important;
}

.payment-actions {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-left: 8px;
    vertical-align: middle;
}

.payment-actions img {
    width: 18px;
    height: 18px;
    cursor: pointer;
}

.drop-add-payment-btn {
    width: auto;
    min-width: 154px;
    height: 30px;
    padding: 5px 12px;
    font-size: 11px;
    font-weight: 700;
    line-height: 1.35;
    text-transform: uppercase;
}

.drop-add-payment-btn .glyphicon {
    margin-right: 6px;
}

.drop-payment-modal .modal-dialog {
    width: min(430px, calc(100vw - 28px));
    margin-top: 8vh;
}

.drop-payment-modal .modal-content {
    overflow: hidden;
    background: #f7fafc;
    border: 1px solid #d9e2ec;
    border-radius: 8px;
    box-shadow: 0 18px 42px rgba(18, 32, 53, 0.18);
}

.drop-payment-modal .modal-header {
    padding: 14px 16px 12px;
    color: #ffffff;
    background: #174d78;
    border-bottom: 0;
}

.drop-payment-modal .modal-header .close {
    margin-top: -2px;
    color: #ffffff;
    text-shadow: none;
    opacity: 0.72;
}

.drop-payment-modal .modal-header .close:hover {
    opacity: 1;
}

.drop-payment-modal .modal-title {
    margin: 3px 26px 0 0;
    color: #ffffff;
    font-size: 20px;
    font-weight: 700;
    line-height: 1.15;
}

.drop-payment-modal .work-kicker {
    display: block;
    color: rgba(255, 255, 255, 0.72);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0;
    line-height: 1.2;
    text-transform: uppercase;
}

.drop-payment-modal .modal-body {
    padding: 12px;
}

.drop-payment-modal .modal-footer {
    display: flex;
    justify-content: flex-end;
    gap: 8px;
    padding: 10px 12px 12px;
    background: #f7fafc;
    border-top: 1px solid #e1e8f0;
}

.drop-payment-modal .modal-footer:before,
.drop-payment-modal .modal-footer:after {
    display: none;
}

.drop-payment-modal .modal-footer .btn {
    height: 30px;
    padding: 5px 12px;
    font-size: 11px;
    font-weight: 700;
    line-height: 1.35;
    text-transform: uppercase;
}

.drop-payment-modal .modal-footer .glyphicon {
    margin-right: 6px;
}

.drop-payment-editor {
    display: grid;
    gap: 10px;
}

.drop-payment-summary {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(112px, 34%);
    gap: 8px;
}

.drop-payment-summary > div {
    min-width: 0;
    padding: 10px 12px;
    background: #ffffff;
    border: 1px solid #dfe6ef;
    border-radius: 7px;
}

.drop-payment-summary span,
.drop-payment-field span {
    display: block;
    margin-bottom: 4px;
    color: #667386;
    font-size: 10px;
    font-weight: 700;
    line-height: 1.2;
}

.drop-payment-summary strong {
    display: block;
    overflow: hidden;
    color: #10243d;
    font-size: 20px;
    font-weight: 800;
    line-height: 1.15;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.drop-payment-fields {
    padding: 12px;
    background: #ffffff;
    border: 1px solid #dfe6ef;
    border-radius: 7px;
}

.drop-payment-field {
    display: block;
    margin: 0;
}

.drop-payment-field .form-control {
    width: 100%;
    height: 32px;
    padding: 5px 8px;
    color: #10243d;
    border: 1px solid #cfd8e3;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 700;
    box-shadow: none;
}

.drop-bk-modal .modal-dialog {
    width: min(640px, calc(100vw - 28px));
    margin-top: 5vh;
}

.drop-bk-modal .modal-content {
    overflow: hidden;
    background: #f7fafc;
    border: 1px solid #d9e2ec;
    border-radius: 8px;
    box-shadow: 0 18px 42px rgba(18, 32, 53, 0.18);
}

.drop-bk-modal .modal-header {
    padding: 14px 16px 12px;
    color: #ffffff;
    background: #174d78;
    border-bottom: 0;
}

.drop-bk-modal .modal-header .close {
    margin-top: -2px;
    color: #ffffff;
    text-shadow: none;
    opacity: 0.72;
}

.drop-bk-modal .modal-header .close:hover {
    opacity: 1;
}

.drop-bk-modal .modal-title {
    margin: 3px 26px 0 0;
    color: #ffffff;
    font-size: 20px;
    font-weight: 700;
    line-height: 1.15;
}

.drop-bk-modal .work-kicker {
    display: block;
    color: rgba(255, 255, 255, 0.72);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0;
    line-height: 1.2;
    text-transform: uppercase;
}

.drop-bk-modal .modal-body {
    padding: 12px;
}

.drop-bk-modal .modal-footer {
    display: flex;
    justify-content: flex-end;
    gap: 8px;
    padding: 10px 12px 12px;
    background: #f7fafc;
    border-top: 1px solid #e1e8f0;
}

.drop-bk-modal .modal-footer:before,
.drop-bk-modal .modal-footer:after {
    display: none;
}

.drop-bk-modal .modal-footer .btn {
    min-width: 104px;
    height: 30px;
    padding: 5px 12px;
    font-size: 11px;
    font-weight: 700;
    line-height: 1.35;
    text-transform: uppercase;
}

.drop-bk-modal .modal-footer .glyphicon {
    margin-right: 6px;
}

.drop-bk-charge-info {
    padding: 11px 12px;
    background: #eef6ff;
    border: 1px solid #cfe2f3;
    border-radius: 7px;
}

.drop-bk-charge-info span {
    display: block;
    margin-bottom: 4px;
    color: #4f6884;
    font-size: 10px;
    font-weight: 800;
    line-height: 1.2;
    text-transform: uppercase;
}

.drop-bk-charge-info strong {
    display: block;
    color: #10243d;
    font-size: 17px;
    font-weight: 800;
    line-height: 1.2;
}

.drop-bk-charge-info small {
    display: block;
    margin-top: 3px;
    color: #607086;
    font-size: 12px;
    line-height: 1.35;
}

.money-operation-modal .modal-dialog {
    width: min(420px, calc(100vw - 28px));
    margin-top: 10vh;
}

.money-operation-modal-wide .modal-dialog {
    width: min(520px, calc(100vw - 28px));
}

.money-operation-modal .modal-content {
    overflow: hidden;
    background: #f7fafc;
    border: 1px solid #d9e2ec;
    border-radius: 8px;
    box-shadow: 0 18px 42px rgba(18, 32, 53, 0.18);
}

.money-operation-modal .modal-header {
    padding: 14px 16px 12px;
    color: #ffffff;
    background: #174d78;
    border-bottom: 0;
}

.money-operation-modal .modal-header .close {
    margin-top: -2px;
    color: #ffffff;
    text-shadow: none;
    opacity: 0.72;
}

.money-operation-modal .modal-header .close:hover {
    opacity: 1;
}

.money-operation-modal .modal-title {
    margin: 3px 26px 0 0;
    color: #ffffff;
    font-size: 20px;
    font-weight: 700;
    line-height: 1.15;
}

.money-operation-modal .work-kicker {
    display: block;
    color: rgba(255, 255, 255, 0.72);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0;
    line-height: 1.2;
    text-transform: uppercase;
}

.money-operation-modal .modal-body {
    padding: 12px;
}

.money-operation-modal .modal-footer {
    display: flex;
    justify-content: flex-end;
    gap: 8px;
    padding: 10px 12px 12px;
    background: #f7fafc;
    border-top: 1px solid #e1e8f0;
}

.money-operation-modal .modal-footer:before,
.money-operation-modal .modal-footer:after {
    display: none;
}

.money-operation-modal .modal-footer .btn {
    min-width: 104px;
    height: 30px;
    padding: 5px 12px;
    font-size: 11px;
    font-weight: 700;
    line-height: 1.35;
    text-transform: uppercase;
}

.money-operation-modal .modal-footer .glyphicon {
    margin-right: 6px;
}

.money-operation-editor {
    display: grid;
    gap: 10px;
    padding: 12px;
    background: #ffffff;
    border: 1px solid #dfe6ef;
    border-radius: 7px;
}

.money-operation-field {
    display: block;
    margin: 0;
}

.money-operation-field span {
    display: block;
    margin-bottom: 5px;
    color: #667386;
    font-size: 10px;
    font-weight: 700;
    line-height: 1.2;
    text-transform: uppercase;
}

.money-operation-field .form-control {
    width: 100%;
    height: 34px;
    padding: 6px 9px;
    color: #10243d;
    border: 1px solid #cfd8e3;
    border-radius: 6px;
    background: #ffffff;
    font-size: 13px;
    font-weight: 700;
    box-shadow: none;
}

.money-operation-field .form-control:focus {
    border-color: #86b7e3;
    box-shadow: 0 0 0 3px rgba(29, 97, 153, 0.12);
}

.money-operation-field .form-control[disabled] {
    color: #94a3b8;
    background: #f1f5f9;
    cursor: not-allowed;
}

.drop-bk-editor {
    display: grid;
    gap: 10px;
}

.drop-bk-main,
.drop-bk-grid,
.drop-bk-comment {
    padding: 12px;
    background: #ffffff;
    border: 1px solid #dfe6ef;
    border-radius: 7px;
}

.drop-bk-main {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 8px;
}

.drop-bk-site {
    grid-column: 1 / -1;
}

.drop-bk-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
}

.drop-bk-field {
    display: block;
    min-width: 0;
    margin: 0;
}

.drop-bk-field span {
    display: block;
    margin-bottom: 4px;
    color: #667386;
    font-size: 10px;
    font-weight: 700;
    line-height: 1.2;
}

.drop-bk-field .form-control,
.drop-bk-field input[type="text"],
.drop-bk-field select,
.drop-bk-field textarea {
    width: 100%;
    color: #10243d;
    border: 1px solid #cfd8e3;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 700;
    box-shadow: none;
}

.drop-bk-field .form-control,
.drop-bk-field input[type="text"],
.drop-bk-field select {
    height: 32px;
    padding: 5px 8px;
}

.drop-bk-field textarea {
    min-height: 74px;
    padding: 7px 8px;
    line-height: 1.35;
    resize: vertical;
}

.bk-task-comment-cell {
    cursor: pointer;
    white-space: normal !important;
    word-break: break-word;
    overflow-wrap: anywhere;
}

.bk-task-comments-modal .modal-dialog {
    width: min(620px, calc(100vw - 28px));
    margin-top: 7vh;
}

.bk-task-comments-modal .modal-content {
    overflow: hidden;
    background: #f7fafc;
    border: 1px solid #d9e2ec;
    border-radius: 8px;
    box-shadow: 0 18px 42px rgba(18, 32, 53, 0.18);
}

.bk-task-comments-modal .modal-header {
    padding: 14px 16px 12px;
    color: #ffffff;
    background: #174d78;
    border-bottom: 0;
}

.bk-task-comments-modal .modal-header .close {
    margin-top: -2px;
    color: #ffffff;
    text-shadow: none;
    opacity: 0.76;
}

.bk-task-comments-modal .modal-title {
    margin: 3px 26px 0 0;
    color: #ffffff;
    font-size: 20px;
    font-weight: 800;
}

.bk-task-comments-modal .modal-body {
    max-height: 64vh;
    overflow: auto;
    padding: 12px;
}

.bk-task-comments-modal .modal-footer {
    display: flex;
    justify-content: flex-end;
    padding: 10px 12px;
    background: #eef3f8;
    border-top: 1px solid #d9e2ec;
}

.bk-task-comments-modal .modal-footer:before,
.bk-task-comments-modal .modal-footer:after {
    display: none;
}

.bk-task-comments-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 10px;
    padding: 10px 12px;
    background: #ffffff;
    border: 1px solid #dfe6ef;
    border-radius: 8px;
}

.bk-task-comments-head span {
    color: #667386;
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
}

.bk-task-comments-head strong {
    color: #10243d;
    font-size: 16px;
}

.bk-task-comment-form {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 8px;
    margin-bottom: 10px;
}

.bk-task-comment-form textarea {
    min-height: 68px;
    resize: vertical;
}

.bk-task-comment-form .btn {
    align-self: start;
}

.bk-task-comment-alert {
    display: none;
    margin-bottom: 10px;
    padding: 8px 10px;
    border-radius: 6px;
    color: #8b2f2f;
    background: #fff0f0;
    border: 1px solid #efc0c0;
}

.bk-task-comment-alert.is-visible {
    display: block;
}

.bk-task-comment-item {
    padding: 10px 12px;
    background: #ffffff;
    border: 1px solid #dfe6ef;
    border-radius: 8px;
}

.bk-task-comment-item + .bk-task-comment-item {
    margin-top: 8px;
}

.bk-task-comment-item div {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 4px;
    color: #40566f;
}

.bk-task-comment-item div span {
    flex: 0 0 auto;
    color: #7b8794;
    font-size: 12px;
}

.bk-task-comment-item small {
    display: block;
    margin-bottom: 6px;
    color: #667386;
    font-weight: 700;
}

.bk-task-comment-item p {
    margin: 0;
    color: #1f2937;
    line-height: 1.45;
    overflow-wrap: anywhere;
    word-break: break-word;
}

.bk-task-comment-system {
    background: #eef6fd;
    border-color: #cfe2f3;
}

@media (max-width: 0px) {
    .drop-bk-main,
    .drop-bk-grid {
        grid-template-columns: 1fr;
    }
}

.bks-page {
    max-width: 1240px;
}

.bks-overview {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: stretch;
    margin-bottom: 8px;
}

.bks-page .match-detail-head {
    flex: 0 0 430px;
    box-sizing: border-box;
    height: 108px;
    min-height: 0;
    padding: 12px 16px;
}

.bks-page .match-detail-main h1 {
    margin-bottom: 2px;
    font-size: 20px;
}

.bks-page .match-detail-main p {
    margin: 0;
    font-size: 12px;
}

.bks-page .summary-item {
    display: flex;
    flex: 0 0 136px;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    height: 108px;
    min-height: 0;
    padding: 8px 9px;
    background: #ffffff;
    border: 1px solid #dfe6ef;
    border-radius: 8px;
    box-shadow: 0 10px 24px rgba(18, 32, 53, 0.05);
    text-align: center;
}

.bks-page .summary-item.is-hidden {
    display: none;
}

.bks-page .summary-item span {
    font-size: 10px;
    line-height: 1.2;
}

.bks-page .summary-item strong {
    overflow: hidden;
    margin-top: 4px;
    font-size: 17px;
    line-height: 1.15;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.bks-filter-panel {
    display: flex;
    flex-wrap: wrap;
    align-items: end;
    gap: 8px;
    margin-bottom: 10px;
    padding: 10px;
    background: #ffffff;
    border: 1px solid #dfe6ef;
    border-radius: 8px;
    box-shadow: 0 10px 24px rgba(18, 32, 53, 0.05);
}

.bks-filter-panel label {
    min-width: 210px;
    margin: 0;
}

.bks-filter-panel label span {
    display: block;
    margin-bottom: 4px;
    color: #667386;
    font-size: 10px;
    font-weight: 700;
}

.bks-filter-panel .form-control {
    width: 100%;
    height: 32px;
    padding: 5px 9px;
    border: 1px solid #cfd8e3;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 700;
}

.bks-filter-panel .btn {
    height: 32px;
    padding: 5px 12px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
}

.bks-filter-panel .glyphicon {
    margin-right: 6px;
}

.bks-table-card {
    overflow-x: auto;
    border-radius: 8px;
}

.bks-table {
    width: 100%;
    min-width: 1220px;
    table-layout: fixed;
    border: 0 !important;
}

.bks-table td {
    overflow: hidden;
    padding: 7px 6px !important;
    text-overflow: ellipsis;
    vertical-align: middle !important;
    white-space: nowrap;
}

.bks-table tr:first-child td {
    color: #223044;
    background: #eef3f8 !important;
    border-color: #d9e2ec !important;
    font-size: 12px;
    font-weight: 700;
    line-height: 1.2;
}

.bks-country-col {
    width: 110px;
}

.bks-drop-col {
    width: 150px;
}

.bks-site-col {
    width: 100px;
}

.bks-status-col {
    width: 94px;
}

.bks-login-col {
    width: 142px;
}

.bks-pass-col {
    width: 118px;
}

.bks-balance-col,
.bks-balance-eu-col {
    width: 94px;
}

.bks-check-col {
    width: 112px;
}

.bks-request-col {
    width: 76px;
}

.bks-table .up_line td {
    border-top: 2px solid #cbd7e3 !important;
}

.bks-copy-col {
    cursor: copy;
    transition: background 0.12s ease, color 0.12s ease;
    user-select: none;
}

.bks-copy-col:hover {
    color: #0f4778;
    background: #dcecf8 !important;
}

.bks-copy-col.is-copied {
    color: #123d29;
    background: #dff3e7 !important;
}

.bks-row td.is-range-selected {
    outline: 1px solid #2d78b8;
    outline-offset: -1px;
    background-image: linear-gradient(rgba(45, 120, 184, 0.16), rgba(45, 120, 184, 0.16));
    user-select: none;
}

.bks-row td:nth-child(3),
.bks-row td:nth-child(5),
.bks-row td:nth-child(6) {
    cursor: cell;
}

.analyse-page {
    width: 100%;
    min-width: 1900px;
    max-width: none;
    margin-left: auto;
    margin-right: auto;
}

.container-analyse #maincontainer {
    width: 100%;
    padding-right: 0;
    padding-left: 0;
}

.container-analyse {
    min-width: 1900px;
    overflow: visible !important;
}

.analyse-overview {
    display: grid;
    grid-template-columns: minmax(280px, 1.8fr) repeat(4, minmax(126px, 0.75fr));
    gap: 8px;
    align-items: stretch;
    margin-bottom: 8px;
}

.analyse-page .match-detail-head {
    display: flex;
    align-items: center;
    min-height: 84px;
    margin-bottom: 0;
    padding: 12px 16px;
}

.analyse-page .match-detail-main {
    min-width: 0;
}

.analyse-page .match-detail-main h1 {
    overflow: hidden;
    margin-bottom: 2px;
    font-size: 20px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.analyse-page .match-detail-main p {
    overflow: hidden;
    font-size: 12px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.analyse-overview.has-local-summary {
    grid-template-columns: minmax(420px, 2.65fr) repeat(7, minmax(76px, 0.52fr));
}

.analyse-page .work-kicker {
    margin-bottom: 3px;
    font-size: 10px;
}

.analyse-page .summary-item {
    min-height: 84px;
    padding: 10px 12px;
    background: #ffffff;
    border: 1px solid #dfe6ef;
    border-radius: 8px;
    box-shadow: 0 10px 24px rgba(18, 32, 53, 0.05);
}

.analyse-page .summary-item span {
    font-size: 10px;
}

.analyse-page .summary-item strong {
    overflow: hidden;
    margin-top: 7px;
    font-size: 21px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.analyse-filter-form {
    margin: 0;
}

.analyse-period-panel {
    display: flex;
    flex-wrap: wrap;
    align-items: end;
    gap: 8px;
    margin-bottom: 8px;
    padding: 10px;
    background: #ffffff;
    border: 1px solid #dfe6ef;
    border-radius: 8px;
    box-shadow: 0 10px 24px rgba(18, 32, 53, 0.05);
}

.analyse-period-panel label {
    margin: 0;
    min-width: 112px;
}

.analyse-period-panel label span {
    display: block;
    margin-bottom: 4px;
    color: #667386;
    font-size: 10px;
    font-weight: 700;
}

.analyse-period-panel .form-control {
    width: 112px;
    height: 32px;
    padding: 5px 7px;
    border: 1px solid #cfd8e3;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 700;
    text-align: center;
    box-shadow: none;
}

.analyse-period-panel .btn {
    height: 32px;
    padding: 5px 12px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
}

.analyse-period-panel .glyphicon {
    margin-right: 6px;
}

.analyse-table-card {
    overflow-x: visible;
    border-radius: 8px;
}

.analyse-table-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    min-width: 0;
    padding: 8px 10px;
    color: #667386;
    background: #ffffff;
    border-bottom: 1px solid #e1e8f0;
    font-size: 12px;
    font-weight: 700;
}

.analyse-page-nav {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.analyse-page-nav .btn {
    width: 30px;
    height: 28px;
    padding: 4px 0;
}

.analyse-page-current {
    color: #344054;
}

.analyse-table {
    width: 100%;
    min-width: 1900px;
    table-layout: fixed;
}

.analyse-table td {
    overflow: hidden;
    padding: 7px 6px !important;
    text-overflow: ellipsis;
    vertical-align: middle !important;
    white-space: nowrap;
}

.analyse-table thead td {
    color: #223044;
    background: #eef3f8 !important;
    border-color: #d9e2ec !important;
    font-size: 11px;
    font-weight: 700;
    line-height: 1.2;
}

.analyse-table .analyse-filter-row td {
    padding: 4px 5px !important;
    background: #f8fafc !important;
    border-top: 0 !important;
}

.analyse-filter-row .form-control {
    width: 100%;
    height: 28px;
    padding: 3px 6px;
    border: 1px solid #cfd8e3;
    border-radius: 6px;
    font-size: 10px;
    font-weight: 700;
    box-shadow: none;
}

.analyse-filter-row .form-control:focus {
    border-color: #8eabc8;
    box-shadow: 0 0 0 2px rgba(23, 70, 110, 0.1);
}

.analyse-row {
    cursor: pointer;
}

.analyse-row:hover {
    outline: 1px solid #b8cadc;
    filter: brightness(0.98);
}

.analyse-status-1 td:first-child {
    box-shadow: inset 4px 0 0 #d35f5f;
}

.analyse-status-2 td:first-child {
    box-shadow: inset 4px 0 0 #4daa6d;
}

.analyse-status-3 td:first-child {
    box-shadow: inset 4px 0 0 #d8a62d;
}

.analyse-btype-1 td {
    background: #eef7ff !important;
}

.analyse-btype-2 td {
    background: #fff6e8 !important;
}

.analyse-table td:nth-child(1) {
    width: 78px;
}

.analyse-table td:nth-child(2) {
    width: 78px;
}

.analyse-table td:nth-child(3) {
    width: 70px;
}

.analyse-table td:nth-child(4) {
    width: 64px;
}

.analyse-table td:nth-child(5) {
    width: 70px;
}

.analyse-table td:nth-child(6) {
    width: 296px;
}

.analyse-table td:nth-child(7) {
    width: 84px;
}

.analyse-table td:nth-child(8) {
    width: 133px;
}

.analyse-table td:nth-child(9) {
    width: 137px;
}

.analyse-table td:nth-child(10) {
    width: 72px;
}

.analyse-table td:nth-child(11) {
    width: 76px;
}

.analyse-table td:nth-child(12) {
    width: 50px;
}

.analyse-table td:nth-child(13),
.analyse-table td:nth-child(14),
.analyse-table td:nth-child(15),
.analyse-table td:nth-child(16),
.analyse-table td:nth-child(17),
.analyse-table td:nth-child(18) {
    width: 66px;
}

.analyse-table td:nth-child(19) {
    width: 72px;
}

.analyse-table td:nth-child(20) {
    width: 74px;
}


.analyse-match,
.analyse-bk {
    color: #17324d;
    font-weight: 700;
}

.analyse-bk {
    color: #17466e;
}

.analyse-money {
    color: #223044;
    font-variant-numeric: tabular-nums;
    font-weight: 700;
}

.analyse-table .empty-state {
    padding: 16px !important;
    text-align: center;
}

.charge-page {
    max-width: 1180px;
}

.charge-page .work-summary {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin-bottom: 0;
}

.charge-type-filter,
.charge-kind-filter {
    min-width: 260px !important;
}

.charge-table {
    width: 100%;
    min-width: 980px;
    table-layout: fixed;
}

.charge-table td {
    overflow: hidden;
    padding: 8px 10px !important;
    text-overflow: ellipsis;
    vertical-align: middle !important;
    white-space: nowrap;
}

.charge-date-col {
    width: 112px;
}

.charge-kind-col {
    width: 150px;
}

.charge-currency-col {
    width: 82px;
}

.charge-money-col {
    width: 118px;
}

.charge-ok-col {
    width: 74px;
}

.charge-action-col {
    width: 52px;
}

.charge-row {
    cursor: pointer;
}

.charge-row td {
    background: #ffffff !important;
}

.charge-row:hover {
    outline: 1px solid #b8cadc;
}

.charge-row-ok td {
    background: #dff3e7 !important;
}

.charge-row-ok td:first-child {
    box-shadow: inset 5px 0 0 #3f9f62;
}

.charge-row-ok .charge-name,
.charge-row-ok .charge-money {
    color: #174f32;
}

.charge-name {
    color: #17324d;
    font-weight: 700;
}

.charge-type {
    color: #4b5b70;
}

.charge-money {
    color: #223044;
    font-variant-numeric: tabular-nums;
    font-weight: 700;
}

.charge-status {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 46px;
    padding: 3px 7px;
    border: 1px solid #cfd8e3;
    border-radius: 999px;
    font-size: 10px;
    font-weight: 700;
    line-height: 1.1;
}

.charge-status-ok {
    color: #24623d;
    background: #ecf8f0;
    border-color: #9bd0ad;
}

.charge-status-wait {
    color: #667386;
    background: #f4f7fa;
}

.charge-delete-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 26px;
    height: 26px;
    padding: 0;
    color: #8b2f2f;
    background: #fff0f0;
    border: 1px solid #efc0c0;
    border-radius: 6px;
}

.charge-delete-btn:hover,
.charge-delete-btn:focus {
    color: #ffffff;
    background: #c43d3d;
    border-color: #a82d2d;
}

.charge-modal .modal-dialog {
    width: min(520px, calc(100vw - 28px));
    margin-top: 7vh;
}

.charge-modal .modal-content {
    overflow: hidden;
    background: #f7fafc;
    border: 1px solid #d9e2ec;
    border-radius: 8px;
    box-shadow: 0 18px 42px rgba(18, 32, 53, 0.18);
}

.charge-modal .modal-header {
    padding: 14px 16px 12px;
    color: #ffffff;
    background: #174d78;
    border-bottom: 0;
}

.charge-modal .modal-header .close {
    margin-top: -2px;
    color: #ffffff;
    text-shadow: none;
    opacity: 0.72;
}

.charge-modal .modal-header .close:hover {
    opacity: 1;
}

.charge-modal .modal-title {
    margin: 3px 26px 0 0;
    color: #ffffff;
    font-size: 20px;
    font-weight: 700;
    line-height: 1.15;
}

.charge-modal .work-kicker {
    display: block;
    color: rgba(255, 255, 255, 0.72);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0;
    line-height: 1.2;
    text-transform: uppercase;
}

.charge-modal .modal-body {
    padding: 12px;
}

.charge-modal .modal-footer {
    display: flex;
    justify-content: flex-end;
    gap: 8px;
    padding: 10px 12px 12px;
    background: #f7fafc;
    border-top: 1px solid #e1e8f0;
}

.charge-modal .modal-footer:before,
.charge-modal .modal-footer:after {
    display: none;
}

.charge-modal .modal-footer .btn {
    height: 32px;
    padding: 6px 12px;
    font-size: 11px;
    font-weight: 700;
    line-height: 1.35;
    text-transform: uppercase;
}

.charge-modal .modal-footer .glyphicon {
    margin-right: 6px;
}

.charge-editor {
    display: grid;
    gap: 10px;
}

.charge-editor-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}

.charge-field {
    display: block;
    min-width: 0;
    margin: 0;
}

.charge-field span,
.charge-check span {
    display: block;
    margin-bottom: 4px;
    color: #667386;
    font-size: 10px;
    font-weight: 700;
    line-height: 1.2;
}

.charge-field .form-control {
    width: 100%;
    height: 32px;
    padding: 5px 8px;
    color: #10243d;
    border: 1px solid #cfd8e3;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 700;
    box-shadow: none;
}

.charge-field .form-control:focus {
    border-color: #8eabc8;
    box-shadow: 0 0 0 3px rgba(23, 70, 110, 0.1);
}

.charge-field-accent {
    padding: 10px;
    background: #eef6fd;
    border: 1px solid #bfd8ec;
    border-radius: 7px;
}

.charge-check {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    margin: 0;
    padding: 8px 10px;
    background: #ffffff;
    border: 1px solid #dfe6ef;
    border-radius: 7px;
}

.charge-check input {
    margin: 0;
}

.charge-check input:disabled {
    cursor: not-allowed;
}

.charge-check span {
    margin: 0;
    color: #334155;
}

.charge-auto-note {
    margin-top: -4px;
    padding: 7px 9px;
    border: 1px solid #d9e2ec;
    border-radius: 6px;
    color: #5f6f82;
    background: #f7fafc;
    font-size: 12px;
    line-height: 1.35;
}

.charge-save-error {
    display: none;
    margin-bottom: 12px;
    padding: 10px 12px;
    color: #8a1f17;
    background: #fff1ef;
    border: 1px solid #efb4ad;
    border-radius: 6px;
}

.charge-save-error.is-visible {
    display: grid;
    gap: 3px;
}

.charge-save-error strong {
    font-size: 13px;
}

.charge-save-error span {
    font-size: 12px;
}

.ask-page {
    max-width: 1180px;
}

.ask-bank-filter {
    min-width: 220px !important;
}

.ask-filter-title {
    display: inline-flex;
    align-items: center;
    min-height: 32px;
    padding: 5px 9px;
    color: #174d78;
    background: #eef6fd;
    border: 1px solid #bfd8ec;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 700;
}

.ask-action-form {
    margin: 0;
}

.ask-table {
    width: 100%;
    min-width: 0;
    table-layout: fixed;
}

.ask-table td {
    overflow: hidden;
    padding: 5px 6px !important;
    text-overflow: ellipsis;
    vertical-align: middle !important;
    white-space: nowrap;
    font-size: 11px;
    line-height: 1.25;
}

.ask-table thead td {
    font-size: 10px;
}

.ask-date-col {
    width: 104px;
}

.ask-drop-col {
    width: 150px;
}

.ask-bk-col {
    width: 112px;
}

.ask-currency-col {
    width: 60px;
}

.ask-money-col {
    width: 82px;
}

.ask-user-col {
    width: 112px;
}

.ask-decision-col {
    width: 56px;
}

.ask-row:nth-child(even) td {
    background: #f8fafc !important;
}

.ask-row:hover {
    outline: 1px solid #b8cadc;
}

.ask-row td:first-child {
    box-shadow: inset 4px 0 0 #d0a73f;
}

.ask-drop a,
.ask-bk {
    color: #17466e;
    font-weight: 700;
}

.ask-source {
    color: #263548;
    font-weight: 600;
}

.ask-currency {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 42px;
    padding: 1px 6px;
    color: #405166;
    background: #edf3f8;
    border: 1px solid #d8e3ee;
    border-radius: 999px;
    font-size: 10px;
    font-weight: 700;
}

.ask-money {
    color: #223044;
    font-variant-numeric: tabular-nums;
    font-weight: 800;
}

.ask-user {
    color: #4b5b70;
}

.ask-choice {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 24px;
    margin: 0;
    border: 1px solid #cfd8e3;
    border-radius: 6px;
    cursor: pointer;
}

.ask-choice span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    border-radius: 5px;
}

.ask-choice input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.ask-choice-ok {
    color: #24623d;
    background: #ecf8f0;
    border-color: #9bd0ad;
}

.ask-choice-deny {
    color: #8b2f2f;
    background: #fff0f0;
    border-color: #efc0c0;
}

.ask-choice input:checked + span {
    color: #ffffff;
}

.ask-choice-ok input:checked + span {
    background: #3f9f62;
}

.ask-choice-deny input:checked + span {
    background: #c43d3d;
}

.ask-action-panel {
    display: flex;
    justify-content: flex-end;
    min-height: 0;
    margin-top: 10px;
}

.ask-action-panel:empty {
    display: none;
}

.ask-page .work-toolbar-actions {
    gap: 8px;
}

.ask-page .work-toolbar-actions .btn,
.ask-action-panel .btn {
    height: 34px;
    padding: 6px 12px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
}

.ask-page .work-toolbar-actions .glyphicon,
.ask-action-panel .glyphicon {
    margin-right: 6px;
}

.kurs-page {
    max-width: 900px;
}

.kurs-form {
    margin: 0;
}

.kurs-card {
    overflow: hidden;
}

.kurs-card-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 10px 12px;
    color: #667386;
    background: #ffffff;
    border-bottom: 1px solid #e1e8f0;
    font-size: 12px;
    font-weight: 700;
}

.kurs-card-head span:last-child {
    color: #174d78;
    background: #eef6fd;
    border: 1px solid #bfd8ec;
    border-radius: 999px;
    padding: 4px 9px;
    font-size: 11px;
}

.kurs-table {
    width: 100%;
    min-width: 0;
    table-layout: fixed;
}

.kurs-table td {
    padding: 8px 10px !important;
    vertical-align: middle !important;
}

.kurs-table thead td {
    font-size: 12px;
}

.kurs-table .form-control {
    width: 100%;
    height: 32px;
    padding: 5px 9px;
    border: 1px solid #cfd8e3;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 700;
    box-shadow: none;
}

.kurs-table .form-control:focus {
    border-color: #8eabc8;
    box-shadow: 0 0 0 3px rgba(23, 70, 110, 0.1);
}

.kurs-sum-col {
    width: 180px;
}

.kurs-result-col {
    width: 150px;
}

.kurs-result {
    color: #17324d;
    font-variant-numeric: tabular-nums;
    font-size: 15px;
    font-weight: 800;
}

.kurs-actions {
    display: flex;
    justify-content: flex-end;
    margin-top: 10px;
}

.kurs-actions .btn {
    height: 34px;
    padding: 6px 14px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
}

.kurs-actions .glyphicon {
    margin-right: 6px;
}

.directory-page {
    max-width: 1180px;
}

.directory-page-narrow {
    max-width: 900px;
}

.directory-head {
    align-items: center;
    margin-bottom: 10px;
    padding: 10px 18px;
}

.directory-head .work-kicker,
.directory-edit-page .work-kicker {
    margin-bottom: 2px;
    font-size: 10px;
}

.directory-head h1,
.directory-edit-page .work-head h1 {
    margin-bottom: 3px;
    font-size: 22px;
}

.directory-head p,
.directory-edit-page .work-head p {
    font-size: 12px;
    line-height: 1.35;
}

.directory-head .work-head-actions .btn,
.directory-edit-page .work-head-actions .btn {
    min-height: 34px;
    padding: 6px 12px;
}

.directory-summary {
    margin-bottom: 12px;
}

.directory-summary-three {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.directory-summary .summary-item {
    min-height: 74px;
    padding: 13px 16px;
}

.directory-summary .summary-item strong {
    color: #17324d;
    font-size: 22px;
}

.directory-table-card {
    overflow-x: auto;
}

.directory-table {
    width: 100%;
    min-width: 760px;
    table-layout: fixed;
}

.directory-table th,
.directory-table td {
    overflow: hidden;
    text-overflow: ellipsis;
    vertical-align: middle !important;
}

.directory-table th {
    padding: 9px 10px !important;
    color: #223044;
    background: #eef3f8 !important;
    border-color: #d9e2ec !important;
    font-size: 12px;
    font-weight: 700;
}

.directory-row {
    transition: background 0.12s ease;
}

.directory-row:hover {
    outline: 1px solid #b8cadc;
}

.directory-status {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 38px;
    min-height: 22px;
    padding: 2px 8px;
    color: #174d78;
    background: #eef6fd;
    border: 1px solid #bfd8ec;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 700;
}

.directory-warning {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 22px;
    padding: 2px 8px;
    color: #8a4b13;
    background: #fff7e6;
    border: 1px solid #f0cf91;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 700;
}

.directory-actions {
    text-align: center;
    white-space: nowrap;
}

.directory-action-col {
    width: 92px;
    text-align: center;
}

.directory-operation-col {
    width: 116px;
    text-align: center;
}

.directory-operation {
    background: #fbfcfe;
    border-left: 1px solid #dfe6ef !important;
}

.directory-icon-btn {
    line-height: 1;
}

.directory-operation-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    min-width: 86px;
    height: 28px;
    padding: 4px 9px;
    color: #17466e;
    background: #eaf2f8;
    border: 1px solid #c9d9e8;
    border-radius: 6px;
    font-size: 11px;
    font-weight: 700;
}

.directory-operation-btn:hover,
.directory-operation-btn:focus {
    color: #0f3554;
    background: #dbeaf5;
}

.countries-directory-table {
    max-width: 820px;
    min-width: 700px;
}

.sports-directory-table {
    min-width: 560px;
}

.mutchers-directory-table {
    min-width: 760px;
}

.mutchers-directory-table th:nth-child(2),
.mutchers-directory-table td:nth-child(2) {
    white-space: normal;
    word-break: break-word;
    overflow-wrap: anywhere;
}

.banks-directory-table {
    min-width: 960px;
}

.bank-rate-col {
    min-width: 110px;
}

.bank-rate-cell {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
}

.bank-rate-value {
    font-weight: 700;
}

.directory-rate-mode {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 20px;
    padding: 1px 7px;
    border-radius: 999px;
    font-size: 10px;
    font-weight: 700;
    line-height: 1.2;
}

.directory-rate-mode-auto {
    color: #174d78;
    background: #eef6fd;
    border: 1px solid #bfd8ec;
}

.directory-rate-mode-manual {
    color: #8a4b13;
    background: #fff7e6;
    border: 1px solid #f0cf91;
}

.bank-curr-mode {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.bank-curr-mode-option {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    min-height: 34px;
    padding: 6px 12px;
    margin: 0;
    color: #17466e;
    background: #f7fafc;
    border: 1px solid #dfe6ef;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
}

.bank-curr-mode-option input {
    margin: 0;
}

.form-control-readonly {
    color: #667386;
    background: #f3f6f9;
}

.banks-directory-table .directory-operation-col,
.banks-directory-table .directory-operation {
    width: 190px;
}

.banks-directory-table .directory-status-col,
.banks-directory-table th:nth-child(6),
.banks-directory-table td:nth-child(6) {
    width: 74px;
    text-align: center;
}

.banks-directory-table .directory-action-col,
.banks-directory-table th:nth-child(7),
.banks-directory-table td:nth-child(7) {
    width: 72px;
}

.banks-directory-table .directory-operation {
    white-space: nowrap;
}

.banks-directory-table .directory-operation-btn {
    min-width: 82px;
    padding-left: 7px;
    padding-right: 7px;
}

.users-directory-table {
    min-width: 920px;
}

.banks-directory-table th:nth-child(2),
.banks-directory-table td:nth-child(2),
.banks-directory-table th:nth-child(4),
.banks-directory-table td:nth-child(4),
.countries-directory-table th:nth-child(2),
.countries-directory-table td:nth-child(2) {
    width: 96px;
    text-align: center;
}

.banks-directory-table th:nth-child(3),
.banks-directory-table td:nth-child(3) {
    width: 120px;
}

.directory-edit-page {
    max-width: 900px;
}

.directory-edit-page .match-edit-head {
    margin-bottom: 10px;
    padding: 11px 18px;
}

.directory-edit-form .help-block {
    margin: 5px 0 0;
    color: #667386;
    font-size: 12px;
}

.user-auto-task-box {
    margin-top: 18px;
    padding-top: 18px;
    border-top: 1px solid #e4eaf2;
}

.user-auto-task-title {
    margin-bottom: 12px;
}

.user-auto-task-head,
.user-auto-task-rule {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 10px;
}

.user-auto-task-head {
    margin-bottom: 6px;
    color: #667386;
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
}

.user-auto-task-rule + .user-auto-task-rule {
    margin-top: 8px;
}

.directory-check {
    display: flex;
    align-items: center;
    gap: 8px;
    min-height: 38px;
    margin: 0;
    padding: 9px 11px;
    color: #334155;
    background: #f8fafc;
    border: 1px solid #dfe6ef;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 700;
}

.directory-check input {
    margin: 0;
}

.directory-alert {
    margin-bottom: 12px;
    border-radius: 8px;
}

.tasks-page {
    max-width: 1180px;
}

.tasks-page .work-head,
.task-edit-page .work-head {
    margin-bottom: 10px;
    padding: 13px 18px;
}

.tasks-page .work-head {
    margin-bottom: 8px;
    padding: 9px 18px;
}

.tasks-page .work-head-actions .btn {
    height: 34px;
    padding: 6px 12px;
}

.tasks-page .work-kicker,
.task-edit-page .work-kicker {
    margin-bottom: 4px;
    font-size: 11px;
}

.tasks-page .work-kicker {
    margin-bottom: 2px;
    font-size: 10px;
}

.tasks-page .work-head h1,
.task-edit-page .work-head h1 {
    margin-bottom: 3px;
    font-size: 24px;
}

.tasks-page .work-head h1 {
    margin-bottom: 2px;
    font-size: 21px;
}

.tasks-page .work-head p,
.task-edit-page .work-head p {
    font-size: 13px;
}

.tasks-page .work-head p {
    font-size: 12px;
}

.tasks-summary {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    margin-bottom: 10px;
}

.tasks-summary .summary-item {
    padding: 10px 18px;
}

.tasks-summary .summary-item span {
    font-size: 11px;
}

.tasks-summary .summary-item strong {
    margin-top: 4px;
    font-size: 23px;
}

.tasks-filter-form {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    gap: 8px;
    margin-bottom: 12px;
}

.tasks-filter-form label {
    min-width: 180px;
    margin: 0;
}

.tasks-filter-form .btn {
    min-width: 96px;
}

.tasks-filter-form label span {
    display: block;
    margin-bottom: 4px;
    color: #667386;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
}

.tasks-filter-form .form-control,
.tasks-filter-form .btn {
    height: 32px;
}

.tasks-table {
    width: 100%;
    border: 1px solid #b9c8d8 !important;
    border-collapse: separate;
    border-spacing: 0;
    table-layout: fixed;
}

.tasks-table th,
.tasks-table td {
    border-top: 0 !important;
    border-left: 0 !important;
    border-right: 1px solid #b9c8d8 !important;
    border-bottom: 1px solid #b9c8d8 !important;
    box-shadow: inset -1px 0 0 #d9e2ec, inset 0 -1px 0 #d9e2ec;
    vertical-align: middle !important;
}

.tasks-table th {
    padding: 9px 10px !important;
    color: #223044;
    background: #eef3f8 !important;
    font-size: 12px;
    font-weight: 700;
}

.tasks-table th:last-child,
.tasks-table td:last-child {
    border-right: 0 !important;
}

.tasks-table tbody tr:last-child td {
    border-bottom: 0 !important;
}

.tasks-table tbody tr:hover td {
    filter: brightness(0.98);
}

.tasks-table .task-status-col {
    width: 82px;
}

.tasks-table .task-type-col {
    width: 90px;
}

.tasks-table .task-title-col {
    width: 15%;
}

.tasks-table .task-comment-col {
    width: auto;
    min-width: 260px;
    white-space: normal;
    word-break: break-word;
}

.tasks-table .task-responsible-col {
    width: 12%;
}

.tasks-table .task-created-col {
    width: 9%;
}

.tasks-table .task-date-col {
    width: 86px;
}

.tasks-table .task-title-col,
.tasks-table .task-responsible-col,
.tasks-table .task-created-col,
.tasks-table .task-date-col {
    overflow: hidden;
    text-overflow: ellipsis;
}

.tasks-table .task-title-col small {
    display: block;
    margin-top: 3px;
    color: #667386;
    font-size: 11px;
}

.task-object-inline {
    font-weight: 700;
}

.task-object-two-line {
    display: inline-flex;
    flex-direction: column;
    gap: 2px;
    line-height: 1.25;
}

.task-object-drop {
    color: #1f2937;
    font-weight: 800;
}

.task-object-bk {
    color: #1f6fb2;
    font-weight: 700;
}

.task-last-comment-empty {
    color: #a0a8b3;
}

.task-status {
    display: inline-block;
    padding: 0;
    font-size: 11px;
    font-weight: 900;
    line-height: 1.25;
    text-transform: uppercase;
    white-space: nowrap;
    background: transparent !important;
    border: 0;
}

.task-status-created {
    color: #17466e;
}

.task-status-work {
    color: #805400;
}

.task-status-done {
    color: #1e7a39;
}

.task-status-cancelled {
    color: #6b7280;
}

.task-type-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    max-width: 100%;
    min-height: 20px;
    padding: 2px 7px;
    border: 1px solid #cfd8e3;
    border-radius: 999px;
    color: #344054;
    background: #f4f7fa;
    font-size: 10px;
    font-weight: 800;
    line-height: 1.2;
    text-align: center;
    white-space: normal;
}

.task-type-pill-1 {
    color: #a55200;
    background: #ffffff;
    border-color: #f4b66f;
}

.task-type-pill-2 {
    color: #7a6500;
    background: #fff8a8;
    border-color: #d7ca1e;
}

.task-type-pill-3 {
    color: #8b2f2f;
    background: #ffffff;
    border-color: #efc0c0;
}

.task-type-pill-4 {
    color: #344054;
    background: #ffffff;
    border-color: #cfd8e3;
}

.task-type-pill-5 {
    color: #344054;
    background: #ffffff;
    border-color: #cfd8e3;
}

.task-type-pill-6 {
    color: #175b91;
    background: #ffffff;
    border-color: #bcd5f4;
}

.tasks-table .task-type-row-1 td {
    background: #fce5cd !important;
}

.tasks-table .task-type-row-1 .directory-actions {
    background: #fce5cd !important;
}

.tasks-table .task-type-row-2 td {
    background: #e3e602 !important;
}

.tasks-table .task-type-row-2 .directory-actions {
    background: #e3e602 !important;
}

.tasks-table .task-type-row-3 td {
    background: #f4cccc !important;
}

.tasks-table .task-type-row-3 .directory-actions {
    background: #f4cccc !important;
}

.tasks-table .task-type-row-6 td {
    background: #cfe2f3 !important;
}

.tasks-table .task-type-row-6 .directory-actions {
    background: #cfe2f3 !important;
}

.tasks-table .task-row {
    cursor: pointer;
}

.task-form-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.task-responsible-select {
    min-height: 96px;
}

.task-user-picker,
.task-object-picker {
    max-height: 176px;
    overflow: auto;
    padding: 6px;
    border: 1px solid #d8e3ee;
    border-radius: 8px;
    background: #ffffff;
}

.task-user-picker-item,
.task-object-picker-item,
.task-object-picker-empty {
    display: flex;
    align-items: center;
    gap: 8px;
    min-height: 30px;
    margin: 2px 0;
    padding: 6px 8px;
    border-radius: 6px;
    color: #253244;
    font-weight: 700;
    cursor: pointer;
}

.task-user-picker-item input,
.task-object-picker-item input,
.task-object-picker-empty input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.task-user-picker-circle,
.task-picker-circle {
    width: 16px;
    height: 16px;
    flex: 0 0 16px;
    border: 2px solid #adc3d8;
    border-radius: 50%;
    background: #ffffff;
}

.task-user-picker-item:hover,
.task-user-picker-item.is-selected,
.task-object-picker-item:hover,
.task-object-picker-empty:hover,
.task-object-picker-item.is-selected,
.task-object-picker-empty.is-selected {
    background: #e8f2fb;
}

.task-user-picker-item.is-selected .task-user-picker-circle,
.task-object-picker-item.is-selected .task-picker-circle,
.task-object-picker-empty.is-selected .task-picker-circle {
    border-color: #1f6fb2;
    box-shadow: inset 0 0 0 4px #ffffff;
    background: #1f6fb2;
}

.task-user-picker-name,
.task-picker-name {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.task-responsible-note {
    color: #667386;
    font-size: 12px;
}

.task-wide-field {
    grid-column: 1 / -1;
}

.task-main-comment {
    min-height: 96px;
    resize: vertical;
}

.task-main-card {
    padding-top: 18px;
}

.task-collapsible-title {
    align-items: center;
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: 0;
}

.task-collapsible-title .task-collapse-toggle {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 0;
    border: 0;
    color: #061b34;
    background: transparent;
    font: inherit;
    text-align: left;
}

.task-collapse-label {
    font-size: 20px;
    font-weight: 700;
}

.task-collapse-icon {
    color: #1f6fb2;
    font-size: 13px;
    transition: transform .15s ease;
}

.task-main-card:not(.is-collapsed) .task-collapse-icon {
    transform: rotate(180deg);
}

.task-main-card.is-collapsed .task-collapsible-title > span {
    display: none;
}

.task-collapsible-body {
    margin-top: 18px;
    padding-top: 18px;
    border-top: 1px solid #dfe6ef;
}

.task-main-card.is-collapsed .task-collapsible-body {
    display: none;
}

.task-comments-card {
    margin-top: 12px;
    margin-bottom: 28px;
}

.task-comment-form {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 8px;
    margin-bottom: 12px;
}

.task-comment-form textarea {
    min-height: 68px;
    resize: vertical;
}

.task-comment-form .btn {
    align-self: start;
}

.task-comment {
    max-width: 100%;
    padding: 10px 12px;
    border: 1px solid #dfe6ef;
    border-radius: 8px;
    background: #f8fafc;
    overflow: hidden;
}

.task-comment + .task-comment {
    margin-top: 8px;
}

.task-comment div {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 6px;
    color: #40566f;
    min-width: 0;
}

.task-comment span {
    flex: 0 0 auto;
    color: #7b8794;
    font-size: 12px;
    white-space: nowrap;
}

.task-comment p {
    margin: 0;
    color: #1f2937;
    line-height: 1.45;
    overflow-wrap: anywhere;
    word-break: break-word;
}

.task-comment-system {
    background: #eef6fd;
    border-color: #cfe2f3;
}

.task-comment-system p {
    color: #17466e;
    font-weight: 700;
}

.comment-form-actions {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 6px;
}

.comment-form-actions .btn {
    width: 100%;
}

.comment-attach-button {
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

.comment-attach-button input[type="file"] {
    position: absolute;
    width: 1px;
    height: 1px;
    opacity: 0;
    pointer-events: none;
}

.comment-selected-files {
    display: flex;
    grid-column: 1 / -1;
    flex-wrap: wrap;
    gap: 5px;
    min-height: 0;
}

.comment-selected-files:empty {
    display: none;
}

.comment-selected-files span {
    max-width: 100%;
    padding: 4px 8px;
    overflow: hidden;
    color: #40566f;
    background: #eef3f8;
    border-radius: 5px;
    font-size: 12px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.task-comment .comment-attachments,
.bk-task-comment-item .comment-attachments {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    gap: 6px;
    margin: 8px 0 0;
}

.comment-attachment {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    max-width: 100%;
    padding: 5px 8px;
    color: #24577f;
    background: #eef6fd;
    border: 1px solid #cfe2f3;
    border-radius: 5px;
    text-decoration: none;
}

.comment-attachment:hover,
.comment-attachment:focus {
    color: #173e60;
    background: #e1f0fc;
    text-decoration: none;
}

.comment-attachment span:not(.glyphicon) {
    flex: 1 1 auto;
    overflow: hidden;
    color: inherit;
    font-size: inherit;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.comment-attachment small {
    flex: 0 0 auto;
    margin: 0;
    color: #718096;
    font-weight: 400;
    white-space: nowrap;
}

.btn.app-back-button {
    font-size: 14px !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
}

.task-auto-note {
    color: #7a4b00;
    font-weight: 700;
}

.task-auto-badge {
    display: inline-flex;
    align-items: center;
    min-height: 20px;
    margin-left: 8px;
    padding: 2px 7px;
    border-radius: 999px;
    color: #17466e;
    background: #e8f2fb;
    font-size: 11px;
    font-weight: 800;
    vertical-align: middle;
}

.task-object-link {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    margin-top: 6px;
    color: #1f6fb2;
    font-size: 12px;
    font-weight: 800;
}

.task-object-picker-current {
    position: sticky;
    top: 0;
    z-index: 2;
    display: flex;
    gap: 6px;
    padding: 7px 8px;
    border-bottom: 1px solid #e4eaf2;
    background: #f8fafc;
    color: #667386;
    font-size: 12px;
}

.task-object-picker-current strong {
    overflow: hidden;
    color: #1f2937;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.task-user-picker-current {
    margin: -6px -6px 6px;
}

.task-object-picker details {
    border-top: 1px solid #eef2f7;
}

.task-object-picker details:first-of-type {
    border-top: 0;
}

.task-object-picker summary {
    cursor: pointer;
    padding: 7px 8px;
    color: #173b5c;
    font-weight: 800;
    list-style-position: inside;
}

.task-object-picker-drop summary {
    padding-left: 14px;
    color: #253244;
    font-weight: 700;
}

.task-object-picker-list,
.task-object-picker-drops {
    padding: 0 6px 6px;
}

.task-object-picker-child {
    margin-left: 14px;
}

.task-object-picker-subtitle {
    margin: 8px 0 4px 24px;
    color: #667386;
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
}

.task-object-picker-empty-text {
    padding: 7px 8px 7px 22px;
    color: #7b8794;
    font-size: 12px;
}

.task-delete-inline {
    display: inline-flex;
    margin: 0 0 0 6px;
}

.tasks-table .directory-actions {
    text-align: center;
    vertical-align: middle !important;
    white-space: nowrap;
}

.task-action-buttons {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
}

.task-stats-filter {
    grid-template-columns: minmax(160px, 220px) minmax(130px, 160px) minmax(220px, 280px) auto auto;
}

.task-stats-summary {
    grid-template-columns: repeat(5, minmax(0, 1fr));
}

.task-stats-users-card {
    margin-bottom: 14px;
}

.task-stats-table th,
.task-stats-table td {
    text-align: center;
}

.task-stats-table th:first-child,
.task-stats-table td:first-child {
    text-align: left;
}

.task-stats-period-field .dashboard-period-input {
    min-width: 220px;
}

.tasks-table .directory-actions .directory-icon-btn,
.tasks-table .directory-actions .task-delete-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    padding: 0;
    border-radius: 5px;
    font-size: 11px;
    line-height: 1;
}

.tasks-table .directory-actions .glyphicon {
    margin: 0;
    font-size: 11px;
    line-height: 1;
}

.tasks-table .task-delete-inline {
    display: inline-flex;
    margin: 0;
    vertical-align: middle;
}

.task-delete-icon,
.task-delete-btn {
    color: #9f1f1f;
}

.task-delete-icon:hover,
.task-delete-icon:focus {
    color: #ffffff;
    background: #c43d3d;
}

.directory-modal .modal-dialog {
    width: 340px;
}

.directory-modal .modal-content {
    border: 1px solid #dfe6ef;
    border-radius: 8px;
    box-shadow: 0 18px 42px rgba(18, 32, 53, 0.18);
}

.directory-modal .modal-header {
    padding: 12px 16px;
    color: #ffffff;
    background: #17466e;
    border-bottom: 0;
    border-radius: 8px 8px 0 0;
}

.directory-modal .modal-title {
    font-size: 16px;
    font-weight: 700;
}

.directory-modal .close {
    color: #ffffff;
    opacity: 0.75;
    text-shadow: none;
}

.directory-modal .modal-body {
    padding: 16px;
}

.admin-page {
    max-width: 1180px;
}

.admin-logs-page {
    max-width: none;
}

.container-finance-moves {
    width: 100%;
    min-width: 1224px;
    max-width: 1534px;
    margin: 0 auto;
}

.container-finance-moves #maincontainer {
    width: 100%;
    padding-right: 0;
    padding-left: 0;
}

.container-bets-wide {
    width: 100%;
    min-width: 1180px;
    max-width: 1390px;
    margin: 0 auto;
}

.container-bets-wide #maincontainer {
    width: 100%;
    padding-right: 0;
    padding-left: 0;
}

.container-finance-moves .hidden-lg {
    display: none !important;
}

.finance-moves-page {
    width: 100%;
    max-width: none;
}

.monthly-summary-page {
    width: 100%;
}

.monthly-summary-settings {
    display: flex;
    align-items: flex-end;
    gap: 10px;
    margin: 14px 0;
    padding: 14px;
    background: #fff;
    border: 1px solid #d9e2ec;
    border-radius: 8px;
}

.monthly-summary-settings label {
    width: 260px;
    margin-bottom: 0;
}

.monthly-summary-settings label span {
    display: block;
    margin-bottom: 6px;
    color: #667386;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
}

.monthly-summary-card {
    overflow-x: visible;
}

.monthly-summary-table {
    width: 100%;
    min-width: 0;
    border-collapse: collapse;
    table-layout: fixed;
}

.monthly-summary-table td {
    padding: 8px 8px !important;
    border: 1px solid #b9c7d6 !important;
    white-space: nowrap;
}

.monthly-summary-table thead td {
    background: #eef3f8 !important;
    color: #102a43;
    font-weight: 700;
    text-align: center;
}

.monthly-summary-table tbody td:first-child {
    font-weight: 700;
}

.monthly-summary-table .monthly-summary-total {
    background: #dbeafe;
}

.monthly-summary-table .monthly-summary-we {
    background: #f3f4f6;
}

.monthly-summary-table .monthly-summary-org {
    background: #e9ddf5;
}

.monthly-summary-table .monthly-summary-expenses {
    background: #fff1c9;
}

.monthly-summary-table .monthly-summary-clean-we {
    background: #dff3e7;
}

.monthly-summary-table .monthly-summary-clean-org {
    background: #d9eadf;
}

.monthly-summary-table .monthly-summary-sent {
    background: #f7f3e8;
}

.monthly-summary-table .monthly-summary-debt {
    background: #eaf0f6;
}

.monthly-summary-table tbody td:nth-child(2),
.monthly-summary-table tbody td:nth-child(3),
.monthly-summary-table tbody td:nth-child(4),
.monthly-summary-table tbody td:nth-child(6),
.monthly-summary-table tbody td:nth-child(7),
.monthly-summary-table tbody td:nth-child(9) {
    font-weight: 700;
}

.admin-head {
    align-items: center;
    margin-bottom: 10px;
    padding: 10px 18px;
}

.admin-head .work-kicker,
.monthly-summary-page .work-kicker {
    margin-bottom: 2px;
    font-size: 10px;
}

.admin-head h1,
.monthly-summary-page .match-detail-main h1 {
    margin-bottom: 3px;
    font-size: 22px;
}

.admin-head p,
.monthly-summary-page .match-detail-main p {
    font-size: 12px;
    line-height: 1.35;
}

.monthly-summary-page .match-detail-head {
    align-items: center;
    margin-bottom: 10px;
    padding: 10px 18px;
}

.admin-summary {
    margin-bottom: 12px;
}

.admin-summary-three {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.admin-summary-four {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.admin-summary-one {
    grid-template-columns: minmax(220px, 320px);
}

.finance-move-summary {
    grid-template-columns: minmax(180px, 240px) minmax(220px, 1fr) minmax(220px, 1fr);
}

.admin-summary .summary-item {
    min-height: 74px;
    padding: 13px 16px;
}

.admin-summary .summary-item strong {
    color: #17324d;
    font-size: 22px;
}

.admin-summary .summary-item small {
    display: block;
    margin-top: 5px;
    color: #667386;
    font-size: 11px;
    font-weight: 700;
}

.admin-toolbar {
    padding: 12px;
}

.admin-filter-form,
.admin-log-filter-form {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    gap: 10px;
    margin: 0;
}

.admin-filter-form label,
.admin-log-filter-form label {
    min-width: 170px;
    margin: 0;
}

.admin-filter-form label span,
.admin-log-filter-form label span,
.admin-period-fields > span {
    display: block;
    margin-bottom: 5px;
    color: #667386;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
}

.admin-filter-form .form-control,
.admin-log-filter-form .form-control {
    height: 32px;
    padding: 5px 9px;
    border: 1px solid #cfd8e3;
    border-radius: 6px;
    box-shadow: none;
}

.admin-log-filter-form .btn {
    height: 32px;
    padding: 5px 12px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
}

.admin-log-filter-form .glyphicon {
    margin-right: 6px;
}

.admin-small-field {
    min-width: 74px !important;
    width: 74px;
}

.admin-object-filter-field {
    min-width: 220px !important;
    width: 220px;
}

.admin-period-fields {
    display: grid;
    grid-template-columns: 34px 34px 58px auto 34px 34px 58px;
    gap: 5px;
    align-items: end;
}

.admin-period-fields > span {
    grid-column: 1 / -1;
}

.admin-period-fields b {
    align-self: center;
    color: #667386;
    font-size: 12px;
}

.admin-table-card {
    overflow-x: auto;
}

.admin-section-title {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 12px;
    padding: 12px 14px;
    background: #ffffff;
    border-bottom: 1px solid #dfe6ef;
}

.admin-section-title h2 {
    margin: 0;
    color: #223044;
    font-size: 16px;
}

.admin-section-title span {
    color: #667386;
    font-size: 12px;
}

.admin-table {
    width: 100%;
    min-width: 780px;
    table-layout: fixed;
}

.admin-table th,
.admin-table td {
    overflow: hidden;
    text-overflow: ellipsis;
    vertical-align: middle !important;
}

.admin-table th {
    padding: 9px 10px !important;
    color: #223044;
    background: #eef3f8 !important;
    border-color: #d9e2ec !important;
    font-size: 12px;
    font-weight: 700;
}

.admin-row {
    transition: background 0.12s ease;
}

.admin-row:hover {
    outline: 1px solid #b8cadc;
}

.admin-actions,
.admin-action-col {
    width: 112px;
    text-align: center;
}

.admin-delete-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    min-width: 82px;
    height: 28px;
    padding: 4px 8px;
    color: #a33434;
    background: #fff1f1;
    border: 1px solid #efc2c2;
    border-radius: 6px;
    font-size: 11px;
    font-weight: 700;
}

.admin-delete-btn:hover,
.admin-delete-btn:focus {
    color: #ffffff;
    background: #c43d3d;
    border-color: #a82d2d;
}

.admin-plat-table th:nth-child(2),
.admin-plat-table td:nth-child(2) {
    width: 92px;
}

.admin-plat-table th:nth-child(3),
.admin-plat-table td:nth-child(3) {
    width: 130px;
}

.admin-balance-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
}

.admin-balance-grid .admin-table {
    min-width: 0;
}

.admin-balance-table th,
.admin-balance-table td {
    padding: 8px 9px !important;
}

.admin-balance-table th:nth-child(2),
.admin-balance-table td:nth-child(2),
.admin-balance-table th:nth-child(4),
.admin-balance-table td:nth-child(4) {
    text-align: right;
}

.admin-log-table {
    min-width: 1060px;
}

.admin-log-table th:nth-child(1),
.admin-log-table td:nth-child(1) {
    width: 138px;
}

.admin-log-table th:nth-child(2),
.admin-log-table td:nth-child(2) {
    width: 145px;
}

.admin-log-table th:nth-child(3),
.admin-log-table td:nth-child(3) {
    width: 210px;
    white-space: normal;
    word-break: break-word;
    overflow-wrap: anywhere;
}

.admin-log-table th:nth-child(4),
.admin-log-table td:nth-child(4) {
    width: 135px;
}

.admin-log-table th:nth-child(5),
.admin-log-table td:nth-child(5) {
    white-space: normal;
    word-break: break-word;
    overflow-wrap: anywhere;
}

.finance-move-table {
    min-width: 1534px;
}

.finance-move-table th:nth-child(1),
.finance-move-table td:nth-child(1) {
    width: 132px;
}

.finance-move-table th:nth-child(2),
.finance-move-table td:nth-child(2) {
    width: 156px;
}

.finance-move-table th:nth-child(3),
.finance-move-table td:nth-child(3),
.finance-move-table th:nth-child(4),
.finance-move-table td:nth-child(4) {
    width: 270px;
    white-space: normal;
    word-break: break-word;
    overflow-wrap: anywhere;
}

.finance-move-table th:nth-child(5),
.finance-move-table td:nth-child(5) {
    width: 72px;
    text-align: center;
}

.finance-move-table th:nth-child(6),
.finance-move-table td:nth-child(6),
.finance-move-table th:nth-child(7),
.finance-move-table td:nth-child(7) {
    width: 112px;
    text-align: right;
    font-variant-numeric: tabular-nums;
    font-weight: 700;
}

.finance-move-table th:nth-child(8),
.finance-move-table td:nth-child(8) {
    width: 130px;
}

.finance-move-type {
    display: inline-flex;
    max-width: 100%;
    padding: 3px 8px;
    border: 1px solid #cfd8e3;
    border-radius: 999px;
    color: #17324d;
    background: #f8fafc;
    font-size: 11px;
    font-weight: 700;
}

.finance-move-expense .finance-move-type {
    border-color: #f2c4c4;
    color: #842029;
    background: #fff5f5;
}

.finance-move-deposit .finance-move-type {
    border-color: #b9dfc8;
    color: #1f6b42;
    background: #f2fbf5;
}

.finance-move-withdraw .finance-move-type {
    border-color: #c9d8f2;
    color: #244f89;
    background: #f4f8ff;
}

.finance-move-transfer .finance-move-type {
    border-color: #e2d2a3;
    color: #7a5600;
    background: #fffaf0;
}

.log-change-details {
    margin-top: 8px;
}

.log-change-details summary {
    display: inline-flex;
    align-items: center;
    min-height: 24px;
    padding: 3px 8px;
    color: #17466e;
    background: #eaf2f8;
    border: 1px solid #c9d9e8;
    border-radius: 6px;
    font-size: 11px;
    font-weight: 700;
    cursor: pointer;
}

.log-change-table {
    width: 100%;
    margin-top: 8px;
    table-layout: fixed;
    background: #ffffff;
    border: 1px solid #dfe6ef;
    border-radius: 6px;
}

.log-change-table th,
.log-change-table td {
    padding: 6px 8px !important;
    border: 1px solid #dfe6ef;
    font-size: 12px;
    vertical-align: top !important;
    white-space: pre-wrap;
    word-break: break-word;
}

.log-change-table th {
    color: #475569;
    background: #f7f9fc !important;
    font-weight: 700;
}

.bks-row {
    cursor: default;
    transition: filter 0.12s ease;
}

.bks-row:hover {
    filter: brightness(0.98);
}

.bk-test-row > td {
    border-top: 2px solid #f59e0b !important;
    border-bottom: 2px solid #f59e0b !important;
}

.bk-test-row > td:first-child {
    border-left: 2px solid #f59e0b !important;
}

.bk-test-row > td:last-child {
    border-right: 2px solid #f59e0b !important;
}

.bks-row .bks-site,
.bks-row .bks-login,
.bks-row .bks-pass {
    cursor: cell;
}

.bks-row td.is-range-selected {
    outline: 1px solid #2d78b8;
    outline-offset: -1px;
    background-image: linear-gradient(rgba(45, 120, 184, 0.16), rgba(45, 120, 184, 0.16));
    user-select: none;
}

.bks-status {
    text-align: center;
}

.bks-money {
    font-weight: 700;
    text-align: right;
}

.bks-check {
    white-space: nowrap;
}

.bk-balance-check {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    min-height: 26px;
}

.bk-check-box {
    display: inline-flex;
    width: 24px;
    height: 24px;
    align-items: center;
    justify-content: center;
    flex: 0 0 24px;
    border: 1px solid #b7c7d6;
    border-radius: 4px;
    color: #8a97a6;
    background: #ffffff;
    text-decoration: none;
    transition: background 0.12s ease, border-color 0.12s ease, color 0.12s ease;
}

.bk-check-box:hover,
.bk-check-box:focus {
    color: #1f5f89;
    text-decoration: none;
    border-color: #8fb4d2;
    background: #eef6fc;
}

.bk-balance-check.is-checked .bk-check-box {
    color: #ffffff;
    border-color: #2f9e5f;
    background: #2f9e5f;
}

.bk-balance-check.is-zero .bk-check-box {
    color: #6b7280;
    border-color: #d6dee8;
    background: #f3f6f9;
}

.bk-check-box.is-disabled {
    cursor: not-allowed;
    opacity: 0.45;
}

.bk-check-history {
    overflow: hidden;
    max-width: 72px;
    color: #2f5f8f;
    font-size: 11px;
    font-weight: 700;
    line-height: 1.1;
    text-decoration: none;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.bk-check-history:hover,
.bk-check-history:focus {
    color: #173c5f;
    text-decoration: underline;
}

.bk-balance-check-modal .modal-dialog {
    width: min(460px, calc(100% - 28px));
    margin: 90px auto 20px;
}

.bk-balance-check-modal .modal-content {
    overflow: hidden;
    border: 1px solid #cbd8e5;
    border-radius: 8px;
    box-shadow: 0 20px 60px rgba(23, 52, 81, 0.28);
}

.bk-balance-check-modal .modal-header {
    padding: 16px 20px 12px;
    color: #ffffff;
    background: #17466e;
    border-bottom: 0;
}

.bk-balance-check-modal .modal-title {
    margin: 4px 0 0;
    font-size: 20px;
    font-weight: 800;
}

.bk-balance-check-modal .close {
    color: #ffffff;
    opacity: 0.8;
    text-shadow: none;
}

.bk-balance-check-modal .modal-body {
    padding: 18px 20px;
}

.bk-check-confirm-text {
    display: grid;
    gap: 5px;
    margin-bottom: 14px;
    color: #0f2740;
}

.bk-check-confirm-text strong {
    font-size: 15px;
}

.bk-check-confirm-text span {
    color: #52687d;
    font-size: 13px;
}

.bk-check-comment-field {
    display: grid;
    gap: 6px;
    margin: 0;
}

.bk-check-comment-field span {
    color: #53677c;
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
}

.bk-check-comment-field textarea {
    min-height: 82px;
    resize: vertical;
}

.bk-balance-check-modal .modal-footer {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    padding: 14px 20px 18px;
    background: #f6f9fc;
    border-top: 1px solid #e1e9f1;
}

.bk-balance-check-modal .modal-footer:before,
.bk-balance-check-modal .modal-footer:after {
    display: none;
}

.bk-balance-check-modal .modal-footer .btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.bk-balance-history-comment {
    max-width: 360px;
    white-space: normal;
    word-break: break-word;
}

.bk-balance-history-page .match-detail-head {
    align-items: center;
    margin-bottom: 10px;
    padding: 13px 18px;
}

.bk-balance-history-page .match-detail-main .work-kicker {
    margin-bottom: 2px;
    font-size: 10px;
}

.bk-balance-history-page .match-detail-main h1 {
    margin-bottom: 3px;
    font-size: 22px;
}

.bk-balance-history-page .match-detail-main p {
    font-size: 12px;
    line-height: 1.35;
}

.bk-balance-history-page .match-detail-actions .btn {
    min-height: 34px;
    padding: 6px 12px;
}

.bks-comment {
    white-space: normal !important;
    word-break: break-word;
    overflow-wrap: anywhere;
    line-height: 1.35;
}

.bks-request-link {
    display: inline-flex;
    align-items: center;
    min-height: 22px;
    padding: 2px 7px;
    color: #174d78;
    background: #eef6fd;
    border: 1px solid #bfd8ec;
    border-radius: 999px;
    font-size: 10px;
    font-weight: 700;
}

.bks-request-link:hover {
    color: #0f3f64;
    text-decoration: none;
    background: #e3f0fa;
}

.edit-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-top: 22px;
    padding-top: 18px;
    border-top: 1px solid #e4ebf3;
}

.edit-actions-left,
.edit-actions-right {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.edit-actions .glyphicon {
    margin-right: 6px;
}

@media (max-width: 0px) {
    .dashboard-metrics {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .dashboard-grid,
    .dashboard-compact-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .dashboard-stat-grid,
    .dashboard-dynamics-grid,
    .dashboard-stat-filters {
        grid-template-columns: 1fr;
    }

    .dashboard-stat-summary {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .directory-summary-three {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .admin-summary-three,
    .admin-summary-four,
    .admin-balance-grid {
        grid-template-columns: 1fr;
    }

    .admin-balance-grid .admin-table {
        min-width: 620px;
    }

    .work-summary {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .summary-item:nth-child(2) {
        border-right: 0;
    }

    .bets-table {
        min-width: 980px;
    }

    .drop-overview,
    .drop-stat-overview,
    .drop-trans-overview,
    .drop-history-overview,
    .drops-overview,
    .analyse-overview,
    .bets-overview {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        grid-template-rows: none;
    }

    .drop-stat-page .match-detail-head,
    .drop-stat-overview .summary-item,
    .drop-stat-toolbar,
    .analyse-page .match-detail-head,
    .analyse-overview .summary-item,
    .drop-trans-page .match-detail-head,
    .drop-trans-overview .summary-item,
    .drop-trans-toolbar,
    .drop-history-page .match-detail-head,
    .drop-history-overview .summary-item,
    .drop-history-toolbar,
    .drop-edit-page .drop-overview .match-detail-head,
    .drop-overview .summary-item,
    .drop-edit-page .drop-card-back-action,
    .drop-edit-page .drop-list-action,
    .drop-edit-page .drop-stat-action,
    .drop-edit-page .drop-card-actions,
    .drop-edit-page .drop-overview .work-head-actions,
    .drops-page .match-detail-head,
    .drops-overview .summary-item,
    .drops-page .drops-archive-action,
    .drops-page .work-head-actions,
    .bets-page .match-detail-head,
    .bets-overview .summary-item,
    .bets-page .match-itog-action,
    .bets-page .work-head-actions {
        grid-column: auto;
        grid-row: auto;
    }

    .bets-page .match-detail-head {
        grid-column: 1 / -1;
    }

    .drops-page .match-detail-head {
        grid-column: 1 / -1;
    }

    .drop-edit-page .drop-overview .match-detail-head,
    .drop-edit-page .drop-card-back-action {
        grid-column: 1 / -1;
    }

    .drop-stat-page .match-detail-head {
        grid-column: 1 / -1;
    }

    .analyse-page .match-detail-head {
        grid-column: 1 / -1;
    }

    .drop-trans-page .match-detail-head {
        grid-column: 1 / -1;
    }

    .drop-history-page .match-detail-head {
        grid-column: 1 / -1;
    }

    .drop-stat-toolbar {
        grid-template-columns: minmax(0, 1fr) 128px;
    }

    .drop-data-grid {
        grid-template-columns: 1fr;
    }

    .drop-side-row {
        grid-template-columns: 1fr;
    }

    .drop-payments-panel {
        grid-template-columns: 1fr;
    }

    .drop-add-payment-btn {
        width: auto;
        justify-self: start;
    }

    .addfile_form.drop-panel {
        max-width: none;
    }

    .drop-files-layout {
        grid-template-columns: 1fr;
    }

    .drop-file-upload,
    .drop-files-list {
        border-radius: 6px;
    }

    .drop-files-list {
        display: block;
        columns: 2;
        margin-top: 8px;
        border-left: 1px solid #dfe6ef;
    }

}

@media (max-width: 0px) {
    .kassa-main-container {
        padding-top: 82px;
    }

    .navbar-header {
        min-width: 0;
    }

    .navbar-brand.app-brand {
        height: 64px;
        max-width: 230px;
        padding-left: 0;
    }

    .app-brand-name {
        font-size: 17px;
        letter-spacing: 1.4px;
    }

    .app-brand-user {
        overflow: hidden;
        max-width: 210px;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .navbar-collapse {
        float: none;
        margin: 0 -15px;
        padding: 8px 15px 14px;
        background: #ffffff;
        border-top: 1px solid #e4ebf3;
    }

    .app-nav {
        margin: 0;
    }

    .app-nav > li > a {
        height: 42px !important;
        padding: 0 12px !important;
        border-radius: 7px;
    }

    .app-nav .dropdown-menu {
        padding: 4px 0 8px 18px;
        border: 0;
        box-shadow: none;
    }

    .app-nav .dropdown-menu > li > a {
        padding: 9px 12px;
    }

    .schedule-edit-panel {
        grid-template-columns: 1fr;
    }

    .dashboard-hero,
    .dashboard-section-title {
        display: block;
    }

    .dashboard-user {
        margin-top: 18px;
        text-align: left;
    }

    .dashboard-metrics,
    .dashboard-grid,
    .dashboard-compact-grid {
        grid-template-columns: 1fr;
    }

    .dashboard-stat-filters,
    .dashboard-stat-grid,
    .dashboard-dynamics-grid,
    .dashboard-stat-summary,
    .dashboard-stat-chart-row {
        grid-template-columns: 1fr;
    }

    .dashboard-donut {
        width: 150px;
        height: 150px;
        margin: 0 auto;
    }

    .dashboard-stat-card-head {
        display: block;
    }

    .dashboard-stat-card-head span {
        display: block;
        margin-top: 4px;
    }

    .directory-summary-three {
        grid-template-columns: 1fr;
    }

    .admin-summary-three,
    .admin-summary-four,
    .admin-summary-one,
    .admin-balance-grid {
        grid-template-columns: 1fr;
    }

    .admin-head,
    .admin-section-title {
        display: block;
    }

    .admin-section-title span {
        display: block;
        margin-top: 5px;
    }

    .admin-period-fields {
        grid-template-columns: 34px 34px 58px;
    }

    .admin-period-fields b {
        grid-column: 1 / -1;
    }

    .directory-head {
        display: block;
    }

    .directory-modal .modal-dialog {
        width: auto;
        margin: 10px;
    }

    .work-head,
    .match-detail-head {
        display: block;
        padding: 22px;
    }

    .work-head-actions {
        justify-content: flex-start;
        margin-top: 18px;
    }

    .match-page .work-toolbar {
        display: block;
    }

    .work-toolbar-actions {
        justify-content: flex-start;
        margin-top: 12px;
    }

    .work-summary {
        grid-template-columns: 1fr;
    }

    .drop-overview,
    .drop-stat-overview,
    .drop-trans-overview,
    .drop-history-overview,
    .drops-overview,
    .analyse-overview,
    .bets-overview {
        grid-template-columns: 1fr;
    }

    .drop-stat-page .match-detail-head,
    .drop-stat-overview .summary-item,
    .drop-stat-toolbar,
    .analyse-page .match-detail-head,
    .analyse-overview .summary-item,
    .drop-trans-page .match-detail-head,
    .drop-trans-overview .summary-item,
    .drop-trans-toolbar,
    .drop-history-page .match-detail-head,
    .drop-history-overview .summary-item,
    .drop-history-toolbar,
    .drop-edit-page .drop-overview .match-detail-head,
    .drop-overview .summary-item,
    .drop-edit-page .drop-card-back-action,
    .drop-edit-page .drop-list-action,
    .drop-edit-page .drop-stat-action,
    .drop-edit-page .drop-card-actions,
    .drop-edit-page .drop-overview .work-head-actions,
    .drops-page .match-detail-head,
    .drops-overview .summary-item,
    .drops-page .drops-archive-action,
    .drops-page .work-head-actions,
    .bets-page .match-detail-head,
    .bets-overview .summary-item,
    .bets-page .match-itog-action,
    .bets-page .work-head-actions {
        grid-column: auto;
        grid-row: auto;
    }

    .bets-page .match-detail-head {
        display: block;
    }

    .drop-stat-page .match-detail-head {
        display: block;
    }

    .analyse-page .match-detail-head {
        display: block;
    }

    .drop-trans-page .match-detail-head {
        display: block;
    }

    .drop-history-page .match-detail-head {
        display: block;
    }

    .drop-stat-toolbar {
        grid-template-columns: 1fr;
    }

    .summary-item {
        border-right: 0;
        border-bottom: 1px solid #dfe6ef;
    }

    .summary-item:last-child {
        border-bottom: 0;
    }

    .match-edit-head,
    .edit-card-title,
    .edit-actions {
        display: block;
    }

    .edit-card-title span {
        display: block;
        margin-top: 6px;
    }

    .edit-form-grid {
        grid-template-columns: 1fr;
    }

    .edit-actions-right {
        margin-top: 12px;
    }

    .drop-data-left label,
    .drop-data-right label {
        grid-template-columns: 1fr;
        gap: 3px;
    }

    .drop-data-left span,
    .drop-data-right span {
        justify-content: flex-start;
        min-height: 22px;
        text-align: left;
    }

    .drop-files-list {
        columns: 1;
    }

    .drop-file-item:nth-child(n) {
        border-right: 0;
    }

    .drop-file-item:last-child {
        border-bottom: 0;
    }
}

@media (max-width: 0px) {
    .drop-card-actions {
        grid-template-columns: 1fr;
    }

    .drop-history-filter label {
        width: 100%;
    }
}




.admin-plat-summary {
    grid-template-columns: repeat(5, minmax(0, 1fr));
}

.admin-currency-balance-summary {
    grid-template-columns: minmax(190px, 1.2fr) repeat(auto-fit, minmax(150px, 1fr));
}

.admin-summary-title {
    background: #f8fafc;
}

.admin-summary-title strong {
    color: #334155;
    font-size: 16px;
}

.admin-currency-balance-item strong {
    color: #17466e;
}

.admin-summary-accent {
    background: #f4fbf7;
}

.admin-summary-accent strong {
    color: #17663a;
}
