Body{
    background: #EAF0F5 !important;
}

html, body {
    margin: 0 !important;
    padding: 0 !important;
    overflow-x: hidden; /* Opcional: para evitar scroll horizontal accidental */
}

/*
* Header
*/
.headerCalendarSchedu {
    background-image: url('https://marketing.avantiway.com/resources/profile_pic/3820/54d8b5cecf166ff07f7b5f667b6f97ab.jpg');
    height: 307px !important;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    width: 100%;
    position: relative;
    image-rendering: -webkit-optimize-contrast; 
    image-rendering: crisp-edges;
}

.header-overlay {
    background: rgba(0, 0, 0, 0.45); /* Capa oscura para legibilidad */
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.header-logo {
    width: 320px; /* Ajuste sutil para la nueva altura */
    margin-bottom: 5px;
}

.header-title {
    color: white;
    font-family: 'Inter', sans-serif;
    font-size: 1.8rem; /* Un poco más pequeño para que respire en 234px */
    font-weight: 400;
    margin: 0;
}

.headerContentCalendarSchedule{
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: -110px;
}



.calendarNavigation {
    margin-top: -20px;
}
.tui-full-calendar-time-schedule {
    border-radius: 20px !important;
    border-color: #000000;
    border: 2px solid #B4B4B4 !important;
    color: #6C757D !important;
}

.tui-full-calendar-time-schedule-content-time{
    display: flex;
    align-content: center;
    justify-content: center;
    align-items: center;
}

.tui-full-calendar-time-schedule:hover {
    background: #d3d3d3;
}

.tui-full-calendar-time-guide-creation{
    display: none !important;
}

.tui-full-calendar-weekday-grid{
    display: none;
}


/* 
* Seccion agent
*/
.divAgentSchedule{
    margin-left: 4%;
}



.tablet-flex-container {
    display: flex;
    gap: 15px;
    align-items: flex-end;
    flex-direction: column;
}

/* Tarjeta del Agente */
.agent-schedule-card {
    background: #fff;
    border-radius: 10px;
    border: 1px solid #eef0f2;
    overflow: hidden;
    max-width: 411px; 
    max-height: 154.02px;
    display: flex;    
    flex-direction: row;
}

.agent-duration-wrapper{
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.agent-badge-time{
    background: #E9ECEF !important;
    color: var(--Gray-800, #343A40);
    font-size: 12px;
    font-style: normal;
    font-weight: 400;
    line-height: 100%;
    width: 79px;
    height: 28px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 28px;
}

.agent-badge-time .fa-clock{
    margin-right: 5px;
}

.agent-label{
    color: #ADB5BD;
}

.container-agent-card { 
    display: flex !important;
    align-items: center !important; 
    justify-content: flex-start;
    gap: 15px; 
}

.agent-card-photo {
    display: flex !important;
    align-items: center !important;    
    justify-content: center !important; 
    overflow: hidden;
    background: transparent !important;
}

.img-agent-profile {
    display: block !important; 
    height: 155.063px !important; 
    aspect-ratio: 1/1 !important; 
    object-fit: cover !important; 
    margin: 0 auto !important; 
}
.agent-card-info {
    padding: 15px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.agent-name {
    margin: 0;
    color: #334155;
    font-size: 22px;
    font-style: normal;
    font-weight: 600;
    line-height: normal;
}

.agent-divider {
    margin: 10px 0;
    opacity: 0.1;
    border-top: 1px solid #CED4DA;
}

/* Calendar*/
.div-search-by-calendar-schedule {
    background: #fff;
    border-radius: 10px;
    border: 1px solid #eef0f2;
    padding: 10px;
    width: 100%;
    max-width: 411px;   
}


.flatpickr-rContainer{
    width: 100% !important;
}

.flatpickr-days{
    width: 100% !important;
}

/* 1. Reset total del contenedor */
.flatpickr-calendar.inline {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 100% !important;
    border: none !important; /* Quitamos bordes del calendario */
    box-shadow: none !important;
    background: transparent !important;
}

/* 2. Forzar que los nombres de los días ocupen el mismo ancho que los números */
.flatpickr-weekdays {
    width: 100% !important;
    display: flex !important;
    background: transparent !important;
}

.flatpickr-weekdaycontainer {
    display: grid !important;
    grid-template-columns: repeat(7, 1fr) !important; 
    width: 100% !important;
}

.flatpickr-weekday {
    background: transparent !important;
    color: #7a7a7a !important;
    font-weight: 600 !important;
    font-size: 13px !important;
    width: 100% !important;
    display: flex !important;
    justify-content: center !important;
}

.dayContainer {
    display: grid !important;
    grid-template-columns: repeat(7, 1fr) !important;
    width: 100% !important;
    min-width: 100% !important;
    max-width: 100% !important;
    padding: 0 !important;
    border: none !important;
}

.flatpickr-day {
    width: 100% !important;
    max-width: none !important;
    height: 45px !important;
    line-height: 45px !important;
    margin: 0 !important;
    border: none !important; 
    background: transparent !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    box-shadow: none !important;
}

.flatpickr-day:hover {
    background: #f0f0f0 !important;
    border-radius: 50% !important; 
}

.flatpickr-day.selected, .flatpickr-day.today {
    background: #0056b3 !important;
    color: white !important;
    border-radius: 26% !important;
}

.flatpickr-day.prevMonthDay, .flatpickr-day.nextMonthDay {
    color: #e0e0e0 !important; 
}

.flatpickr-calendar.inline {
    box-shadow: none !important;
    border: none !important;
    margin: 0 auto;
}

/*
*Seccion Calendar
*/
.containerSchedule{
    margin-top: -115px;
}
.btnPrevScheduleCalendar{
    height: 33.6px;
}
.btnTodayScheduleCalendar{
    height: 33.6px;
}
.btnNextScheduleCalendar{
    height: 33.6px;
}
.tui-full-calendar-daygrid-layout{
    display: none;
}
.tui-full-calendar-dayname-container{
    border-top: 1px solid rgb(255 255 255) !important;
}
.tui-view-8{
    display: none;
}
.tui-full-calendar-splitter{
    border-top: 1px solid rgb(255 255 255) !important;
    border-bottom: 1px solid rgb(255 255 255) !important;
}
.tui-full-calendar-timegrid-timezone{
    display: none !important;
}
.tui-full-calendar-dayname-leftmargin{
    margin-left: 0px !important;
}
.tui-full-calendar-timegrid-right{
    margin-left: 0px !important;
}
.tui-full-calendar-dayname-container{
    overflow-y: hidden !important;
}

/* Agenda pública: altura ajustada por JS tras render */
.divConteinerCalendarSchedule #calendarCrm {
    height: auto;
    min-height: 0;
    overflow: visible;
}

@media (min-width: 768px) {
    .divConteinerCalendarSchedule .tui-full-calendar-timegrid-container {
        overflow: visible !important;
        max-height: none !important;
    }

    .divConteinerCalendarSchedule .tui-full-calendar-timegrid-hour {
        height: 52px !important;
    }

    .divConteinerCalendarSchedule .tui-full-calendar-layout {
        height: auto !important;
        min-height: 0 !important;
    }

    .divConteinerCalendarSchedule .tui-full-calendar-timegrid {
        height: auto !important;
    }
}
.tui-full-calendar-time-date{
    border-right: 1px solid rgb(255 255 255) !important;
}
.tui-full-calendar-dayname{
    display: flex;
    align-items: center;
    flex-direction: column-reverse;
}
.tui-full-calendar-dayname-date-area{
    color: black !important;
}
.tui-full-calendar-today .tui-full-calendar-dayname-date-area .tui-full-calendar-dayname-date{  
    color: #0E5581 !important;
}
.tui-full-calendar-time-schedule{
    background-color: #ffffff !important;
}

.flatpickr-day .selected{
    background: #0E5581 !important;
}
.tui-view-930{
    display: none;
}

/* 1. Contenedor principal: le damos altura y centramos todo */
.tui-full-calendar-dayname {
    height: 70px !important; /* Espacio suficiente para los dos niveles */
    line-height: normal !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    background-color: #fff;
    border-bottom: 1px solid #eee !important;
    margin-top: -23px !important;
}

/* 2. Área de fecha: la convertimos en COLUMNA */
.tui-full-calendar-dayname-date-area {
    display: flex !important;
    flex-direction: column !important; /* Uno arriba del otro */
    align-items: center !important;    /* Centrados horizontalmente */
    justify-content: center !important;
    gap: 5px !important;               /* Espacio entre el texto y el número */
}

/* 3. Nombre del día (Sun, Mon...) - ARRIBA */
.tui-full-calendar-dayname-name {
    order: 1 !important;               /* Fuerza que vaya primero */
    font-size: 13px !important;
    color: #999 !important;            /* Gris claro como la imagen */
    font-weight: 600 !important;
    text-transform: capitalize !important;
    line-height: 1 !important;
}

/* 4. Número (22, 23...) - ABAJO */
.tui-full-calendar-dayname-date {
    order: 2 !important;               /* Fuerza que vaya segundo */
    font-size: 24px !important;
    color: #333 !important;            /* Negro/Gris oscuro */
    font-weight: 700 !important;       /* Bien marcado */
    line-height: 1 !important;
}

/* 5. Estilo especial para el día actual (Hoy) */
.tui-full-calendar-today .tui-full-calendar-dayname-date {
    color: #0056b3 !important;         /* Azul para resaltar hoy */
}

.flatpickr-day.selected, 
.flatpickr-day.selected:hover, 
.flatpickr-day.selected:focus {
    background: #0E5581 !important;
    border-color: #0E5581 !important;
    color: #fff !important; /* Texto blanco para que resalte sobre el azul oscuro */
    box-shadow: none !important;
}
.flatpickr-day .today,
.flatpickr-day.today.selected, 
.flatpickr-day.today.selected:hover, 
.flatpickr-day.today.selected:focus {
    background: #0E5581 !important; /* El azul de Avanti Way */
    border-color: #0E5581 !important;
    color: #fff !important; /* Texto blanco para que resalte */
}
#calendarNavigation {
    border-bottom: 1px solid #edf2f7;
    padding-bottom: 15px;
    align-items: center;
}

.dateCalendarCrmAgenda {
    color: #4a5568;
    font-size: 1.1rem;
    font-weight: 600;
    font-family: 'Inter', sans-serif;
}

.div-group-btn-calendar {
    display: flex;
    gap: 8px;
    align-items: center;
}

.div-group-btn-calendar .btn {
    border-radius: 8px;
    font-weight: 500;
    padding: 6px 16px;
    transition: all 0.2s ease;
    border: 1px solid #e2e8f0;
    font-family: 'Inter', sans-serif;
}

.div-group-btn-calendar .btn-outline-secondary {
    background-color: #ffffff;
    color: #718096;
}

.div-group-btn-calendar .btn-outline-secondary:hover {
    background-color: #f7fafc;
    color: #2d3748;
    border-color: #cbd5e0;
}

.div-group-btn-calendar .btn-primary {
    background-color: #ffffff !important;
    color: #4a5568 !important;
    border: 1px solid #e2e8f0 !important;
}

.div-group-btn-calendar .btn-primary:hover {
    background-color: #f7fafc !important;
    border-color: #cbd5e0 !important;
}

.div-group-btn-calendar .btn i {
    font-size: 0.9rem;
    vertical-align: middle;
}

.calendarNavigation{
    display: flex;
    justify-content: space-between;
}

.calendarCrm.card {
    background-color: #ffffff !important;
    border: none !important;
    border-radius: 10px !important; 
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05) !important;
    padding: 25px !important;
}

#calendarNavigation {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #f0f0f0; 
    padding-bottom: 20px;
    margin-bottom: 20px;
    margin-top: 9px;
}
.dateCalendarCrmAgenda{
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
    color: #343A40;
}

.dateCalendarCrmAgenda {
    color: #4a5568;
    font-size: 16px;
    font-weight: 500;
    font-family: 'Inter', sans-serif;
}

.div-group-btn-calendar {
    display: flex;
    gap: 8px; 
}

.div-group-btn-calendar .btn {
    background-color: #ffffff !important;
    border: 1px solid #e2e8f0 !important;
    color: #64748b !important;
    border-radius: 8px !important;
    padding: 6px 14px !important;
    font-size: 14px;
    font-weight: 500;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.div-group-btn-calendar .btn:hover {
    background-color: #f8fafc !important;
    border-color: #cbd5e0 !important;
    color: #1e293b !important;
}

.btn:focus {
    box-shadow: none !important;
}

/*
* Div Confirm
*/
.appointment-success-card {
    max-width: 600px;
    margin: 40px auto;
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.05), 0 2px 5px rgba(0,0,0,0.03);
    padding: 40px;
    font-family: 'Segoe UI', Roboto, Arial, sans-serif;
    text-align: center;
    border: 1px solid #f0f0f0;
    position: relative;
    display: none;
}

.alert-warning-calendar-schedule{
    margin-bottom: 0px !important;
}

/* Header */
.success-icon {
    width: 60px;
    height: 60px;
    background-color: #f1fcf7;
    border: 2px solid #28a745;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: #28a745;
}

.header-section h2 {
    color: #333;
    font-size: 24px;
    margin-bottom: 15px;
}

.subtitle {
    color: #888;
    font-size: 16px;
    line-height: 1.5;
    margin-bottom: 30px;
}

.subtitle strong {
    color: #333;
}

/* Tabla de Detalles */
.details-container {
    border: 1px solid #e1e8ed;
    border-radius: 8px;
    text-align: left;
    margin-bottom: 30px;
}

.details-container h3 {
    text-align: center;
    font-size: 18px;
    color: #444;
    margin: 20px 0;
    font-weight: 500;
}

.detail-row {
    display: flex;
    justify-content: space-between;
    padding: 12px 20px;
    border-bottom: 1px solid #f0f2f5;
}

.detail-row.no-border {
    border-bottom: none;
}

.label {
    color: #a0aec0;
    font-size: 15px;
}

.value {
    color: #4a5568;
    font-weight: 500;
    font-size: 15px;
}

.value.emphasis {
    font-weight: 700;
    color: #2d3748;
}

/* Botón */
.footer-section p {
    color: #a0aec0;
    font-size: 14px;
    margin-bottom: 15px;
}

.btn-vcard {
    background-color: #0b4f7a; 
    color: white;
    border: none;
    padding: 12px 30px;
    border-radius: 6px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s ease;
}

.btn-vcard:hover {
    background-color: #083a5a;
}

/*
*Footer 
*/
.footerCrmSchedule {
    background: white;
    height: 116.8px;
    display: flex;
    flex-direction: column;  
    justify-content: center; 
    align-items: center;     
    margin-top: 40px;
    margin-bottom: 0 !important;  
    width: 100%;
}

.footerCrmSchedule .footer-tagline {
    margin: 0 !important;  
    padding: 0 !important;
    line-height: 1 !important; 
}

.footerContentSchedule{
    display: flex;
    flex-direction: column;
    align-content: center;
    justify-content: center;
    align-items: center;
}

.footerTextSchedule{
    color: #ADB5BD;
    margin-top: 15px;
}


/*
* Modal Reserve
*/
.div-londing-send-inf{
    display: none;
    margin-top: 20px;
    margin-bottom: 20px;
}

.div-show-config-schedule-calendar{
    margin-bottom: 20px;
}

.schedule-date-blue{
    color: #0E5581;
}

.selected-schedule-display{
    display: flex;
    align-items: center;
}

.titleConfigDetail {
    font-weight: 800 !important;
    color: #1a202c;
    margin-bottom: 20px;
}

.schedule-date-blue {
    color: #004a7c; 
    font-size: 1.1rem;
    font-weight: 700 !important;
}

.schedule-time-capsule .badge {
    background-color: #f1f5f9 !important;
    color: #475569 !important;
    border: none;
    font-weight: 500;
    padding: 8px 12px;
    font-size: 0.95rem;
    margin-left: 19px;
}

.agent-horizontal-card {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    padding: 10px 0;
    background: white;
}

.agent-left-side {
    display: flex;
    align-items: center;
    gap: 12px;
}

.agent-thumb-new {
    width: 48px;
    height: 48px;
    border-radius: 8px; 
    object-fit: cover;
}

.agent-name-new {
    margin: 0;
    font-size: 1.1rem;
    font-weight: 700;
    color: #000;
}

.agent-label-new {
    margin: 0;
    font-size: 0.9rem;
    color: #94a3b8; 
}

.badge-time-new {
    background-color: #f1f5f9;
    color: #475569;
    padding: 8px 16px;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 6px;
}

.button-modal-reserve-schedule{
    display: flex;
    justify-content: center;
}

.titleinputformscheduel{
    color: #B4B4B4;
}

.iconspanformschedule{
    color: #FD7E14;
}

.btn-reserve {
    background: #004a7c !important;  
    background-image: none !important;
    box-shadow: none !important;
    color: #ffffff !important;
    font-weight: 700 !important;  
    font-family: 'Inter', sans-serif; 
    text-transform: none;  
    border: none !important;
    border-radius: 8px !important;  
    padding: 10px 24px !important; 
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.2s ease; 
}

.btn-reserve:hover {
    background-color: #00365c !important; 
}

.btn-cancel-custom {
    background-color: #ffffff !important; 
    color: #64748b !important;          
    border: 1px solid #cbd5e1 !important;
    border-radius: 8px !important;       
    padding: 8px 20px !important;
    font-weight: 600 !important;
    font-family: 'Inter', sans-serif;
    transition: all 0.2s ease;
    margin-right: 15px;
}

.btn-cancel-custom:hover {
    background-color: #f8fafc !important; 
    color: #475569 !important;
    border-color: #94a3b8 !important;
}

/*TABLET (iPad Pro 1024px)*/
@media (min-width: 768px) and (max-width: 1199px) {
    .tablet-flex-container {
        display: flex !important;
        flex-direction: row !important;
        align-items: stretch !important; 
        gap: 15px;
        width: 100%;
    }

    .agent-schedule-card, .div-search-by-calendar-schedule {
        flex: 1;
        max-width: 50% !important;
        background: #fff;
        border-radius: 12px;
        border: 1px solid #eef0f2;
    }

    .agent-schedule-card {
        display: flex;
        flex-direction: column;
        max-width: 100% !important;
        max-height: 100% !important;
    }

    .agent-card-photo {
        flex-grow: 1;  
        height: auto !important;
        min-height: 200px;  
    }

    .img-agent-profile {
        width: 100%;
        object-fit: cover;
        height: 304px !important;
    }

    .agent-divider{
        border-top: 1px solid #070707 !important;
    }

    .agent-name {
        font-family: 'Poppins', sans-serif !important;
        font-size: 22px !important;
        font-weight: 600 !important; /* SemiBold */
        line-height: 100% !important;
        letter-spacing: 0% !important;
        color: #002244; /* Ajusta al azul oscuro de Avanti si es necesario */
        margin: 0;
        padding: 0;
    }

    .agent-duration-wrapper{
        display: flex;
        align-items: center;
        justify-content: space-between;
    }

    .flatpickr-calendar.inline {
        width: 100% !important;
        max-width: 100% !important;
        min-width: 100% !important;
        box-shadow: none !important;
        border: none !important;
    }

    .flatpickr-innerContainer, 
    .flatpickr-rContainer, 
    .flatpickr-days, 
    .dayContainer {
        width: 100% !important;
        max-width: 100% !important;
        min-width: 100% !important;
    }

    .flatpickr-day {
        max-width: none !important;
        flex-basis: 14.28% !important;
        height: 50px !important;
        line-height: 50px !important;
        font-size: 1.1rem !important;
    }

    .flatpickr-month {
        height: 45px !important;
    }

    .flatpickr-current-month {
        font-size: 1.2rem !important;
    }

    .flatpickr-weekday {
        font-size: 1rem !important;
        font-weight: bold !important;
    }

    .divAgentSchedule {
        margin: 25px !important;
    }
    .divSchedule{
        margin: 25px;
    }
    .tui-full-calendar-dayname-layout{
        display: none;
    }
}


/*Movil*/
@media (max-width: 767px) {
    .agent-schedule-card{
        max-width: 100%;
        width: 100%;
        margin-right: 11px;
    }
    .agent-card-photo{
        width: 155px;
    }

    .div-search-by-calendar-schedule{
        width: 99%;
        margin-right: 12px;
        max-width: 99% !important;
    }
    .tui-full-calendar-daygrid-layout{
        display: none;
    }
    .divConteinerCalendarSchedule #calendarCrm {
        height: auto !important;
        min-height: 0 !important;
    }
    .divConteinerCalendarSchedule .div-container-view-calendar,
    .divConteinerCalendarSchedule #calendarPanel {
        overflow: visible;
    }
    .divConteinerCalendarSchedule .tui-full-calendar-layout {
        height: auto !important;
        min-height: 0 !important;
    }
    .divConteinerCalendarSchedule .tui-full-calendar-timegrid-container {
        overflow-y: auto !important;
        -webkit-overflow-scrolling: touch;
        max-height: none;
    }
    .divConteinerCalendarSchedule .tui-full-calendar-time-schedule {
        min-height: 44px !important;
        max-height: 52px !important;
    }
    .divConteinerCalendarSchedule .tui-full-calendar-time-schedule-content {
        line-height: 1.2 !important;
    }

    .divSchedule{
        width: 95%;
        margin-left: 18px;
    }
    .calendarNavigation{
        display: flex;
        justify-content: space-between;
        align-items: center;
        border-bottom: 1px solid #f0f0f0;
        padding-bottom: 20px;
        margin-bottom: 20px;
        flex-direction: column-reverse;
    }
    .div-group-btn-calendar{
        width: 100%;
        margin-bottom: 20px;
    }
    .btnTodayScheduleCalendar{
        width: 80%;
    }
    .dateCalendarCrmAgenda{
        color: #0B4467;
        font-size: 16px;
        font-weight: 500;
        display: none;
    }

    .agent-name {
        font-family: 'Poppins', sans-serif !important;
        font-size: 22px !important;
        font-weight: 600 !important; /* SemiBold */
        line-height: 100% !important;
        letter-spacing: 0% !important;
        color: #002244; /* Ajusta al azul oscuro de Avanti si es necesario */
        margin: 0;
        padding: 0;
    }

    .agent-duration-wrapper{
        display: flex;
        justify-content: space-between;
    }

    .agent-divider {
        margin: 10px 0;
        opacity: 0.1;
        border-top: 1px solid #0e0e0e !important;
    }
}

@media (max-width: 768px) {
    body.modal-open .modal#addAppointmentSchedule {
        display: flex !important;
        align-items: flex-end !important;
        justify-content: center;
        padding-left: 0 !important;
        padding-right: 0 !important;
    }
    #addAppointmentSchedule .modal-dialog {
        position: fixed !important;
        bottom: 0 !important;
        margin: 0 !important;
        width: 100% !important;
        max-width: 100% !important;
        transform: none !important; 
    }
    #addAppointmentSchedule .modal-content {
        border-radius: 20px 20px 0 0 !important;
        border: none !important;
        box-shadow: 0 -5px 20px rgba(0,0,0,0.2);
        animation: slideUpDrawer 0.3s ease-out forwards;
    }
    @keyframes slideUpDrawer {
        from { transform: translateY(100%); }
        to { transform: translateY(0); }
    }
}


@media (max-width: 444px) {
    .divSchedule {
        width: 95%;
        margin-left: 11px;
    }
}


.is-invalid-field {
    border: 1px solid #e53e3e !important;
    background-color: #fffafb !important;
}

.error-text-schedule {
    color: #e53e3e;
    font-family: 'Poppins', sans-serif;
    font-size: 12px;
    margin-top: 5px;
    display: block;
    font-weight: 400;
    animation: fadeIn 0.3s ease-in-out;
}

.form-group {
    position: relative;
    margin-bottom: 20px; 
}

.div-form-schedule {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;      
    padding: 10px;
}

.div-form-schedule .form-group {
    flex: 1 1 100%; 
    display: flex;
    flex-direction: column;
    margin-bottom: 5px;
}

.titleinputformscheduel {
    font-family: 'Poppins', sans-serif;
    font-size: 14px;
    font-weight: 600;
    color: #a0aec0; 
    margin-bottom: 8px;
}

.iconspanformschedule {
    color: #ed8936; 
    margin-left: 4px;
}

.from-schedule-calendar {
    height: 45px !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 8px !important; 
    padding: 10px 15px !important;
    font-size: 15px !important;
    color: #4a5568 !important;
    box-shadow: none !important;
}

.from-schedule-calendar::placeholder {
    color: #cbd5e0;
}

input.from-schedule-calendar.is-invalid-field {
    border: 1px solid #e53e3e !important;
    background-color: #fffafb !important;
    outline: none !important;
}

.error-text-schedule {
    color: #e53e3e;
    font-family: 'Poppins', sans-serif;
    font-size: 12px;
    margin-top: 4px;
    display: block;
    text-align: left;
}

@media (min-width: 768px) {
    .div-form-schedule .form-group:nth-child(1),
    .div-form-schedule .form-group:nth-child(2) {
        flex: 1; 
    }
    .div-form-schedule .form-group:nth-child(3),
    .div-form-schedule .form-group:nth-child(4) {
        flex: 0 0 100%;
    }
}