@import url('https://fonts.googleapis.com/css2?family=Mulish:ital,wght@0,200..1000;1,200..1000&family=Open+Sans:ital,wght@0,300..800;1,300..800&display=swap');

:root {
    --primary-color: #382cc2;
    --secondary-color: #f8fafc;
    --accent-color: #10b981;
    --warning-color: #f59e0b;
    --danger-color: #ef4444;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "Mulish", sans-serif;
    /*background-color: var(--secondary-color);*/
    min-height: 100vh;
    overflow-x: hidden;
    display: flex;
    flex-direction: column;
    margin: 0;
    padding: 0;
}

/* ������� ��������� �������� */
.main-content-wrapper {
    flex: 1;
    display: flex;
    flex-direction: column;
    min-height: calc(100vh - 60px);
}

/* ������ ������ */
.main-header {
    position: relative;
    top: 0;
    left: 0;
    right: 0;
    height: 60px;
    width: 100%;
    background: #f8f9fa;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08);
    z-index: 1050;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 20px;
    transition: all 0.3s ease;
}


.header-left {
    display: flex;
    align-items: center;
    gap: 15px;
}

.header-burger {
    /*background: rgba(210, 222, 246, 0.9);*/
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.header-burger:hover {
    background: rgba(255, 255, 255, 1);
    color: black;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.header-burger:active {
    transform: translateY(0);
}

.header-burger i {
    font-size: 16px;
    /*color: #333;*/
    transition: transform 0.3s ease;
}

.header-burger.active i {
    transform: rotate(90deg);
}

.header-center {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
}

.app-title {
    font-size: 24px;
    font-weight: 700;
    margin: 0;
    letter-spacing: -0.5px;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

.header-right {
    display: flex;
    align-items: center;
    gap: 20px;
}

.user-greeting {
    font-size: 14px;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 8px;
}

.user-greeting i {
    font-size: 12px;
}

.notification-wrapper {
    position: relative;
    cursor: pointer;
    transition: transform 0.2s ease;
}

.notification-wrapper:hover {
    transform: scale(1.1);
}

.notification-icon {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.notification-icon:hover {
    background: rgba(255, 255, 255, 1);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.notification-icon i {
    font-size: 16px;
    color: #6c757d;
    transition: color 0.3s ease;
}

.notification-icon:hover i {
    color: #007bff;
}

.notification-badge {
    position: absolute;
    top: -2px;
    right: -2px;
    width: 12px;
    height: 12px;
    background: linear-gradient(135deg, #ff6b6b, #ee5a52);
    border: 2px solid #f8f9fa;
    border-radius: 50%;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        transform: scale(1);
        opacity: 1;
    }

    50% {
        transform: scale(1.2);
        opacity: 0.7;
    }

    100% {
        transform: scale(1);
        opacity: 1;
    }
}



.main-content {
    flex: 1;
    padding: 20px;
    margin-bottom: 60px;
}


.main-footer {
    /*background: #f8f9fa;*/
    border-top: 1px solid rgba(0, 0, 0, 0.08);
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.05);
    padding: 15px 0;
    text-align: center;
    width: 100%;
    position: relative;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 100;
    transition: margin-left 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.main-footer.sidebar-open {
    margin-left: 224px;
}

.container-fluid {
    padding-right: 15px;
    padding-left: 15px;
    margin-right: auto;
    margin-left: auto;
    width: 100%;
}

.footer-text {
    margin: 0;
    font-size: 14px;
    color: #495057;
}

/* ��������� ��� ��������� ��������� */
@media (max-width: 768px) {
    .main-footer {
        padding: 10px 0;
        position: static;
        /* ��� ��������� ������ ������� ������� */
        margin-top: auto;
    }

    .main-footer.sidebar-open {
        margin-left: 0;
    }

    .footer-text {
        font-size: 12px;
    }

    .main-content {
        margin-bottom: 0;
        padding-bottom: 60px;
    }
}



.container-fluid {
    padding-right: 15px;
    padding-left: 15px;
    margin-right: auto;
    margin-left: auto;
}

.footer-text {
    margin: 0;
    font-size: 14px;
    color: #495057;
    font-weight: 400;
}

/* ��� �������� */
@media (max-width: 768px) {
    .main-footer {
        padding: 10px 0;
    }

    .main-footer.sidebar-open {
        left: 0;
    }

    .footer-text {
        font-size: 12px;
    }
}

/* Sidebar styles */
.sidebar {
    position: fixed;
    top: 0;
    left: -224px;
    width: 224px;
    height: 100vh;
    background: var(--bs-tertiary-bg);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-right: 0.8px solid rgba(255, 255, 255, 0.2);
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    z-index: 1000;
    box-shadow: 0 0 40px rgba(0, 0, 0, 0.1);
    padding-top: 70px;
}

.sidebar.active {
    left: 0;
}

.sidebar-header {
    position: relative;
    padding: 16px 14.4px 14.4px;
    background: var(--bs-tertiary-bg);
    z-index: 1002;
}

.sidebar-title {
    font-size: 20px;
    font-weight: 700;
    color: #1d1d1f;
    margin: 0;
    letter-spacing: -0.4px;
}

.sidebar-subtitle {
    font-size: 12px;
    color: #86868b;
    margin-top: 2.4px;
    font-weight: 400;
}

.sidebar-content {
    padding: 12px 0;
    height: calc(100vh - 150px);
    overflow-y: auto;
}

.sidebar-content::-webkit-scrollbar {
    width: 1.6px;
}

.sidebar-content::-webkit-scrollbar-track {
    background: var(--bs-tertiary-bg);
}

.sidebar-content::-webkit-scrollbar-thumb {
    background: var(--bs-tertiary-bg);
    border-radius: 8px;
}

.nav-section {
    margin-bottom: 16px;
}

.section-title {
    font-size: 10px;
    font-weight: 600;
    color: #86868b;
    text-transform: uppercase;
    letter-spacing: 0.4px;
    padding: 0 14.4px 6.4px;
    margin: 0;
}

.nav-item {
    margin: 0;
}

.nav-link {
    display: flex;
    align-items: center;
    padding: 8px 14.4px;
    color: var(--bs-body-color);
    text-decoration: none;
    font-size: 13px;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
    /*background: none;*/
    width: 100%;
    position: relative;
}

.nav-link:hover {
    background: rgba(0, 122, 255, 0.08);
    color: #007aff;
}

.nav-link.active {
    background: rgba(0, 122, 255, 0.15);
    color: #007aff;
}

.nav-link i {
    width: 16px;
    height: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 9.6px;
    font-size: 11.2px;
}

.nav-link .chevron {
    margin-left: auto;
    transition: transform 0.3s ease;
    font-size: 8px;
    color: #86868b;
}

.nav-link.collapsed .chevron {
    transform: rotate(0deg);
}

.nav-link:not(.collapsed) .chevron {
    transform: rotate(90deg);
}

.submenu {
    background: var(--bs-tertiary-bg);
    margin: 0;
    overflow: hidden;
    transition: all 0.3s ease;
}

.submenu .nav-link {
    padding: 6.4px 14.4px 6.4px 40px;
    font-size: 10.4px;
    font-weight: 400;
    color: var(--bs-body-color);
}

.submenu .nav-link:hover {
    background: rgba(0, 122, 255, 0.06);
    color: #007aff;
}

.submenu .nav-link.active {
    background: rgba(0, 122, 255, 0.12);
    color: #007aff;
}

.overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.3);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 999;
}

.overlay.active {
    opacity: 1;
    visibility: visible;
}

/* Responsive design */
@media (max-width: 768px) {
    .main-header {
        padding: 0 15px;
    }

    .header-right {
        gap: 15px;
    }

    .user-greeting {
        display: none;
    }

    .app-title {
        font-size: 20px;
    }

    .main-content.sidebar-open {
        margin-left: 0;
    }

    .main-footer.sidebar-open {
        margin-left: 0;
    }
}

@media (max-width: 576px) {
    .header-right {
        gap: 10px;
    }

    .app-title {
        font-size: 18px;
    }
}


/* Table styles */
.main-container {
    /*background: white;*/
    border: 0.8px solid #e2e8f0;
    border-radius: 9.6px;
    box-shadow: 0 0.8px 2.4px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    margin: 0;
}

.event-row,
.clickable {
    cursor: pointer;
}

.page-header {
    background: var(--primary-color);
    color: white;
    padding: 1.6rem;
    margin-bottom: 0;
    border-radius: 9.6px 9.6px 0 0;
}

.page-header h1 {
    font-weight: 600;
    margin: 0;
    font-size: 1.2rem;
}

.filter-button {
    background: var(--primary-color);
    border-radius: 6px;
    font-weight: 400;
    width: 120px;
    display: flex;
    gap: 0.5rem;
    align-items: center;
}

.bi-search {
    align-items: flex-start;
    display: flex;
    font-size: 1rem;
}

.form-control:focus {
    animation: focusPulse 0.3s ease;
}

.table-container {
    padding: 0.5rem;
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
}


.table {
    margin: 0;
}

.table th {
    background-color: #f8fafc;
    border-top: none;
    font-weight: 600;
    color: #475569;
    padding: 0.8rem;
    font-size: 0.4rem;
}

.table td {
    padding: 0.8rem;
    vertical-align: middle;
    border-color: #e2e8f0;
}


.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

.btn-primary:hover {
    background-color: #4f46e5;
    border-color: #4f46e5;
}

.form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.16rem rgba(99, 102, 241, 0.25);
}

/* Badge */
.badge {
    font-size: 0.6rem;
    padding: 0.3rem 0.6rem;
}

/* Object links */
.object-link {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
    cursor: pointer;
}

.object-link:hover {
    color: #4f46e5;
    text-decoration: underline;
}


.dashboard-container {
    padding: 0.5rem;
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
    height: 100% auto;
}

#dashboardDateRange {
    font-size: 0.9rem;
    color: #ffffff;
    opacity: 0.75;
    margin-top: 5px;
}

.dashboard-container .performance-grid {
    width: 100%;
    max-width: 100%;
    margin-bottom: 30px;
}

.dashboard-header {
    background: var(--primary-color);
    color: white;
    padding: 1.5rem;
    border-radius: 15px;
    margin-bottom: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    width: 100%;
    max-width: 100%;
    height: 8rem;
    align-items: center;
    justify-content: space-between;
    display: flex;
}

.dashboard-header .d-flex {
    width: 100%;
}

.dashboard-header h1 {
    font-size: 1.5rem;
}

.stats-card {
    background: white;
    padding: 25px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    border-left: 5px solid #667eea;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    margin-bottom: 20px;
}

.stats-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

.stats-card h3 {
    color: #2d3748;
    font-weight: 700;
    font-size: 2rem;
    margin-bottom: 10px;
}

.stats-card p {
    color: #718096;
    font-size: 0.9rem;
    margin: 0;
}

/* Stats card static */
.stats-card-static {
    background: white;
    border-radius: 9.6px;
    margin: 1.28rem;
    padding: 0.8rem;
    min-width: 180px;
    width: 19.5em;
    display: flex;
    align-items: center;
    flex-direction: column;
    justify-content: center;
    text-align: center;
    box-shadow: 0 1.6px 3.2px rgba(0, 0, 0, 0.08);
    border: 0.8px solid #f1f5f9;
    height: 100%;
}


.stats-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
    padding: 0.8rem;
}


.stats-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-bottom: 0.8rem;
}

.stats-card h3 {
    font-size: 1.4rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 0.4rem;
}

.stats-card p {
    color: #64748b;
    font-size: 0.7rem;
    margin: 0;
}

.timeline-item {
    display: flex;
    margin-bottom: 1rem;
    position: relative;
}

.timeline-icon {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1rem;
}

.timeline-content {
    flex: 1;
}

.timeline-content h6 {
    margin: 0;
    font-size: 1rem;
}

.timeline-content p {
    margin: 0;
    font-size: 0.875rem;
    color: #6c757d;
}

/* Responsive styles */
@media (max-width: 768px) {
    .filters-section .row>div {
        margin-bottom: 0.8rem;
        align-items: center;
    }

    .table-responsive {
        font-size: 0.7rem;
    }
}

@media (max-width: 767.98px) {
    .stats-card-static {
        padding: 1rem;
        margin-bottom: 0.8rem;
        text-align: center;
    }

    .stats-icon {
        margin-bottom: 0.4rem;
    }

    .row>[class*="col-"] {
        margin-bottom: 0.8rem;
    }
}

.chart-container {
    position: relative;
    background: white;
    padding: 25px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    margin-bottom: 20px;
    height: 400px auto;
    width: 100%;
    max-width: 100%;
}

.chart-container h5 {
    color: #2d3748;
    font-weight: 600;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #e2e8f0;
}

.chart-container canvas {
    max-height: 320px !important;
}

.metric-card {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    color: white;
    padding: 20px;
    border-radius: 15px;
    text-align: center;
    margin-bottom: 20px;
    transition: transform 0.3s ease;
}

.metric-card:hover {
    transform: scale(1.05);
}

.metric-card .metric-value {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 5px;
}

.metric-card .metric-label {
    font-size: 0.9rem;
    opacity: 0.9;
}

.trend-card {
    background: white;
    padding: 20px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    margin-bottom: 20px;
}

.trend-indicator {
    display: inline-flex;
    align-items: center;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
}

.trend-up {
    background: rgba(16, 185, 129, 0.1);
    color: #10b981;
}

.trend-down {
    background: rgba(239, 68, 68, 0.1);
    color: #ef4444;
}

.performance-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.performance-item {
    background: white;
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.06);
    text-align: center;
    border-top: 4px solid #667eea;
}

.performance-value {
    font-size: 1.8rem;
    font-weight: 700;
    color: #2d3748;
    margin-bottom: 8px;
}

.performance-label {
    color: #718096;
    font-size: 0.85rem;
}

.activity-timeline {
    background: white;
    padding: 25px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    margin-bottom: 20px;
}

.timeline-item {
    display: flex;
    padding: 15px 0;
    border-bottom: 1px solid #e2e8f0;
}

.timeline-item:last-child {
    border-bottom: none;
}

.timeline-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1rem;
}

.timeline-content h6 {
    margin: 0 0 5px 0;
    color: #2d3748;
    font-weight: 600;
}

.timeline-content p {
    margin: 0;
    color: #718096;
    font-size: 0.85rem;
}

.success-rate-indicator {
    background: linear-gradient(90deg, #10b981, #34d399);
    height: 8px;
    border-radius: 4px;
    margin-top: 10px;
    position: relative;
    overflow: hidden;
}

.success-rate-fill {
    background: rgba(255, 255, 255, 0.3);
    height: 100%;
    border-radius: 4px;
    transition: width 0.8s ease;
}

.mini-chart-container {
    height: 400px;
    margin-bottom: 20px;

}

@media (max-width: 768px) {
    .performance-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .chart-container {
        height: 300px;
    }
}

.main-container_orders {
    background: #f8fafc;
    border: 0.8px solid #e2e8f0;
    box-shadow: 0 0.8px 2.4px rgba(0, 0, 0, 0.1);
    border-radius: 9.6px;
    overflow: hidden;
}

/* ����� ��� orders.html */
.form-select[multiple] {
    height: 10rem;
}

.service-select-wrapper {
    position: relative;
}

#cashPaymentFields .form-control,
#editCashPaymentFields .form-control {
    font-size: 0.875rem;
}

#cashPaymentFields input[readonly],
#editCashPaymentFields input[readonly] {
    background-color: #e9ecef;
    cursor: not-allowed;
}

.btn-outline-danger.mt-2 {
    font-size: 0.75rem;
}

.toolbar {
    padding: 1.2rem 1.6rem;
    border-top: 0.8px solid #e2e8f0;
}

.filters-section {
    padding: 1.2rem 1.6rem;
    border-top: 0.8px solid #e2e8f0;
    border-bottom: 0.8px solid #e2e8f0;
}

.table-container {
    padding: 0;
    border: none;
}

.table-responsive {
    width: 100%;
}

.main-container .table-container {
    margin-bottom: 30px;
}

.table th {
    background: var(--bs-body-bg);
    border-top: none;
    font-weight: 600;
    color: var(--bs-body-color);
    padding: 0.8rem;
    font-size: 0.7rem;
}

.table td {
    padding: 0.8rem;
    vertical-align: middle;
    border-color: #e2e8f0;
}

.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

.btn-primary:hover {
    background-color: #4f46e5;
    border-color: #4f46e5;
}

.form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.16rem rgba(99, 102, 241, 0.25);
}

.badge {
    font-size: 0.6rem;
    padding: 0.3rem 0.6rem;
}

.session-card {
    border: 1.6px solid #e2e8f0;
    border-radius: 6.4px;
    padding: 0.8rem;
    margin-bottom: 0.8rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.session-card:hover {
    border-color: var(--primary-color);
}

.session-card.selected {
    border-color: var(--primary-color);
    background-color: rgba(99, 102, 241, 0.05);
}

.service-option {
    border: 0.8px solid #e2e8f0;
    border-radius: 4.8px;
    padding: 0.6rem;
    margin-bottom: 0.4rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.service-option:hover {
    border-color: var(--primary-color);
}

.service-option.selected {
    border-color: var(--primary-color);
    background-color: rgba(99, 102, 241, 0.05);
}

.summary-card {
    background: #f8fafc;
    border-radius: 6.4px;
    padding: 1.2rem;
    border: 0.8px solid #e2e8f0;
}

.hidden {
    display: none !important;
}

.toast-container {
    position: fixed;
    top: 16px;
    right: 16px;
    z-index: 1100;
}

.toast {
    min-width: 240px;
}

.btn-success {
    background-color: #28a745;
    border-color: #28a745;
}

.btn-success:hover {
    background-color: #218838;
    border-color: #1e7e34;
}

@media (max-width: 768px) {
    .toolbar .d-flex {
        flex-direction: column;
        align-items: stretch;
        gap: 0.8rem;
    }

    .filters-section .row {
        flex-direction: column;
    }

    .filters-section .col-md-2,
    .filters-section .col-md-6 {
        width: 100%;
    }

    .content-wrapper {
        padding-left: 16px;
    }

    body.sidebar-open .content-wrapper {
        padding-left: 16px;
    }

    body.sidebar-open .toggle-btn {
        left: 16px;
    }
}

.settings-container {
    max-width: 480px;
    margin: 1.6rem auto;
    padding: 1.6rem;
    background: #fff;
    border-radius: 0.4rem;
    box-shadow: 0 1.6px 8px rgba(0, 0, 0, 0.1);
}

.form-group {
    margin-bottom: 1.2rem;
}

.btn-group {
    gap: 0.4rem;
}

.alert {
    margin-top: 0.8rem;
}

.hidden {
    display: none !important;
}

.table-container .form-select {
    margin: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    margin-top: 1.2rem;
}

.paginationControls {
    justify-content: center;
    display: flex;
    margin: 0;
    padding-top: 1rem;
}

/* ����� � �������� ��� ����������� ���������������� ��������� */
.main-header {
  position: relative;
  display: flex;
  align-items: center;
  gap: .75rem;
  min-height: 56px; /* �� ������ ������� */
}

/* ����� ������ (���������) ������ ��������, ����� ��� �������� */
.main-header.busy #main-app-title {
  opacity: 0;
  visibility: hidden;
}

/* ��������� ��������� � ������ ������ ������ */
.header-progress {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%,-50%);
  width: min(640px, calc(100% - 2rem)); /* ���������� ������ */
  pointer-events: none; /* ����� �������� ������, �������� ���� ������ �� ������� */
}

/* ��������� ��������� ��������� */
.header-progress .hp-card {
  pointer-events: auto; /* ����� ����� ���� �������� ����� ��� ������� */
  background: rgba(255,255,255,0.9);
  border-radius: 12px;
  padding: .5rem .75rem;
  border: 1px solid rgba(0,0,0,0.06);
  backdrop-filter: saturate(140%) blur(2px);
}

/* ����� + ������� � ���� ����� */
.header-progress .hp-row {
  display: flex;
  align-items: center;
  min-height: 22px;
  font-size: .95rem;
}

/* ������, ���������� ������� ��������� */
.header-progress .hp-bar {
  height: 8px;
  border-radius: 9999px;
  overflow: hidden;
  background-color: rgba(108,117,125,.18); /* ������ ��� */
}
.header-progress .hp-bar .progress-bar {
  border-radius: 9999px;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.35);
}

/* Ҹ���� ���� (���� �����������) � ������ ��������� */
@media (prefers-color-scheme: dark) {
  .header-progress .hp-card {
    background: rgba(30,30,30,0.9);
    border-color: rgba(255,255,255,0.08);
  }
  .header-progress .hp-bar {
    background-color: rgba(255,255,255,.12);
  }
}



/* style.css */
.main-header {
  background: var(--bs-body-bg);
  color: var(--bs-body-color);
  border-bottom: 1px solid var(--bs-border-color);
}

.sidebar {
  background: var(--bs-tertiary-bg);
  color: var(--bs-body-color);
  border-right: 1px solid var(--bs-border-color);
}
