.page-custom {
    width: 100%;
    overflow: hidden;
}

.container-custom {
    width: 100%;
    padding-right: 0.25rem;
    padding-left: 0.25rem;
    margin-right: auto;
    margin-left: auto;
    box-sizing: border-box;
}

.row {
    display: flex;
    justify-content: space-between;
    gap: 8px;
    margin-bottom: 8px;
}

.align-items-center {
    align-items: center !important;
}

.d-flex {
    display: flex !important;
}

.legend-container {
    justify-content: flex-end;
}

.circle {
    width: 15px;
    height: 15px;
    border-radius: 50%;
    display: inline-block;
    margin-right: 5px;
}

.legend-item {
    display: flex;
    align-items: center;
    margin-right: 10px;
}

.legend-item:last-child {
    margin-right: 0;
}

.card-body {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
}

.card-value {
    font-size: 48px;
    font-weight: 600;
    font-family: Inter;
    margin-top: 0;
    margin-bottom: .5rem;
    line-height: 1.2;
}

.card-value:hover {
    color: #1b3f69;
    cursor: pointer;
}

.card-text {
    font-size: 14px;
    font-weight: 500;
    font-family: Inter;
    margin-bottom: 0;
}

.outer-div {
    width: 33.3333%;
}

.inner-div {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border: 1px solid rgba(0, 0, 0, .125);
    border-radius: 10px;
    width: 100%;
    height: 140px;
    color: #fff;
}

.gradient-1 {
    background: linear-gradient(45deg, #2ed8b6, #59e0c5);
}

.gradient-2 {
    background: linear-gradient(45deg, #FF5370, #ff869a);
}

.gradient-3 {
    background: linear-gradient(45deg, #4099ff, #73b4ff);
}

.outer-div-chart {
    width: 50%;
}

.outer-div-bar-chart {
    width: 100%;
}

.custom-chart-class {
    height: calc(100vh - 590px) !important;
}

.inner-div-chart {
    border-radius: 10px;
    overflow: auto;
    background: #fff
}

.chart-success {
    border: 1.2px solid #45d4c0;
}

.chart-none-success {
    border: 1.2px solid #ff6b85;
}

.body-chart {
    align-items: center;
}

@media (max-width: 992px) {
    .page-custom {
        overflow-y: auto;
        padding: 1px !important;
    }

    .card {
        height: 100px;
    }

    .card-value {
        font-size: 40px;
    }

    .page-title {
        text-overflow: ellipsis;
        white-space: nowrap;
        overflow: hidden;
        width: 100%;
        display: block;
    }
}

/* Duyệt lớn hơn 1440px */
@media (min-width: 1440.1px) {
    .menu-header-mobile {
        visibility: hidden !important;
    }

    .card-value {
        font-size: 50px;
    }

    .card-text {
        font-size: 16px;
    }
}

/* Duyệt lớn hơn hoặc bằng 1200px và nhỏ hơn 1440px */
@media (min-width: 1200px) and (max-width: 1440px) {

    .inner-div {
        height: 120px;
    }

    .card-value {
        font-size: 38px;
    }

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

/* Duyệt lớn hơn hoặc bằng 768px và nhỏ hơn 1200px */
@media (min-width: 768.1px) and (max-width: 1199.98px) {
    .menu-header-mobile {
        visibility: hidden !important;
    }

    .inner-div {
        height: 110px;
    }

    .card-value {
        font-size: 26px;
    }

    .card-text {
        font-size: 11px;
    }
}

/* Duyệt lớn hơn hoặc bằng 576px và nhỏ hơn 768px */
@media (min-width: 576px) and (max-width: 768px) {
    .menu-header-mobile {
        visibility: hidden !important;
    }

    .row {
        flex-direction: column;
    }

    .outer-div {
        width: 100%;
    }

    .inner-div {
        height: 110px;
    }

    .card-value {
        font-size: 38px;
    }

    .card-text {
        font-size: 13px;
    }

    .outer-div-chart {
        width: 100%;
    }
}

/* Duyệt nhỏ hơn 576px */
@media (max-width: 575.98px) {
    .ant-layout {
        padding-left: 0px !important;
    }

    .ant-pro-sider {
        visibility: hidden !important;
    }

    .ant-pro-top-nav-header-menu {
        visibility: hidden !important;
    }

    .ant-dropdown-placement-bottomRight {
        justify-content: flex-end;
    }

    .menu-header-mobile {
        visibility: visible !important;
    }

    .legend-container {
        justify-content: center;
    }

    .row {
        flex-direction: column;
    }

    .outer-div {
        width: 100%;
    }

    .inner-div {
        height: 110px;
    }

    .card-value {
        font-size: 32px;
    }

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

    .outer-div-chart {
        width: 100%;
    }
}

.completed-column {
    background: linear-gradient(45deg, #2ed8b6, #59e0c5) !important;
}

.remaining-column {
    background: linear-gradient(45deg, #FF5370, #ff869a) !important;
}

.planned-column {
    background: linear-gradient(45deg, #4099ff, #73b4ff) !important;
}

.completed1-column {
    background: #2ed8b6 !important;
}

.completed2-column {
    background: #45d4c0 !important;
}

.completed3-column {
    background: #59e0c5 !important;
}

.remaining1-column {
    background: #FF5370 !important;
}

.remaining2-column {
    background: #ff6b85 !important;
}

.remaining3-column {
    background: #ff869a !important;
}

.planned1-column {
    background: #4099ff !important;
}

.planned2-column {
    background: #56acff !important;
}

.planned3-column {
    background: #73b4ff !important;
}

.app-download-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: white;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.app-download-content {
    text-align: center;
    max-width: 90%;
}

.app-logo {
    width: 180px;
    margin-bottom: 20px;
}

.download-buttons {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-top: 30px;
}

.download-button {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 12px 20px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    gap: 10px;
}

.download-button.android {
    background: #689f38;
    color: white;
}

.download-button.ios {
    background: #000000;
    color: white;
}