@charset "UTF-8";
/* CSS Document */

#calendar {
    width: 100%;
    xxxxxmax-width: 1200px;
    margin: 20px auto;
}

.calendar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
	margin-bottom: 24px;
}

.calendar-header h2 {
    margin: 0;
}

.calendar-right {
    display: flex;
    justify-content: space-between;
    align-items: center;
	gap:12px;
}

.calendar-nav button {
    padding: 10px;
    font-size: 16px;
    cursor: pointer;
}

.calendar-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 1px;
    background-color: #3a4b3633;
}

.calendar-day{
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
    align-items: flex-end;
	background-color: #fff;
    min-height: 120px;
    position: relative;
	padding: 5px;
    overflow: hidden;
}

.calendar-day-header {
	position: relative;
    overflow: hidden;
    background-color: #3a4b3633;
    padding: 10px;
    text-align: center;
    font-weight: bold;
	min-height: inherit;
}

.calendar-day-number {
    text-align: right;
    font-weight: bold;
    margin-bottom: 5px;
	display: inline-flex;
	align-items: center;
    justify-content: center;
    border-radius: 24px;
    padding:14px;
	position: absolute;
    right: 0px;
    top: 0px;
	width: 24px;
    height: 24px;
	background: #ffffffBB;
}

.event, .label {
    background-color: #2196F3;
    color: #000;
    padding: 2px 5px;
    border-radius: 3px;
    font-size: 12px;
    margin-bottom: 2px;
    cursor: pointer;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
	width: 100%;
	text-align: left;
}

.event:hover, .label:hover {
    background-color: #000;
}

.more-events {
    /*position: absolute;
    bottom: 5px;
    right: 5px;*/
    font-size: 13px;
	line-height: 18px;
	font-weight: 500;
    color: #222;
    cursor: pointer;
}

.more-events:hover {
    text-decoration: underline;
}

/* Estilos para botones de navegación */
.calendar-nav button {
    background-color: #3a4b3655;
    border: none;
    color: #fff;
    border-radius: 8px;
    margin: 0 2px;
}

.calendar-nav button:hover {
    background-color: #000;
}

.today { background-color: #3a4b3655; border: 1px solid #fff;border-radius:12px; margin: 2px;}

.today .calendar-day-number {
	background-color: #3a4b36;
	color: #fff;
}

/* Si deseas que los eventos dentro del día actual también tengan estilos especiales */
.today .event {
    background-color: #FFC107;
}

.today .event:hover {
    background-color: #FFA000;
}
		
		
/* Estilos responsivos */
@media (max-width: 600px) {
    .calendar-day-header {min-height: 40px;}
	.calendar-day{min-height:110px; padding:3px;}
    .calendar-day-number { font-size: 12px; }
    .event { font-size: 10px;}
	.label { padding: 0px 3px;}
}