/* ==========================================
   ExpenseTrackify Calendar
========================================== */

.calendar-header{

    display:flex;

    justify-content:space-between;

    align-items:center;

    margin:20px 0;

}

.month-title{

    font-size:20px;

    font-weight:700;

}

.nav-btn{

    width:42px;

    height:42px;

    border:none;

    border-radius:50%;

    cursor:pointer;

    background:#23263A;

    color:#fff;

}

.week-days{

    display:grid;

    grid-template-columns:repeat(7,1fr);

    gap:10px;

    text-align:center;

    margin-bottom:10px;

}

.week-days div{

    color:#8A8F9F;

    font-weight:600;

}

.calendar-grid{

    display:grid;

    grid-template-columns:repeat(7,1fr);

    gap:10px;

}

.day{

    background:#23263A;

    border-radius:16px;

    min-height:75px;

    display:flex;

    justify-content:center;

    align-items:center;

    position:relative;

    cursor:pointer;

    transition:.3s;

}

.day:hover{

    transform:scale(1.05);

}

.today{

    border:2px solid #14E4B5;

}

.dot{

    width:8px;

    height:8px;

    border-radius:50%;

    background:#14E4B5;

    position:absolute;

    bottom:10px;

}

/* ==========================
   Empty Calendar Boxes
========================== */

.calendar-grid div{

    min-height:75px;

}

/* ==========================
   Smooth Animation
========================== */

.day{

    transition:.25s;

}

.day:hover{

    transform:translateY(-3px);

}

/* ==========================
   Progress Bar
========================== */

.progress-bar{

    width:100%;

    height:12px;

    background:#2D3248;

    border-radius:30px;

    overflow:hidden;

    margin:15px 0;

}

.progress-fill{

    width:0%;

    height:100%;

    background:#14E4B5;

    transition:.4s;

}

/* ==========================
   Popup
========================== */

.popup-overlay{

    position:fixed;

    inset:0;

    background:rgba(0,0,0,.65);

    display:none;

    justify-content:center;

    align-items:flex-end;

    z-index:999;

}

.popup-card{

    width:100%;

    max-height:80vh;

    background:#202437;

    border-radius:24px 24px 0 0;

    padding:20px;

    overflow:auto;

}

.popup-header{

    display:flex;

    justify-content:space-between;

    align-items:center;

    margin-bottom:20px;

}

.transaction-item{

    padding:14px;

    background:#2A3045;

    border-radius:12px;

    margin-bottom:12px;

}

/* ==========================
   Responsive
========================== */

@media (max-width:480px){

    .day{

        min-height:60px;

        font-size:14px;

    }

    .month-title{

        font-size:18px;

    }

    .popup-card{

        max-height:85vh;

    }

}