#calendar {
	width: 100%;
}

#calendar ul {
	list-style: none;
	padding: 0;
	margin: 0;
	width: 100%;
}

#calendar li {
	display: block;
	float: left;
	width: 14.2857142857%;
	padding: 5px;
	box-sizing: border-box;
	border: 1px solid #ccc;
	margin-right: -1px;
	margin-bottom: -1px;
	background-color: #fff;
    position: relative;
}

#calendar ul.weekdays {
    height: 2em;
}

#calendar ul.weekdays li {
    text-align: center;
    border: none !important;
    border-top: 1px solid lightgray !important;
    background-color: white;
	padding: 1.5em !important;
}

#calendar .days li {
	height: 120px;
	overflow-x: auto;
}

#calendar .date {
	text-align: center;
	color: #333;
	width: 26px;
	float: right;
	font-size: 12px;
    font-weight: 600;
}

#calendar .event {
	display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 3px;
    margin: 3px 0;
    font-size: 12px;
    color: #fff;
    border-radius: 5px;
	border: none !important;
}

#calendar .other-month {
	color: #666;
}

#calendar .today {
    background-color: #ebf2ff !important;
}
.badge-default {
	padding:4px !important;
	color: black !important;
}
.amendment-vote {
    background-color: #d6effc; /* Lighter Blue */
}

.liq-deadline {
    background-color: #e8dff0; /* Lighter Purple */
}

.approval-vote {
    background-color: #d9d9d9; /* Lighter Gray */
}

.ipo-date {
    background-color: #c9f7c9 !important; /* Lighter Green */
}
.amendment-vote  {
    background-color: #fcd6d6; /* Lighter Red */
}

@media(max-width: 768px) {
	#calendar .weekdays, #calendar .other-month {
		display: none;
	}

	#calendar li {
		height: auto !important;
		border: 1px solid #ededed;
		width: 100%;
		padding: 2px;
		margin-bottom: -1px;
	}

	#calendar .date {
		float: none;
	}

}


/* Month-Year Title */
.month-year {
    font-size: 20px;
    font-weight: bold;
    margin: 0 10px;
}

/* Navigation Buttons */
.btn-left, .btn-right {
    font-size: 18px;
    color: black;
    text-decoration: none;
    margin: 0 10px;
}


/* Hover Effect */
.custom-btn:hover,
.custom-btn.active {
    background: #013a55;
    border-color: #013a55;
    color: white;
}

.month-center {
    flex-grow: 0; /* Ensures it takes up available space */
    text-align: center; /* Keeps text centered */
    display: flex;
    justify-content: center;
    align-items: center;
    order: 1; /* Forces it to be in the middle */
}

@media (min-width: 746px) {
    .month-center {
        order: 0; /* Resets order for larger screens */
    }
}
@media (max-width: 768px) {
    .month-center {
      margin-left: 0 !important
  }
}