#aio_tc_schedule_form p {
    font-family: 'Raleway', sans-serif;
    font-size: 12px;
    font-weight: 500;
    line-height: 32px;
    margin: 0 0 24px;
}

.scheduleSubHeader{
    padding-left: 10px; 
    font-weight: 600;
}

.scheduleControlDiv{
    padding: 10px;
    width: 100px;
    min-height: 40px;
    display: inline;
}

#scheduleNotices{
    width: 100%
}

#aio_tc_schedule_form label {
    font-family: 'Raleway', sans-serif;
    font-size: 14px;
    font-weight: 600;
    line-height: 18px;
}

.fc-day-grid-event{
    cursor: pointer;
}

.scheduleModalFieldWrapper {
    width: 85%;
    padding: 10px;
    min-height: 40px;
}

.scheduleModalFieldWrapper > label{
    font-weight: 600;
    float: left;
    padding: 10px;    
}

#scheduleModalContent{
    width: 100%;
    min-height: 100px;
}

#aio_tc_schedule_form ul, #aio_tc_schedule_form li {
    font-size: 14px;
    list-style-type: square;
    margin-left: 20px;
}

#aio_tc_schedule_form h1, #aio_tc_schedule_form h2, #aio_tc_schedule_form h3, #aio_tc_schedule_form h4 {
    font-family: "Roboto", sans-serif;
    font-weight: 900;
}

.scheduleFormItem {
    width: 100%;
    padding: 10px;
}

.scheduleOptions {
    width: 100%;
    padding: 10px;
}

#scheduleUI {
    height: auto;
    float: right;
    width: 900px;
}

.scheduleTool {
    width: 100%;
    height: auto;
}

#external-events {
    float: left;
    width: 150px;
    padding: 0 10px;
    border: 1px solid #ccc;
    background: #eee;
    text-align: left;
}

#scheduleUI {
    width: 95%;
    float: left;
}

#external-events h4 {
    font-size: 16px;
    margin-top: 0;
    padding-top: 1em;
}

.xdsoft_datetimepicker {
    z-index: 99999999999 !important;
}

#external-events .fc-event {
    margin: 10px 0;
    cursor: pointer;
}

#external-events p {
    margin: 1.5em 0;
    font-size: 11px;
    color: #666;
}

#external-events p input {
    margin: 0;
    vertical-align: middle;
}

.calendarWrapper {
    width: 100%;
    padding: 10px;
    height: auto;
}

.scheduleModalField {
    width: 100%;
    height: 30px;
}

.calendarWrapperFront {
    width: 100%;
    padding: 10px;
    height: auto;
}

/* ============================================
   BULK SCHEDULING MODAL STYLES
   ============================================ */

/* Form sections */
.schedule-form-section {
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid #e2e8f0;
}

.schedule-form-section:last-of-type {
    border-bottom: none;
    margin-bottom: 10px;
}

.section-label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    font-size: 14px;
    color: #1e293b;
    margin-bottom: 12px;
}

.section-label i {
    color: #667eea;
    font-size: 16px;
}

/* Employee checkboxes */
.employee-select-actions {
    display: flex;
    gap: 8px;
    margin-bottom: 10px;
}

.select-action-btn {
    padding: 4px 10px;
    font-size: 12px;
    color: #667eea;
    background: #f1f5f9;
    border: 1px solid #e2e8f0;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.15s ease;
}

.select-action-btn:hover {
    background: #e2e8f0;
}

.employee-checkboxes-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 8px;
    max-height: 150px;
    overflow-y: auto;
    padding: 10px;
    background: #f8fafc;
    border-radius: 8px;
    border: 1px solid #e2e8f0;
}

.employee-checkbox-label {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 6px 10px;
    background: #fff;
    border-radius: 6px;
    border: 1px solid #e2e8f0;
    cursor: pointer;
    transition: all 0.15s ease;
    font-size: 13px;
    color: #334155;
}

.employee-checkbox-label:hover {
    border-color: #667eea;
    background: #f8fafc;
}

.employee-checkbox-label:has(input:checked) {
    border-color: #667eea;
    background: rgba(102, 126, 234, 0.08);
}

.employee-checkbox {
    accent-color: #667eea;
    width: 16px;
    height: 16px;
}

/* Time inputs */
.time-inputs-row {
    display: flex;
    gap: 20px;
}

.time-input-group {
    flex: 1;
}

.time-input-group label {
    display: block;
    font-size: 12px;
    color: #64748b;
    margin-bottom: 6px;
}

.time-input-group input[type="time"] {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    font-size: 14px;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.time-input-group input[type="time"]:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.15);
}

/* 12-hour time picker */
.time-picker-12 {
    display: flex;
    align-items: center;
    gap: 4px;
}

.time-select {
    padding: 10px 8px;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    font-size: 14px;
    background: #fff;
    cursor: pointer;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.time-select:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.15);
}

.time-hour {
    width: 60px;
}

.time-minute {
    width: 60px;
}

.time-ampm {
    width: 65px;
    font-weight: 500;
}

.time-separator {
    font-size: 16px;
    font-weight: 600;
    color: #64748b;
}

.time-input-24 {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    font-size: 14px;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.time-input-24:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.15);
}

/* Schedule type tabs */
.schedule-type-tabs {
    display: flex;
    gap: 4px;
    margin-bottom: 15px;
    background: #f1f5f9;
    padding: 4px;
    border-radius: 8px;
}

.schedule-type-tab {
    flex: 1;
    padding: 10px 16px;
    background: transparent;
    border: none;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 500;
    color: #64748b;
    cursor: pointer;
    transition: all 0.2s ease;
}

.schedule-type-tab:hover {
    color: #334155;
}

.schedule-type-tab.active {
    background: #fff;
    color: #667eea;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.schedule-type-content {
    padding: 10px 0;
}

/* Date inputs */
.schedule-form-row {
    margin-bottom: 12px;
}

.schedule-form-row > label {
    display: block;
    font-size: 12px;
    color: #64748b;
    margin-bottom: 6px;
}

.schedule-form-row input[type="date"] {
    padding: 10px 12px;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    font-size: 14px;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.schedule-form-row input[type="date"]:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.15);
}

.date-range-inputs {
    display: flex;
    align-items: center;
    gap: 10px;
}

.date-range-inputs input[type="date"] {
    flex: 1;
}

.date-range-separator {
    color: #64748b;
    font-size: 13px;
}

/* Day checkboxes */
.day-checkboxes {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.day-checkbox-label {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 55px;
    padding: 8px 12px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.15s ease;
    font-size: 12px;
    font-weight: 500;
    color: #64748b;
}

.day-checkbox-label:hover {
    border-color: #667eea;
}

.day-checkbox-label:has(input:checked) {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-color: transparent;
    color: #fff;
}

.day-checkbox {
    display: none;
}

/* Preview section */
.schedule-preview {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 16px;
    background: #f8fafc;
    border-radius: 8px;
    border: 1px solid #e2e8f0;
    margin-top: 15px;
}

.schedule-preview.has-shifts {
    background: rgba(102, 126, 234, 0.08);
    border-color: #667eea;
}

.schedule-preview.no-shifts {
    background: #fff5f5;
    border-color: #fecaca;
}

.preview-label {
    font-size: 13px;
    color: #64748b;
}

.preview-count {
    font-size: 18px;
    font-weight: 700;
    color: #667eea;
}

.schedule-preview.no-shifts .preview-count {
    color: #dc2626;
}

/* Bulk progress */
.bulk-progress {
    width: 100%;
    height: 8px;
    background: #e2e8f0;
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 10px;
}

.bulk-progress-bar {
    height: 100%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 4px;
    transition: width 0.3s ease;
}

#bulk-progress-text {
    font-size: 14px;
    color: #64748b;
    margin: 0;
}

/* Frontend schedule details */
.schedule-detail-row {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
    border-bottom: 1px solid #f1f5f9;
}

.schedule-detail-row:last-child {
    border-bottom: none;
}

.schedule-detail-label {
    font-weight: 500;
    color: #64748b;
}

.schedule-detail-value {
    font-weight: 600;
    color: #1e293b;
}

/* Responsive adjustments */
@media (max-width: 500px) {
    .employee-checkboxes-container {
        grid-template-columns: 1fr;
    }

    .time-inputs-row {
        flex-direction: column;
        gap: 12px;
    }

    .date-range-inputs {
        flex-direction: column;
        gap: 8px;
    }

    .day-checkboxes {
        justify-content: center;
    }
}