/* ==============================================
   Rental Price Chart — Clean UI
   ============================================== */

.rpc-chart {
    margin: 28px 0;
    padding: 28px 32px 24px;
    background: rgba(25, 168, 129, 0.05);
    border: 1px solid rgba(25, 168, 129, 0.14);
    border-radius: 16px;
}

.rpc-chart h3 {
    margin: 0 0 8px;
}

.rpc-chart p {
    margin-bottom: 24px;
}

/* ---- Bars area ---- */
.rpc-chart-bars {
    position: relative;
    width: 100%;
    height: 260px;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    font-size: 0.78em;
    padding: calc(1.4em + 8px) 0 40px;
    margin: 0;

    /* subtle horizontal grid lines via gradient */
    background-image: repeating-linear-gradient(
        to top,
        transparent,
        transparent calc(25% - 1px),
        rgba(0, 0, 0, 0.06) calc(25% - 1px),
        rgba(0, 0, 0, 0.06) 25%
    );
    background-size: 100% calc(100% - 40px);
    background-repeat: no-repeat;
    background-position: bottom 40px left 0;
}

/* ---- Column ---- */
.rpc-chart-column {
    flex: 1;
    margin: 0 3px;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

.rpc-chart-column:first-child { margin-left: 0; }
.rpc-chart-column:last-child  { margin-right: 0; }

/* ---- Bar ---- */
.rpc-chart-inner {
    background: linear-gradient(to top, #19a880, #22cba0);
    border-radius: 6px 6px 0 0;
    max-height: 100%;
    transition: height 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    text-align: center;
}

.rpc-chart-inner:hover {
    background: linear-gradient(to top, #17976f, #1dbd90);
    filter: brightness(1.06);
}

/* ---- Value label above bar ---- */
.rpc-chart-column-value {
    position: absolute;
    top: -2em;
    left: 50%;
    transform: translateX(-50%);
    white-space: nowrap;
    font-weight: 600;
    font-size: 0.9em;
    color: #19a880;
    letter-spacing: -0.01em;
}

/* ---- Month label below bar ---- */
.rpc-chart-month {
    position: absolute;
    left: 50%;
    top: 100%;
    transform: translate(-50%, 8px);
    white-space: nowrap;
    opacity: 0.55;
    font-size: 0.88em;
}

/* ---- Submenu fix (unrelated) ---- */
@media (min-width: 992px) {
    .top-menu ul li .sub-menu li .sub-menu {
        top: 0;
        right: 100% !important;
        left: auto !important;
    }
}

/* ---- Mobile ---- */
@media (max-width: 640px) {
    .rpc-chart {
        padding: 20px 16px 16px;
        border-radius: 12px;
    }

    .rpc-chart-bars {
        height: 200px;
        font-size: 0.7em;
    }

    .rpc-chart-column {
        margin: 0 2px;
    }
}

.rpc-chart h3 {
/*     text-align: center; */
}

.rpc-chart p {
/*     text-align: center; */
    margin-bottom: 20px;
}

.rpc-chart-bars {
    margin-top: 10px;
    margin-right: 0px;
    margin-bottom: 60px;
    margin-left: 0px;
    top: 0px;
    left: 0px;
	position: relative;
    width: 100%;
    height: 300px;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    font-size: 0.8em;
    padding: calc(1.3em + 10px) 0;
}


.rpc-chart-column {
    flex: 1;
    margin: 0 0.25em;
    height: 100%;
    display: flex;
    flex-direction: column;
    background: #f1f1f2;
    justify-content: flex-end;
}

.rpc-chart-column:first-child {
    margin-left: 0;
}
.rpc-chart-column:last-child {
    margin-right: 0;
}

.rpc-chart-inner {
    background: #19a880;
    max-height: 100%;
    transition: 0.5s;
    position: relative;
    text-align: center;
}
.rpc-chart-column-value {
    position: absolute;
    top: -2.3em;
    left: 50%;
    transform: translateX(-50%);
    white-space: nowrap;
}
.rpc-chart-month {
    position: absolute;
    left: 50%;
    top: 100%;
    transform: translate(-50%, 10px);
}
.rpc-chart-inner:hover {
    background: #1dbd90;
}

@media (min-width: 992px) {
    .top-menu ul li .sub-menu li .sub-menu {
        top: 0;
        right: 100% !important;
        left: auto !important;
    }
}