/* Add this CSS to your style.css file or wherever you manage your plugin's styles */

/* Calendar */
.user-calendar {
    position: relative;
}

/* Modal */
.modal {
    display: none; /* Hide modal by default */
    position: fixed; /* Position the modal relative to the viewport */
    z-index: 1; /* Ensure the modal appears on top of other content */
    left: 0;
    top: 0;
    width: 100%; /* Full width */
    height: 100%; /* Full height */
    overflow: auto; /* Enable scrolling if content overflows */
    background-color: rgba(0, 0, 0, 0.5); /* Semi-transparent background */
}

/* Modal content */
.modal-content {
    background-color: #fefefe;
    margin: 15% auto; /* Center modal vertically and horizontally */
    padding: 20px;
    border: 1px solid #888;
    width: 80%;
    max-width: 600px; /* Maximum width */
    position: relative;
}

/* Close button */
#closeButton {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  text-align: center;
  background: red;
  height: 50px;
  padding: 14px;
  border-radius: 0 0 20px 20px;
font-weight:bold;
}

#closeButton:hover,
#closeButton:focus {
    color: white;
    background: darkred;
}

#footer {
	z-index:-999!important;
}

#dateForm {
  position: absolute;
  z-index: 999;
  background: salmon;
  padding: 50px;
}
#custom-calendar > div {
  width: 100%;
}
#custom-calendar tbody tr td a {
  height: 100px;
}
.highlight-saved-date::after {
    content: attr(title); /* Display the content of the title attribute */
    position: absolute;
    bottom: 0;
    left: 0;
    padding: 5px;
    font-size: 12px;
    white-space: nowrap;
    z-index: 1;
}
.ui-datepicker td {
  position: relative;
}
#dateForm {
  position: absolute;
  background: #eaf8ff;
  padding: 40px;
  top: 50%;
  left: 50%;
  transform: translate(-50%,-50%);
  z-index: 999;
  box-shadow: 0 0 50px #14232d;
  border-radius: 20px;
}
#currentDate {
  text-transform: uppercase;
  font-size: 1.5em;
  text-align: center;
  margin-bottom: 15px;
}
.highlight-holiday a, .highlight-weekend a {
  background: #ff000024 !important;
}
.ui-datepicker-calendar tbody td:after {
    content: attr(title);
    padding: 5px;
    position: absolute;
    bottom: 0;
}
.weekend a{
	color: red!important;
	font-weight:bold;
}
.calendar td, .calendar th {
	text-align:center;
}
.calendar td a{
	width:100%;
	height:100%;
	display: block;
	padding: 10%;
	position:relative;
	background: white;
	box-shadow: 2px 2px 10px #00000029;
	transition: .2s all;
}
.calendar td a:hover {
  background: #eaf8ff;
  transition: .2s all;
}
.calendar td a:active {
	box-shadow: inset 5px 5px 10px #00000029;
}
.calendar td a:active .calendar_datum {
	transform: translatex(5%) translatey(5%);
}
.calendar td {
  height: 100px;
  width: 14%;
  padding: 0;
}
.calendar_week {
  width: 1% !important;
  vertical-align: middle;
}

.calendar_content {
  line-height: 1;
  text-align: right;
  position: absolute;
  right: 10%;
  bottom: 0;
}
.calendar_datum {
  font-size: 2em;
  display: block;
  text-align: left;
  font-weight: bold;
}
.calendar td.weekend a,.calendar td.holiday a{
	background: #ffd0d0;
}
.calendar td.weekend a:hover,.calendar td.holiday a:hover{
	background: #ffb5b5;
}
.calendar .empty-day {
	background: lightgray;
	height: auto;
}
.calendar-navigation {
	text-align: center;
}