.bg-blue {
    background-color: #3366cc;
}

.cl-second {
    color: #ff6666;
}

.bg-primary {
    background-color: #4CAF50;
}

.cl-primary {
    color: #4CAF50;
}

.btn {
    border: 1px solid #F1F1F4;
    border-style: dashed !important;
    border-color: #B5B5C3 !important;
    font-weight: bold;
}

.dropdown-content {
    display: none;
    position: absolute;
    background-color: #f9f9f9;
    min-width: 160px;
    box-shadow: 0 8px 16px 0 rgba(0, 0, 0, 0.2);
    z-index: 1;
}

.dropdown-content a {
    color: black;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
}

.dropdown-content a:hover {
    background-color: #f1f1f1;
}

.show {
    display: block;
}

#datepicker{
    width: 290px;
}
#moneyFlowChart, #timeChart {
    height: 500px !important;
}

td {
    padding: 5px !important;
}

#status-bar {
    display: none;

    width: 100%;
    height: 30px;
    position: fixed;
    bottom: 0;
    right: 0;
    align-content: center;
    color: white;
    background-color: #ff6666;
}

#online-list-fx {
    display: none;
    width: 200px;
    position: fixed;
    bottom: 0;
    right: 0;
    align-content: center;
    background-color: #dbeafe;
    padding: 5px;
    border-radius: 5px;
}

#modal {
    width: 350px;
    align-self: center;
}

.container {
    width: 95%;
    max-width: 1200px;
    margin: 20px auto;
    padding: 20px;
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.chart-container {
    position: relative;
    height: 60vh;
    width: 100%;
    margin-bottom: 20px;
}

.header {
    margin-bottom: 20px;
    text-align: center;
}

.summary-table {
    width: 100%;
    max-width: 800px;
    margin: 20px auto;
    border-collapse: collapse;
}

.summary-table th, .summary-table td {
    padding: 12px;
    text-align: center;
    border: 1px solid #ddd;
}

.summary-table th {
    background: #f5f5f5;
}

.legend-item {
    cursor: pointer;
    padding: 5px 10px;
    border-radius: 4px;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    margin: 0 5px;
}

.legend-item.hidden {
    opacity: 0.5;
}

.legend-color {
    width: 12px;
    height: 12px;
    border-radius: 2px;
}

.loading {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 1.2em;
    color: #666;
}

.month-nav {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin-bottom: 20px;
}

.month-btn {
    background-color: #f8f9fa;
    border: 1px solid #dee2e6;
    padding: 8px 16px;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 14px;
}

.month-btn:hover {
    background-color: #e9ecef;
}

.month-btn.active {
    background-color: #4CAF50;
    color: white;
    border-color: #4CAF50;
}

.current-month {
    padding: 8px 16px;
    font-weight: bold;
    border: 1px solid #dee2e6;
    border-radius: 4px;
    background: #fff;
    min-width: 150px;
    text-align: center;
}

.month-btn, .current-month {
    height: 36px;
    display: flex;
    align-items: center;
}

@media (max-width: 768px) {
    .header-container {
        flex-direction: column;
        gap: 16px;
    }
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header-title {
    font-size: 18px;
    font-weight: bold;
    margin: 0;
}
