
html, body {
    height: 100%;
    margin: 0;
}

body {
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    margin: 0;
    padding: 0;
    min-height: 100vh; /* Use viewport height instead of 100% */
    display: flex;
    flex-direction: column;
    
}
main{
    flex:1;
}

.chat-main-container{
    padding: 10px !important;
}
#bathroom-pass-form{
	background-color: silver;
    padding-top: 20px;
    padding-bottom: 40px;
    border-radius: 15px;
    margin: 30px;
}

/*
 Show more in the pass page */
#toggle-fields{
	margin-left: 60px;
	color: white !important;
	font-size: 20px !important;
}
#bathroom-pass-form select{
	font-size: 20px;
}
#bathroom-pass-form input[type=password]{
	font-size: 20px;
}
/**Add css for chat icon */
.attention-flash {
    animation: flash 1s infinite alternate;
}
#login-h1{
    text-align: center;
}

@keyframes flash {
    from { filter: brightness(1); }
    to { filter: brightness(2); }
}
.rejected_event {
    background-color: #B71C1C !important;
    color: white !important;
    font-style: italic;
    border-left: 4px solid red !important;
    opacity: 0.9;
}
.notification-badge {
    position: absolute;
    top: 5px;
    right: -5px;
    background-color: red;
    color: white;
    font-size: 10px;
    border-radius: 50%;
    padding: 2px 5px;
    z-index: 10;
}
#chat_notification_count {
    display: none;
    position: absolute;
    top: 0px;
    right: 0px;
    background: red;
    color: white;
    font-size: 10px;
    padding: 2px 6px;
    border-radius: 50%;
    font-weight: bold;
    z-index: 10;
}
/** End css chat **/
#div-404{
    display: flex; 
    justify-content: center; 
    align-items: center; 
    height: 50vh; 
    text-align: center; 
    flex-direction: column;
}
#div-404 > a{
    color:gray;
}
a:link{
    text-decoration: none;
    color: #1b3e56;
}
a:visited{
    text-decoration: none;
    color: #1b3e56;
}

#inspirational-quote{
    text-align: center;
    font-size: 1em;
}
#acknowledgement_content{
    width: 80%;
    height: 200px;
    overflow: scroll;
    margin-left: auto;
    margin-right: auto;
    border: 1px solid gray;
    padding: 10px;
    font-size: 12px;
}
.small_login_letters{
    position: relative;
    top: 15px;
}
#menuSelect{
    width: 300px;
    font-size: 15px;
}
#first-zero-six{
	font-size: 2.7em;
}
#first-zero-six-return{
	font-size: 2.7em;
	width: 30%;
}
.school_name_logo{
    width: 400px;
    font-size: 45px;
    height: 100px;
}
#edit{
    display: none;
}
.ui-resizable-handle{
    box-shadow: 5px 5px 10px rgba(0, 0, 0, 0.2);
    border-radius: 5px;
}

#status-message{
    padding: 10px;
    background-color: #ffffff;
    border: 1px solid silver;
    border-radius: 5px;
    text-align: center;
    color: red;
    font-weight: bold;
    margin-bottom: 10px;
}

#current-time{
    /*width: 70%;*/
    color: black;
    font-size: 5em;
    text-align: right;
    font-family:Arial, Helvetica, sans-serif;
    font-weight: bold;
    padding-bottom: 20px;
    float: right;
}
#top-users-title{
    display: none;
}

#form-container, #form-container-password {
    max-width: 95%;
    width: 60%;
    margin-left: auto;
    margin-right: auto;
    margin-top: 0px;
    padding: 10px;
    
}
#half-form-container{
    width: 50%;
    margin-left: auto;
    margin-right: auto;
    margin-top: 0px;
    padding: 10px;
}
#form-container > p, #form-container > p{
    margin-left: 100px;
    margin-right: 100px;
}
.column-log-reg > p{
    padding-left: 10px;
    padding-right: 100px;
    
}
#captcha-container {
    width: fit-content; /* Shrinks to fit content */
    margin: 40px auto; /* Centers horizontally and adds top/bottom margin */
    text-align: center; /* Aligns content inside */
    /*border: 1px solid black;*/ /* Optional, for visibility */
    padding: 10px; /* Optional, for better spacing */
}

#form-container > h1, #form-container-password{
    text-align: center;
    font-size: 40px;
}

.login-form input{
    width: 60%;
}
.login-form{
    width: 40% !important;
}
.login-form legend, .register legend{
    font-size: 12px;
}
.login-form, .register{
    width: 70%;
    padding: 5px;
    margin-left:auto;
    margin-right: auto;
    color: #1b3e56;
    background-color: white;
    border-radius: 5px;
    margin-top: 20px;
    border-color: #1b3e56;
    border-width: 1px;
}
.student_name{
    font-size: 40px;
    color: black;
    font-weight: bold;
    border: 5px solid silver;
    background-color: white;
    width: 100%;
}

#display-user-info{
    
    display: none;
    width: 80%;
    height: 20%;
    margin-left: auto;
    margin-right: auto;
    /*font-size: 4.0em;*/
    text-align: center;
}

#user-info-name{
    font-size: 40px;
    padding-bottom: 40px;
    text-align: center;
    color: white;
    text-transform: uppercase;
    font-weight: bold;
}

#active-time{
    text-align: center;
    width: 29%;
    font-size: 100px;
    margin-top: 20px;
    height: 100px;
    background-color: white2;
    color: black;
    font-weight: bold;
    border: 1px white solid;
    border-radius: 100px;
}

#sp-logo{
    
    width: 85%;
}
.view_objectives{
    overflow: scroll;
    /*max-height: 80vh;*/
}

#sp-logo-container{
    width: 10%;
    margin-left: auto;
    margin-right: auto;
}

label, input, textarea {
    display: block;
    margin-bottom: 10px;
    width: 92%;
    padding: 10px;
    /*font-size: 1.2em;*/
    /*border-radius:10px;*/
    margin-left: auto;
    margin-right: auto;
    /*border: 2px solid silver;*/
}

button, select {
    display: block;
    margin-bottom: 10px;
    width: 96%;
    padding: 10px;
    margin-left: auto;
    margin-right: auto;
    border: 2px solid silver;
}
td > button{
    border-radius: 5px;
    width: 60px;
    border: none;
    cursor: pointer;
    font-size: 10px !important;
    padding: 4px;
    /*border: 1px solid black;*/
    background-color:#1b3e56;
    color: white;
}
td > button:hover{
    width: 60px;
    /*transform: scale(0.95);*/     /* Slightly scale down
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2); /* Add shadow to give depth */
    background-color: #749bb3;
}
button {
    border-radius: 5px;
    width: 170px;
    border: none;
    cursor: pointer;
    font-size: 13px !important;
    padding: 10px;
    /* border: 1px solid black; */
    background-color: #1b3e56;
    color: white;
    /* font-weight: bold;*/
}
.caution{
	font-weight: bold;
	color:red;
}
.td_disabled{
    color:red;
}
.td_active{
    color:green;
}

button:hover {
    width: 170px;
    /*transform: scale(0.95);*/     /* Slightly scale down
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2); /* Add shadow to give depth */
    background-color: #749bb3;
}
hr{
    border: 1px solid gray;
}
/* Specifically for the returning from bathroom button */
#returning-from-bathroom{
    padding: 20px;
    font-size: 30px !important;
    text-transform: uppercase;
    border: 1px solid white;
    width: 91%;
}

.green {
    background-color: purple;
    padding: 10px;
    border-radius: 5px;
    text-align: center;
    color: white;
    
}


#teacher_config{
    padding: 40px;
    height: 100px;
    width: 500px;
    background-color: whitesmoke;
}
#teacher_config ul{
    
    display: flex;
  justify-content: center; /* Centers items horizontally */
  list-style: none;        /* Removes default bullets */
  padding: 0;
  margin: 0;

}

.container_option{
    display: flex;          /* Use flexbox for layout */
    justify-content: center; /* Center the items horizontally */
    align-items: center;  
    text-align: center;
    width: 50%;
    padding: 20px;
    font-size: 20px;
}
.container_option ul {
    list-style-type: none; /* Removes bullets */
    padding: 0; /* Removes default padding */
    margin: 0; /* Removes default margin */
    display: flex; /* Makes list items appear inline */
    gap: 1rem; /* Adds spacing between list items */
}

.container_option li {
    display: inline; /* Ensures each list item is inline */
    font-size: 12px;
}
.selection_button{
    padding: 10px;         /* Optional: adds padding for the buttons */
    border: 1px solid #ccc; /* Optional: adds a border */
    border-radius: 5px;    /* Optional: rounds the corners */
    width: 200px;
    background-color: whitesmoke;
    height: 75px;
    transition: color gray, background-color 0.3s ease, transform 0.1s ease, box-shadow 0.1s ease; /* Smooth transitions */
    cursor: pointer;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2); /* Add shadow to give depth */           /* Change cursor to pointer */
    font-size: 15px;
}

.selection_button  img{
    width: 30px;
}
.selection_button:hover {
    /*background-color: purple;*/ /* Darker color on hover */
    /*transform: scale(0.95);     /* Slightly scale down */
    color: gray;
    box-shadow: none;
    border: 1px solid #1b3e56;
}
.selection_button:hover > img{
    opacity: .3;
}
.selection_button_img{
    width: 20%;
}
.column_select_right{
    padding: 20px;
}
.red {
    background-color: gray;
    padding: 10px;
    border-radius: 5px;
    text-align: center;
    color: #721c24;
}
/* Container for the entire "table" */
.table-container {
    display: flex;
    flex-direction: column;
    width: 95%;   /* Make it responsive */
    margin-top: 20px;
    padding: 20px !important;
}

/* Styling for each row */
.row {
    display: flex;
    flex-direction: row;
    justify-content: space-between;  /* Ensure equal spacing between columns */
    padding: 5px;
    border-bottom: 1px solid #ddd;  /* Add a line between rows */
}

/* Styling for each column (First Name, Last Name, Pass Count) */
.col {
    flex: 1;  /* Equal width for each column */
    text-align: center;  /* Center the text */
    font-size: 1em;
    padding: 3px;
}

/* Bar container (limits the height of the bar) */
.bar-container {
    width: 100%; /* Fill the column width */
    background-color: #f0f0f0; /* Light gray background for the bar container */
    height: 10px; /* Bar height */
    border-radius: 5px; /* Rounded corners for bars */
    position: relative; /* Positioning for dynamic width bar */
}

/* Dynamic bar itself (changes width based on pass_count) */
.bar {
    height: 50%;  /* Full height of container */
    background-color: #4CAF50; /* Green bar color */
    border-radius: 3px; /* Rounded corners for bars */
    transition: width 0.1s ease; /* Smooth transition for bar width */
}

/* Optional: Add alternating background colors to rows */
.row:nth-child(even) {
    background-color: #f9f9f9;
}

.row:nth-child(odd) {
    background-color: #e6f7ff;
}

 /* Lock screen styles */
 #lock-screen, #time-lock-screen{
    display: none; /* Hidden by default */
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #000000;
    color: white;
    text-align: center;
    font-size: 40px;
    z-index: 9999;
    padding: 20px;
}

#lock-screen-title{
    font-size: 2.0em;
    margin-top: 5%
}
#timer {
    font-size: 160px;
    margin-top: 3%;
}

/* Water Mark */
.watermark {
    width: 100%;
    text-align: center;
    
}
.watermark  h1{
    opacity: .7;
}
#logo{
    margin-top: 10px;
    /*width: 20%;
    padding-bottom: 30px;
    text-align: center;
    padding-left: 25%;*/
    width: 50px !important;
    opacity: .9;
}
#print_logo{
    width: 10%;
    text-align: center;
}
.print_watermark{
    width: 100%;
    text-align: center;
}

.container {
    display: flex;
}
.notice{
    color: red;
    text-decoration: underline;
}
.user-profile {
    padding: 20px;
    border: 1px solid silver;
    border-radius: 0px;
    /* padding: 10px; */
    margin: 7px;
    margin-left: 20px;
    margin-right: 20px;
    box-shadow: 5px 5px 10px rgba(0, 0, 0, 0.2);
    
    /*box-shadow: 5px 5px 10px rgba(0, 0, 0, 0.2);*/
}


.column-log-reg {
    flex: 0 0 30%;
    padding: 40px;
    border: 1px solid silver;
    border-radius: 15px;
    /* padding: 10px; */
    margin: 7px;
    margin-left: auto;
    margin-right: auto;
    box-shadow: 5px 5px 10px rgba(0, 0, 0, 0.2);
    font-size: 1em;
 	   
    /*box-shadow: 5px 5px 10px rgba(0, 0, 0, 0.2);*/
}
.column-log-login{
    flex: 0 0 10%;
    padding: 20px;
    border: 1px solid silver;
    border-radius: 10px;
    /* padding: 10px; */
    margin: 9px;
    margin-left: auto;
    margin-right: auto;
    /*box-shadow: 5px 5px 10px rgba(0, 0, 0, 0.2);*/
    
    /*box-shadow: 5px 5px 10px rgba(0, 0, 0, 0.2);*/
}

.column-log-reg-register {
    flex: 0 0 60%;
    padding: 40px;
    border: 1px solid silver;
    border-radius: 15px;
    /* padding: 10px; */
    margin: 7px;
    margin-left: auto;
    margin-right: auto;
    box-shadow: 5px 5px 10px rgba(0, 0, 0, 0.2);
    
    /*box-shadow: 5px 5px 10px rgba(0, 0, 0, 0.2);*/
}

.column-log-reg-borderless{
    flex: 0 0 60%; /* Equal width for both columns */
    padding: 40px;
    padding: 10px;
    /*margin: 5px;*/
    margin-left: auto;
    margin-right: auto;
    
}
.column-log-reg-borderless > img{
    padding: 0px;
    vertical-align: top;
    max-width: 700px;
    box-shadow: 5px 5px 10px rgba(0, 0, 0, 0.2);
    border-radius: 10px;
}
.column-log-reg > h1{
    text-align: center;
}
.column-log-reg > p > a{
    text-align: center;
    width: 100%;
    display: block;
}
.register{
    width: 60% !important;
    
}
.register  p{
    text-align: center;
}
.register input, select{
    width: 60%;
}
.column {
    flex: 0 0 70%; /* Equal width for both columns */
    padding: 10px;
    border: 1px solid silver;
    margin: 5px;
    background-color: white;
    box-shadow: 5px 5px 10px rgba(0, 0, 0, 0.2);
    border-radius: 15px;
}
.column > h2, .column > p, #site_container > h2{
    padding-left: 30px;
    /*font-size: 2em;
    text-transform: uppercase;
    padding: 10px;*/
    
}

/** Used for the student and teacher search page **/
.column-multi-table {
    padding: 20px;
    border: 1px solid silver;
    margin: 5px;
    background-color: white;
    box-shadow: 5px 5px 10px rgba(0, 0, 0, 0.2);
    border-radius: 15px;
}

/* Left column (table) - expands to fill available space */
.column-multi-table:first-child {
    flex: 1; /* Grows to fill remaining space */
}

/* Right column (form) - stays at its natural/content size */
.column-multi-table:last-child {
    flex: 0 0 auto;
    min-width: 350px; /* Ensures form stays readable */
    max-width: 450px; /* Prevents it from getting too wide */
    max-height: 600px;
}

#form-container-student-search, #form-container-password {
    max-width: 95%;
    width: 100%;
    margin-left: auto;
    margin-right: auto;
    margin-top: 0px;
    padding: 10px;
    
}
/** Used for the teacher search page. **/
#form-container-teacher-search{
    max-width: 95%;
    width: 100%;
    margin-left: auto;
    margin-right: auto;
    margin-top: 0px;
    padding: 10px;
    
}




#settings_container{
    width: 50%;
    margin-left: auto;
    margin-right: auto;
    padding: 20px;
    border: 1px solid silver;
    /*border-radius: 10px;*/
    background-color: white;
    overflow: scroll;
    max-height: 100vh;
}
.column1 {
    flex: 0 0 28%; /* Equal width for both columns */
    padding: 30px;
    border: 1px solid silver;
    margin: 5px;
    background-color: white;
    overflow: scroll;
    max-height: 100vh;
    box-shadow: 5px 5px 10px rgba(0, 0, 0, 0.2);
    border-radius: 15px;
}
.column-borderless{
    flex: 1; /* Equal width for both columns */
    border: 0px solid silver;
    border-radius: 0px;
    padding: 0px;
    margin: 0px;
    height: 150px;
}
.column-borderless > h1{
    text-align: center;
}
.column-borderless > a{
    position: relative;
    left: 30%;
}
#board_objective-container{
    /*border: 1px solid gray;*/
    font-size: 20px;
}
#board_objective_count{
    display: inline;
}

.center-div{
    margin-left: auto !important;
    margin-right: auto !important;
}

/** Board Objectives CSS **/
.error {
    color: red;
    text-align: center;
}
.success { 
    color: green; 
    text-align: center;
    
}
#response {
	text-align: center;
    display: block;
    width: 50%;
    max-height: 200px;
    border: 1px solid gray;
    border-radius: 10px;
    padding: 10px;
    margin-left: auto;
    margin-right: auto;
}

table {
    border-collapse: collapse;
    margin-top: 5px;
    width: 100%;
    
}

table, th, td {
    border: 1px solid silver;
}

th, td {
    padding: 5px;
    text-align: left;
    vertical-align: top;
}

button.edit-btn {
    background-color: #4CAF50;
    color: white;
    padding: 5px 10px;
    cursor: pointer;
    border: none;
}

/* Board Objevtives Container Starts */
#board_objective-container > .row > .col{
    font-size: 20px;
    text-align: left;
}
#board_objective-container .title{
    font-size: 30px;
    text-align: center;
}
.obj_name{
    font-weight: bold;
    font-size: 30px;
    text-transform: uppercase;
}
.obj_value{
    font-size: 18px !important;
}

/* Menu Start */
.menu {
    display: flex;
    justify-content: center;
    margin-top: 20px;
    margin-bottom: 0px;
    /* margin-top: 10px; */
    /* padding-bottom: 10px; */
    /*background-color: gold;*/
    /*padding: 10px;
    margin-left: 5px;
    border-radius: 5px;
    margin-bottom: 10px;*/
    /*margin-top: 10px;*/
    color:white;
    
}
.menu a {
    margin: 0 20px;
    font-size: 18px;
    /*color: #007BFF;
    text-decoration: none;
    border: 1px solid blue;
    border-radius: 5px;
    padding: 5px;
    background-color: white;*/
    font-weight: bold;
    text-decoration: none;
    text-transform:uppercase;
}
.menu a:visited {
    color:black;
}
.menu a:hover {
    text-decoration: none;
    color: gray;
    
    
}
[id^="period_obj_"]{
    width: 15px;
}
[id^="learning_today_obj_"]{
    width: 200px;
}

/* Enhanced Spinner Style */
#spinner-container {
    display: none;
    position: fixed;
    z-index: 9999;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
}

#spinner {
    width: 80px;
    height: 80px;
    border: 15px solid #f3f3f3; /* Light gray border */
    border-top: 15px solid #3498db; /* Blue border for spinning effect */
    border-radius: 50%;
    animation: spin 1.00s linear infinite; /* Faster spinning */
}

#message {
    margin-top: 20px;
    font-size: 18px;
    font-family: Arial, sans-serif;
    color: #333;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Optional: Dim background when spinner is active */
#overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5); /* Transparent black background */
    z-index: 9998; /* Sits below the spinner */
}

#offline-message {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: red;
    color: white;
    text-align: center;
    padding: 10px;
    font-size: 18px;
}

/**
 * Date obj is the date field in the objectives.
 */
 [id^="date_obj_"] {
    font-size: 15px;
 }
 [id^="period_obj_"] {
    font-size: 15px;
 }
 [id^="name_obj_"] {
    font-size: 15px;
    text-transform: uppercase;
 }
 #objectives-table{
    width: 100%;
 }
 #objectives-table th {
    font-size: 15px;
    
 }
 #objectives-table button{
    display: inline;
    width: 100px;
    margin-left: 70px;
    /*border: 1px solid black;*/
    /*background-color: white;*/
    
 }
 .obj_button{
    display: inline !important;
    width: 80px !important;
    margin-left: 70px !important;
    font-size: .7em !important;
    padding: 5px !important;
    /*border: 1px solid black;*/
    /*background-color: white;*/
 }

 /** Textarea counter code.**/
 .textarea-container {
    position: relative;
    width: 100%;
}

.char-counter {
    position: absolute;
    bottom: 8px;
    right: 30px;
    font-size: 14px;
    color: #888;
    pointer-events: none;
}

/** Textarea counter code End **/
.style_table{
    width: 100%;
    border-collapse: collapse;
    word-wrap: break-word; /* Break long words */
}
.style_table > tr > th{
    font-size: 14px;
    text-transform: uppercase;
    background-color: gray;
}
.style_table  td{
      word-wrap: break-word;
    overflow-wrap: break-word;
    /*max-width: 0;*/ /* Forces equal column distribution */
}
.style_table #table_new_value_col{
    font-size: 10px;
}
#search_table td{
	font-size: .7em;
}
#roster_table td{
	font-size: 1em;
}
#student_search_table{
    width: 100%;
}
#student_search_table > tr > th{
    text-transform: uppercase;
    background-color: gray;
}
/** Results tables used by other pages */
tr > th{
    font-size: 1em;
    font-weight: bold;
    text-align: center;
}

tr > td {
    font-size: .8em !important;
    padding-left: 10px;
}

tr:nth-child(even) {
    background-color: #f9f9f9;
}

tr:nth-child(odd) {
    background-color: #e6f7ff;
}

tr:hover {
    background-color: #d1e7dd; /* Change this color as desired */
}

.watermark > h1{
    display: inline;
}

#modalContentData { 
    width: 100%;
}

#modalContentData  tr { 
    padding: 20px;
}

/* Flash effect */
.flash {
    animation: flash-animation 1s infinite alternate;
  }

  /* Flash animation (changes background color) */
  @keyframes flash-animation {
    0% { background-color: black; }
    100% { background-color: red; }
  }

#objectives_header{
    width: 100%;
    /*background-color: silver;*/
    /*height: 70px;*/
    /* display: block; */
    margin-top: 10px;
    padding-top: 10px;
}

.flex-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-evenly;  /* Aligns child elements to the right */
    padding: 0px;
    
}

.flex-container > div {
    
    /*border: 1px solid silver;*/
    /*width: 50%;*/
}

.flex-container > div > h1 {
    padding-right: 20px;
    max-width: 500px;
    min-width: 300px;
}
.flex-container > div > .menu{
    /*position: relative;
    top: 30px;
    padding-right: 5px;*/
}

/* Used in the table to display classes */
#registered-classes-table{
    width: 100%;
}

/* The buttons for the feature*/
.feature-doc-button{
    font-size: 10px !important;
    width: 20px;
    float: right;
    border-radius: 0px;
    padding: 5px;
}
.feature-doc-button:hover{
    font-size: 10px !important;
    width: 20px;
    float: right;
    border-radius: 0px;
}

/* No javascript div */
.nojs{
    width: 100%;
    height: 300px;
    text-align: center;
    margin-top: 100px;
}
.full_column{
    width: 100%;
}
#chat_img{
    margin-left: 30px;
}


.flex-container{
    display: flex;
    flex-direction: row;
}
.status-dot {
    display: inline-block;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    margin-right: 10px; /* Space between dot and name */
}
/**
 * Board Objectives Titles
 */
.lesson_header{
    /*text-decoration: underline;*/
    font-size: 1.1em !important;
    font-weight: bold;
    text-transform: uppercase;
}

.online-container ul {
    list-style-type: none; /* Removes bullet points */
    padding: 0; /* Removes default padding */
    margin: 0; /* Removes default margin */
}
li{
    font-size: 1em;
}
.status-dot {
    display: inline-block;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    margin-right: 5px;
}

.logged-in .status-dot {
    background-color: green;
}

.logged-out .status-dot {
    background-color: red;
}


.chat-container {
    width: 73%;
    /* Removed to stop the limitation on the chat window size */
    /*max-width: 700px;*/
    margin: 20px auto;
    border: 1px solid #ccc;
    border-radius: 8px;
    padding: 10px;
    background-color: #f9f9f9;
    margin-right: 10px;
}
.online-container {
    width: 20%;
    max-width: 700px;
    margin: 20px auto;
    border: 1px solid #ccc;
    border-radius: 8px;
    padding: 10px;
    background-color: #f9f9f9;
    overflow:scroll;
}
.messages {
    height: 300px;
    overflow-y: scroll;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 10px;
    background-color: #fff;
    margin-bottom: 10px;
}

.message {
    margin-top: 10px;
    margin-bottom: 10px;
    padding: 5px;
}
.message span {
    font-weight: bold;
}
.chat-input {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 10px;
    padding: 10px;
}

.chat-input input[type="text"],
.chat-input select {
    height: 30px;
    font-size: 10px;
    padding: 0 6px;
    line-height: 30px;
}

.chat-input input[type="text"]:not(#message_field),
.chat-input select {
    width: 120px;
}

#message_field {
    width: 300px;
}

.chat-input input[type="checkbox"] {
    width: 16px;
    height: 16px;
    margin: 0;
    padding: 0;
    vertical-align: middle;
}

.chat-input button {
    height: 30px;
    font-size: 10px;
    padding: 0 10px;
}
.received {
    margin-top: 10px;
    background-color: #d1f7c4; /* Light green */
    color: #333;
    border-radius: 10px;
    padding: 10px;
    text-align: right;
    align-self: flex-end; /* Align to the right */
    float: right;
    width: 50%;
}
.sent {
    margin-top: 10px;
    background-color: #e8f5ff; /* Light blue */
    color: #333;
    border-radius: 10px;
    padding: 10px;
    text-align: left;
    float: left;
    width: 50%;
}
.message_text{
    padding-top: 10px;
    font-size: .8em;
}
#message_field{
    width: 30%;
}
#group_label{
    width: 100px;
}
#recieve_teacher_id{
    width: 30%;
}
#group_chat{
    width: 20px;
}

/** End  chat.php styling */

#countdown_setting{
    /*width: 10%;*/
    height: 20px;
}
#teacher_config{
    height: 150px;
}

/*
 * the settings for the dynamic fields for a teacher account
 */
.teacher_settings {
    display: flex; /* Use flexbox for inline alignment */
    align-items: center; /* Vertically align items */
    font-size: 10px; /* Set really small text size */
    gap: 0px; /* Add spacing between the elements */
    justify-content: flex-start; /* Left-align content */
    margin-top: 20px; /* Add spacing above the element */
    text-align: left; /* Ensure text alignment is left */
}

.teacher_settings input {
    font-size: 10px; /* Ensure the input text matches the small size */
    padding: 2px; /* Adjust padding for a compact appearance */
    width: 80px; /* Set a smaller width for the input field */
}
#countdown_label{
    float: right;
}
footer{
    margin-top: auto; /* This pushes footer to bottom */
    
}
footer a {
    color: white !important;  /* Force the link to stay blue */
    text-decoration: none;  /* Remove underline if needed */
}

footer a:hover, 
footer a:visited, 
footer a:active {
    color: white !important;  /* Keep blue on all states */
}
input {
    height: 50;
    font-size: 18px;
}
/** Progress bar start upload_export_file.php **/
#progress_bar {
    width: 100%;
    height: 24px;           /* Make it taller */
    border: 1px solid #ccc;
    border-radius: 6px;
    background-color: #f3f3f3;
    appearance: none;       /* Remove default styles */
}

#progress_bar::-webkit-progress-bar {
    background-color: #f3f3f3;
    border-radius: 6px;
}

#progress_bar::-webkit-progress-value {
    background-color: #4caf50; /* Green fill */
    border-radius: 6px;
}

#progress_bar::-moz-progress-bar {
    background-color: #4caf50;
}
/** End progress bar **/

/** New Menu **/
.custom-menu-dropdown {
    position: relative;
    display: inline-block;
}
.menu-button {
    background-color: white;
    color: #1b3e56;
    padding: 10px;
    border: 1px solid #ccc;
    cursor: pointer;
    font-weight: bold;
}
.menu-options {
    display: none;
    position: absolute;
    background-color: white;
    border: 1px solid #ccc;
    z-index: 1000;
    min-width: 220px;
    max-height: 400px;
    overflow-y: auto;
}
.custom-menu-dropdown:hover .menu-options {
    display: block;
}
.menu-options a {
    display: flex;
    align-items: center;
    padding: 8px 10px;
    text-decoration: none;
    color: #1b3e56;
}
.menu-options a:hover {
    background-color: #f2f2f2;
}
.menu-icon {
    width: 20px;
    height: 20px;
    margin-right: 8px;
}

.info {
    margin: 12px 0;
    font-size: 16px;
    color: #333;
}

.label {
    font-weight: 600;
    width: 140px;
    display: inline-block;
    color: #555;
}

.value {
    color: #000;
}

.info.behavior {
    font-size: 24px;
    font-weight: bold;
    color: #c0392b;
    margin-top: 20px;
}

.info.consequence {
    font-size: 20px;
    font-weight: bold;
    color: #2980b9;
    text-decoration: underline;
    margin-top: 10px;
}
.print_button{
    margin-top: 20px;
}

.pass-container {
    position: relative;
    border: 2px solid #333;
    padding: 20px;
    width: 600px;
    margin: 0 auto;
    background-color: #fff;
    overflow: hidden; /* Ensures absolutely positioned image stays inside */
    border-radius: 10px;
    
}
.hr-pass{
    width: 68%;
    float: left;
    height: 1px;
    background-color: black;
}
.pass-logo {
    position: absolute;
    right: 40px;
    top: 15%;
    transform: translateY(-50%);
    max-height: 150px;
    opacity: 0.1;
    pointer-events: none;
    margin-top: 80px;
}

.pass-header{
    font-size: 36px;
    font-weight: bold;
    color: #ffffff;
    text-align: center;
    margin-bottom: 25px;
    padding: 3px;
    background-color: gray;
}
.student-name {
    font-size: 30px;
    color: #000000;
    text-align: left;
    margin-bottom: 25px;
    padding: 0px;
    
}
.pass_note{
    padding: 10px;
    border: 1px solid;
    font-size: .7em;
    margin-top: 20px;
}
/**
Tar pass styling.
*/
.tardy-options {
  border: 1px solid gray;
  padding: 0;
  margin: 5;
  background-color:  #ffffff;
  
}
.student-number-value{
    font-size: 1.3em;
}

.tardy-inline {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: 8px;
}

.tardy-label {
  display: flex;
  align-items: center;
  gap: 4px;
  white-space: nowrap;
  margin: 0;
}
.tardy-code {
        font-weight: bold;
        font-size: 8em;
        text-align: right;
        margin-top: 10px;
        margin-right: 10px;
        border: 1px solid black;
        color: #000000; /* Dark red for visibility */
        float: right;
        padding: 10px;
        position: absolute;
        top: 46%;
        left: 67%;
    }
* Existing row CSS */
.row {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    padding: 5px;
    border-bottom: 1px solid #ddd;
}

/* New CSS for side-by-side layout 
    of the tables in the dp page showing 
    student activity.
*/
.tables-wrapper {
    display: flex;
    gap: 20px; /* Space between tables */
    justify-content: space-between;
    width: 100%;
}

.table-left,
.table-right {
    flex: 1; /* Each table takes equal width */
    min-width: 0; /* Prevents overflow issues */
}

.table-container {
    background: #f9f9f9;
    border: 1px solid #ddd;
    border-radius: 5px;
    /*padding: 15px;*/
    margin-bottom: 10px;
}

.table-container h3 {
    margin-top: 0;
    margin-bottom: 15px;
    color: #333;
    text-align: center;
}

/* Optional: Make tables stack on smaller screens */
@media (max-width: 768px) {
    .tables-wrapper {
        flex-direction: column;
    }
    
    .table-left,
    .table-right {
        width: 100%;
    }
}


#hallPassAnim {
    display: block !important;           /* Centers the image */
    margin: 20px auto !important;
    width: auto !important;              /* Let width adjust naturally */
    height: auto !important;             /* Maintain aspect ratio */
    max-width: 50% !important;           /* Prevent overly large images */
    min-width: 100px !important;         /* Ensure small images scale up */
}


