/* ==========================
   Moonfires V5 Layout
========================== */

.mfhcp-layout{
    display:flex;
    gap:25px;
    align-items:flex-start;
    margin:20px 0;
}

.mfhcp-sidebar{
    width:30%;
    min-width:300px;
}

.mfhcp-main{
    width:70%;
}

/* ==========================
   Calendar Wrapper
========================== */

.mfhcp-calendar-wrapper{
    background:#fff;
    border-radius:18px;
    overflow:hidden;
    box-shadow:0 5px 20px rgba(0,0,0,.08);
}

.mfhcp-month-title{
    margin:0;
    padding:18px;
    background:linear-gradient(
        135deg,
        #ff6f00,
        #ff9800
    );
    color:#fff;
    font-size:24px;
    font-weight:700;
}

/* ==========================
   Calendar Table
========================== */

.mfhcp-calendar-table{
    width:100%;
    border-collapse:collapse;
}

.mfhcp-calendar-table th{
    background:#fff7e6;
    color:#444;
    padding:14px;
    text-align:center;
    font-size:14px;
    font-weight:700;
    border-bottom:1px solid #eee;
}

.mfhcp-calendar-table td{
    width:14.28%;
    height:130px;
    vertical-align:top;
    border:1px solid #f1f1f1;
    padding:8px;
    position:relative;
}

/* ==========================
   Day Cell
========================== */

.mfhcp-day{
    cursor:pointer !important;
    transition:.25s;
}

.mfhcp-day:hover{
    background:#fff8e1;
}

.mfhcp-date{
    font-size:20px;
    font-weight:700;
    color:#222;
    margin-bottom:8px;
}

/* ==========================
   Panchang Lines
========================== */

.mfhcp-tithi{
    font-size:11px;
    line-height:1.4;
    margin-bottom:5px;
    color:#333;
}

.mfhcp-nakshatra{
    font-size:11px;
    line-height:1.4;
    margin-bottom:5px;
    color:#555;
}

.mfhcp-festival{
    display:inline-block;
    background:#ffebee;
    color:#d32f2f;
    border-radius:20px;
    padding:3px 8px;
    font-size:10px;
    font-weight:600;
    margin-top:4px;
}

/* ==========================
   Today Highlight
========================== */

.mfhcp-today{
    background:#fff3cd !important;
}

/* ==========================
   Mobile
========================== */

@media(max-width:1024px){

    .mfhcp-layout{
        flex-direction:column;
    }

    .mfhcp-sidebar{
        width:100%;
        min-width:auto;
    }

    .mfhcp-main{
        width:100%;
    }

}

@media(max-width:768px){

    .mfhcp-calendar-table td{
        height:95px;
        padding:5px;
    }

    .mfhcp-date{
        font-size:16px;
    }

    .mfhcp-tithi,
    .mfhcp-nakshatra{
        font-size:9px;
    }

    .mfhcp-festival{
        font-size:8px;
        padding:2px 6px;
    }

}