
.drag-scheduling-page .draggable-student,
.drag-scheduling-page .student-badge-wrapper {
    display: inline-block;
    font-size: 0.65rem;
    font-weight: 500;
    padding: 2px 6px;
    margin: 2px 3px;
    line-height: 1.1;
    border-radius: 4px;
    background-color: #333;
    color: white;
    white-space: nowrap;
    text-align: center;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.8);
}




.drag-scheduling-page .dropzone {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    justify-content: flex-start;
    padding: 4px;
    gap: 4px;
    min-height: 150px;
    transition: min-height 0.2s ease;
    background-color: #f9f9f9;
    width: auto;
}

.drag-scheduling-page .course-name {
    font-size: 0.65rem;
    font-weight: 600;
    text-transform: uppercase;
    color: #6c757d;
    margin-bottom: 4px;
}


.drag-scheduling-page td {
    height: auto; /* allow it to grow with content */
    vertical-align: top;
}

.drag-scheduling-page .badge,
.drag-scheduling-page .draggable-student {
    font-size: 0.5rem !important;
    padding: 2px 4px !important;
    border-radius: 3px;
}

.drag-scheduling-page td,
.drag-scheduling-page .dropzone,
.drag-scheduling-page .dropzone > div {
    height: auto !important;
    max-height: none !important;
    overflow: visible !important;
}



.drag-scheduling-page .unassigned-dropzone {
    min-height: 80px;
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    background-color: #f9f9f9;
    padding: 10px;
    border: 1px dashed #ccc;
    border-radius: 6px;
    justify-content: flex-start;
    width: 100%;
}





.drag-scheduling-page .dropzone.few-students {
    min-height: 40px;
}


/*.dropzone-valid {
    background-color: #d1e7dd !important;
    outline: 3px solid #198754;
}*/

.dropzone-warning {
    background-color: #fff8dc;
    border: 3px solid gold;
    position: relative;
}



.dropzone-full {
    background-color: #f8d7da !important;
    outline: 3px solid #dc3545;
}

.dropzone-lunch {
    background-color: #e2e3e5 !important;
    outline: 3px dashed #adb5bd;
}

.dropzone .reason-text.open {
    display: block;
    font-size: 0.65rem;
    font-weight: 600;
    margin-top: 2px;
    color: #dc3545;
}




/* OUTLINE THE WHOLE ROW */


tr.row-warning {
    background-color: #fffbe6; /* soft yellow tint */
    outline: 2px solid gold;
}

tr.row-warning th:first-child {
    background-color: #ffe58f; /* stronger gold-ish highlight */
    font-weight: bold;
}

.warning-message {
    font-size: 0.65rem;
    font-weight: bold;
    color: #8a6d3b;
    background-color: #fcf8e3;
    border: 1px solid #faebcc;
    border-radius: 4px;
    padding: 2px 6px;
    margin-top: 4px;
    display: inline-block;
}





/* OUTLINE THE WHOLE COLUMN */

/* 🌕 Style subject conflict columns */
.column-warning {
    box-shadow: inset 0 0 0 4px gold;
    background-color: #fff8dc;
}

.cell-warning {
    background-color: #fff8dc !important; /* light yellow */
}





.dropzone-valid {
    background-color: #d1f7d1;
    outline: 2px solid green;
}

.ratio-badge {
    position: absolute;
    bottom: 2px;
    right: 4px;
    font-size: 0.7rem;
    color: #333;
    background: #fff;
    border: 1px solid #ccc;
    border-radius: 4px;
    padding: 1px 4px;
    pointer-events: none;
    z-index: 2;
}



.lunch-cell .dropzone,
.lunch-cell .dropzone-inner {
    background-color: transparent !important;
    box-shadow: none !important;
}

.lunch-cell {
    background-color: #ffe58f !important;
    text-align: center;
    font-style: italic;
    color: #999;
}

.drag-scheduling-grid td.invalid-cell {
    background-color: lightgray; !important; /* Light gray */
    color: #888 !important;
    font-style: italic;
    pointer-events: none; /* Optional: prevent drag/drop */
}

.dropzone-full {
    background-color: #ffe5e5 !important;
    outline: 2px solid #e3342f !important; /* Laravel red */
}

.student-focus-box {
    background: #f0f4ff;
    border-left: 5px solid #3a86ff;
    padding: 10px 15px;
    font-weight: bold;
    font-size: 1rem;
    border-radius: 4px;
}

.dropzone {
    position: relative;

}

.drag-scheduling-page td {
    position: relative; 
    vertical-align: top;
}

.student-count-box {
    position: absolute;
    bottom: 4px;
    right: 6px;
    font-size: 0.7rem;
    color: #333;
    background: #fff;
    border: 1px solid #ccc;
    border-radius: 4px;
    padding: 1px 3px;
    pointer-events: none;
    z-index: 2;
    white-space: nowrap;
}


@keyframes zAxisSmash {
    0% {
        transform: scale(2);
        opacity: 0;
    }
    60% {
        transform: scale(1.15);
        opacity: 1;
    }
    80% {
        transform: scale(0.98);
    }
    100% {
        transform: scale(1);
    }
}

.badge-zdrop {
    animation: zAxisSmash 0.8s cubic-bezier(0.3, 1.5, 0.5, 1) forwards;
    z-index: 3;
    border: 2px solid #10b981 !important;
}





#placement-log-wrapper table td {
    font-weight: 400;
}

#placement-log-wrapper table td,
#placement-log-wrapper table th {
    padding-top: 0.25rem;
    padding-bottom: 0.25rem;
    font-size: 0.85rem;
}

.col-student {
    min-width: 180px;
    white-space: nowrap;
}