/* Page-specific: Pips dashboard, yearly slider, lot converter */
.page {
    position: relative;
    z-index: 1;
    padding-top: 100px;
    min-height: 100vh;
}
.dashboard-container {
    max-width: 1400px;
    margin: 2rem auto;
}
.year-slider-container {
    background: rgba(15, 23, 42, 0.6);
    backdrop-filter: blur(12px);
    border-radius: 2rem;
    padding: 1.2rem 0.8rem;
    border: 1px solid rgba(139, 92, 246, 0.25);
}
.slider-controls {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 1rem 1rem 1rem;
}
.nav-btn {
    background: rgba(30, 41, 59, 0.8);
    border: none;
    color: var(--purple);
    font-size: 1.6rem;
    width: 44px;
    height: 44px;
    border-radius: 60px;
    cursor: pointer;
    transition: 0.2s;
}
.nav-btn:hover {
    background: var(--purple);
    color: white;
}
.year-indicator {
    font-size: 1.8rem;
    font-weight: 700;
    background: linear-gradient(145deg, rgba(30,42,58,0.8), rgba(15,23,42,0.9));
    padding: 0.2rem 1.8rem;
    border-radius: 60px;
    color: #e2e8f0;
    border: 1px solid rgba(139,92,246,0.3);
}
.slides-wrapper {
    overflow: hidden;
    min-height: 480px;
}
.slides-track {
    display: flex;
    transition: transform 0.4s cubic-bezier(0.2, 0.9, 0.4, 1.1);
}
.year-slide {
    flex: 0 0 100%;
    padding: 0.8rem;
}
.months-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 1.2rem;
}
.month-card {
    background: rgba(30, 41, 59, 0.7);
    backdrop-filter: blur(8px);
    border-radius: 1.2rem;
    padding: 0.9rem;
    cursor: pointer;
    transition: 0.25s;
    border: 1px solid rgba(139, 92, 246, 0.3);
}
.month-card:hover {
    transform: translateY(-5px);
    border-color: var(--purple);
    background: rgba(37,49,65,0.9);
}
.month-name {
    text-align: center;
    font-weight: 600;
    color: #e2e8f0;
    margin-bottom: 0.6rem;
}
.mini-chart-canvas {
    width: 100%;
    height: 70px;
    background: rgba(15,23,42,0.6);
    border-radius: 12px;
}
.data-hint {
    font-size: 0.65rem;
    text-align: center;
    margin-top: 8px;
    color: #94a3b8;
}
.popup {
    display: none;
    position: fixed;
    top:0; left:0;
    width:100%; height:100%;
    background: rgba(0,0,0,0.8);
    backdrop-filter: blur(8px);
    z-index: 2000;
    align-items: center;
    justify-content: center;
}
.popup-content {
    background: #111827;
    width: 90%;
    max-width: 1000px;
    border-radius: 1.8rem;
    padding: 1.5rem;
    position: relative;
    border: 1px solid var(--purple);
}
.close-popup {
    position: absolute;
    top: 1rem; right: 1.5rem;
    font-size: 1.8rem;
    color: #ffffff;
    cursor: pointer;
    background: #1f2a3e;
    width: 36px; height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}
.close-popup:hover {
    background: var(--purple);
    color: white;
}
.popup-title {
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 1.2rem;
    color: var(--blue);
}
.full-chart-wrapper {
    height: 400px;
    position: relative;
}
.lot-converter {
    background: rgba(255,255,255,0.5);
    backdrop-filter: blur(8px);
    border-radius: var(--radius-sm);
    padding: 1rem;
    margin-top: 1rem;
}
.form-select-sm-custom {
    background: rgba(255,255,255,0.7);
    border: 1px solid rgba(139,92,246,0.3);
    border-radius: 30px;
    padding: 0.5rem 1rem;
}
.glass-card .text-muted.small.fw-semibold {
    font-size: 1rem !important;
    font-weight: 700 !important;
    background: #111827;
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent !important;
    letter-spacing: -0.2px;
    margin-top: 6px;
    display: inline-block;
}
.progress-wrap {
    background: #e8e8f0;
    border-radius: 10px;
    height: 10px;
    overflow: hidden;
    margin-top: 6px;
}
.progress-fill {
    height: 100%;
    border-radius: 10px;
    background: linear-gradient(90deg, var(--purple), var(--blue));
    transition: width 1.2s ease;
}
.stat-number {
    font-size: 2.4rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--purple), var(--blue));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.stat-number1 {
    font-size: 2.4rem;
    font-weight: 800;
    background:green;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
@media (max-width: 992px) {
    .section-title { font-size: 1.6rem; }
    .glass-card .text-muted.small.fw-semibold {
        font-size: 0.9rem !important;
    }
}

#prevMonthProfitBtn{
   color: #000;
    background-color: #fff;
    border-color: #fff;
}

