body {
    font-family: 'Mukta', sans-serif;
    display: flex;
    justify-content: center;
    align-items: center;

    background-color: skyblue;
    margin: 0;
    padding: 0px;
} 

.calendar-container {
    background-color: #1258c0; /* अद्यावधिक गरिएको गाढा नीलो रङ */
    color: white;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    padding: 20px;
    width: 100%;
    max-width: 400px;
}

.calendar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.calendar-header button {
    background: none;
    border: none;
    color: white;
    font-size: 1.2em;
    cursor: pointer;
    padding: 8px 12px;
}

.month-year {
    text-align: center;
}

.calendar-header h2 {
    margin: 0;
    color: white;
    font-size: 1.5em;
}

.calendar-header h3 {
    margin-top: 5px;
    font-size: 0.9em;
    color: #ddd;
}

.calendar-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 5px;
}

.day-name {
    text-align: center;
    padding: 8px 0;
    font-size: 0.8em;
    color: white;
    background-color: darkblue;
}
.day-sat{
    background-color: rgb(216, 2, 2);
    text-align: center;
    padding: 8px 0;
    font-size: 0.8em;
    color: white;
}

.calendar-grid .day-name:last-child {
    background-color: darkred;
}

.day {
    text-align: center;
    padding: 12px;
    border-radius: 4px;
    background-color: #fff;
    color: darkblue;
    font-weight: bold;
    position: relative;
    font-size: 1em;
    cursor: pointer; /* Add cursor for interaction */
}

.day span {
    display: block;
    font-size: 0.7em;
    color: #777;
    position: absolute;
    bottom: 5px;
    right: 5px;
    left: auto;
    transform: translateX(0);
}

.weekend {
    color: red;
}

.today {
    background-color: #b3e5fc !important; /* Light blue */
    color: #003366 !important; /* Dark text for contrast */
}

.clicked {
    background-color: #ff8383 !important; /* क्लिक गरिएको मितिको पृष्ठभूमि */
   
}

/* Media queries for smaller screens */
@media (max-width: 600px) {
    .calendar-container {
        max-width: 95%;
        margin: 0px;
        padding: 15px;
    }

    .calendar-header h2 {
        font-size: 1.3em;
    }

    .calendar-header button {
        font-size: 1em;
        padding: 5px 8px;
    }

    .day-name {
        font-size: 0.7em;
        padding: 6px 0;
    }

    .day {
        padding: 10px;
        font-size: 0.9em;
    }

    .day span {
        font-size: 0.6em;
    }
}

/* Media queries for even smaller screens */
@media (max-width: 400px) {
    .calendar-header h2 {
        font-size: 1.1em;
    }

    .calendar-grid {
        gap: 3px;
    }

    .day {
        padding: 8px;
        font-size: 0.8em;
    }
}

.today-events, .month-events {
    margin-top: 20px;
    padding: 10px;
    background-color: #f0f0f0;
    border-radius: 5px;
    color: #333;
    margin-bottom: 10px;
}
.top1{
    text-align: center;
    background-color: #00008b;

    color: #ffffff;
}

.today-events h4, .month-events h4 {
    margin-top: 0;
    color: darkblue;
    margin-bottom: 1px;
}
.top1 h4 {
    margin-top: 0;
    color: rgb(4 255 0);
    margin-bottom: 1px;
}

.today-events ul, .month-events ul {
    list-style-type: none;
    padding: 0;
    margin: 0;
}

.today-events li, .month-events li {
    padding: 5px 0;
    border-bottom: 1px solid #ddd;
}

.today-events li:last-child, .month-events li:last-child {
    border-bottom: none;
}

/* ... (existing styles) ... */

/* Event Popup Styles */
.event-popup {
    display: none;
    position: fixed;
    z-index: 1;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.4);
}

.event-popup-content {
    background-color: #fefefe;
    margin: 15% auto;
    padding: 20px;
    border: 1px solid #888;
    width: 80%;
    max-width: 300px;
    position: relative;
    border-radius: 5px;
}

.event-popup-content h4 {
    color: darkblue;
    margin-top: 0;
}

.event-popup-content p {
    margin: 5px 0;
}

.close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
}

.close:hover,
.close:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
}
/* ... (existing styles) ... */

/* Event Popup Styles */
.event-popup {
    display: none;
    position: fixed;
    z-index: 1;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.4);
}

.event-popup-content {
    background-color: #fefefe;
    margin: 15% auto;
    padding: 20px;
    border: 1px solid #888;
    width: 80%;
    max-width: 300px;
    position: relative;
    border-radius: 5px;
}

.event-popup-content h4 {
    color: darkblue;
    margin-top: 0;
}

.event-popup-content p {
    margin: 5px 0;
    color: black; /* Default color for events */
    font-weight: bold; /* Default font weight for events */
}

.close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
}

.close:hover,
.close:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
}

/* ... (existing styles) ... */

.event-indicator {
    position: absolute;
    bottom: 5px;
    right: 5px;
    width: 8px;
    height: 8px;
    background-color: blue;
    border-radius: 50%;
}

/* Event Popup Styles */
.event-popup {
    display: none;
    position: fixed;
    z-index: 1;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.4);
}

.event-popup-content {
    background-color: #fefefe;
    margin: 15% auto;
    padding: 20px;
    border: 1px solid #888;
    width: 80%;
}

/* ... (existing styles) ... */

.event-indicator {
    position: absolute;
    bottom: 5px;
    left: 5px;
    width: 8px;
    height: 8px;
    background-color: blue;
    border-radius: 50%;
}

/* Event Popup Styles */
.event-popup {
    display: none;
    position: fixed;
    z-index: 1;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.4);
}

.event-popup-content {
    background-color: #fefefe;
    margin: 15% auto;
    padding: 20px;
    border: 1px solid #888;
    width: 80%;
    max-width: 300px;
    position: relative;
    border-radius: 5px;
}

.event-popup-content h4 {
    color: darkblue;
    margin-top: 0;
}

.event-popup-content p {
    margin: 5px 0;
}

.close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
}

.close:hover,
.close:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
}
/* ... (existing styles) ... */

/* Event Popup Styles */
.event-popup {
    display: none;
    position: fixed;
    z-index: 1;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.4);
}

.event-popup-content {
    background-color: #fefefe;
    margin: 15% auto;
    padding: 20px;
    border: 1px solid #888;
    width: 80%;
    max-width: 300px;
    position: relative;
    border-radius: 5px;
}


