
header .current-date {
	font-size: 1.45rem;
	font-weight: 500;
}

header .icons span {
	height: 38px;
	width: 38px;
	color: #878787;
	font-size: 1.9rem;
	margin: 0;
	cursor: pointer;
	text-align: center;
	line-height: 38px;
	border-radius: 50%;
}

header .icons span:hover{
	background: #f2f2f2;
}

header .icons span:last-child{
	margin-right: -10px;	
}

.month{
	padding: 20px;
	transition: height 0.3s ease, opacity 0.5s ease !important; /* Transition for opacity */
}

.month ul {
	display: flex;
	list-style: none;
	flex-wrap: wrap;
	text-align: center;
}

.month .days{
	margin-bottom: 20px;
}

.month .weeks li{
	font-weight: 500;		
}

.month .days li{
	z-index: 1;
	cursor: pointer;
	margin-top: 30px;
}

.month ul li{
	position: relative;
	width: calc(100% / 7);
}

.month .days li::before{
	position: absolute;
	content: "";
	height: 40px !important;
	width: 40px;
	top: 50%;
	left: 50%;
	z-index: -1;
	border-radius: 15%;
	transform: translate(-50%, -50%);
}

.days li:hover::before{
	background: #d2d2d2;
}

.days li.active::before{
	background: brown;
}

.days li.inactive{
	color: #aaa;
}

.days li.active{
	color: #FFF;
}

.wrapper {
	width: 450px;
	background: white;
	border-radius: 10px;
	margin-bottom: 10px;
	z-index: 2000; 
}

.wrapper header {
	display: flex;
	align-items: center;
	padding: 25px 30px 10px;
	justify-content: space-between;
}

 /* Adjust styles for calendar container */
.calendar-container {
  width: 100%;
  height: 100vh;
  
  z-index: 1000; /* Ensure it's on top of everything */
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Hide dropdown content initially */
.hidden {
  display: none;
}

#dropdown-content{
  position: fixed;
  display: flex;
  flex-direction: row; /* Arrange elements horizontally */  
  align-items: center;
  justify-content: center;
  transition: opacity 0.5s ease-in-out;
  opacity: 0;
  visibility: hidden;
  z-index: 1;
  width: 100%;
  height: 100vh;
  background-color: rgba(0, 0, 0, 0.8); /* Semi-transparent black background */
  margin: 0 auto;
}

#calendar-container, #event-form, #event-details {
  flex: 1; /* Make each element equally sized */
  padding: 10px;
  margin: 20px;
  z-index: 1000;
}

/* CSS for the close calendar button */
#close-calendar-btn {
  padding: 8px 16px; /* Adjust padding as needed */
  position: absolute;
  /* Adjust top, right, bottom, or left properties for placement */
  bottom: 50px;
  background-color: #65000b; /* Button background color */
  color: whitesmoke; /* Button text color */
  border: none; /* Remove border */
  border-radius: 4px; /* Add some border-radius for rounded corners */
  cursor: pointer; /* Show pointer cursor on hover */
  display: block; /* Ensure the button takes full width */
  z-index: 1000;
}

#close-calendar-btn:hover {
  background-color: maroon; /* Darker background color on hover */
}

#event-details{
  position: relative;
  display: flex; /* Use flexbox for vertical centering */
  background-color: rgb(255, 255, 255); /* Set background color with some transparency */  
  border-radius: 10px;
  box-sizing: border-box;
  justify-content: center;
  align-items: center;
}

#event-form{
  opacity: 0;
  transition: opacity 0.3s ease-in-out;
  display: flex;
  box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.3); /* Add a slight shadow */
  background-color: rgb(255, 255, 255); /* Set background color with some transparency */  
  border-radius: 10px;
  box-sizing: border-box;
  position: relative;
  justify-content: center;
  align-items: center;
}

#event-form-data{
  font-family: cursive;
  position: inherit;  
  justify-content: center;
  align-items: center;
  display: flex;
  flex-direction: column;
}

.fade-out {
  opacity: 1;
  transition: opacity 0.5s ease-in-out;
}

label, input, button {
  text-align: center;
  margin-top: 10px;
}

#event-details{
  display: block;
  text-align: center;
}

.event-title {
  border-bottom: 1px solid #ddd;
  padding-bottom: 10px;
  align-content: center;
}

#event-list {
  list-style: none; /* Remove default bullet points */
  padding: 0; /* Remove default padding */
  margin: 0; /* Remove default margin */
  text-align: center;
}

#event-list li {
  /* Style for individual list items */
  padding-top: 10px;
  cursor: pointer; /* Optional: Set cursor to pointer on hover */
}

#event-list::after {
  content: "No events saved";
  color: gray;
  font-style: italic;
  display: none;
  padding-top: 10px;
}

#event-list:empty::after {
  visibility: visible; /* Show the message only when the list is empty */  
  display: block; /* Show the list element when empty */
}
