:root {
    /** Colores **/
    --colorPrimario : #f57d20;
    --grisBorder: #ebe6de;

}




button.date-selector-btn {
    animation: breathe 2s ease-in-out infinite !important;
}

@keyframes breathe {
    0%, 100% { 
        transform: scale(1) !important; 
        box-shadow: 0 4px 15px rgba(239, 64, 40, 0.3) !important;
    }
    50% { 
        transform: scale(1.03) !important; 
        box-shadow: 0 6px 20px rgba(239, 64, 40, 0.4) !important;
    }
}


/* Estilos para el calendario elegante */
/* Estilos para el calendario elegante */
.calendar-section {
    margin: 20px 0;
    position: relative;
}

.date-selector-container {
    position: relative;
    display: inline-block;
}

/* Loading overlay para ocultar el calendario durante la carga */
.calendar-loading {
    position: relative;
}

.calendar-loading::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.8);
    z-index: 999;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Ocultar el calendario cuando está cargando */
.calendar-section.loading .elegant-calendar,
.calendar-section.loading .date-selector-btn {
    opacity: 0.5;
    pointer-events: none;
}

/* Mejorar el loading general */
#loadingTime {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.9);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
}

.date-selector-container {
    position: relative;
    display: inline-block;
}

.date-selector-btn {
    background: #ef4028 !important;
    color: white !important;
    border: none !important;
    padding: 12px 20px !important;
    border-radius: 12px !important;
    cursor: pointer !important;
    font-size: 14px !important;
    font-weight: 500 !important;
    transition: all 0.3s ease !important;
    box-shadow: 0 4px 15px rgba(239, 64, 40, 0.3) !important;
    animation: breathe 2s ease-in-out infinite !important;
}

@keyframes breathe {
    0%, 100% { 
        transform: scale(1) !important; 
        box-shadow: 0 4px 15px rgba(239, 64, 40, 0.3) !important;
    }
    50% { 
        transform: scale(1.03) !important; 
        box-shadow: 0 6px 20px rgba(239, 64, 40, 0.4) !important;
    }
}

.date-selector-btn:hover {
    transform: scale(1.05) !important;
    background: #d73620 !important;
    box-shadow: 0 6px 20px rgba(239, 64, 40, 0.4) !important;
    animation: none !important;
}


.elegant-calendar {
    position: absolute;
    top: 100%;

    z-index: 10;
    background: white;
    border: 2px solid #e0e0e0;
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.15);
    padding: 20px;
    min-width: 300px;
    margin-top: 8px;
}

.elegant-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.elegant-arrow {
    background: #f5f5f5;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.3s;
}

.elegant-arrow:hover {
    background: #e0e0e0;
}

.elegant-month {
    font-weight: bold;
    font-size: 18px;
    color: #333;
}

.elegant-weekdays {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 8px;
    margin-bottom: 15px;
}

.elegant-weekday {
    text-align: center;
    font-weight: bold;
    color: #666;
    padding: 8px 0;
    font-size: 14px;
}

.elegant-days {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 8px;
}

.elegant-day {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s;
    font-weight: 500;
    position: relative;
}

/*.elegant-day:hover {
    background: #e3f2fd;
    color: #1976d2;
}*/

/* Día actual */
.elegant-day.today {
    background: #2196F3;
    color: white;
    font-weight: bold;
    box-shadow: 0 2px 8px #a9a8a9;
}

.elegant-day.today:hover {
    background: #1976D2;
    color: white;
}

/* Día seleccionado */
.elegant-day.selected {
    color: white;
    font-weight: bold;
    box-shadow:  0 2px 2px rgba(231, 40, 22) !important;;
}

.elegant-day.selected:hover {
    color: white;
}

/* Días deshabilitados */
.elegant-day.disabled {
    color: #ccc;
    cursor: not-allowed;
    pointer-events: none;
}

.empty-day {
    width: 40px;
    height: 40px;
}

.no-dates {
    text-align: center;
    color: #999;
    padding: 20px;
    font-style: italic;
}








.logoHorarios{
	width:2rem!important;
}
#monthCalendar option {
	color:#f57d20;
	font-size: 26px!important;
	font-weight: 600;
}
#monthCalendar{
	font-size: 26px!important;
    letter-spacing: 1px;
    font-weight: 700;
    background-color: transparent;
    color: white;
}
#horariosWinjet{
    /* border: solid 1px var(--colorPrimario); */
    font-family: 'Source Sans Pro',Helvetica,Arial,Lucida,sans-serif;

}
#horariosWinjet p{
    text-align: center;
}
#horariosWinjet .mes{
    display: flex;
    justify-content: center;
}
#horariosWinjet .mes{
    display: flex;
    justify-content: center;
}
.titulos{
    background: var(--colorPrimario);
    color: #ffffff;
    padding: 0 15px;
    height: 45px;
    margin-top: 25px;
}
@media (max-width: 980px){
	#horariosWinjet .title {
    width: 45%;
    font-size: 22px!important;
    letter-spacing: 1px;
    font-weight: 400!important;
	}
	#monthCalendar{
	font-size: 22px!important;
    letter-spacing: 1px;
    font-weight: 400!important;
	}
	#monthCalendar option {
    color: #f57d20;
    font-size: 22px!important;
    font-weight: 400;
	}
}
#horariosWinjet .title{
    width: 45%;
    font-size: 24px;

    letter-spacing: 1px;
    font-weight: 500;
    margin: 0 auto;
}
#horariosWinjet .title.mes{
    text-transform: capitalize;
}
.titulos img{
    vertical-align: middle;
    width: 45px;
}
#horariosWinjet p.subtitle {
    text-align: center;
    margin-top: 20px;
}
#horariosWinjet p.subtitle span{
    background: var(--colorPrimario);
    color: #ffffff;
    text-transform: uppercase;
    text-align: center;
    font-size: 13px;
    font-weight: 700;
    border-radius: 6px;
    padding: 7px 14px;

}
#horariosHolder{
    display: flex;
    padding: 15px;
    min-height: 250px;
	flex-direction: row;
}
.contMuelle{
    width: 50%;
}
#horariosHolder h3, #horariosHolder h4, .itemSlider h4{
    text-align: center;
    text-transform: uppercase;
}
#horariosHolder h4, .itemSlider h4{
    font-size: 14px;
    margin: 0;
    font-family: "Spline Sans", Sans-serif;

}
#horariosHolder h3, .itemSlider h3{
    color: var(--colorPrimario);
    font-size: 21px;
    font-weight: 700;
    letter-spacing: 1px;
    height: 45px;
    font-family: "Spline Sans", Sans-serif;
}
.contMuelle .horas{
    display: flex;
      flex-direction: column;
    align-items: center;
}
.horas .horaRuta{
    width: 50%;
    font-size: 20px;
    padding: 8px 0;
    font-weight: 400;
}
.contMuelle:nth-child(2) {
	border-left: solid 1px var(--grisBorder);
}
.contMuelle:nth-child(1){
   /*border-left: solid 1px var(--grisBorder);*/
}
.bx-wrapper{
    box-shadow: none!important;
    margin-bottom: 0!important;
    height: auto;
    margin: 0 auto;
}
.bx-wrapper li{
    font-size: 18px;
    font-weight: 700;
}
#holderCalendar{
    display: flex;
    align-items: center;
    height: 36px;
    margin: 15px 0;
	justify-content: center;
}
#slider-prev, #slider-next{
    text-align: center;
}
.selectDate{
    color: var(--colorPrimario);
    cursor: pointer;
    transition: all .5s ease;
    border-radius: 3px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    color: #161921;
}
.selectDate .diaN{
    padding: 0 5px;
    border-radius: 3px;
}
.selectDate .day{
    text-transform: uppercase;
    font-size: 12px;
}
.selectDate.active{
    background: var(--colorPrimario);
}
.selectDate.active:before{
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 0 15px 15px 0;
    border-color: transparent var(--colorPrimario) transparent transparent;
    position: absolute;
    left: 0;
    bottom: -15px;
    content: "";
    opacity: 0;
    -o-transition: all 0.4s ease;
    transition: all 0.4s ease;
    -webkit-transition: all 0.4s ease;
    -moz-transition: all 0.4s ease;
    -ms-transition: all 0.4s ease;
}
.selectDate.active .diaN, .selectDate.active .day{
    color: #ffffff;
}
.selectDate:hover .diaN, .selectDate:hover .day{
    color: #ffffff;

}

#loadingTime{
    position: absolute;
    width: 100%;
    background: rgba(255,255,255,.5);
    height: 100%;
    top: 0;
}
.itemSlider{
    display: flex;
    padding: 15px;
    min-height: 250px;

}
.itemRuta{
    width: 50%;
}
.itemRuta .horas{
    display: flex;
    flex-wrap: wrap;
}
.itemRuta h3{
    text-align: center;
    text-transform: uppercase;
}
#horariosWinjet select{
    font-size: 19px;
    border: solid 2px var(--grisBorder); 
    font-family: 'Source Sans Pro',Helvetica,Arial,Lucida,sans-serif;
    margin: 12px 0 25px 0;
    width: 100%;
    color: black;
}
#horariosWinjet p{
    color: #7A7A7A;
    margin: 0;
}
#holderCalendar .bx-prev, #holderCalendar .bx-next{
    color: var(--colorPrimario);
}
#holderCalendar .bxslider li{
    background: #f1f0f6;
    color: #161921;
}
#holderCalendar .bxslider li:hover{
    background: var(--colorPrimario);

}
#horariosWinjet select::after{
    content: "\25BC";
    position: absolute;
    top: 10px;
    right: 1px;
    padding: 1em;
    background-color: transparent;
    transition: 0.25s all ease;
    pointer-events: none;
    color: var(--colorPrimario);
    height: 40px;
    font-size: 12px;
}
/****************   TABLET PORTRAIT   ***************/
@media screen and (max-width: 768px){
    .horas .horaRuta{
        width: 100%;
    }
    #holderCalendar{
        padding: 0 15px;
    } 
}
@media screen and (max-width: 767px){
    .horas .horaRuta{
        width: 100%;
    }
    #holderCalendar{
        padding: 0 15px;
    }
    #horariosWinjet #selectMes{
        width: 100%;
        padding: 0 15px;
    }
}

/* Tutorial highlight */
.wj-tutorial-highlight {
    box-shadow: 0 0 0 4px rgba(245, 125, 32, 0.4), 0 0 20px rgba(245, 125, 32, 0.2) !important;
    border-radius: 12px;
    animation: wjTutorialPulse 1.5s ease-in-out infinite;
}

@keyframes wjTutorialPulse {
    0%, 100% { box-shadow: 0 0 0 4px rgba(245, 125, 32, 0.4), 0 0 20px rgba(245, 125, 32, 0.2); }
    50% { box-shadow: 0 0 0 8px rgba(245, 125, 32, 0.2), 0 0 30px rgba(245, 125, 32, 0.15); }
}

/* Help button */
#wj-help-btn:hover {
    transform: scale(1.15);
    box-shadow: 0 3px 10px rgba(245, 125, 32, 0.4);
}

#wj-help-btn::after {
    content: 'Tutorial';
    position: absolute;
    bottom: -28px;
    left: 50%;
    transform: translateX(-50%) scale(0);
    background: #161921;
    color: #fff;
    font-size: 10px;
    font-weight: 600;
    padding: 4px 8px;
    border-radius: 4px;
    white-space: nowrap;
    pointer-events: none;
    transition: transform .2s;
    font-family: 'Spline Sans', sans-serif;
}

#wj-help-btn:hover::after {
    transform: translateX(-50%) scale(1);
}

#wj-help-btn {
    position: relative;
}
