
.seating-area {
    position: relative;
    background: #f1f1f1;
    border: 1px solid #ccc;
    margin: 40px auto;
}

.desk-box {
    background: #fff;
    border: 1px solid #999;
    border-radius: 8px;
    text-align: center;
    user-select: none;
    position: absolute;
    cursor: default;
    padding: 8px;
    display: flex;
    flex-direction: column;
    justify-content: space-between; /* 👈 restore this */
    box-shadow: 2px 4px 8px rgba(0, 0, 0, 0.25);
    transition: box-shadow 0.2s ease;
}

.desk-box:hover {
    box-shadow: 3px 6px 12px rgba(0, 0, 0, 0.35);
}

.checkout-btn {
    font-size: 0.75rem;
    padding: 4px 6px;
    line-height: 1;
}



.desk-box.editing {
    cursor: move;
}

.student-name {
    font-weight: 500;
    font-size: 0.8rem;
}



@keyframes pulse-blue {
    0% { box-shadow: 0 0 8px 3px #0d6efd; }
    50% { box-shadow: 0 0 16px 6px #0d6efd; }
    100% { box-shadow: 0 0 8px 3px #0d6efd; }
}

.desk-box.out-of-room {
    background-color: #cfe2ff; /* Light blue background */
    animation: pulse-blue 1.5s infinite ease-in-out;
    opacity: 0.95;
    transition: background-color 0.3s ease;
}

.desk-box.absent {
    background-color: #f8d7da; /* Light red */
    box-shadow: 0 0 10px 4px #dc3545; /* Strong red glow */
    opacity: 0.95;
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
}



.out-badge {
    font-size: 0.65rem;
    padding: 3px 3px;
}


.restroom-box {
    border: 2px dashed #999;
    padding: 16px;
    background: #f9f9f9;
    border-radius: 8px;
    min-height: 70px;
    box-shadow: 0 0 6px rgba(0, 0, 0, 0.1);
}

.restroom-badge {
    font-size: 0.8rem;
    padding: 6px 8px;
    min-width: 100px;
    text-align: center;
}


.tooltip-inner {
    padding: 20px 20px;
    font-size: 0.85rem;
    text-align: left;
    line-height: 1.4;
}

.period-box {
    width: 14px;
    height: 14px;
    border-radius: 2px;
    display: inline-block;
    transition: all 0.2s ease-in-out;
}

.border-unknown {
    border: 1px solid #999;
    background-color: #f8f9fa !important;
}


@keyframes fadeInPop {
    0% {
        opacity: 0;
        transform: scale(0.9);
        box-shadow: 0 0 0 rgba(255, 193, 7, 0.0);
    }
    50% {
        opacity: 1;
        transform: scale(1.05);
        box-shadow: 0 0 12px rgba(255, 193, 7, 0.6);
    }
    100% {
        transform: scale(1);
        box-shadow: 0 0 0 rgba(255, 193, 7, 0.0);
    }
}

.restroom-badge.animated-entry {
    animation: fadeInPop 0.8s ease-out;
    background-color: #ffc107 !important;
    color: #212529 !important;
    border: none;
    box-shadow: 0 0 10px rgba(255, 193, 7, 0.7);
}




.dot {
    width: 8px;
    height: 8px;
    border-radius: 4px; /* Instead of 50% */
    display: inline-block;
}




/* Add to your custom CSS file */
.pagination svg {
    width: 1em;
    height: 1em;
}























