/* =========================================================
   Rental Price Chart — Apple-inspired UI
   Accent: #08496D  |  Background: #F5F5F7
   ========================================================= */

.rpc-chart {
    margin-top: 20px;
    font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", sans-serif;
    -webkit-font-smoothing: antialiased;
    background: #F5F5F7;
    border-radius: 20px;
    padding: 28px 28px 16px;
    margin-bottom: 20px;
}

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

.rpc-chart p {
    margin-bottom: 20px;
    line-height: 1.5;
}

.rpc-chart-bars {
    margin: 10px 0 60px;
    position: relative;
    width: 100%;
    height: 260px;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    font-size: 0.78em;
    padding: calc(1.3em + 10px) 0;
    gap: 5px;
}

/* Track (background column) */
.rpc-chart-column {
    flex: 1;
    height: 100%;
    display: flex;
    flex-direction: column;
    background: rgba(8, 73, 109, 0.07);
    border-radius: 8px 8px 6px 6px;
    justify-content: flex-end;
    overflow: visible;
    position: relative;
}

/* Filled bar */
.rpc-chart-inner {
    background: linear-gradient(180deg, #0d6fa8 0%, #08496D 100%);
    max-height: 100%;
    transition: height 0.5s cubic-bezier(0.34, 1.56, 0.64, 1),
                background 0.2s ease;
    position: relative;
    text-align: center;
    border-radius: 8px 8px 5px 5px;
    box-shadow: 0 4px 12px rgba(8, 73, 109, 0.25);
}

.rpc-chart-inner:hover {
    background: linear-gradient(180deg, #1a85c4 0%, #0a5a87 100%);
    box-shadow: 0 6px 20px rgba(8, 73, 109, 0.38);
}

/* Price label above bar */
.rpc-chart-column-value {
    position: absolute;
    top: -2.4em;
    left: 50%;
    transform: translateX(-50%);
    white-space: nowrap;
    font-weight: 600;
    color: #08496D;
    font-size: 1em;
    letter-spacing: -0.01em;
}

/* Month label below bar */
.rpc-chart-month {
    position: absolute;
    left: 50%;
    top: 100%;
    transform: translate(-50%, 10px);
    color: #6e6e73;
    font-weight: 500;
    white-space: nowrap;
}

@media (max-width: 600px) {
    .rpc-chart {
        padding: 20px 16px 12px;
        border-radius: 16px;
    }
    .rpc-chart-bars {
        height: 180px;
        font-size: 0.68em;
        gap: 3px;
    }
    .rpc-chart-column-value {
        font-size: 0.9em;
    }
}

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