* {
    margin: 0;
    padding: 0;
    /* display: flex; */
    align-items: center;
    /* justify-content: center; */
    /* flex-direction: column; */
    text-align: center;
    box-sizing: border-box;
    --bg-color: #ffffff;
    --bg-color: #000001; /* dark theme 2nd */
    --bg-color: #b20202;/* brick-theme 1st e05200*/
    --bg-color: #b28f02;/* brick-theme 1st e05200*/
    --bg-color: #00058e;/* brick-theme 1st e05200*/
    --bg-color: #e8e8e8;/* brick-theme 1st e05200*/
    --bg-color: #e03b04;/* brick-theme 1st e05200*/
    --bg-color: #1e0948; /* gray-theme 3rd */
    --bg-color: #2e0f6d; /* gray-theme 3rd */
    --bg-color: #89008b; /* gray-theme 3rd */
    --bg-color: #c82c00;/* brick-theme 1st */
    --bg-color: linear-gradient(to right, #c82c00, rgb(160, 42, 15));
    --bg-color: #ee0202;/* sky-theme 1st e05200*/
    --bg-color: orange;/* brick-theme 1st */
    --bg-color: rgb(255, 176, 67);/* brick-theme 1st */
    ;/* brick-theme 1st */
    --card-bg-color: #EE8B02; /* brick-theme-card */
    --card-bg-color: #ffbf00; /* brick-theme-card */
    --card-bg-color: #ffeaac; /* brick-theme-card */
    


    --card-bg-hover-color: #b1c100; /**brick-theme */
    --card-bg-hover-color: #7f8b03 !important; /**brick-theme */
    --card-bg-hover-color: rgb(104, 148, 22) !important; /**brick-theme */
    
    --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 */
    
    --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-y: scroll;
}
body  {
    height: fit-content;
    width: auto;
    padding-top: 100px;
    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-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;
    padding: 20px !important;
}
/* Navigation Bar */
.navbar {
    width: 100% !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-between;
    align-items: center;
    /* top: -10px !important; */
    position: sticky !important;
    border-radius: 10px !important;
    top: 0;
    z-index: 9999;
    transform: translateZ(0) !important;
    will-change: transform !important;
    margin-bottom: 50px !important;
    margin: 0 !important;
    padding: 1rem 2rem !important;
}

.fa-spider{
    font-size: 3rem !important;
    color: rgba(255, 0, 234, 0.545) !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;
}

.navbar a {
    color: var(--nav-text-color);
    color: var(--nav-text-color);
    color: rgb(255, 255, 255) !important;
    text-decoration: none;
    font-size: 1rem !important;
    padding: 5px 10px;
    display: flex;
    flex-direction: column;
    transition: background-color 0.3s ease;
}

.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: 1rem !important;
    font-weight: bold;
    color: gold !important;
}

/* Container for Cards */
.container {
    display: flex;
    flex-direction: column-reverse !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;
    background-color: #f0f0f0;
    /* background-color: #3e3e3e; */
    color: rgb(223, 223, 223);
    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: 80vw !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;
}


.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 */
}

.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 */
  color: #f44 !important;
  color: #911111 !important;
  font-family: 'inter' !important;
  
}
textarea.boy{
  background-color: #3273E6 !important; /* soft blue */
  background-color: #8fb2f9 !important; /* soft blue */
  color:#46595d !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 */
}

.gender-semicircle.girl {
  background-color: #F472B6; /* soft pink */
  background-color: #FF7F50 !important; /* soft pink */
  background-color: #f650ff !important; /* soft pink */
}







.card-header{
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    padding: 9px !important;
    margin-top: -20px !important;
    width: 100% !important;
}

.profile-image {
    width: 150px;
    height: 150px;
    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: white;
    padding: 5px;
    border: 4px solid white !important;
}
img{
border-radius: 50% !important;
/* box-shadow: 1px 2px 2px 1px #9f9f9f; */
/* opacity: .8; */
border: 3px dashed rgb(242, 255, 0) !important;
border: 3px dashed rgb(255, 81, 0) !important;
border: 3px dashed rgb(255, 251, 248) !important;
padding: 5px;
width:20vw;
height: 20vw;
object-fit: cover; /* Ensures the image fills the circle */
max-width: 200px;
background-color: #ffffff !important;
max-height: 200px;
filter: grayscale(0%);
}
.name {
    font-size: 2rem;
    line-height: 1.6 !important;
    font-weight: 900;
    color: var(--menu-icon-color);/*brick-theme*/
    color: #FF6A00 !important;
    color: #ba6103 !important;
    color: rgb(255, 98, 0)!important;
    color: rgb(170, 38, 1)!important;
    color: #AF7207 !important;
    color: #7D5817 !important;
    letter-spacing: 2px;
    margin-bottom: 10px;
    /*text-shadow: 1px 0px 1px rgb(0, 0, 0);
    text-shadow: 1px 0px 1px rgb(249, 209, 209);*/
    font-family: 'inter', sans-serif !important;
}
.name i {
    font-size: 2rem !important;
    color: #ff595e !important;
    font-weight: 900 !important;
    color: #ffffff !important;
    text-shadow: none !important;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif !important;
    margin-bottom: 10px;
  }
.age{
    font-size: 1rem;
    color: #FFBF01;
    /* 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;
}

.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 {
    position: absolute;
    /* top: 10px; */
    right: 10px;
    font-size: 2rem;
    font-weight: 700;
    color: val(--primary-color);
    color: #916100 !important;
    color: #ffffff !important;
    display: inline;
    opacity: .7;
}

/* Rotating Menu */
.menu-buttons {
    display: flex !important;
    justify-content: space-evenly !important;
    margin-top: 3vh !important;
    margin-bottom: 2vh !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: rgb(255, 136, 0);
    color: #C90000;
    color: var(--card-bg-color);
    color: #5e2bff;
    color: #AF7208;
    padding: 10px 20px;
    font-size: 2rem !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;
}
.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: block;
}

/* 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;
    justify-content: center;
    flex-direction: column;

    }
    .profile-image {
        width: 100px;
        height: 100px;
    }

    .name {
        font-size: 1rem;
        font-weight: 900;
    }
    .name i {
      font-size: 1rem !important;
      color: #ff595e !important;
      font-weight: 900 !important;
      color: #ffffff !important;
      text-shadow: none !important;
      font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif !important;
    }

    .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: 50vw !important;
      }
}

@media (max-width: 480px) {
    .profile-image {
        width: 40px !important;
        width: 120px !important;
        height: 40px !important;
        height: 120px !important;
        border: 1px solid white !important;
    }
    body{
        background-color: #dacc00;
        background-color: #333;
        display: flex !important;
        justify-content: 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;
    color: var(--nav-text-color);
    padding: 10px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 10;
}
.menu-button {
    color : rgb(71, 71, 71) !important;
    color : rgb(120, 37, 124) !important;
}
    .name {
        font-size: 1rem;
        color: #3f4a50 !important;
        color: #9765b0 !important;
        font-weight: 900;
    }

    .number {
        font-size: 1rem;
    }

    .navbar a {
        font-size: 1rem;
    }

    .navbar .username {
        font-size: 0.9rem;

    }
    .card{
        max-height: 300px !important;
        padding: 20px !important;
        background-color: #000000 !important; 
        margin-left: 120px !important;
        display: flex !important;
        max-width: 90vw !important;
        min-height: 100vw;
        
    }
    .card:hover{
        background-color: #181818 !important; 

    }

    img{
        filter: grayscale(100%);

    }
    .age{
        color: purple !important;
        font-size: 1rem !important;
    }
    .number{
        color: rgb(90, 34, 90) !important;
    }
    .card-header{
        display: flex !important;
        justify-content: space-between !important;
        align-items: center !important;
        margin-top: 40px;
    }
    input[type="checkbox"] {
        transform: scale(2.5); /* or any value */
        margin: 5px; /* optional spacing */
        display: flex;
        margin-top: 40px;
      }
}
.profile-image {
        width: 220px; /* Adjust size as needed */
        height: 220px;
        border-radius: 50%;
        display: block;
        margin-left: auto;
        margin-right: auto; /* This centers the image horizontally */
        margin-top: 15px; /* 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-hover-color);
background-color: #fc0047dd;
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;
min-width: 25vw;
max-width: 90vw !important;
box-shadow: 0px 10px 20px rgba(0, 0, 0, 0.1);
backface-visibility: hidden;
padding: 20px !important;
}

.card:hover {
transform: scale(1.00);
/* height: 100vh !important; */
background-color: var(--card-hover-color);
background-color:  #56ff6f;  /* Subtle color change on hover */
background-color: var(--card-bg-hover-color);  /* Subtle color change on hover */
background-color: rgb(232, 198, 5);  /* Subtle color change on hover */
box-shadow: 0px 15px 25px rgba(0, 0, 0, 0.2); /* Slightly deeper shadow */
/* color: white; */
}

.profile-image {
transition: transform 0.3s ease;
}

.profile-image:hover {
transform: scale(2.5); /* Enlarges the profile image slightly */
filter: grayscale(0%);
}
/* Navbar and Links Animation */
.navbar {
background-color: var(--bg-color);
background-color: inherit !important;
padding: 10px 20px;
position: sticky;
top: 0;
display: flex;
justify-content: space-between;
text-align: center !important;
align-items: center !important;
margin-bottom: 20px;
width: 100% !important;
/* border-radius: 10px !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: 2rem; /* Adjust icon size */
margin-right: 8px; /* Space between icon and text, if needed */
}

.menu-button, .fas, .fa {
display: flex;
align-items: center;
justify-content: center;
flex-direction: column;
font-size: 2rem !important;

}
.highlight {
  background-color: yellow;
  transition: background-color 0.5s ease;
}

tr{
margin: 0%;
}
td{
/* padding: 5px */
padding: 10px;
border-collapse: collapse;
/* border-color: #FF4500 !important; */
border: none;

/* background-color: var(--card-bg-color) !important; */

color: #E10200;
color:#6D5507;
color:#f9f9f9;
color:#A4792E;
color: #825512;
/* text-shadow: 1px 2px 1px rgb(23, 19, 19); */
}
td > .fa-star{
  color: magenta !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: #A4792E !important;
color: #382407;
font-size: 1rem !important;
} 
th:nth-child(){
border-top-left-radius: 10px;
}
caption{
padding: 10px;
background-color: #FBBE00;
background-color: #EE8B02;
color: rgb(133, 64, 3);
font-weight: 600;
border-top-left-radius: 10px;
border-top-right-radius: 10px;
font-size: 1rem;
font-family: 'Times New Roman', Times, serif;
letter-spacing: 0px;
}
table{
width: 75% !important;
max-width: 80% !important;
height: 20px;
border-collapse: collapse;
border: none;
border-bottom-left-radius: 10px;
border-bottom-right-radius: 10px;
padding: 30px;

}

td {
position: relative; /* Ensure the ::before element is positioned relative to the td */
width: 100px;  /* Set width of the td cell */
height:auto; /* Set height of the td cell */
/* padding-left: 19px; */
}




  /* Hide the default checkbox 
  input[type="checkbox"] {
    display: none;
}*/

/* Label to act as the custom checkbox */
.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: 30px 15px !important;
    position: sticky !important;
  }
  td{
    font-size: 1rem !important;
    line-height: 1.6 !important;
    font-weight: 100 !important;
  }
  .surname{
    font-weight: 900;
  }
  #searchInput {
  /* width: 100%; */
  padding: 8px;
  padding-bottom: 30px;
  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: 600;

  font-family: Verdana, Geneva, Tahoma, sans-serif;
  background-color: white;
  /* 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: #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: 10px;
    font-size: 1rem !important;
    background-color: coral !important;
    color: darkred !important;
    font-weight: 600 !important;
    margin: 10px 0px;
    width: 63% !important;
    width: 81% !important;
}


tr{
    /* display: block; */
    flex: 4;
    padding: 0;
    /* flex-direction: column; */
    align-items: center;
    justify-content: center;
    /* background-color: inherit; */
}

.fa-suse{
    font-size: 2rem !important;
    color: gold !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: #0a6c1fac !important;
     background-color: #B1C100 !important;
     background-color: #14D9C2 !important;
     background-color: #709706 !important;
     /* font-weight: 900; */
     padding: 3px;
     font-size: 1rem;
     /* border: 2px solid rgb(61, 136, 3); */
     z-index: 50;
     
     color: rgb(255, 255, 255);
   }
h1{
   color: rgb(40, 68, 0);
}

img{
   width: 150px;
   height: auto;
}
@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: #449F07 !important;
  color: #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: 36px;  /* Circle size */
    height: 36px; /* Circle size */
    border-radius: 50%;
    /* border:1px solid rgb(100, 91, 91); */
    background-color: #666a66 !important;
    background-color: #ffa60086 !important;
    /* z-index: 1000; */
    text-align: center;
    font-size: .8rem;
    padding: 3px;
    /* color: rgb(255, 255, 255); */
    line-height: 20px; /* Align text vertically */
    margin-bottom: 5px; /* Space between morning and evening status */
    margin-right: 5px;
  }
  #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: #c3ff00 !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);
    background-color: inherit;
    /* background-color: rgb(2, 128, 0) !important; */
    /* background-color: #2d98b3 !important; */
    background-color: #0a6c1fac !important;
    background-color: #B1C100 !important;
    background-color: #709706 !important;
    background-color: #158224 !important;
    background-color: #14D9C2 !important;
    background-color: #158286 !important;
    background-color: #07B41E !important;
    background-color: #0ba20b !important;
    font-weight: 300 !important;
    padding: 9px !important;
    /* border: 5px solid rgb(180, 255, 173) !important; */
    /* border: 3px solid rgb(21, 145, 10) !important; */
    border: 3px solid rgb(206, 255, 201) !important;
    border: 3px solid rgb(25, 195, 22) !important;
    z-index: 0;
    
    color: rgb(180, 255, 173);
  }
  
  /* Red cross for absent */
  .absent {
    content: "✖" !important;
    background-color: rgb(255, 114, 92);
    padding: 3px;
    background-color: inherit;/* banana theme */
    background-color: hotpink !important;
    background-color: #faaf5e !important;
    background-color: goldenrod !important;
    background-color: brown !important;
    background-color: #7d0f05 !important;
    background-color: #ff6ea1 !important;
    background-color: #ff2e77 !important;
    font-weight: 600;
    color: rgb(215, 0, 140);
    color: rgb(255, 255, 255);
    border: 3px solid red !important;
  }

  .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 */
  }

  /* Styling for the table */
  table {
    width: 80% !important;
    border-collapse: collapse;
    margin-bottom: 30px;
    scroll-behavior: smooth;
  }
  .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: var(--menu-icon-color)!important;
    font-size: 1.5rem !important;
    margin: 20px 2px !important;
    font-family: 'inter', sans-serif;
    font-weight: 900 !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: #e1aa02 !important;
    color:#f3f3f3 !important;
    /* display: inline-flex; */
    /* flex-direction: row; */
    align-items: center;
    text-align: center;
    padding: 10px;
    padding-top: 30px;
    font-size: 1rem !important;
    position: sticky !important;
  }
  td{
    font-size: 1rem !important;
    padding: 10px;
    border-bottom: 1px dotted #d7f756 !important;
    border-bottom: 1px dotted #FFAA00 !important;
  }
  .surname{
    font-weight: 900;
  }
  .nameFirst{
    font-family: cursive;
    font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
    font-weight: 300 !important;
    font-style: italic !important;
    font-size: large !important;
    color:hotpink;
    color:rgb(255, 244, 249) !important;
    text-shadow: 1px 0 2px black;
  }
  #searchInput {
  /* width: 100%; */
  padding: 18px !important;
  /* padding-bottom: 5px; */
  font-size: 16px;
  color: rgb(55, 255, 0);
  z-index: -10;
  top:5px;
  /* position: fixed; */
  /* display: flex; */
  border: 0px solid #ddd;
  border-radius: 6px;
  text-align: center;
  font-weight: 600;

  
  font-family: 'inter' !important;
  /* background-color: #ffbf00 !important; */
  /* background-color: #FFBF00 !important; */
  color: rgb(224, 120, 10);
  /* margin-bottom: -40px; */
}
::placeholder {
  color: rgb(250, 183, 245);
  font-weight: 900 !important;
  font-size: 1.5rem !important;
  text-align: center;
  letter-spacing: 2px !important;
  font-family: Verdana, Geneva, Tahoma, sans-serif;
}
body{
font-family: Verdana, Geneva, Tahoma, sans-serif;
}
.srch{
/* background-color: initial !important; */
margin-bottom: 1px;
position: relative;
} table#test td{
padding: 5px !important;

}

td > img{
width: 126px !important;
height: 126px !important;
margin: 20px !important;
margin-left: 27px !important;


}
.searchInput{
background-color: #c8af67;
}

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: 100% !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: 1rem !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: 1rem !important;
  color: #fff !important;
  text-align: center !important;
  margin-top: 10px !important;
  margin-bottom: 10px !important;
  font-weight: bold !important;
  /* text-shadow: 1px 1px 1px rgba(0, 0, 0, 0.5) !important; */
  display: flex !important;
  justify-content: center !important;
}
textarea{
  width: 380px !important;
  height: 120% !important;
  border-radius: 10px !important;
  padding: 20px !important;
  font-size: 1.2rem !important;
  color: #fff !important;
  border: none !important;
  resize: none !important;
}
.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 */
}

.attendance label i.fa-moon {
  /* color: #052cb7; moonlight blue */
}

a.active {
  font-weight: bold;
  background-color: #689416 !important; /* banana theme */
  background-color: #FF6EA1 !important; /* banana theme */
  background-color: #FF2E77 !important; /* banana theme */
  border-radius: 10px;
  padding: 5px 10px;
  transition: background-color 0.2s ease;
}

a.active .menu-button i {
  color: rgb(255, 255, 255); /* highlight icon too */
  color: rgb(59, 34, 34); /* highlight icon too */
}

.menu-buttons button {
  margin: 5px;
  padding: 10px;
  border: none;
  background: none !important;
  /* color: white; */
  /* color: #FF2E77 !important; */
  color: chocolate;
  border-radius: 5px;
  cursor: pointer;
}

.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-radius: 12px;
  padding: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fafafa;
  width: 100%;
}

.preview-card img {
  width: 150px;
  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);
  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;
}

