

body {
    background-image: url("/img/mainPage/Hotel-Mandarin-Carton-Mexico-City-Exterior.jpeg");
    font-family: Arial, sans-serif;
    background-color: white;
    margin: 0;
    height: 100vh; /* Altura completa de la ventana */
    display: flex;
    justify-content: center; /* Centrar horizontalmente */
    align-items: center; /* Centrar verticalmente */
}

/* Main wrapper for the calendar application */
.wrapper {
    width: 100%; /* Ancho completo */
    height: 100%; /* Altura completa */
    display: flex;
    justify-content: center; /* Centrar horizontalmente */
    align-items: center; /* Centrar verticalmente */
}

/* Calendar container */
.container-calendar {
    background: #ffffff;
    padding: 15px;
    width: 100%; /* Ancho completo */
    height: 100%; /* Altura completa */
    overflow: auto;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2);
    display: flex;
    flex-direction: column; /* Colocar elementos en columna */
    justify-content: center; /* Centrar verticalmente */
    align-items: center; /* Centrar horizontalmente */
}

/* Event section styling */
#event-section {
    padding: 10px;
    background: #f5f5f5;
    margin: 20px 0;
    border: 1px solid #ccc;
}

.container-calendar #left h1 {
    color: green;
    text-align: center;
    background-color: #f2f2f2;
    margin: 0;
    padding: 10px 0;
}

#event-section h3 {
    color: green;
    font-size: 18px;
    margin: 0;
}

#event-section input[type="date"],
#event-section input[type="text"] {
    margin: 10px 0;
    padding: 5px;
    width: 80%;
}

#event-section button {
    background: green;
    color: white;
    border: none;
    padding: 5px 10px;
    cursor: pointer;
}

.event-marker {
    position: relative;
}

.event-marker::after {
    content: '';
    display: block;
    width: 6px;
    height: 6px;
    background-color: red;
    border-radius: 50%;
    position: absolute;
    bottom: 0;
    left: 0;
}

/* event tooltip styling */
.event-tooltip {
    position: absolute;
    background-color: rgba(234, 232, 232, 0.763);
    color: black;
    padding: 10px;
    border-radius: 4px;
    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;
}

/* Reminder section styling */
#reminder-section {
    padding: 10px;
    background: #f5f5f5;
    margin: 20px 0;
    border: 1px solid #ccc;
}

#reminder-section h3 {
    color: green;
    font-size: 18px;
    margin: 0;
}

#reminderList {
    list-style: none;
    padding: 0;
}

#reminderList li {
    margin: 5px 0;
    font-size: 16px;
}

/* Style for the delete buttons */
.delete-event {
    background: rgb(237, 19, 19);
    color: white;
    border: none;
    padding: 5px 10px;
    cursor: pointer;
    margin-left: 10px;
    align-items: right;
}

/* Buttons in the calendar */
.button-container-calendar button {
    cursor: pointer;
    background: green;
    color: #fff;
    border: 1px solid green;
    border-radius: 4px;
    padding: 5px 10px;
}

/* Calendar table */
.table-calendar {
    border-collapse: collapse;
    width: 100%; /* Ancho completo */
    height: 100%; /* Altura completa */
}

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

/* Date picker */
.date-picker.selected {
    background-color: #f2f2f2;
    font-weight: bold;
    outline: 1px dashed #00BCD4;
}

.date-picker.selected span {
    border-bottom: 2px solid currentColor;
}

/* Day-specific styling */
.date-picker:nth-child(1) {
    color: red; /* Sunday */
}

.date-picker:nth-child(6) {
    color: green; /* Friday */
}

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

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

/* 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-top: 1em;
    border-top: 1px solid #dadada;
    padding: 10px 0;
}

.footer-container-calendar select {
    cursor: pointer;
    background: #ffffff;
    color: #585858;
    border: 1px solid #bfc5c5;
    border-radius: 3px;
    padding: 5px 1em;
}

/* Media Queries para dispositivos móviles */
@media (max-width: 768px) {
    h1 {
        font-size: 20px; /* Tamaño de fuente más pequeño en móviles */
    }

    .container {
        padding: 10px; /* Menos padding en móviles */
    }

    #calendar {
        font-size: 12px; /* Tamaño de fuente más pequeño para el calendario */
    }

    footer {
        font-size: 12px; /* Tamaño de fuente más pequeño en el pie de página */
    }
}

@media (max-width: 480px) {
    h1 {
        font-size: 18px; /* Tamaño de fuente aún más pequeño en pantallas muy pequeñas */
    }

    #calendar {
        font-size: 10px; /* Tamaño de fuente más pequeño para el calendario */
    }

    footer {
        font-size: 10px; /* Tamaño de fuente más pequeño en el pie de página */
    }
}

/* Añade esto a tu archivo calendar.css */
.has-event {
    background-color: #e8f4ea !important; /* Color verde claro */
    position: relative;
}

.has-event::after {
    content: '';
    position: absolute;
    bottom: 2px;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 4px;
    background-color: #4CAF50;
    border-radius: 50%;
}

/* Si la fecha tiene evento y es seleccionada */
.has-event.selected {
    background-color: #4CAF50 !important;
    color: white;
}