body {
    margin: 0;
    padding: 0;
}

.container, .container-fluid {
    padding-left: 0;
    padding-right: 0;
}

body.short-page #mainNav {
    background-color: #000 !important;
    padding: 1rem 1rem; 
    transition: none;
}


label {
    text-transform: uppercase;
    font-size: 0.7rem; 
    color: #6b7280; 
}

.text-logo {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.75rem;
    font-weight: 700;
    color: #ffc800 !important;
    letter-spacing: 0.5px;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
    text-transform: none !important;
}


.hover-shadow {
    transition: transform 0.2s ease;
}

.hover-shadow:hover {
    transform: translateY(-5px);
}



header.masthead {
  padding-top: 10.5rem;
  padding-bottom: 6rem;
  text-align: center;
  color: #fff;
  background-image: url("../assets/img/desk2.png");
  background-repeat: no-repeat;
  background-attachment: scroll;
  background-position: center center;
  background-size: cover;
}





.student-list {
    overflow-y: auto;
    
}

.student-item {
    cursor: grab;
    background-color: #ddd !important;
}





.roster-table th.label-col,
.roster-table td.label-col {
    width: 50px;
    white-space: nowrap;
}

.roster-table th.teacher-col,
.roster-table td.teacher-col {
    width: 140px;
}

.offering-full-hover {
    background-color: #ffe6e6 !important;
}

.offering-available-hover {
    background-color: #e6ffe6;
}


.offering-duplicate-hover {
    background-color: #fff3cd !important; /* light yellow */
}





.sticky-nav {
    position: sticky;
    top: 0;
    background: white;
    z-index: 10;
    padding: 1rem 0;
}


.badge.square-badge {
    border-radius: 0.15rem;
    font-size: 0.55rem;
    padding: 0.25em 0.35em;
}



.period-card {
    min-height: 200px; /* adjust this as needed */
}

.period-card .card-body {
    min-height: 150px;
}











.column-wrapper {
    display: flex;
    flex-direction: column;
}

.schedule-cell {
    min-height: 180px;
    display: flex;
    flex-direction: column;
    justify-content: start;
    align-items: center;
    padding: 8px;
    border: 1px solid #ccc;
    background: #f9f9f9;
    border-radius: 6px;
}

.schedule-cell .drag-handle {
    text-align: center;
    cursor: grab;
    font-size: 1.2rem;
    height: 1.2em; /* ensure consistent spacing even when invisible */
}

.schedule-cell .drag-handle.invisible {
    visibility: hidden;
}

.schedule-cell .text-muted {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    text-align: center;
    font-size: 0.9rem;
}












.lunch-row {
    background-color: #ffc107;
    color: #000;
    padding: 0px 0px;
    border-radius: 0px;
    font-weight: bold;
}





.square-card {
    height: 100%;
    min-height: 380px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: center;
}
.square-card .card-body {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}


/*.rectangle-card {
    height: 275px; 
    display: flex;
    flex-direction: column;
    justify-content: center;
}*/





.offering-prep-hover {
    background-color: #f8d7da !important;
/*    border: 2px solid #dc3545 !important;*/
}


.bg-light-green {
    background-color: #81c784 !important;
    color: #fff !important;
}


a.badge-wrapper {
    display: inline-block;
    line-height: 0.5;
    text-decoration: none;
}






/*  MAP STUFF  ========= */




































.position-relative {
    overflow: visible !important;
}

.popover {
    z-index: 2000; 
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25) !important;
}





/* ================================================================ */
/* ===========================  MAP  ============================== */
/* ================================================================ */

.student-dots {
    display: flex;
    flex-wrap: wrap;
    gap: 0;
    padding: 0;
    cursor: pointer;
}

.dot {
    width: 8px;
    height: 8px;
    border: 1px solid black !important;
    border-radius: 50%;
    display: inline-block;
    margin: 0.5px;
}



/* ================================================================ */
/* ================================================================ */
/* ================================================================ */










.rounded-rectangle {
    width: 50px;
    height: 60px; /* taller than width */
    border-right: 10px solid black;
    border-bottom: 10px solid black;
    border-top: none;
    border-left: none;
    border-bottom-right-radius: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 50px;
    font-weight: bold;
    font-family: "Verdana", sans-serif;
}


.masthead .sl-logo {
    width: 60px;
    height: 40px;
    border-right: 13px solid white;
    border-bottom: 13px solid white;
    border-top: none;
    border-left: none;
    border-bottom-right-radius: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 60px;
    font-weight: bold;
    font-family: "Verdana", sans-serif;
    line-height: 0.95;

    margin: 10px 0px 50px 0px;
    padding: 0px 0px 80px 0px;
}












/* ============================ */
/* Teacher Column drag and drop */
/* ============================ */

.sortable-teacher-col {
        cursor: grab;
    width: 80px;
    min-height: 100%; 
    background-color: #f8f9fa;
    padding: 8px;
    border-radius: 4px;
}

.teacher-label {
    font-size: 0.8rem;
    font-weight: bold;
}

.placeholder-box {
    height: 50px;  
    background-color: #e9ecef;
    border-radius: 2px;
}

#sortableColumns {
    min-height: calc(25px * {{ count($periods) + 1 }});
}








/* ==================== */
/* Period drag and drop */
/* ==================== */

.vertical-draggable {
    cursor: grab;
    border: 1px solid #ccc;
    border-radius: 4px;
}
.teacher-col {
    width: 130px;
    min-width: 130px;
    max-width: 130px;
}









.teacher-col {
    width: 130px;
    min-width: 130px;
    max-width: 130px;
    word-wrap: break-word;
}

td.offering-cell {
    margin: 0 !important;
    padding: 2px !important; /* Optional: also remove inner cell padding */
}

td.offering-cell > * {
    margin: 0 !important;  /* Ensures child divs or forms don’t add spacing */
}





















.create-cell {
    border: 2px solid #444;
    border-radius: 2px;
    padding: 1px;
    background-color: #f9f9f9; 
}

.update-cell {
    padding: 6px 8px;
    line-height: 2;
    height: 100px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}


.narrow-col {
    width: 30px;
    white-space: nowrap;
}






#incomplete-student-row {
    gap: 2px;
    margin-bottom: 4px;
}








.popover-body {
    max-width: none !important;
    width: 280px; 
}








.popover-schedule {
    max-width: none !important;
    width: auto !important;
    min-width: 250px;
    padding: 0 !important;
    font-size: 0.75rem;
    line-height: 1.25;
    color: black; 
    font-weight: bold;
}





.schedule-row {
    display: grid;
    grid-template-columns: 20px 100px 50px; 
    gap: 2px;
    padding: 8px;
}

.schedule-row .period-col {
    white-space: nowrap;
/*    outline: 1px solid red;*/
}

.schedule-row .course-col {
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
/*    outline: 1px solid green;*/
}

.schedule-row .teacher-col {
    text-align: left;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
/*    outline: 1px solid blue;*/
}




.schedule-row:nth-child(even) {
    background-color: #f8f9fa;
}











.popover-content {
    padding: 10px;
    background: white;
    border: 1px solid #ccc;
    border-radius: 6px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
    max-width: none; /* ← remove Bootstrap constraint */
    width: 320px;     /* ← set a nice readable width */
    position: absolute;
    z-index: 9999;
}







.popover-header-custom {
    background-color: #e9ecef; /* Slightly darker than Bootstrap's default #f8f9fa */
    color: #212529;            /* Bootstrap’s default body text */
    padding: 0.4rem 0.6rem;
    font-weight: bold;
    border-radius: 0.25rem;
}



.name-badge {
    font-size: 0.7rem !important;
    padding: 0.4rem 1rem !important;
    border-radius: 0.35rem;
    font-weight: 500;
    letter-spacing: 0.3px;
}


























/* ========== 🔔 NOTIFICATIONS: CLEAN CONSOLIDATED CSS ========== */

/* --- Bell Icon --- */
#notificationBell i {
  color: #fcd76d; /* warm gold by default */
  transition: color 0.3s ease, text-shadow 0.3s ease;
}
#notificationBell:hover i {
  color: #ffffff;
  text-shadow: 0 0 8px rgba(255, 255, 255, 0.5);
}
#notificationBell.has-unread i {
  color: #ffffff;
  text-shadow: 0 0 12px rgba(255, 255, 255, 0.8);
}

/* --- Dropdown Panel --- */
.dropdown-menu.dropdown-menu-end.shadow.p-0 {
  background: #222 !important;
  border: 1px solid rgba(255,255,255,0.1);
  color: #f8f9fa;
  border-radius: 8px;
  overflow: hidden;
}

/* Header Row */
.dropdown-header {
  background: #2c2c2c !important;
  color: #fcd76d !important;
  font-size: 0.9rem;
  font-weight: 600;
  text-transform: none;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

/* Each Notification Row */
#notificationsContainer .dropdown-item {
  background: transparent;
  color: #e6e6e6 !important;
  font-size: 0.9rem;
  text-transform: none;
  padding: 8px 12px;
  white-space: normal;
  border-bottom: 1px solid rgba(255,255,255,0.05);
}
#notificationsContainer .dropdown-item.fw-bold {
  background: rgba(255,255,255,0.05);
  font-weight: 600;
  color: #ffffff !important;
}
#notificationsContainer .dropdown-item:hover {
  background: rgba(255,255,255,0.1) !important;
}
#notificationsContainer .dropdown-item strong {
  color: #fcd76d;
  font-weight: 600;
}
#notificationsContainer small.text-muted {
  color: #aaa !important;
  font-size: 0.75rem;
}

/* --- Floating Bubbles --- */
#notificationBubbleContainer {
  position: fixed;
  top: 65px;
  right: 25px;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 8px;
  z-index: 1200;
  pointer-events: none;
}

/* Base Bubble */
.notification-bubble {
  position: relative;
  background: rgba(45, 45, 45, 0.95);
  color: #f8f9fa;
  padding: 10px 40px 10px 14px;
  border-radius: 10px;
  font-size: 0.9rem;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
  transform: translateY(20px);
  opacity: 0;
  animation: bubbleIn 0.4s ease forwards;
  cursor: pointer;
  max-width: 320px;
  pointer-events: auto;
  transition: transform 0.2s ease, background 0.3s ease;
}
.notification-bubble:hover {
  transform: scale(1.02);
}
.notification-bubble strong {
  color: #fcd76d;
}

/* Close Button */
.notification-bubble .close-btn {
  position: absolute;
  top: 4px;
  right: 6px;
  color: #ccc;
  font-weight: bold;
  cursor: pointer;
  transition: color 0.2s;
}
.notification-bubble .close-btn:hover {
  color: #fff;
}

/* Close All */
#bubbleCloseAll {
  background: rgba(30, 30, 30, 0.8);
  color: #ddd;
  font-size: 0.75rem;
  padding: 4px 10px;
  border-radius: 8px;
  margin-bottom: 6px;
  cursor: pointer;
  align-self: flex-end;
  pointer-events: auto;
  transition: background 0.2s;
}
#bubbleCloseAll:hover {
  background: rgba(255, 255, 255, 0.15);
}

/* --- Color Themes --- */
.bubble-success {
  background: linear-gradient(135deg, #27ae60, #2ecc71);
  color: #fff;
}
.bubble-info {
  background: linear-gradient(135deg, #2980b9, #3498db);
  color: #fff;
}
.bubble-system {
  background: linear-gradient(135deg, #f1c40f, #f39c12);
  color: #333;
}
.bubble-error {
  background: linear-gradient(135deg, #c0392b, #e74c3c);
  color: #fff;
}
.bubble-default {
  background: rgba(100, 100, 100, 0.95);
  color: #fff;
}

/* --- Animations --- */
@keyframes bubbleIn {
  to {
    transform: translateY(0);
    opacity: 1;
  }
}
@keyframes bubbleOut {
  to {
    transform: translateY(-10px);
    opacity: 0;
  }
}










.img-brand:hover {
  transform: scale(1.05);
  transition: transform 0.3s ease; 
  filter: brightness(0) saturate(100%) invert(29%) sepia(87%) saturate(2335%) hue-rotate(349deg) brightness(97%) contrast(98%);

}







.table td {
    padding: 0.2rem 0.4rem;
    margin: 0.15px;
}





