* {
    margin: 0;
    padding: 0;
    /* display: flex; */
    align-items: center;
    /* justify-content: center; */
    /* flex-direction: column; */
    text-align: center;
    box-sizing: border-box;
    --bg-color: linear-gradient(to right, #c82c00, rgb(160, 42, 15));
    --bg-color: #ee0202;/* sky-theme 1st e05200*/
    --bg-color: #ffffff;
    --bg-color: orange;/* brick-theme 1st */
    --bg-color: rgb(255, 178, 34);/* brick-theme 1st */
    --bg-color: #ff8e00;/* brick-theme 1st */
    --bg-color: #ff9300;/* brick-theme 1st */
    --bg-color: #211e1e;/* brick-theme 1st */
    --bg-color: #131313;/* brick-theme 1st */
    
    --bg-color: #ffc900;/* brick-theme 1st */
    --bg-color: #332D2D;/* brick-theme 1st */
    --bg-color: #FFE200;/* brick-theme 1st */
    --card-bg-color: #FFF4CC; /* brick-theme-card */
    --card-bg-color: #FFF4CC; /* brick-theme-card */
    
    ;/* brick-theme 1st */
    --card-bg-color: #EE8B02; /* brick-theme-card */
    --card-bg-color: #ffbf00; /* brick-theme-card */
    --highlight: #ff8800; /* Highlight color */
    --highlight: #8d3f00; /* Highlight color */
    --highlight: #e3a97f !important; /* Highlight color */
    

    
    --bg-color: #d9d9d9;/* white-theme 1st */
    --card-bg-color: #ffffff; /* white-theme-card */
    
    /* ideal for slate theme; */
    --bg-color: #3e3b2f;/* slate-theme 1st */
    --bg-color: #FFE200;/* slate-theme 1st */
    --bg-color: #EDEAD3;/* slate-theme 1st */
    --card-bg-color: #242423; /* slate-theme-card */
    --card-bg-color: #fff6e4; /* slate-theme-card */

    --card-bg-hover-color: #b1c100; /**brick-theme */
    --card-bg-hover-color: #7f8b03 !important; /**brick-theme */
    --card-bg-hover-color: #d8ff25 !important; /**brick-theme */
    --card-bg-hover-color: #0d0c0c !important; /**brick-theme */
    --card-bg-hover-color: #232222 !important; /**brick-theme */
    --card-bg-hover-color: #f3ffab !important; /**original */
    --card-bg-hover-color: #FAFFDB !important; /**original */
    
    --menu-icon-color:#a4792e; /* Brick Theme */
    --menu-icon-color:var(--card-bg-color) !important; /* Brick Theme */
    --menu-icon-color:#c4800af4 !important; /* Brick Theme */
    --menu-icon-color:#844810f4 !important; /* Brick Theme */
    --menu-icon-color:#e0740ff4 !important; /* Brick Theme */
    
    --primary-color: #89CFF0;
    --card-hover-color: var(--card-bg-hover-color);
    /* --card-hover-color2: rgba(255, 217, 0, 0.732); */
    --card-hover-color2:var(--card-bg-color);
    --secondary-color: #54A927;
    --secondary-color: #bd18c6;
    --secondary-color: #f2ff00;
    --secondary-color: #28aa14;
    --secondary-color: #ffdd00;
    --nav-text-color: #fff;
    --secondary-color: #ffe100;
    --secondary-color: #ffe100;
    --secondary-color: #534904;
}
html{
    scroll-behavior: smooth;
    overflow-x: hidden !important; /* Prevents vertical scrolling */
    display: flex !important;
    justify-content: center !important;
}
body  {
    /* height: fit-content; */
    width: 95vw !important;
    padding-top: 80px !important;
    font-family: 'Arial', sans-serif;
    scroll-behavior: smooth;
    display: flex;
    font-size: 1rem !important;
    line-height: 1.6 !important;
    justify-content: center;
    flex-direction: column;
    align-items: center;
    /* background-image: url('./uploads/noise.jpg') !important; */
    /* background-image: url('./uploads/1744597544772_WhatsApp Image 2025-04-13 at 21.22.18_61fa2e51.jpg') !important; */
    /* background-color:var(--bg-color); */
    background:var(--bg-color);
    /* background: #373737 !important; */
    /*background-size: cover; /* Ensures the image covers the entire background */
    background-position: center; /*Centers the image in the viewport*/
    /*background-repeat: no-repeat; /* Prevents the image from repeating */
    /*background-attachment: fixed; /* Keeps the background fixed when scrolling */
}
body:not(.js-loaded) * {
  transition: none !important;
}

h1{
    color: #8a6320 !important;
    color: #6B4C29 !important;
    color: #00ffc8 !important;
    color: #4f4b16 !important;
    padding: 20px !important;
}
/* Navigation Bar */
.navbar {
    width: 95vw !important;
    /* height: 80px !important; */
    background-color: var(--bg-color);
    background-color: #AF7207 !important;
    background-color: rgb(255, 106, 0) !important;
    background-color: rgb(217, 155, 11) !important;
    color: var(--menu-icon-color);
    /* padding: 9px 0px !important; */
    /* display: flex; */
    justify-content: space-around;
    align-items: center;
    /* top: -10px !important; */
    position: sticky !important;
    /* border-radius: 10px !important; */
    top: 0;
    z-index: 777;
    transform: translateZ(0) !important;
    will-change: transform !important;
    margin-bottom: 50px !important;
    margin: 0 !important;
    /* padding: 1rem r1em !important; */
}

select{
    background-color: var(--menu-icon-color) !important;
    color: wheat !important;
    width: 75% !important;
}
li{
    list-style: none;
}
.navbar .links {
    display: flex;
    /* gap: 20px; */
}
  a{
    color: #834545 !important;
    color: #c9acac !important;
  }
.navbar a {
  /* color: rgb(196 122 15) !important; */
  color: rgba(168, 92, 10, 0.562) ;
  color: rgba(245, 152, 52, 0.801) ;
    text-decoration: none;
    /* font-size: .7rem !important; */
    /* padding: 2px 10px; */
    display: flex !important;
    width: 200px !important;
    flex-direction: column;
    transition: background-color 0.3s ease;
    justify-content: center !important;
    align-items: center !important;
    vertical-align: middle !important;
    height: 100px !important;
}

.navbar a:hover {
    background-color: #575757;
    background-color: var(--card-hover-color);
    background-color: rgb(255, 183, 0) !important;
    border-radius: 5px;
    text-decoration: overline;
    color: white !important;
}

.navbar .username {
    font-size: 1.3rem !important;
    font-weight: bold;
    color: #c26161 !important;
    font-style: italic;
}

/* Container for Cards */
.container {
    display: flex;
    flex-direction: column !important;
    align-items: center;
    justify-content: center;
    /* height: calc(100vh - 60px); */
    /* overflow-y: auto; */
    scroll-snap-type: y mandatory !important;
    padding: 20px;
    gap: 20px;
    /* width: 100 !important; */
    /* height: 100vh; */
}

/* Card Styles */
.card {
    /* width: 90vw !important; */
    /* max-width: 40vw !important; */
    /* min-width: 45vw !important; */
    /* flex: 0 0 80vh; */
    scroll-snap-align: start !important;
    /* background-color: #f0f0f0; */
    /* background-color: #3e3e3e; */
    color: rgb(223, 223, 223);
    color: #333; /* for body text */
    border-radius: 15px;
    display: flex;
    flex-direction: column;
    text-align: center;
    justify-content: center;
    position: relative;
    /* border-bottom: 15px solid rgba(255, 0, 255, 0.232) !important; */
    padding: 10px;
    min-width: 30vw !important;
    transition: transform 0.3s ease-in-out, background-color 0.3s ease-in-out;
    box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    height: max-content;
    scroll-behavior: smooth !important;
    content-visibility:auto; 
    contain-intrinsic-size: 800px 1000px;
}


.gender-triangle {
  width: 60px !important;
  height:60px !important;
  position: absolute !important;
  top: 0 !important;
  right: 0 !important;
  /* border-style: solid; */
  /* border-width: 0 120px 120px 0; */
  /* border-color: transparent transparent transparent transparent; */
  border-radius: 0 0 0 100% !important; /* optional for curved blending */
  /* opacity: .8 !important; */
  z-index: 10 !important;
}

.gender-triangle.boy {
  border-color: transparent #3B82F6 transparent transparent; /* blue */
  border-color: transparent #342dff transparent transparent; /* blue */
  border-color: transparent #4690ff transparent transparent; /* blue */
}

.gender-triangle.girl {
  border-color: transparent #F472B6 transparent transparent; /* pink */
}
textarea.girl{
  background-color: #FF7F50 !important; /* soft pink */
  background-color: mediumseagreen !important; /* soft pink */
  background-color: rgb(255, 84, 113) !important; /* soft pink */
  background-color: #FF7F50 !important; /* soft pink */
  background-color: #ffc8b4 !important; /* soft pink */
  color: #f44 !important;
  color: #911111 !important;
  color: #353535 !important;
  font-family: 'inter' !important;
  padding: 20px !important;
  line-height: 35px !important;
  letter-spacing: 2px !important;
  
}
textarea.boy{
  background-color: #3273E6 !important; /* soft blue */
  background-color: #cb8c5f !important; /* soft blue */
  background-color: #3a3a3a  !important; /* soft blue */
  background-color: #8fb2f9 !important; /* soft blue */
  background-color: #75d3ff !important; /* soft blue */
  background-color: #d5f2ff !important; /* soft blue */
  color:#e1f7fc !important;
  color:#3a3a3a !important;

  font-family: 'inter' !important;
}




.gender-semicircle {
  width: 80px;
  height: 80px;
  position: absolute;
  top: 0;
  right: 0;
  border-radius: 0 0 0 100%;
  z-index: -1;
  opacity: 0.9; /* Subtle */
}

.gender-semicircle.boy {
  background-color: #8ddbff; /* soft blue */
  background-color: #1e69ff; /* soft blue */
  background-color: #2d38fe; /* soft blue */
  background-color: #75d3ff !important; /* soft blue */
}

.gender-semicircle.girl {
  background-color: #FF7F50 !important; /* soft pink */
  background-color: #f650ff !important; /* soft pink */
  background-color: #ff09b9 !important; /* soft pink */
  background-color: #F472B6 !important; /* soft pink */
}







.card-header{
    display: flex !important;
    justify-content: flex-end !important;
    align-items: center !important;
    padding: 9px !important;
    margin-top: -20px !important;
    width: 100% !important;
}

.profile-image {
    width: 150px !important;
    height: 150px !important;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    object-fit: cover;
    margin-bottom: 10px;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.3);
    background-color: rgb(66, 55, 55);
    background-color: rgb(255, 255, 255);
    padding-left: 5px;
    border: 4px solid rgb(50, 48, 48) !important;
    border: 4px solid white !important;
}
img{
border-radius: 50%;
/* box-shadow: 1px 2px 2px 1px #9f9f9f; */
/* opacity: .8; */

padding: 5px;
/* width:150px; */
/* height: 50px; */
object-fit: cover; /* Ensures the image fills the circle */
/* max-width: 200px; */
/* background-color: #ffffff; */
/* max-height: 200px; */
/* filter: grayscale(100%); */
}
.name {
    font-size: 1rem;
    line-height: 1.4 !important;
    font-weight: 900 !important;
    color: var(--menu-icon-color);
    color: #FF6A00 !important;
    color: #ba6103 !important;
    color: rgb(170, 38, 1)!important;
    color: rgb(255, 98, 0)!important;
    color: #ffcccc !important;
    color: #AF7207 !important;
    letter-spacing: 1.5px;
    margin-bottom: 25px;
    margin-top: 25px;
    font-family: 'inter' !important;
}
header{
  background-color: var(--card-bg-color) !important;
  color:#131313 !important;
}
.name i {
    font-size: 2rem !important;
    font-weight: 900 !important;
    /* line-height: 1rem !important; */
    color: #ffffff !important;
    color: #ff595e !important;
    /* color: #e3a97f !important; */
    text-shadow: none !important;
    font-family: 'inter' !important;
    font-family: tahoma, sans-serif !important;
    margin-bottom: 10px;
  }
.age{
    font-size: 2.5rem;
    color: #FFBF01;
    color: #ffffff;
    color: #633535;
    color: #ff5e00;
    /* color: orangered; */
    /* text-shadow: 0px -1px 1px rgb(0, 0, 0); */
    font-family:'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-weight: 800;
    justify-content: space-between;
    display: flex;
    flex-direction: row;
    vertical-align: top;
    align-items: flex-start;

    align-content: center;
    /* font-family: cursive !important; */
    clear:both;
    padding: 15px;
    margin-bottom: 50px !important;
}

.attendance {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-top: 10px;
}

.attendance label {
    font-size: 1rem;
    font-weight: 100;
    color: var(--menu-icon-color);
    display: block;
    text-align: center;
}





input[type="checkbox"] {
    transform: scale(2.5) !important; /* or any value */
    margin: 5px; /* optional spacing */
    background-color: var(--card-hover-color) !important;
    margin-top: 30px !important;
}


input[type="checkbox"] {
    appearance: none !important;
    width: 20px !important;
    height: 20px !important;
    border: 1px solid var(--menu-icon-color) !important;
    border-radius: 50% !important;
    background-color: inherit !important;
    cursor: pointer;
    user-select: none;
    /* margin: 10px !important; */
    margin-top: 30px !important;
    border: none;
    position: relative;

  }
  
  input[type="checkbox"]:checked::after {
    content: '';
    position: absolute;
    display: flex;
    align-items: center;
    user-select: none;
    justify-content: center;
    text-align: center;
    left: 2px;
    top: 2px;
    width: 15px;
    height: 15px;

    /* border: 1px solid rgb(0, 255, 221) !important; */
    background-color: #027926;
    background-color: #00ff37;
    background-color: #2b7822;
    background-color: #6d501b !important;
    background-color: yellowgreen !important;
    background-color: #709706 !important;
    background-color: #449F07 !important;
    border-radius: 50%;
    border-width: 3px 3px 3px 3px !important;
    transform: rotate(180deg) !important;
  }

  /*
  input[type="checkbox"]:hover {
    content: '';
    position: absolute;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    left: 1px;
    top: 1px;
    width: 15px;
    height: 15px;

    border: 3px solid rgb(122, 111, 8);
    background-color: #792802;
    border-radius: 50%;
    border-width: 2px 2px 2px 2px !important;
    transform: rotate(180deg) !important;
  }
  */

  input[type="checkbox"]:focus {
    outline: none;
    box-shadow: none;
  }




.attendance input {
    width: 20px;
    height: 20px;
}

.number {
  color: #FFFFFF;
  background-color: #FF9800;
  padding: 4px 10px;
  border-radius: 12px;
  position: absolute;
  top: 20px;
  left: 20px;
}


/* Rotating Menu */
.menu-buttons {
    display: flex !important;
    justify-content: space-evenly !important;
    margin-top: 1vh !important;
    margin-bottom: 1vh !important;
}

.menu-button {
    /* background-color: inherit; */
    border: none;
    color: #eaeaea;
    color: #f4f3f3;
    color: white;
    color: var(--bg-color);
    color: var(--menu-icon-color);
    color: #B37512;
    color: rgb(255, 98, 0);
    color: white;
    color: #AF7207;
    color: #C90000;
    color: var(--card-bg-color);
    color: #5e2bff;
    color: #AF7208;
    color: #342B22;
    color: rgb(255, 136, 0);
    color: var(--highlight);
    padding: 10px 20px;
    font-size: 16px !important;
    font-weight: bold;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease, color 0.3s ease;
}

[class^="remotePointer"]{
    border-radius: 50% !important;
    padding: 20px !important;
    height: 50px !important;
    width: 50px !important;
    opacity: 0.6 !important;
    display: flex !important;
    justify-content: center !important;
    color: #fff !important;
    align-items: center !important;
}
[id^="assessmentComment"]{
    width: 100% !important;
    height: 100px !important;
    background-color: #2c2c2c !important;
    color: #333 !important; /* for body text */
    border-radius: 10px !important;
    padding: 20px !important;
    font-size: 1.2rem !important;
    color: #c2c2c2 !important;
    font-family: 'Arial', sans-serif !important;
    resize: none !important;
}
.menu-button:hover {
    color: var(--bg-color); 
    color: #916100 !important; 
    font-size: .7rem;
    text-shadow: 2px 5px 16px rgb(255, 255, 255);

}

[class^="menu-dropdown"] {
    display: none;
    flex-direction: column;
    gap: 4px;
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: inherit;
    color: #333;
    color: #d6d6d6;
    color: var(--menu-icon-color);
    padding: 20px;
    /* box-shadow: 0 -10px 20px rgba(0, 0, 0, 0.2); */
    border-top-left-radius: 15px;
    border-top-right-radius: 15px;
}
.show{
  display: contents !important;
}
.show-content{
  display: flex !important;
  position: relative !important;
  justify-content: center !important;
  align-items: center !important;
  flex-direction: column !important;
  z-index: 40 !important;
  background-color: inherit !important;
  gap: 10px !important;
}
.menu-dropdown {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s cubic-bezier(0.68, -0.55, 0.27, 1.55);
  will-change: max-height;
}

.menu-dropdown.show-content {
  max-height: 500px; /* adjust to fit your content */
}


.card.rotate .menu-content {
    display: flex;
}

.menu-content a {
    text-decoration: none;
    color: var(--secondary-color) !important;
    font-size: 2rem !important;
    padding: 10px;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

.menu-content a:hover {
    background-color: inherit;
}

.menu-dropdown {
    display: none;
}

.menu-dropdown.active {
    display: inline-flex !important;
}

/* Responsive Design */
@media (max-width: 768px) {
    body{
        /* height: 100%; */
    font-family: 'Arial', sans-serif;
    scroll-behavior: smooth;
    /* background-image: url('background.jpeg'); */
    background-color:var(--bg-color);
    /*background-size: cover; /* Ensures the image covers the entire background */
    background-position: center; /*Centers the image in the viewport*/
    /*background-repeat: no-repeat; /* Prevents the image from repeating */
    /*background-attachment: fixed; /* Keeps the background fixed when scrolling */
    /* display: flex; */
    align-items: center;
    display: flex !important;
    justify-content: center;
    flex-direction: column;

    }
    .profile-image {
        width: 100px !important;
        height: 100px !important;
    }

    .name {
        font-size: 1rem;
        font-weight: 900;
    }
    .name i {
      font-size: 2rem !important;
      font-weight: 900 !important;
      color: #ffffff !important;
      color: #ff595e !important;
      text-shadow: none !important;
      font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif !important;
    }
    ul{
      display: flex !important  ;
      flex-direction: column;
    }

    .number {
        font-size: 1rem;
    }
    input[type="checkbox"] {
        transform: scale(3.5); /* or any value */
        margin: 5px; /* optional spacing */
        display: flex;
        margin-top: 40px;
      }
      .card{
        min-width: 100vw !important;
        padding: 10px !important;
      }
      .present{
        font-size: .5rem !important;
        width: 30px !important;
        height: 30px !important;
      }
      .navbar a{
        flex-direction: column !important;
      }
  td, th{
        display: inline-flex !important;
        min-width: 100vw !important;
        flex-direction: column !important;
  }
}

@media (max-width: 480px) {

.profile-image {
    width: 180px !important;
    height: 180px !important;
    /* border: 3px solid white !important; */
}

body{
        background-color: #dacc00;
        background-color: #ffbf00;
        background-color: #EDEAD3;
        display: flex !important; 
        justify-content: center !important;
        flex-direction: column !important;
        align-items: center !important;

}

.container{
        display: flex;
        justify-content: center !important;
        align-items: center !important;
        min-width: 100vw !important;
}
    
.navbar {
    width: 100vw !important;
    background-color: var(--bg-color);
    background-color: #333 !important;
    background-color: #333 !important;
    color: var(--nav-text-color);
    padding: 20px !important;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 10;
    /* box-shadow: 1px 0px 2px 1xp #e0e0e0 !important; */
} 

    ul{
      display: flex !important  ;
      flex-direction: column;
    }
.menu-button {
    color : rgb(71, 71, 71) !important;
    color : rgb(120, 37, 124) !important;
}
.menu-button button{
  font-size: 1rem !important;
  padding: 10px !important;
  height: 60px !important;
  width: 60px !important;
}
    .name {
        font-size: 1rem !important;
        color: #3f4a50 !important;
        color: #434343 !important;
        font-weight: 900;
    }
    i{
      font-size: 1rem !important;
    }

    .number {
        font-size: 1rem;
    }

    .navbar a {
        font-size: 1rem;
    }

    .navbar .username {
        font-size: 0.9rem;

    }
    .card{
        max-height: 300px !important;
        padding: 10px !important;
        background-color: #000000 !important; 
        background-color: #ffc900 !important; 
        background-color: var(--card-bg-color) !important; 
        /* margin-left: 120px !important; */
        display: flex !important;
        min-width: 100vw !important;
        min-height: 100vw;
        
    }
    .card:hover
    {
        background-color: #eeffe6 !important; 
    }

    img{
        /* filter: grayscale(100%); */
        width: 50px !important;
        /* height: 50px !important; */

    }
    .age{
        color: rgb(255, 250, 211) !important;
        font-size: 1.4rem !important;
    }
    .number{
        color: rgb(90, 34, 90) !important;
    }
    .card-header{
        display: flex !important;
        justify-content: flex-end !important;
        align-items: center !important;
        margin-top: 40px;
        color: #ffffff !important;
    }
    input[type="checkbox"] {
        transform: scale(2.5); /* or any value */
        margin: 5px; /* optional spacing */
        display: flex;
        margin-top: 40px;
      }
img.stacked-media {
    display: flex !important;
    flex-direction: column !important;
    position: absolute;
    top: 0;
    left: 0;
    width: 50px !important;
    height: 50px !important;
    border: 2px solid white;
    border-radius: 36px;
    box-shadow: 0 0 3px rgba(0,0,0,0.4);
    cursor: pointer;
    transition: transform 0.5s;
    object-fit: cover;
    gap: 3rem !important;
    z-index: 0;
}


}




.profile-image {
        width: 150px !important; /* Adjust size as needed */
        height: 150px !important;
        border-radius: 50% !important;
        display: block;
        margin-left: auto;
        margin-right: auto; /* This centers the image horizontally */
        margin-top: -45px !important; /* Adjusts the top margin */
        object-fit: cover;
        box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.3);
}
/* Card Hover Effect */
.card {
/* transition: transform 0.3s ease, background-color 0.3s ease, box-shadow 0.3s ease; */
background-color: var(--card-bg-color);
border-radius: 15px;
max-height: 550px;
max-height: fit-content !important;
max-height: 90vh;
/* min-height: 40%; */
perspective: 1000px;
/* overflow: hidden; */
margin-bottom: 100px !important;
min-width: 95vw !important;
/* max-width: 63vw !important; */
box-shadow: 0px 10px 20px rgba(0, 0, 0, 0.1);
box-shadow: 0 8px 20px rgba(0,0,0,0.15) !important;

backface-visibility: hidden;
padding: 20px !important;
}

.card:hover 
{
transform: scale(1.01) !important; /* Enlarges the card slightly on hover */
/* transform: scale(1.1) !important; */ /* Enlarges the card slightly
/* height: 100vh !important; */
background-color: var(--card-hover-color);
box-shadow: 0px 15px 25px rgba(0, 0, 0, 0.2); /* Slightly deeper shadow */
transition: transform 0.3s ease, background-color 0.3s ease, box-shadow 0.3s ease;
/* color: white; */
}

.profile-image {
transition: transform 0.3s ease;
}

.profile-image:active {
transform: scale(4.5); /* Enlarges the profile image slightly */
transform: scale(3.5) !important; /* Enlarges the profile image slightly */
filter: grayscale(0%);
}
/* Navbar and Links Animation */
.navbar {
background-color: var(--bg-color);
/* background-color: inherit !important; */
background-color: #231e16 !important;
background-color: #3f2e11 !important;
padding: 10px 10px;
position: sticky;
top: 0;
display: flex;
justify-content: space-between;
text-align: center !important;
align-items: center !important;
margin-bottom: 10px;
width: 100vw !important;
min-width: 500px !important;
/* border-radius: 10px !important; */
}
.max-w-screen-xl{
  max-width: 98% !important;
  width: 98% !important;
}
.navbar .links a {
text-decoration: none;
color: var(--nav-text-color);
padding: 10px 20px;
position: relative;
font-size: 1rem !important;
line-height: 1.6 !important;
font-weight: 600;
transition: color 0.3s ease;
}

.navbar .links a::after {
content: "";
position: absolute;
bottom: -5px;
left: 0;
width: 0;
height: 3px;

background-color: magenta !important;
/* background-color: var(--secondary-color); */
opacity: .5;
transition: width 0.3s ease;
}

.navbar .links a:hover::after {
width: 100%; /* Expands the underline to the full width of the link */
}

.navbar .links a:hover {
    color: #ff595e; /* Changes the link color on hover */
    color: yellowgreen; /* Changes the link color on hover */
color: var(--menu-icon-color); /* Changes the link color on hover */
}

/* Smooth color transition between different menus */
.navbar .links a.active {
color: #ff595e;
font-weight: bold;
}
input[type="checkbox"]:checked + .checkbox-label {
background-color: #ff595e; /* Reddish background color when checked */
}
.menu-button i {
font-size: 1rem; /* Adjust icon size */
margin-right: 8px; /* Space between icon and text, if needed */
}

.menu-button, .fas, .fa, .fa-solid {
display: flex;
align-items: center;
justify-content: center;
flex-direction: column;
font-size: 1.5rem !important;

}
.fas:hover,.fa-solid:hover{
  color: orange !important;
}
.highlight {
  background-color: yellow;
  transition: background-color 0.5s ease;
}

tr{
margin: 0%;
}
td{
/* padding: 5px */
/* padding: 40px; */
border-collapse: collapse;
flex-direction: row !important;
/* border-color: #FF4500 !important; */
border: none;
/*
background-color: #000000 !important;
background-color: #ff3251ea !important;
background-color: #9f02ee !important;
background-color: #EE8B02 !important;
background-color: #0fb70f !important; 
background-color: #fb6400 !important;
*/
/* background-color: #ffd4d0 !important; */
/* background-color: #ffbf00; */
/* background-color: var(--card-bg-color) !important; */

color: #E10200;
color:#6D5507;
color:#f9f9f9;
color:#A4792E;
color: #b37516;
/* text-shadow: 1px 2px 1px rgb(23, 19, 19); */
/* display: flexbox !important; */
/* width: 100% !important; */
content-visibility:auto !important; 
contain-intrinsic-size: 800px 1000px;
content-visibility: auto !important;
}
.ordered > td{
background-color: #fff45e !important;
/* color:#07B41E !important */
font-weight: 900;
}
th{
padding: 10px;
background-color: #FBBE00;
background-color: #EE8B02;
background-color: #EE8B02;
background-color: #FFA726 !important;
color: #382407;
font-size: 1rem !important;
} 
th:nth-child(){
border-top-left-radius: 10px;
}


.styled-checkbox {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: inline-block;
    position: relative;
    background-color: #ddd; /* Default background */
    cursor: pointer;
    transition: background 1.3s, box-shadow 2.3s;
}

/* Hover effect */
.styled-checkbox:hover {
    background-color: gold;
}

/* Checked state */
input[type="checkbox"]:checked + .styled-checkbox,
input[type="checkbox"]:checked + .styled-checkbox
 {
    background-color: #00ff99; /* Green when checked */
    box-shadow: 0 0 1px #4CAF50;
}

/* Inner check indicator */
.styled-checkbox::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 1px;
    height: 1px;
    background: white;
    border-radius: 50%;
    transform: translate(-50%, -50%) scale(0);
    transition: transform 0.1s ease-in-out;
}

/* Show inner check indicator when checked */
input[type="checkbox"]:checked + .styled-checkbox::after {
    transform: translate(-50%, -50%) scale(1);
}

table th:first-child {
    border-top-left-radius: 10px;
}

table th:last-child {
    border-top-right-radius: 10px;
}

table tr:last-child td:first-child {
    border-bottom-left-radius: 10px;
}

table tr:last-child td:last-child {
    border-bottom-right-radius: 10px;
}

th{
    background-color: rgb(232, 23, 23) !important;
    background-color: rgb(132, 154, 126) !important;
    background-color: rgb(43, 143, 16) !important;
    background-color: #7D5817 !important;
    color:#f3f3f3 !important;
    /* display: inline-flex; */
    /* flex-direction: row; */
    align-items: center;
    text-align: center;
    padding: 15px 15px !important;
    /* position: sticky !important; */
  }
  td{
    font-size: 1rem !important;
    line-height: 1rem !important;
    font-weight: 300 !important;
  }
  .surname{
    font-weight: 100;
  }

  /*
  #searchInput {
  /* width: 100%; 
  padding: 0px;
  padding-bottom: 15px;
  font-size: 1rem;
  color: rgb(55, 255, 0);
  color: rgb(70, 85, 67);
  z-index: -10;
  top:5px;
  /* position: fixed; */
  /* display: flex; *
  border: 0px solid #ddd;
  border-radius: 6px;
  text-align: center;
  font-weight: 300;

  font-family: Verdana, Geneva, Tahoma, sans-serif;
  background-color: white !important;
  /* margin-bottom: -40px; 
}
*/

body{
font-family: Verdana, Geneva, Tahoma, sans-serif;
}


/*
.srch{
background-color: initial !important;
margin-bottom: 1px;
position: relative;
background-color: #7D5817 !important;
background-color: var(--highlight) !important;
background-color: #342B22 !important;
/* background-color: #E1AA02 !important; 

}
*/












/* Animation when data is updated */
.updated {
    animation: pulse 0.1s ease-in-out;
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
    100% {
        transform: scale(1);
    }
}

@keyframes flip-card{
    100%{
        transform: rotateY(180deg);
    }
}

.flipper{
    animation: flip-card  0.4s ease-in-out;
}
checkbox {
    width: 50px;  /* Bigger size */
    height: 50px;
    font-size: 1rem; /* Bigger tick/X */
}

checkbox::before{
    content: "✖" !important
}
input, select {
    padding: 10px;
    border: none;
    border-radius: 36px;
    font-size: 1.5rem !important;
    background-color: #ff5400;
    color: white !important;
    font-weight: 100 !important;
    margin: 10px 0px;
    /* width: 63% !important; */
    width: 40% !important;
    width: min-content !important;
    width: 300px !important;
}
input:focus, select:focus {
    outline: none;
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.2);
    background-color: #ff5100 !important;
}

ul{
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: row !important;
    align-items: center;
    background-color: #FFF6E4 !important;
    width: 95vw !important;
}
tr{
    /* display: block; */
    flex: 4;
    padding: 0;
    /* flex-direction: column; */
    align-items: center;
    justify-content: center;
    /* background-color: inherit; */
}

.fa-suse{
    font-size: 3rem !important;
    color: rgb(246, 255, 0) !important;
}



/* Home Page /home */
/* ============================================================================================= */

   /* Green check for prgb(0, 255, 0), 255, 0)t */
   .present 
   {

     background-color:rgb(7, 180, 30);
     background-color:rgb(255, 255, 0);
     background-color: inherit;
     background-color: #07B41E;
     /* background-color: rgb(2, 128, 0) !important; */
     /* background-color: #2d98b3 !important; */
     background-color: #228615 !important;
     background-color: #14D9C2 !important;
     background-color: #709706 !important;
     background-color: #C3FF00 !important;
     background-color: #536710 !important;
     background-color: #0a6c1fac !important;
     background-color: #B1C100 !important;
     /* font-weight: 900; */
     padding: 3px;
     font-size: 1rem;
     border: 1px solid rgb(61, 136, 3);
     z-index: 50;
     
     color: rgb(255, 255, 255);
   }
h1{
   color: rgb(40, 68, 0);
}

img{
   /* width: 100px; */
   /* height: 100px; */
}
@keyframes flip-card{
   0%{
       transform: rotateY(0deg);
   }
   50%{
       transform: rotateY(90deg);
   }
   100%{
       transform: rotateY(180deg);
   }
}

.flipper{
   animation: flip-card  0.4s ease-out;
}
.pinned{
  color: #ff7300 !important;
  color: #FF6EA1 !important;
  color: #fffb00 !important;
  color: #ff00e1 !important;
  color: #E90BAA !important;
  color: chartreuse !important;
  color: #ff9100 !important;
  color: #ffae00 !important;
  color: #ff008b !important;
  background: #2c2c2c !important;
  color: #449F07 !important;

  background-color: linear-gradient(180deg,#ff8c66,#FF009D) !important;
}

select option:disabled {
   color: #583c03 !important;               /* gray out the text */
   color: #be8920 !important;  
   text-shadow: -1px 1px 1px #ffffff ;             /* gray out the text */
 background-color: #3e3e3e; /* light gray background (Firefox only) */
 background-color: #D99B0B !important; /* light gray background (Firefox only) */
 /* opacity: 0.5; */
 text-decoration: line-through !important;
}
/* 1) Style the selected item when the list is open */
select option:checked {
 color: #fff;
 background-color: #a25410;  /* Firefox only */
 background-color: #2fa210;  /* Firefox only */
 font-weight: bold;
}

/* 2) Style the closed select to reflect a valid selection */
select.has-selection {
 color:#a1ff89 !important;
 background-color: #449F07 !important;
 font-weight: bold;
}
body{
   /* background-image: 'https://cdn.pixabay.com/photo/2016/11/29/09/08/abstract-1867280_1280.jpg' !important; */
   /* background-image: url('./uploads/sunflower1.png') !important; */
   /* background-size: cover; */
   /* background-repeat: no-repeat;    */
}



/* ======================================================================== */

/* ====================================================================================== */
/* Attendance page (register) */
  /* Default white circle 
  thead th{
    position: sticky;
    overflow-y: auto;
  }
    */
  .status {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 25px !important;  /* Circle size */
    height: 25px !important; /* Circle size */
    border-radius: 50%;
    border:3px solid #c8aa7c1c;
    /* border:1px solid #292824 ; */
    /* border:1px solid #0e0e0e !important; */
    background-color: #3731281c !important; /* Default background color */
    background-color: #4e44351c !important; /* Default background color */
    /* background-color: none !important; */
    /* opacity: .2; */
    /* background-color: #ffa60086 !important; */
    /* z-index: 1000; */
    text-align: center;
    font-size: .6rem;
    padding: 5px;
    /* color: rgb(255, 255, 255); */
    line-height: 20px; /* Align text vertically */
    margin-bottom: 5px; /* Space between morning and evening status */
    margin-top: 5px; /* Space between morning and evening status */
    margin-right: 5px;
    position: relative !important;
  }
  #test{
    padding: 20px;
    background-color: red;
    color: white;
  }
  .test, #test > tr > td{
    border-collapse: collapse;
    /* border: 1px solid white; */
    font-weight: 100;
    /* font-size: .7rem !important; */
    padding: 10px !important;
    white-space: nowrap;
  }
  
  .fa-solid.fa-user-plus {
    font-size: xx-large !important;
    color: #037806 !important;
    color: #67B941 !important;
  }
  .fa-user-plus-cricle{
    /* width: 120px !important; */
    /* height: 120px !important; */
    /* background-color: #afecb2 !important; */
    /* padding: 20px !important; */
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    border-radius: 50% !important;
  }
  /* Green check for prgb(0, 255, 0), 255, 0)t */
  .present 
  {

    background-color:rgb(7, 180, 30);
    background-color:rgb(255, 255, 0) !important;
    background-color:rgb(47, 155, 49) !important;
    background-color:rgb(103, 185, 65) !important;
    /* background-color: #22C55E !important; */
    /* background-color: #83d412  !important; */
    /* background-color: inherit !important; */
    /* background-color: #137838 !important; */
    /* background-color: inherit !important; */
    font-weight: 600 !important;
    padding: 9px !important;
    /* border: 5px solid rgb(180, 255, 173) !important; */
    /* border: 3px solid rgb(21, 145, 10) !important; */
    /* border: 1px solid rgb(0, 255, 94) !important; */
    /* border: 5px solid #0AAA0E !important; */
    z-index: 0;
    font-weight: 900 !important;
    opacity: 1;
    position: relative !important;
    color: rgb(36, 114, 26);
    color: rgb(180, 255, 173) !important;
    color: rgb(255, 255, 255) !important;
  }
  
  /* Red cross for absent */
  .absent {
    content: "❌" !important;
    background-color: rgb(255, 114, 92);
    padding: 3px;
    background-color: hotpink !important;
    background-color: #faaf5e !important;
    background-color: goldenrod !important;
    background-color: brown !important;
    background-color: #7d0f05 !important;
    background-color: inherit !important;/* banana theme */
    background-color: #d42160 !important;
    background-color: #d4218e !important;
    /* background-color: inherit !important; */
    font-weight: 600;
    color: rgb(255, 255, 255);
    /* color: rgb(215, 0, 140) !important; */
    border: 1px solid rgb(255, 0, 76) !important;
    position: relative !important;
    opacity: 1;
  }

  .mar{
    display: flex;
    flex-direction: row;
    justify-content: center !important;
    padding: 5px;
  }
  .red{
    color: red !important;
    font-weight: 700 !important;
    font-size: 2rem !important;
  }
  .green{
    color: green !important;
  }
  .yellow{
    color: yellow !important;
  }

  /* Striped columns for each day */
  th:nth-child(2), td:nth-child(2),
  th:nth-child(3), td:nth-child(3),
  th:nth-child(4), td:nth-child(4),
  th:nth-child(5), td:nth-child(5),
  th:nth-child(6), td:nth-child(6),
  th:nth-child(7), td:nth-child(7),
  th:nth-child(8), td:nth-child(8) {
    /* background-color: #f0f0f0; Light gray for alternate days */
  }

  /* Subtle row distinctions (striped rows) */
  tr:nth-child(even) {
    /* background-color: #f9f9f9; Light gray for even rows */
  }

  tr:nth-child(odd) {
    /* background-color: #ffffff; White for odd rows */
  }


  .price{
    color: #F96601 !important;
    font-size: 1rem !important;
    font-weight: 900 !important;
    background-color: #FF6EA1 !important;
  }

  /*
  th, td {
    padding: 8px 12px;
    border: 0px solid #ddd;
    text-align: center;
    /* border-bottom: 2px dotted brown; 
  }
*/
  /* Sonic boom effect */
  .status.active, .present, .absent {

    /* background-color: inherit; */
  }
  
  .flash-effect{
    animation: sonicBoom 0.1s ease-out !important;

  }
  .flash-effect-red{
    animation: sonicBoomRed 0.1s ease-out !important;

  }
  @keyframes sonicBoom {
    0% {
      transform: scale(1);
      box-shadow: 0 0 0 2px rgba(233, 237, 235, 0.795); /* Initial glow */
    }
    50% {
      transform: scale(1.3); /* Slight expansion of the circle */
      box-shadow: 0 0 1px 5px rgb(45, 193, 11); /* Glow effect */
    }
    100% {
      transform: scale(1); /* Circle back to original size */
      box-shadow: 0 0 0 0 rgba(0, 255, 0, 0); /* Glow fade-out */
    }
  }


  @keyframes sonicBoomRed {
    0% {
      transform: scale(1);
      box-shadow: 0 0 0 0 rgba(255, 0, 0, 0.641); /* Initial glow */
    }
    50% {
      transform: scale(1.3); /* Slight expansion of the circle */
      box-shadow: 0 0 1px 2px rgba(255, 0, 0, 0.6); /* Glow effect */
    }
    100% {
      transform: scale(1); /* Circle back to original size */
      box-shadow: 0 0 0 0 rgba(0, 255, 0, 0); /* Glow fade-out */
    }
  }

  @keyframes twerk {
    0%{
      font-size: 20px;
    }
    50%{
      
      color: red;
    }
    100%{
      
      font-size: 18px;
      transform: scale(1.0);

    }
  }

  .twerked{
    animation: twerk 0.2s ease-out;
  }
  h1{
    color: white;
    margin-top: 20px;
    margin-bottom: 20px;
  }
  h2{
    color: #393e40f4 !important;
    color: #5852ff !important;
    color: #ffc900 !important;
    color: var(--menu-icon-color)!important;
    font-size: 1.5rem !important;
    margin: 10px 2px !important;
    font-family: tahoma !important;
    font-weight: 600 !important;
  }

  th{
    background-color: rgb(43, 143, 16) !important;
    background-color: rgb(0, 107, 128) !important;
    background-color: rgb(7, 143, 0) !important;
    background-color: #A4792E !important; /*banana theme*/
    background-color: #af7207 !important; /*banana theme*/
    background-color: rgb(143, 0, 88) !important;
    background-color: #7d5817 !important; /*banana theme*/
    background-color: #909b13 !important;
    background-color: #7d5817 !important; /*banana theme*/
    background-color: #342B22 !important; /*banana theme*/
    background-color: #e1aa02 !important;
    /* background-color: var(--highlight) !important; banana theme */
    color:#f3f3f3 !important;
    /* display: inline-flex; */
    /* flex-direction: row; */
    align-items: center;
    text-align: center;
    /* padding-top: 30px; */
    font-size: 1rem !important;
    /* position: sticky !important; */
    font-weight: initial !important;
  }
  td{
    /* font-size: 1.5rem !important; */
    padding: 10px !important;
    background-color: #fff4cc03 !important; /* dark mode */
    /* border-top: 1px solid #F9ECC3 !important; */
    background-color: #FFD100 !important;
    background-color: #242423 !important;
    background-color: #fff4cc !important;
    background-color: #fff6e4 !important;
    /* display: inline-flex !important; */
    justify-content: center !important;
    /* padding: 20px !important; */
    /* padding: 50px 20px !important; */
    flex-direction: row;
    align-items: center !important;
    border-bottom: 1px solid #ffe3e3 !important;
    vertical-align: top !important;
  }
  .surname{
    font-weight: 300;
  }
  .nameFirst{
    /* font-family: cursive; */
    /* font-weight: 600 !important; */
    /* font-style: italic !important; */
    /* font-size: large !important; */
    color:#ffcccc !important;
    font-family: 'Inter', sans-serif;
    font-weight: 800 !important;
    color: #3D3D3D;
    color:#834545 !important;
    
    /* text-shadow: 1px 0 2px black; */
  }
  .fa-solid, .fas-solid{

   /* font-size: 2.5rem !important; */
   line-height: 1rem !important;
   margin: 5px 5px !important;

  }
  .fa-burger{
    /* color: rgb(234, 4, 146) !important; */
    /* font-family: 'Inter' !important */
  }
  #searchInput {
  width: 100%;
  /* padding: 20px !important; */
  /* padding-bottom: 5px; */
  font-size: 16px;
  color: rgb(55, 255, 0);
  z-index: 1;
  top:5px;
  height: 36px !important;
  /* position: fixed; */
  /* display: flex; */
  border: 0px solid #ddd;
  border-radius: 10px;
  text-align: center;
  font-weight: 100;

  
  font-family: 'inter' !important;
  /* background-color: #ffbf00 !important; */
  /* background-color: #FFBF00 !important; */
  color: rgb(224, 120, 10);
  /* margin-bottom: -40px; */
}
::placeholder {
  color: rgb(255, 0, 255);
  font-weight: 600 !important;
  font-size: 1rem !important;
  text-align: center;
  letter-spacing: 2px !important;
  font-family: Verdana, Geneva, Tahoma, sans-serif;
}
body{
font-family: tahoma !important;
 /* background: linear-gradient(135deg, #FFB222 0%, #d9490f 50%, #FFB222 100%); */
  /* background-attachment: fixed; */
  /* background-blend-mode: multiply; */
  /* background-size: cover; */
}
p{
  font-size: 1rem !important;
  color: #cccccc !important;
  color: #fff !important;
  color: #877979 !important;
  padding: 10px !important;
}

td > img{

margin: 20px !important;
margin-left: 27px !important;


}
/*
.searchInput{
background-color: inherit !important;
}

a#register_student::before{
content: '💥'
}
a#register_student{
font-size: 20px;
text-decoration: none;
color: white;
background-color: green;
border: none;
padding: 12px;
border-radius: 10px;
font-family: Verdana, Geneva, Tahoma, sans-serif;
}
*/
/* =================================================================================================== */

/* TuckShop Specific Styles */
/* ================================================================================== */

td > input{
    width: 95vw !important;
    /* width: 50% !important; */
    border-collapse: collapse;
    /* margin-bottom: 30px; */
    background-color: inherit !important; /* Light gray for the table background */
  border: none !important;
  color: var(--menu-icon-color) !important;
  /* font-size: 2rem !important; */
  /* height: 10% !important; */
} 
th{
  /* display: flex !important; */
  flex-direction: column !important;
}





.checkbox-wrapper {
  position: relative !important;
  width: 45px !important;
  height: 45px !important;
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
  margin: 0 auto !important;
  border-radius: 50% !important;
  /* border: 2px solid #ccc !important; */
  transition: all 0.3s ease !important;
}

.styled-checkbox {
  opacity: 0 !important;
  width: 100% !important;
  height: 100% !important;
  position: absolute !important;
  z-index: 2 !important;
  cursor: pointer !important;
  margin: 0 !important;
}

.check-icon {
  width: 100% !important;
  height: 100% !important;
  border-radius: 50% !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  font-size: 1rem !important;
  color: white !important;
  z-index: 1 !important;
}

/* Default/neutral (gray, question mark) */
.checkbox-wrapper.neutral .check-icon {
  background-color: #8a8a8a !important;
}

.checkbox-wrapper.neutral .check-icon::before {
  content: '?' !important;
  color: white !important;
}

/* Present (green) */
.checkbox-wrapper.present .check-icon {
  /* background-color: #158224 !important; */
}

.checkbox-wrapper.present .check-icon::before {
  content: '✔' !important;
}

/* Absent (red) */
.checkbox-wrapper.absent .check-icon {
  /* background-color: #7d0f05 !important; */
}

.checkbox-wrapper.absent .check-icon::before {
  content: '✖' !important;
}
label{
  font-size: 1.3rem !important;
  color: #fff !important;
  color: #6c6c6c !important;
  text-align: center !important;
  margin-top: 10px !important;
  margin-bottom: 10px !important;
  font-weight: 300 !important;
  /* text-shadow: 1px 1px 1px rgba(0, 0, 0, 0.5) !important; */
  display: flex !important;
  justify-content: center !important;
}
textarea{
  width: 100% !important;
  height: 120% !important;
  border-radius: 10px !important;
  padding: 20px !important;
  font-size: 1.2rem !important;
  color: #2b2525 !important;
  color: #a4c566 !important;
  border: none !important;
  resize: none !important;
  background-color: #686958 !important; /* dark mode */
}
.attendance label {
  display: block !important;
  text-align: center !important;
  font-size: 1rem !important;
  line-height: 1.6 !important;
  margin-bottom: 5px !important;
  color: rgba(255, 25, 0, 0.27) !important; /* golden sun */
  color: #ffb500 !important; /* golden sun */
}

.attendance label i.fa-moon {
  /* color: #052cb7; moonlight blue */
}

a.active {
    font-weight: bold;
    /* background-color: #689416 !important; */
    /* background-color: #6894161f !important; */
    border-radius: 36px !important;
    /* display: flex !important; */
    /* padding: 10px 27px !important; */
    /* width: 150px !important; */
    transition: background-color 0.2s ease;
    /* box-shadow: 0 2px 6px rgba(223, 219, 219, 0.911); */
    color: darkcyan;
    color: rgb(255, 213, 0) !important;
    color: rgb(0, 255, 4) !important;
    color: #ff8000 !important;
    align-items: center;
    justify-content: center !important;
}

a.active .menu-button i {
  color: rgb(255, 45, 45); /* highlight icon too */
  color: rgb(255, 234, 0); /* highlight icon too */
}

.menu-buttons button {
    margin: 5px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    padding: 25px !important;
    border: none;
    background: #3d3232 !important;
    background: white !important;
    /* color: white; */
    /* color: #FF2E77 !important; */
    color: #85776d;
    color: chocolate;
    /* border-radius: 5px; */
    color: rgb(251, 145, 69);
    color: #ffd4b5;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.menu-buttons button:hover {
  /* background: #0056b3; */
}

.menu-dropdown {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s cubic-bezier(0.68, -0.55, 0.27, 1.55);
  background: #f9f9f9;
  margin-top: 10px;
  padding: 0 10px;
  border: 1px solid #ddd;
  border-radius: 5px;
}

.menu-dropdown.show-content {
  max-height: 500px;
}

.menu-dropdown ul {
  list-style: none;
  padding: 0;
  margin: 10px 0;
}

.menu-dropdown li {
  margin-bottom: 5px;
}

/* Loader Overlay - covers entire screen */
#page-loader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: inherit !important; /* or dark: #111 */
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}

/* Spinner animation */
.spinner {
  width: 60px;
  height: 60px;
  border: 6px solid #ccc;
  border-top: 6px solid #3498db;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

/* Spinner Keyframes */
@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}
#studentForm > input {
width: 100% !important;

}

.media-upload-form {
  /* background: #fff; */
  border-radius: 16px;
  /* padding: 20px; */
  /* box-shadow: 0 4px 12px rgba(0,0,0,0.1); */
  margin-bottom: 24px;
  max-width: 500px;
  width: 100%;
  font-family: 'Inter', sans-serif;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.media-upload-form label {
  font-weight: 600;
  color: #333;
  margin-bottom: 8px;
  display: block;
}

.media-upload-form input[type="file"] {
  display: none;
}

.upload-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background-color: #FF2E77 !important;
  color: white;
  padding: 10px 16px;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 500;
  transition: background 0.3s ease;
  border: none;
}

.upload-btn:hover {
  background-color: var(--card-bg-color);
}

.preview-card {
  border: 1px solid #e0e0e0;
  border: 1px solid #201f1f;
  border-radius: 12px;
  padding: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fafafa;
  background: #413a3a;
  width: 100%;
}

.preview-card img {
  width: 100px;
  /* height: 100px; */
  border-radius: 12px;
}

.preview-card audio,
.preview-card video {
  width: 100%;
  max-width: 300px;
  border-radius: 8px;
}

.upload-button-main {
  background: linear-gradient(135deg, #ff8a00, #e52e71);
  /* background: #2d38fe !important; */
  color: #fff;
  border: none;
  padding: 12px 20px;
  font-size: 1rem;
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.upload-button-main:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(229, 46, 113, 0.4);
}

.upload-status {
  font-size: 0.9rem;
  color: #555;
}

.media-card {
  display: flex !important;
  justify-content: center !important;
  grid-template-columns: 1fr;
  gap: 0.5rem;
  align-items: center;
  text-align: center;
}

.media-card img, 
.media-card video {
  width: 120px !important;
  height: 165px !important;
  border-radius: 8px;
  object-fit: cover;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}

.media-card audio {
  width: 100%;
}

.media-card .placeholder {
  background: #f5f5f5;
  color: #999;
  padding: 0.5rem;
  border-radius: 6px;
  font-size: 0.85rem;
}










/* Responsive Attendance Table Enhancements */
@media screen and (max-width: 1024px) {
  #attendanceTable {
    width: 100% !important;
    display: block;
    overflow-x: auto;
    border-radius: 10px;
  }

  .attendance-row {
    display: block;
    overflow-x: auto;
    white-space: nowrap;
    border-bottom: 1px solid #ddd;
  }

  .attendance-row td {
    display: inline-block;
    min-width: 100px;
    padding: 10px 5px;
    vertical-align: top;
  }

  .attendance-row td:first-child {
    min-width: 160px;
    text-align: left;
  }

  .media-stack {
    max-width: 100%;
    display: block;
  }
}

@media screen and (max-width: 480px) {
  .studentProfile {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .studentProfile img {
    width: 80px !important;
    height: 80px !important;
  }

  .media-stack {
    margin-top: 10px;
    text-align: center;
  }
  th{
      display: flex !important;
  }
  td{
        display: inline-flex !important;
  }
}




/* === Responsive helpers (white theme) === */
:root{
  --container-max: 1100px;
}
html, body{ max-width:100%; overflow-x:hidden; }
.container{ width: min(100%, var(--container-max)); margin-inline:auto; padding-inline: clamp(12px, 3vw, 24px); }
.menu-buttons{ flex-wrap:wrap; gap:.5rem; }
.attendance{ flex-wrap:wrap; }
.profile-image{ width:clamp(110px, 28vw, 150px) !important; height:clamp(110px, 28vw, 150px) !important; }
[name^="comments_"]{ width:100% !important; }
@media (max-width: 520px){
  .navbar a{ width:auto !important; height:auto !important; padding:.6rem .8rem; }
}



/* === Piper refactor: responsive centering & overflow fixes (2025-08-08) === */
html, body { max-width:100%; overflow-x:hidden; }

/* Remove global flex on <html> that caused odd centering and stacking */
html { display:block !important; justify-content:initial !important; }

/* Avoid forcing 95vw which mis-centers on some browsers */
body {
  width: auto !important;
  margin: 0;
  padding-top: 80px !important;
  display: flex !important;
}

/* A generic container you can wrap pages with for true centering */
.page-container, .container, .wrap {
  width: min(100%, 1200px);
  margin-inline: auto;
  padding-inline: clamp(12px, 3vw, 24px);
  display: contents !important;
  align-items: center !important;
  justify-content: center !important;
}

/* Navbar links stay usable on phones */
.navbar a {
  width: auto !important;
  height: auto !important;
  padding: .6rem .8rem;
}

/* Ensure long words don’t overflow cards */
.card, .name, .attendance, [class*="menu-dropdown_"] {
  word-wrap: break-word;
  overflow-wrap: anywhere;
}

/* Profile image scales without distortion on tiny devices */
.profile-image {
  width: clamp(110px, 28vw, 150px) !important;
  height: clamp(110px, 28vw, 150px) !important;
  object-fit: cover;
}

/* Allow button rows to wrap cleanly */
.menu-buttons, .attendance, .addFills { flex-wrap: wrap !important; gap: .5rem; }

/* Tiny devices */
@media (max-width: 420px){
  .navbar { margin-bottom: 10px !important; }
  .name i { font-size: 1.6rem !important; }
  body{
    display: block !important;
  }
}


  #assess {
    --bg-cream:#f7f0df; --bg-cream:inherit !important; --accent:#e86812; --panel:#FFF6E4 !important; --ink:#3a3a25;
    --purple:#6a1b9a; --purple: orange !important; --ring:rgba(0,0,0,.06);
    max-width:1200px; margin:0 auto; padding:0 16px 48px;
    background:var(--bg-cream);
  }