.side-menu .iconschedule {
    font-size: 18px;
    height: auto;
}

label {
    display: inline-block;
    margin-bottom: 0.5rem;
    color: hsl(0deg 0% 100% / 72%);
}

.mg-t-27 {
    margin-top: 27px;
}

.tipo-aplicacion {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 10px;
    margin-bottom: 10px;
}

.tipo-aplicacion label {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    padding: 8px 12px;
    /*border: 1px solid #d1d5db;*/
    border-radius: 4px;
    transition: all 0.3s;
    background-color: #232e48;
}


input[type="time"]::-webkit-calendar-picker-indicator {
    filter: invert(1);
}

.tipo-aplicacion input[type="radio"] {
    width: auto;
}

.tipo-aplicacion input[type="radio"]:checked+span {
    /*color: #5a67d8;*/
    font-weight: 500;
}

.hidden {
    display: none;
}

.time-inputs {
    display: flex;
    gap: 10px;
    align-items: center;
}

.btnActionsSchedule button {
    margin: 0 5px;
}

#btnDuplicateSchedule i {
    margin-right: 8px;
}

#btnDeleteSchedule i {
    margin-right: 8px;
}


/* Schedule  Tabla */
/*#ScheduleTable input.form-control.inputScheduleTable{background:black !important; padding: 9px 2px 8px 4px; font-size: 14px}*/
#ScheduleTable .main-toggle {
    width: 50px;
    height: 17px;
    margin-top: 6px
}

#ScheduleTable .main-toggle.on span {
    left: 26px
}

#ScheduleTable .main-toggle span::before {
    left: -20px
}

#ScheduleTable .main-toggle span::after {
    right: -21px
}

#ScheduleTable .main-toggle span::before,
#ScheduleTable .main-toggle span::after {
    font-size: 8px;
    line-height: 1
}

#ScheduleTable th,
#ScheduleTable td {
    padding-left: 10px;
    vertical-align: middle;
}

/*Estilo para las celdas descativadas no modificables */

#ScheduleTable tbody td.spanHide.disabled {
    background: #000 !important;
}

#ScheduleTable tbody td.spanHide.disabled .form-control.inputScheduleTable {
    background: #000 !important;
}

#ScheduleTable input.inputScheduleTable {
    padding: 0px 0px 0px 0px;
    margin-top: -3px;
}

/*Estilo para las thumb y las img */
#ScheduleTable .thumb a img {
    width: 30px;
    margin-left: 5px
}

#ScheduleTable .thumb i {
    float: right;
    cursor: pointer;
    margin: 8px 11px 0px 0px
}

#ScheduleTable .thumb form {
    position: relative;
    width: 100%;
    margin-top: 20px
}

#ScheduleTable .image a img {
    height: 28px
}

#ScheduleTable .image i {
    cursor: pointer;
    margin-left: 10px;
}

#ScheduleTable .lang i {
    cursor: pointer;
    margin-right: 10px;
    margin-top: 8px;
}

#ScheduleTable .tag {
    margin: 3px 0px 0px 0px
}

#ScheduleTable .image form {
    position: relative;
    width: 100%;
    margin-top: 20px
}

#ScheduleTable td.p13 {
    padding: 13px
}

#ScheduleTable th.noarrow.sorting_asc::after,
#ScheduleTable th.noarrow.sorting::after,
#ScheduleTable th.noarrow.sorting_desc::after {
    content: ""
}

#ScheduleTable .UpdateScheduleDetail input,
#ScheduleTable .UpdateScheduleDetail label {
    margin-top: 10px;
    margin-bottom: 1px;
    font-size: 15px
}

#ScheduleTable img.flag {
    width: 20px;
    margin-left: 10px;
    margin-top: 3px;
}

#ScheduleTable .TitleThumb {
    width: 30px;
    margin-right: 10px;
}

#ScheduleTable td.button {
    padding: 10px ​0px 0px 0p
}

#ScheduleTable td.delete i {
    margin-top: 7px
}

#ScheduleTable i.fa.fa-trash.deleteWorkerSectionTable {
    cursor: pointer
}

#ScheduleTable td img.pdf {
    min-width: 16px;
    width: 20px;
    margin-left: 25px;
}

#ScheduleTable td i.fa.fa-trash,
#ScheduleTable td i.fa.fa-envelope {
    font-size: 16px;
    margin: 3px 0px 3px 0px;
    cursor: pointer
}

#ScheduleTable .dp-table-schedule {
    display: flex;
    justify-content: space-around;
}

#ScheduleTable .dp-table-schedule input[type="time"] {
    width: auto;
}

#ScheduleTable td.select2table .select2-container {
    width: 150px !important;
}

#ScheduleTable td.select2table .ContainerMonthDayTable {
    justify-content: space-evenly;
}

.form-control.inputScheduleTable {
    border: 0px !important;
    background: #1f2940 !important;
    padding: 0px;
    height: 24px
}

body.schedule .breadcrumb-header .select2-container {
    width: 250px !important;
}

/*Cambbio el color de card del ScheduleFormDataTop */

body.schedule .card.ScheduleFormDataTop {
    background-color: #141b2d !important;
    border: none !important;
    box-shadow: none !important;
    padding: 0px !important;
    margin-bottom: 10px !important;
}

/* === RESPONSIVE STYLES FOR SCHEDULE TOP DATA === */

/* Schedule Top Form Container */
.schedule-top-form-container {
    align-items: flex-start;
}

/* Schedule Labels */
.schedule-label {
    color: #fff !important;
    font-weight: 500;
    margin-bottom: 0.5rem;
}

/* Schedule Input Fields */
.schedule-input,
.schedule-select {
    background-color: #1f2940 !important;
    border: 1px solid #3a4a6b !important;
    color: #fff !important;
    transition: all 0.3s ease;
}

.schedule-input:focus,
.schedule-select:focus {
    background-color: #242f48 !important;
    border-color: #0162e8 !important;
    box-shadow: 0 0 0 0.2rem rgba(1, 98, 232, 0.25) !important;
    color: #fff !important;
}

/* Schedule Buttons Container */
.schedule-buttons {
    margin-top: 0.5rem;
}

.schedule-btn-duplicate,
.schedule-btn-delete {
    min-height: 38px;
    font-size: 0.875rem;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.schedule-btn-duplicate {
    background-color: #28a745 !important;
    border-color: #28a745 !important;
}

.schedule-btn-duplicate:hover {
    background-color: #218838 !important;
    border-color: #1e7e34 !important;
    transform: translateY(-1px);
}

.schedule-btn-delete {
    background-color: #6c757d !important;
    border-color: #6c757d !important;
    color: #fff !important;
}

.schedule-btn-delete:hover {
    background-color: #5a6268 !important;
    border-color: #545b62 !important;
    color: #fff !important;
    transform: translateY(-1px);
}

/* Mobile Responsive Styles */
@media (max-width: 575.98px) {
    .schedule-top-form-container {
        margin: 0 !important;
    }

    .schedule-name-field,
    .schedule-year-field,
    .schedule-actions-field {
        padding-left: 0.5rem;
        padding-right: 0.5rem;
    }

    .schedule-buttons {
        gap: 0.75rem !important;
        margin-top: 1rem;
    }

    .schedule-label {
        font-size: 0.875rem;
        margin-bottom: 0.25rem;
    }
}

/* Tablet Responsive Styles */
@media (min-width: 576px) and (max-width: 991.98px) {
    .schedule-actions-field {
        margin-top: 1rem;
    }

    .schedule-buttons {
        justify-content: flex-start;
        gap: 1rem !important;
    }

    .schedule-btn-duplicate,
    .schedule-btn-delete {
        flex: 0 0 auto;
        min-width: 140px;
    }
}

/* Desktop Responsive Styles */
@media (min-width: 992px) {
    .schedule-top-form-container {
        align-items: flex-end;
    }

    .schedule-actions-field .form-group {
        margin-bottom: 0;
    }

    .schedule-buttons {
        margin-top: 1.75rem;
        gap: 0.5rem !important;
    }

    .schedule-btn-duplicate,
    .schedule-btn-delete {
        flex: 1;
        max-width: 200px;
    }
}

/* ===== SCHEDULE FILTER RESPONSIVE STYLES ===== */

/* Schedule Filter Card Container */

.schedule-filter-container {
    padding: 10px 0;
    align-items: flex-start;
}

/* Schedule Filter Labels */
.schedule-filter-label {
    color: #fff !important;
    margin-bottom: 0.5rem;
    display: block;
}

/* Schedule Filter Input Fields */
.schedule-filter-input,
.schedule-filter-select {
    background-color: #1f2940 !important;
    border: 1px solid #3a4a6b !important;
    color: #fff !important;
    border-radius: 6px;
    padding: 8px 12px;
    font-size: 14px;
    transition: all 0.3s ease;
    width: 100%;
}

.schedule-filter-input:focus,
.schedule-filter-select:focus {
    background-color: #242f48 !important;
    border-color: #0162e8 !important;
    box-shadow: 0 0 0 0.2rem rgba(1, 98, 232, 0.25) !important;
    color: #fff !important;
    outline: none;
}

.schedule-filter-input::placeholder {
    color: #8a92b2 !important;
    font-style: italic;
}

/* Schedule Add Section Button Container */
.schedule-add-section-container {
    display: flex;
}

.schedule-add-section-btn {
    background: linear-gradient(135deg, #0162e8, #045cd6) !important;
    border: none !important;
    color: white !important;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    white-space: nowrap;
    box-shadow: 0 2px 4px rgba(1, 98, 232, 0.3);
    min-height: 38px;
}

.schedule-add-section-btn:hover {
    background: linear-gradient(135deg, #045cd6, #045cd6) !important;
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(1, 98, 232, 0.25);
    color: white !important;
}

.schedule-add-section-btn:active {
    transform: translateY(0);
}

.schedule-add-section-btn i {
    font-size: 12px;
}

.schedule-add-section-link {
    text-decoration: none;
}

.schedule-add-section-link:hover {
    text-decoration: none;
}

/* Mobile Responsive Styles for Filter */
@media (max-width: 575.98px) {

    .schedule-filter-type,
    .schedule-filter-date1,
    .schedule-filter-date2,
    .schedule-filter-month {
        margin-bottom: 15px;
        padding-left: 0.5rem;
        padding-right: 0.5rem;
    }

    .schedule-filter-actions {
        margin-top: 10px;
        padding-left: 0.5rem;
        padding-right: 0.5rem;
    }

    .schedule-add-section-container {
        justify-content: center;
        min-height: auto;
    }

    .schedule-add-section-btn {
        width: 100%;
        justify-content: center;
        padding: 12px 20px;
    }

    .schedule-filter-label {
        font-size: 0.875rem;
        margin-bottom: 0.25rem;
    }
}

/* Tablet Responsive Styles for Filter */
@media (min-width: 576px) and (max-width: 991.98px) {

    .schedule-filter-type,
    .schedule-filter-date1,
    .schedule-filter-date2,
    .schedule-filter-month {
        margin-bottom: 15px;
    }

    .schedule-filter-actions {
        margin-top: 10px;
    }

    .schedule-add-section-container {
        justify-content: flex-start;
    }

    .schedule-add-section-btn {
        min-width: 180px;
    }
}

/* Desktop Responsive Styles for Filter */
@media (min-width: 992px) {
    .schedule-filter-container {
        align-items: flex-end;
    }

    .schedule-add-section-container {
        justify-content: flex-start;
        padding-top: 10px;
    }

    .schedule-add-section-btn {
        min-width: 200px;
    }
}

/* ===== SCHEDULE ADD MODAL RESPONSIVE STYLES ===== */

/* Mobile Responsive Styles for Add Modal */
@media (max-width: 575.98px) {
    #modalAddSchedule .modal-dialog {
        margin: 0.5rem;
        max-width: calc(100% - 1rem);
    }

    #modalAddSchedule .modal-body {
        padding: 1rem;
    }

    #modalAddSchedule .row {
        margin: 0;
    }

    #modalAddSchedule .col-12 {
        padding-left: 0.5rem;
        padding-right: 0.5rem;
    }

    #modalAddSchedule label {
        font-size: 0.85rem;
        margin-bottom: 0.4rem;
    }

    #modalAddSchedule .form-control {
        font-size: 0.85rem;
        padding: 0.7rem;
    }

    #modalAddSchedule .btn {
        width: 100%;
        padding: 0.8rem 1rem;
        font-size: 0.85rem;
    }

    #modalAddSchedule .d-flex {
        justify-content: center !important;
    }
}

/* Tablet Responsive Styles for Add Modal */
@media (min-width: 576px) and (max-width: 767.98px) {
    #modalAddSchedule .modal-dialog {
        margin: 1rem auto;
        max-width: 540px;
    }

    #modalAddSchedule .modal-body {
        padding: 1.25rem;
    }

    #modalAddSchedule .btn {
        min-width: 160px;
    }
}

/* Desktop Responsive Styles for Add Modal */
@media (min-width: 768px) {
    #modalAddSchedule .modal-dialog {
        margin: 1.75rem auto;
        max-width: 600px;
    }

    #modalAddSchedule .modal-body {
        padding: 1.5rem;
    }
}