body {
    background-color: #f8f9fa;
    font-family: 'Malgun Gothic', '맑은 고딕', sans-serif;
}

.schedule-grid {
    display: grid;
    grid-template-columns: 150px repeat(7, 1fr);
    gap: 2px;
    background-color: #e9ecef;
    border-radius: 8px;
    overflow: hidden;
}

.grid-header {
    background: linear-gradient(135deg, #03c75a, #02b14d);
    color: white;
    padding: 15px 10px;
    text-align: center;
    font-weight: 600;
}

.time-slot-header {
    background: linear-gradient(135deg, #2c3e50, #34495e);
    color: white;
    padding: 15px 10px;
    text-align: center;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
}

.lesson-slot {
    background-color: white;
    padding: 10px;
    min-height: 100px;
    border: 2px dashed #dee2e6;
    transition: all 0.3s ease;
    position: relative;
}

.lesson-slot.drag-over {
    border-color: #03c75a;
    background-color: #f8fff9;
    box-shadow: inset 0 0 0 2px rgba(3, 199, 90, 0.3);
}

.lesson-slot[data-schedule-id=""] {
    background-color: #f8f9fa;
    border-style: solid;
    border-color: #e9ecef;
}

.user-item {
    background: linear-gradient(135deg, #fff, #f8f9fa);
    border: 1px solid #dee2e6;
    border-radius: 6px;
    padding: 8px 12px;
    margin: 5px 0;
    cursor: grab;
    transition: all 0.3s ease;
    font-size: 14px;
}

.user-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    border-color: #03c75a;
}

.user-item.dragging {
    opacity: 0.5;
    transform: rotate(5deg);
}

.slot-user-item {
    background: linear-gradient(135deg, #e3f2fd, #f3e5f5);
    border-color: #03c75a;
}

.user-list {
    background-color: white;
    border-radius: 8px;
    padding: 20px;
    min-height: 300px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.instructor-info {
    font-size: 12px;
    color: #6c757d;
    margin-top: 5px;
}

.slot-info {
    position: absolute;
    top: 5px;
    right: 5px;
    font-size: 11px;
    color: #6c757d;
}

/* 자동 저장 상태 표시 스타일 */
#autoSaveStatus {
    padding: 8px 12px;
    border-radius: 6px;
    background-color: #f8f9fa;
    border: 1px solid #e9ecef;
    transition: all 0.3s ease;
}

#autoSaveStatus .text-primary {
    animation: pulse 1.5s infinite;
}

#autoSaveStatus .text-success {
    background-color: #d4edda;
    border-color: #c3e6cb;
    color: #155724 !important;
}

#autoSaveStatus .text-danger {
    background-color: #f8d7da;
    border-color: #f5c6cb;
    color: #721c24 !important;
}

@keyframes pulse {
    0% { opacity: 1; }
    50% { opacity: 0.5; }
    100% { opacity: 1; }
}

/* 드래그 중 시각적 피드백 강화 */
.user-item:active {
    cursor: grabbing;
}

/* 예약 상태별 스타일 */
.user-item.limit-reached {
    background: linear-gradient(135deg, #f8d7da, #f5c6cb);
    border-color: #dc3545;
    opacity: 0.7;
    cursor: not-allowed;
}

.user-item.limit-reached:hover {
    transform: none;
    box-shadow: 0 2px 8px rgba(220, 53, 69, 0.3);
}

.reservation-status {
    font-size: 11px;
    margin-top: 2px;
}

.status-available {
    color: #28a745;
}

.status-warning {
    color: #ffc107;
}

.status-limit {
    color: #dc3545;
} 