/* Estilo formulario eventos */
.gcal-form-frontend {
    background: #f9f9f9;
    padding: 25px;
    border-radius: 8px;
    border: 1px solid #ddd;
    max-width: 600px;
    margin: 30px auto;
    font-family: Arial, sans-serif;
}

.gcal-form-frontend label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
}

.gcal-form-frontend input[type="text"],
.gcal-form-frontend input[type="datetime-local"],
.gcal-form-frontend select {
    width: 100%;
    padding: 10px;
    margin-bottom: 15px;
    border: 1px solid #ccc;
    border-radius: 4px;
}

.gcal-form-frontend button {
    background-color: #0073aa;
    color: white;
    border: none;
    padding: 10px 16px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 16px;
}

.gcal-form-frontend button:hover {
    background-color: #005177;
}

/* Lista simple eventos */
.gcal-event-list {
    margin: 30px 0;
}

.gcal-event-item {
    background-color: #f9f9f9;
    border-left: 4px solid #0073aa;
    padding: 15px;
    margin-bottom: 15px;
}

.gcal-event-item h3 {
    margin: 0 0 10px;
}

/* ----------- ESTILOS CALENDARIO ----------- */

/* Estilo calendario contenedor */
#gcal-fullcalendar {
    max-width: 900px;
    margin: 40px auto;
    font-family: Arial, sans-serif;
}

/* Fines de semana con fondo diferente */
.fc-day-sat, .fc-day-sun {
    background-color: #f0f8ff !important; /* Azul claro */
}

/* Categorías de eventos con colores diferentes */
.category-meeting {
    background-color: #1e90ff !important; /* Azul fuerte */
    border-color: #1e90ff !important;
    color: white !important;
}

.category-holiday {
    background-color: #ff8c00 !important; /* Naranja */
    border-color: #ff8c00 !important;
    color: white !important;
}

.category-birthday {
    background-color: #32cd32 !important; /* Verde lima */
    border-color: #32cd32 !important;
    color: white !important;
}

/* Evento pasado (gris) */
.past-event {
    background-color: #c0c0c0 !important;
    border-color: #909090 !important;
    color: #505050 !important;
    opacity: 0.6;
    cursor: default !important;
}

/* Evento próximo (resaltado amarillo) */
.upcoming-event {
    box-shadow: 0 0 10px 3px #ffec99;
    border-width: 2px !important;
}

/* Animación hover en los días */
.fc-daygrid-day:hover {
    background-color: #e6f2ff !important;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

/* Responsive: calendario ocupa 95% en pantallas pequeñas */
@media (max-width: 600px) {
    #gcal-fullcalendar {
        max-width: 95%;
        margin: 20px auto;
    }
}

/* Popup conexión Google */
#gcal-popup {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: #4caf50;
    color: white;
    padding: 12px 20px;
    border-radius: 6px;
    cursor: pointer;
    box-shadow: 0 2px 10px rgba(0,0,0,0.2);
    display: none;
    font-family: Arial, sans-serif;
    z-index: 9999;
    user-select: none;
}
/* Estilo para eventos del día actual */
.fc-event.event-today {
  border: 2px solid #f39c12 !important;
  background-color: #fff3cd !important;
  color: #333 !important;
}
