/* LEFT CARD */

.left-card {
    flex: 3;
    background: white;
    border-radius: 6px;
    padding: 20px;
    /* height: calc(100vh - 24rem) !important; */
}

.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

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

.tabs button {
    padding: 6px 12px;
    border: none;
    background: #eee;
    cursor: pointer;
}

.ml-1.rotate {
    transform: rotate(-90deg);
}

.filter-group.w-100 .select2-container--bootstrap5 .select2-selection--single .select2-selection__rendered {
    color: #163F78 !important;
    font-family: 'Arial-Bold';
}

.custom-right-dashboard.bg-light .fw-bold {
    width: 45% !important;
}

.custom-right-dashboard .fw-bold {
    width: 45% !important;
}

.text-success-custom {
    color: #10B981 !important;
}

.card-header span {
    font-family: 'Arial-Bold';
}

.chart-wrapper {
    width: 100%;
    max-height: calc(100vh - 47.5rem);
    /* chiều cao mong muốn */
    position: relative;
}

#chart {
    width: 100% !important;
    height: 100% !important;
}

.mb-custom-report {
    margin-bottom: 11px;
}

.tabs .active {
    background: #1d3f72;
    color: white;
}

.text-red {
    color: #CD172C !important;
}

.btn-custom-form,
.btn-custom-form:active,
.btn-custom-form:focus {
    background-color: #fff;
    color: #163F78 !important;
}

.btn-custom-form:active,
.btn-custom-form:focus {
    background-color: #fff !important;
    color: #163F78 !important;
}

.btn-custom-form:hover {
    background-color: #163F78 !important;
    color: #fff !important;
}

.btn-custom-form.active,
.btn-custom-form.active:focus,
.btn-custom-form.active:active {
    background-color: #163F78 !important;
    color: #fff !important;
}

.chart-title {
    text-align: center;
    margin-top: 20px;
}

.legend {
    margin-top: 15px;
    font-size: 14px;
}

.custom-select-dashboard {
    border-radius: 4px;
}

.col-sm-6 .filter-group .select2-selection {
    padding: 8px !important;
}

.col-sm-6 .form-select {
    background-position: right 10px center;
}

.box {
    display: inline-block;
    width: 12px;
    height: 12px;
    margin-right: 5px;
}

.blue {
    background: #1d3f72;
}

.btn.btn-primary {
    background-color: #163F78 !important;
}

.custom-right-dashboard {
    display: flex;
    /* justify-content: space-between; */
    align-items: center;
    padding: 19px 16px;
    gap: 10px;
}

.btn.btn-custom-form {
    font-size: 12px !important;
}

.custom-form-select .select2-container--bootstrap5 .select2-selection--single .select2-selection__rendered {
    font-size: 12px !important;
}

.text-main-dashborad {
    color: #092331 !important;
    font-family: 'Arial-Bold' !important;
    font-size: 18px !important;
}

.custom-right-dashboard span:first-child {
    color: #666;
}

.custom-right-dashboard span:last-child {
    font-weight: 500;
}

.gray {
    background: #ccc;
}

.legend {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 30px;
    margin-top: 20px;
    font-size: 14px;
}

.legend-item {
    display: flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
}

.box {
    width: 12px;
    height: 12px;
}

.blue {
    background: #1d3f72;
}

.gray {
    background: #cfcfcf;
}

.legend-item.inactive {
    opacity: 0.4;
}

/* RIGHT CARD */

.right-card {
    flex: 1;
    background: white;
    border-radius: 6px;
    /* height: 100%; */
    overflow: hidden;
}

.user-header {
    background: #d8e2f0;
    padding: 10px 16px;
    font-weight: bold;
    font-size: 16px;
    color: #163F78 !important;
    font-family: 'Arial-Bold' !important;
}


.row {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    border-bottom: 1px solid #eee;
}

.red {
    color: #CD172C !important;
}

.green {
    color: green;
}

.right-info {
    font-size: 12px !important;
}

.bg-light-info {
    background-color: #F7F7F7 !important;
}

.text-right-dashboard {
    font-size: 14px !important;
}


.fs-12 {
    font-size: 12px !important;
}

.color-main {
    color: #163F78 !important;
}