.time-slots-preview {
    margin-top: 10px;
    padding: 10px;
    background-color: #f8f9fa;
    border-radius: 5px;
    border: 1px solid #e9ecef;
    max-height: 150px;
    overflow-y: auto;
}

.time-slot-item {
    display: inline-block;
    margin: 3px;
    padding: 3px 8px;
    background-color: #e8f5e8;
    border-radius: 3px;
    font-size: 12px;
    color: #2e7d32;
}

.schedule-info {
    background-color: #f0f8ff;
    padding: 10px;
    border-radius: 5px;
    margin-top: 10px;
    border-left: 4px solid #4a90e2;
}

.day-schedule {
    margin-bottom: 15px;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 5px;
}

.day-header {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
}

.day-checkbox {
    margin-right: 10px;
}

.day-title {
    font-weight: bold;
    min-width: 100px;
}

.day-time-inputs {
    display: flex;
    gap: 10px;
    align-items: center;
}

.time-input-group {
    display: flex;
    flex-direction: column;
}

.time-input-group label {
    font-size: 12px;
    margin-bottom: 5px;
}

.unavailable-day {
    background-color: #f8f9fa;
    opacity: 0.7;
}

.schedule-tabs {
    display: flex;
    margin-bottom: 15px;
    border-bottom: 1px solid #ddd;
}

.schedule-tab {
    padding: 10px 15px;
    cursor: pointer;
    border: 1px solid transparent;
    border-bottom: none;
    margin-right: 5px;
    border-radius: 5px 5px 0 0;
}

.schedule-tab.active {
    background-color: #fff;
    border-color: #ddd;
    border-bottom-color: #fff;
    margin-bottom: -1px;
}

.schedule-content {
    display: none;
}

.schedule-content.active {
    display: block;
}

.week-schedule-controls {
    display: flex;
    gap: 10px;
    margin-bottom: 15px;
    align-items: center;
}

/* Estilos para el formulario de edición en línea */
tr.editing {
    background-color: #f8f9fa !important;
}

.edit-form {
    background-color: #f0f8ff !important;
}

.edit-form-container {
    padding: 20px;
    background-color: white;
    border: 2px solid #4a90e2;
    border-radius: 8px;
    margin: 10px 0;
}

.edit-form-container h3 {
    margin-top: 0;
    color: #2c3e50;
    border-bottom: 2px solid #eee;
    padding-bottom: 10px;
}

.inline-edit-form .form-columns {
    display: flex;
    gap: 20px;
    margin-bottom: 15px;
}

.inline-edit-form .form-column {
    flex: 1;
}

.inline-edit-form .form-group {
    margin-bottom: 15px;
}

.inline-edit-form .form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
    color: #555;
}

.inline-edit-form input,
.inline-edit-form select,
.inline-edit-form textarea {
    width: 100%;
    padding: 8px 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
}

.inline-edit-form .form-actions {
    display: flex;
    gap: 10px;
    justify-content: flex-end;
    margin-top: 20px;
}

/* Estilos para el formulario principal */
.form-columns {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
}

.form-column {
    flex: 1;
}

.hidden {
    display: none !important;
}

.card-toolbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding: 0 20px;
}

.search-box {
    position: relative;
    flex: 1;
    max-width: 300px;
}

.search-box i {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: #6c757d;
}

.search-box input {
    padding-left: 40px;
    width: 100%;
}

.filter-options {
    display: flex;
    align-items: center;
    gap: 10px;
}

.switch {
    position: relative;
    display: inline-block;
    width: 50px;
    height: 24px;
}

.switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    transition: .4s;
    border-radius: 24px;
}

.slider:before {
    position: absolute;
    content: "";
    height: 16px;
    width: 16px;
    left: 4px;
    bottom: 4px;
    background-color: white;
    transition: .4s;
    border-radius: 50%;
}

input:checked + .slider {
    background-color: #2196F3;
}

input:checked + .slider:before {
    transform: translateX(26px);
}