/* styles.css */

/* Calendar container */
.container-calendar {
	background-color: rgba(55, 55, 55, 0.6);
	/*padding: 15px;*/
	max-width: 550px;
	margin: auto;
	overflow: auto;
	box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2);	
	justify-content: space-between;
	border-radius: 5px;
	border: 1px solid #ffffff;
}


.event-marker {
	position: relative;
}

.event-marker::after {
	content: '';
	display: block;
	width: 8px;
	height: 16px;
	background-color: red;
	border-radius: 3px;
	position: absolute;
	bottom: 0;
	left: 5;
}

/* event tooltip styling */
.event-tooltip {
	position: absolute;
	background-color: rgba(208, 249, 92, 0.763);
	color: green;
	padding: 10px;
	border-radius: 20px;
	bottom: 20px;
	left: 50%;
	transform: translateX(-50%);
	display: none;
	transition: all 0.3s;
	box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
	z-index: 1;
}

.event-marker:hover .event-tooltip {
	display: block;
}





/* Style for the delete buttons */
.delete-event {
	background: red;
	/*color: #d0f95c;*/
	border-radius: 20px;
	border: 1px solid  #d0f95c;
	padding: 5px 10px;
	cursor: pointer;
	margin-left: 10px;
	align-items: right;
}

/* Buttons in the calendar */
.button-container-calendar button {
	cursor: pointer;
	background: rgba(55, 55, 55, 0.6);
	color: #d0f95c;
	border: 1px solid #ffffff;
	border-radius: 20px;
	padding: 5px 10px;
}

/* Calendar table */
.table-calendar {

	width: 100%;
}

.table-calendar td,
.table-calendar th {
	padding: 5px;
	border: 1px solid #ffffff;
	border-radius: 5px;
	text-align: center;
	vertical-align: top;
}

/* Date picker */
.date-picker.selected {
	background-color: #ffffff;
	font-weight: bold;
	outline: 2px dashed white;
	/* Today */
}

.selected {
	background-color: #ffffff;
}

.date-picker.selected span {
	background-color: #ffffff;
	color: blue;
	border-bottom: 3px solid currentColor;
}

/* Day-specific styling */
.date-picker:nth-child(1) {
	color: #d0f95c;
	background: rgba(55, 55, 55, 0.6);
	font-weight: 300;
	/* Monday */
}
.date-picker:nth-child(2) {
	color: #d0f95c;
	background: rgba(55, 55, 55, 0.6);
	font-weight: 300;
	/* Thuesday */
}
.date-picker:nth-child(3) {
	color: #d0f95c;
	background: rgba(55, 55, 55, 0.6);
	font-weight: 300;
	/* Wednessday */
}
.date-picker:nth-child(4) {
	color: #d0f95c;
	background: rgba(55, 55, 55, 0.6);
	font-weight: 300;
	/* Thursday */
}
.date-picker:nth-child(5) {
	color: #d0f95c;
	background: rgba(55, 55, 55, 0.6);
	font-weight: 300;
	/* Friday */
}

.date-picker:nth-child(6) {
	color: #ffffff;
	background: rgba(155, 255, 155, 0.2);	
	/* Saturday */
}

.date-picker:nth-child(7) {
	color: #ffffff;
	background: rgba(155, 255, 155, 0.2);	
	/* Sunday */
}

/* Hover effect for date cells */
.date-picker:hover {
	cursor: pointer;
}

/* Header for month and year */
#monthAndYear {
	text-align: center;	
}

/* Navigation buttons */
.button-container-calendar {
	position: relative;
	margin-bottom: 1em;
	overflow: hidden;
	clear: both;
}

#previous {
	float: left;
}

#next {
	float: right;
}

/* Footer styling */
.footer-container-calendar {
	margin-bottom: 1em;
	border-bottom: 1px solid #ffffff;
	padding: 10px 0;
}

.footer-container-calendar select {
	cursor: pointer;
	background: rgba(55, 55, 55, 0.3);
	color: #ffffff;
	border: 1px solid #ffffff;
	border-radius: 5px;
	padding: 5px 1em;
}