.forcast-page {
    padding-top: 120px;
    max-width: 85%;
}

.forcast-tabs .nav-link {
    border: 1px solid rgba(230, 230, 230, 1);
    border-radius: 50rem;
    padding: 4px 24px;
    max-width: fit-content;
    height: 36px;
}

.forcast-tabs .nav-link:hover {
    background-color: rgba(0, 122, 255, 0.04);
    color: rgba(0, 122, 255, 1) !important;
    padding-bottom: 4px !important;
}

.forcast-tabs .nav-link.active {
    border: 1px solid rgba(0, 122, 255, 1);
    background-color: rgba(0, 122, 255, 0.04);
    color: rgba(0, 122, 255, 1) !important;
}

.forcast-box {
    border-radius: 12px;
    background-color: rgba(227, 234, 244, 0.2);
    height: 153px;
    overflow: hidden;
}

.forcast-box.current {
    border: 1px solid rgba(73, 160, 68, 1);
}

.forcast-box .forcast-header {
    height: 36px;
    background-color: rgba(0, 122, 255, 0.04);
    border-top-right-radius: 12px;
    border-top-left-radius: 12px;
}

.forcast-box .forcast-month {
    background-color: rgba(0, 122, 255, 1);
    padding: 4px 20px;
    height: 100%;
    max-width: fit-content;
    display: block;
    align-content: center;
}

.forcast-box.current .forcast-month {
    background-color: rgba(73, 160, 68, 1);
    padding-inline-start: 10px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.forcast-box .current-circle {
    width: 23px;
    height: 23px;
    border-radius: 50%;
}

.forcast-box .current-circle, .forcast-box .current-circle .current-circle-lg {
    background-color: rgba(255, 255, 255, 0.1);
}

.forcast-box .current-circle .current-circle-lg {
    width: 19px;
    height: 19px;
    border-radius: 50%;
}

.forcast-box .current-circle .current-circle-md {
    width: 13px;
    height: 13px;
    background-color: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
}

.forcast-box .current-circle .current-circle-sm {
    width: 7px;
    height: 7px;
    background-color: white;
    border-radius: 50%;
}

.forcast-tabs-content {
    box-shadow: none !important;
}

.forcast-tabs-content .tab-pane.active.show {
    display: flex;
    flex-direction: column;
    gap: 28px;
}

.forcast-box .forcast-detail {
    padding: 18px 57px 28px;
}

.forcast-box.current .forcast-detail {
    background-color: #f8fff8;
}

.forcast-detail .detail-title {
    font-size: 16px;
    line-height: 200%;
}

.forcast-detail .detail-title .amount-label {
    font-size: 12px;
}

.forcast-detail .detail-value {
    font-size: 20px;
    direction: ltr;
}

.forcast-detail .detail-value.positive-value {
    color: rgba(73, 160, 68, 1);
}

.forcast-detail .detail-value.negative-value {
    color: rgba(211, 47, 47, 1);
}

.forcast-detail .signup-btn {
    font-size: 14px;
    color: rgba(0, 122, 255, 1);
    max-width: fit-content;
}

.forcast-detail .detail-box {
    /* flex: 1; */
}

@media (max-width: 991.98px) {
    .forcast-page {
        max-width: 90%;
    }
    .forcast-box {
        height: fit-content;
    }
    .forcast-box .forcast-detail {
        flex-wrap: wrap; 
        gap: 16px;
        padding: 18px 28px;
    }
}