.tooltip {
  position: absolute;
  z-index: 1070;
  display: block;
  margin: 0;
  font-family: -apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,sans-serif;
  font-style: normal;
  font-weight: 400;
  line-height: 1.5;
  text-align: left;
  text-decoration: none;
  text-shadow: none;
  text-transform: none;
  letter-spacing: normal;
  word-break: normal;
  word-spacing: normal;
  white-space: normal;
  line-break: auto;
  font-size: .875rem;
  word-wrap: break-word;
  opacity: 0;
}

.tooltip.show {
  opacity: 0.9;
}

.tooltip-arrow {
  position: absolute;
  display: block;
  width: 0.8rem;
  height: 0.4rem;
}

.tooltip-arrow::before {
  position: absolute;
  content: "";
  border-color: transparent;
  border-style: solid;
}

.bs-tooltip-bottom {
  padding: 0.4rem 0;
}

.bs-tooltip-bottom .tooltip-arrow {
  top: 0;
}

.bs-tooltip-bottom .tooltip-arrow::before {
  bottom: 0;
  border-width: 0 0.4rem 0.4rem;
  border-bottom-color: #000;
}

.tooltip-inner {
  max-width: 200px;
  padding: 0.25rem 0.5rem;
  color: #fff;
  text-align: center;
  background-color: #000;
  border-radius: 0.25rem;
}

/* Student page Start*/
/* download file in student chapters page  */
.download_icon{
  color:rgb(2, 72, 102);
  display: flex;
justify-content: flex-end;

}
.topic_indent{
  text-indent: 50px;
}

.cheer_up{
color: #036564;
font-weight: 900;
}

.question_number{
color: #036564;
font-weight: 600;
}
.mx-green{
  color:green;
  margin-top: 13px;
}
.mx-blue{
  color: rgb(2, 107, 136);
}
.mx-bold{
  font-weight: 700;
}
.ans_description{

  color:darkslategray;
}
.ans_wrong{
  position:relative;
  top: 1px;
  text-shadow: 0 0 10px red;
  left: 1px;
  color:red;
}
.ans_right{
  position:relative;
  top: 1px;
  text-shadow: 0 0 10px rgb(3, 150, 91);
  left: 1px;
  color:rgb(2, 130, 39);
}

.form-check_item {
  width: 100%;
  display: table;
  margin-bottom: 30px;

}
.form-check_item input {
  float: left;
  width: 20px;
  height: 20px;
  cursor: pointer;

  margin-right: 10px;
  position: relative;
  border-radius: 4px;
  -webkit-transition: 0.6s cubic-bezier(0.25, 1, 0.5, 1);
  transition: 0.6s cubic-bezier(0.25, 1, 0.5, 1);
  border: 1px solid #039c80;


}
.form-check_item input:before {
  top: 50%;
  left: 50%;
  opacity: 0;
  font-size: 12px;
  content: "\f00c";
  font-weight: 400;
  position: absolute;
  color: #ffffff;
  -webkit-transition: 0.6s cubic-bezier(0.25, 1, 0.5, 1);
  transition: 0.6s cubic-bezier(0.25, 1, 0.5, 1);
  font-family: "Font Awesome 5 Pro";


}
.form-check_item input:checked {
  border-color: #4506f3;
  background-color: #2005f1;
}
/* .form-check_item input:checked:before {
  opacity: 1;
} */
.form-check_item label {
  display: table;
  cursor: pointer;
  margin: -3px 0 0;
  position: relative;
  bottom: -3px;
}

.form-check_group > li:not(:last-child) {
  margin-bottom: 5px;
}
.form-check_group .form-check_item {
  margin: 0;
}

/* .sotrans .fa-times:hover {
animation: times 1s cubic-bezier(.36,.07,.57,.99) infinite;
} */


/* @media screen and (max-width: 1199px) */
.btns {
border: 2px solid black;
background-color: white;
min-width: 200px;
max-width: 500px;
color: black;
padding: 3px;
font-size: 12px;
cursor: pointer;
border-radius: 5px;
}
.info {
border-color: #a85dd3;
color: 114c7c;
}

/* CSS */
.button-52 {
font-size: 16px;
font-weight: 200;
letter-spacing: 1px;
padding: 13px 20px 13px;
outline: 0;
border: 1px solid black;
cursor: pointer;
position: relative;
background-color: rgba(0, 0, 0, 0);
user-select: none;
-webkit-user-select: none;
touch-action: manipulation;
}

.button-52:after {
content: "";
background-color: #ffe54c;
width: 100%;
z-index: -1;
position: absolute;
height: 100%;
top: 7px;
left: 7px;
transition: 0.2s;
}

.button-52:hover:after {
top: 0px;
left: 0px;
}

@media (min-width: 768px) {
.button-52 {
  padding: 13px 50px 13px;
}
}

/* CSS */
.button-53 {
font-size: 16px;
font-weight: 200;
letter-spacing: 1px;
padding: 13px 20px 13px;
outline: 0;
border: 1px solid black;
cursor: pointer;
position: relative;
background-color: rgba(0, 0, 0, 0);
user-select: none;
-webkit-user-select: none;
touch-action: manipulation;
}

.button-53:after {
content: "";
background-color: #3dc282;
width: 100%;
z-index: -1;
position: absolute;
height: 100%;
top: 7px;
left: 7px;
transition: 0.2s;
}

.button-53:hover:after {
top: 0px;
left: 0px;
}

@media (min-width: 768px) {
.button-53 {
  padding: 13px 50px 13px;
}
}


/* CSS */
.button-51 {
font-size: 16px;
font-weight: 200;
letter-spacing: 1px;
padding: 13px 20px 13px;
outline: 0;
border: 1px solid black;
cursor: pointer;
position: relative;
background-color: rgba(0, 0, 0, 0);
user-select: none;
-webkit-user-select: none;
touch-action: manipulation;
}

.button-51:after {
content: "";
background-color: #339e9d;
width: 100%;
z-index: -1;
position: absolute;
height: 100%;
top: 7px;
left: 7px;
transition: 0.2s;
}

.button-51:hover:after {
top: 0px;
left: 0px;
}

@media (min-width: 768px) {
.button-51 {
  padding: 13px 50px 13px;
}
}


.floating {
animation-name: floating;
animation-duration: 3s;
animation-iteration-count: infinite;
animation-timing-function: ease-in-out;
margin-left: 10px;
margin-top: 5px;
}

@keyframes floating {
0% { transform: translate(0,  0px); }
50%  { transform: translate(0, 15px); }
100%   { transform: translate(0, -0px); }
}


.view_ans_title{
color: #036564;
font-size: smaller;
}

.file_name{
color: #339e9d;
font-weight: 600;
align-items: center;
}

.test_title{
font-size: 40px;
}
.qus_test_box{
color: #039c80;
font-size: smaller;
font-weight: 500;
}
.btn_start_test{
width: 20px;
height: 10px;
}

.btn_stu_test {
font-size: 16px;
font-weight: bold;
position: relative;
padding: 0%;
-webkit-box-align: center;
    -ms-flex-align: center;
        align-items: center;
display: -webkit-inline-box;
display: -ms-inline-flexbox;
display: inline-flex;
color: #3a10e5;
-webkit-box-pack: center;
    -ms-flex-pack: center;
        justify-content: center;
}

.chap_sub{
font-size: 14px;
color: rgb(134, 2, 132);
}


.header_style_5 .header_top{
color: #ffffff;
height: 50px;
-webkit-animation: gradientChange 5s ease infinite;
        animation: gradientChange 5s ease infinite;
background-image: -webkit-gradient(linear, right top, left top, from(#3d9bfc), color-stop(#7b40e4), color-stop(#f53a8b), color-stop(#ee704a), to(#ddd24c));
background-image: linear-gradient(270deg, #3d9bfc, #7b40e4, #f53a8b, #ee704a, #ddd24c);
}

/* content of chapters in "course detail page" */
.topic_content{
font-weight: 500;
font-size: 15px;
color: #3d4949;
}
.btn_sub_chap{
color: #4e0479;
font-size: 17px;
text-decoration: underline;
}

@media screen and (max-width: 575px) {
  .header_style_5 .header_top{

    -webkit-animation: gradientChange 5s ease infinite;
            animation: gradientChange 5s ease infinite;
    background-image: -webkit-gradient(linear, right top, left top, from(#3d9bfc), color-stop(#7b40e4), color-stop(#f53a8b), color-stop(#ee704a), to(#ddd24c));
    background-image: linear-gradient(270deg, #3d9bfc, #7b40e4, #f53a8b, #ee704a, #ddd24c);
  }

}

/* Admin page Start*/

/* admin_home page */
.school_details{
font-size: 14px;
word-wrap: break-word;
}

/* admin_create_institute page */
.formstatus{
margin-left: 45px;
}


@media only screen and (max-width: 600px) {
.formstatus{
  display: block;
  margin-left: 0px;
}
}
.skul-img input[type=file]::file-selector-button {
margin-top: 9px;
}

/* admin_add_staff page */


.sidepannel{
  height: 265px ;
  border-radius: 10px;
  width: 250px;
}

.managestaff_title{
  font-size: 30px;
  line-height: 1.4;
  margin-bottom: 25px;
  margin-left: 10px;
}

.main_panal{
border-radius: 10px;
}

.staff_dis_fields{
line-height: 1;
display: block;
font-size: 15px;
font-weight: 500;
padding: 9px 22px;
color: #101213;
border-radius: 5px;
background-color: #f0f3ff;
text-align: center;
}
.staff_data_field{
text-align: center;
font-size: small;
font-weight: 600;
}


/* admin_staff_register page */
.right_sidepanal{
height: 235px ;
border-radius: 10px;
}

.permission_check_data{
display: inline;
  padding: 2px 5px 2px;
  font-size: 13px;
  font-weight: bold;
  line-height: 2;
  text-align: left;
  color: rgb(48, 47, 47);
  text-align: center;
  white-space: nowrap;
  vertical-align: baseline;
  border-radius: 0.25em;
  border: 1px solid rgba(53, 84, 88, 0.597);
  background-color: #04ea7b82;
}

.item-list{
min-width: 350px;
max-width: 400px  ;
}

.filter-row {
  display: flex;
  gap: 1rem;
  margin-bottom: 10px;
  flex-wrap: wrap;
  align-items: flex-end;
}

.filter-group {
  flex: 1 1 250px; /* allows wider input */
}

.filter-group.button-group {
  flex: 0 1 auto; /* makes the button only as wide as it needs */
}

.filter-input {
  width: 100%;
  padding: 0.6rem 0.75rem;
  border: 1px solid #ced4da;
  border-radius: 6px;
  font-size: 0.95rem;
  background: #fff;
}

/* admin_designation page */
.designation_panal{
border-radius: 10px;
height:300px;
}

.desig_form{
height: 100px;
width: 396px;
resize: none;
}

.desig_exist{
height:100px;
width: 396px;
}

/* admin_edit_staff page */
.staff_edit_formstatus{
margin-left: 312px;
  margin-top: -26px;
}

.edit_staff_det{
margin-left: 321px;
border-radius: 5px;
}
/* admin_add_class page */
.class_rowline{
display: flex;
justify-content: space-between;
}
/* admin_add_subject page */


.comment_form .form_item select {
border-color: #f0f3ff;
background-color: #f0f3ff;
}

.comment_form .form_item select:hover{
border-color: #ebebeb;
background-color: #ffffff;
}

.search_stu_data{
position: relative;
}

/* admin_add_students page */
.search_stu_data input {
width: 368px;
height: 53px;
border: none;
outline: none;
border-radius: 5px;
padding: 0 50px 0 20px;
-webkit-transition: 0.6s cubic-bezier(0.25, 1, 0.5, 1);
transition: 0.6s cubic-bezier(0.25, 1, 0.5, 1);
border-color: #f0f3ff;
background-color: #f0f3ff;
}
.search_stu_data input:hover, .search_stu_data input:focus {
outline: none;
background-color: #ffffff;
-webkit-box-shadow: 0 2px 3px 0 rgba(16, 18, 19, 0.3);
        box-shadow: 0 2px 3px 0 rgba(16, 18, 19, 0.3);
}

.search_stu_data button {
top: 12px;
right: 80px;
max-width: 16px;
position: absolute;
}

.stu_add_new_but{
padding-left: 80px;
}

.stu_action_btn{
line-height: 3;
background-color: #3bc81247;
color: #013b25;
bottom: 7px;
}
.stu_action_btn:hover{
background-color: #23710b47;
color: #013b25;
font-weight: bold;
}


/* admin_add_new_students page */
.picture-container{
position: relative;
/* cursor: pointer; */
text-align: center;
}
.picture{
width: 106px;
height: 106px;
background-color: #999999;
border: 4px solid #CCCCCC;
color: #FFFFFF;
border-radius: 50%;
margin: 0px auto;
overflow: hidden;
transition: all 0.2s;
-webkit-transition: all 0.2s;
}
.picture:hover{
border-color: #2ca8ff;
}
.content.ct-wizard-green .picture:hover{
border-color: #05ae0e;
}
.content.ct-wizard-blue .picture:hover{
border-color: #3472f7;
}
.content.ct-wizard-orange .picture:hover{
border-color: #ff9500;
}
.content.ct-wizard-red .picture:hover{
border-color: #ff3b30;
}
.picture input[type="file"] {
cursor: pointer;
height: 100px;
width: 100px;
left: 566px;
opacity: 0 !important;
position: absolute;
top: 0;
border-radius: 25px;
}

.picture-src{
width: 100%;

}
/*Profile Pic End*/

/* admin_add_new_chapters page */
.plus_add_links{
left:200px;
font-weight: 700;
}

span .plus_add_links{
margin-left: 30px;
color: blue;
margin-top: 20px;
}

/* admin_add_chapters page */
.chap_details_chapters{
display: flex;
justify-content: space-between;

}

.sub_chap_ter_list a {
display: -webkit-box;
display: -ms-flexbox;
display: flex;
font-size: 500;
font-size: 15px;
line-height: 18px;
color: #101213;
-webkit-box-align: center;
    -ms-flex-align: center;
        align-items: center;
padding: 12px 18px 11px;
border-radius: 6px;
-webkit-box-pack: justify;
    -ms-flex-pack: justify;
        justify-content: center;
border: 1px solid #ebebeb;
margin-left: 30px;
margin-bottom: 5px;
}
.sub_chap_ter_list a:hover {
color: #3a10e5;
border-color: #f0f3ff;
background-color: #f0f3ff;
}

/* admin_notify page */

.receiver_sele{
bottom: 7px;
font-size: 15px;
font-family: Arial;
width: 180px;
height: 50px;
border-width: 1px;
color: #fff;
border-top-left-radius: 0px;
border-top-right-radius: 0px;
border-bottom-left-radius: 0px;
border-bottom-right-radius: 0px;
box-shadow: 3px 4px 0px 0px #4320ec;
text-shadow: 0px 1px 0px #4320ec;
background: linear-gradient(#4320ec, #4320ec);
border-color: #4320ec;
}

.receiver_sele:hover{
  background: linear-gradient(#4320ec, #4320ec);
}

/*dropdown menu margin changed*/
.dropdown .items_dropdown{
margin-bottom: 6px;
}
/* admin_assessment page */

.total_ques_count{
  margin-top: 10px;
  display: flex;
  position: relative;
}
/* admin_assess_single */

.radio_option_input{
height: 50px;
padding: 0 70px 0 20px;
width: 815px;
outline: none;
display: block;
font-size: 14px;
-webkit-box-shadow: none;
        box-shadow: none;
-webkit-transition: 0.6s cubic-bezier(0.25, 1, 0.5, 1);
transition: 0.6s cubic-bezier(0.25, 1, 0.5, 1);
border-radius: 6px;
background-color: #ffffff;
border: 1px solid #ebebeb;
margin-bottom: 5px;
margin-left: 9px;
}
.radio_option_input:hover{
outline: none;
-webkit-transform: translateY(-4px);
        transform: translateY(-4px);
background-color: #ffffff;
-webkit-box-shadow: 0 2px 3px 0 rgba(16, 18, 19, 0.3);
box-shadow: 0 2px 3px 0 rgba(16, 18, 19, 0.3);
}

/* admin_assess_match */
.match_option_input{
height: 50px;
padding: 0 70px 0 20px;
outline: none;

font-size: 14px;
-webkit-box-shadow: none;
box-shadow: none;
-webkit-transition: 0.6s cubic-bezier(0.25, 1, 0.5, 1);
transition: 0.6s cubic-bezier(0.25, 1, 0.5, 1);
border-radius: 6px;
background-color: #ffffff;
border: 1px solid #ebebeb;
margin-bottom: 5px;
margin-left: 9px;
}

.match_option_input:hover{
outline: none;
-webkit-transform: translateY(-4px);
transform: translateY(-4px);
background-color: #ffffff;
-webkit-box-shadow: 0 2px 3px 0 rgba(16, 18, 19, 0.3);
box-shadow: 0 2px 3px 0 rgba(16, 18, 19, 0.3);
}
/* admin_view_stu_data */

.blog_item .stu_doct img {
width: 110px;
display: block;
-webkit-transition: 0.6s cubic-bezier(0.25, 1, 0.5, 1);
transition: 0.6s cubic-bezier(0.25, 1, 0.5, 1);
}


/* Principal */
.princi_search {
position: relative;
}
.princi_search input {
width: 194px;
height: 53px;
border: none;
outline: none;
border-radius: 5px;
padding: 0 60px 0 25px;
-webkit-transition: 0.6s cubic-bezier(0.25, 1, 0.5, 1);
transition: 0.6s cubic-bezier(0.25, 1, 0.5, 1);
background-color: #f8f8f8;
}
.princi_search input:hover, .princi_search input:focus {
outline: none;
background-color: #ffffff;
-webkit-box-shadow: 0 2px 3px 0 rgba(16, 18, 19, 0.3);
        box-shadow: 0 2px 3px 0 rgba(16, 18, 19, 0.3);
}
.princi_search button {
top: 12px;
right: 24px;
max-width: 16px;
position: absolute;
}

.toggle-button .toggle{
display: inline-block !important;
margin-left: 80px;
}

.go_out{
display:inline-block;
margin-right: 0;
}


/* login page */
input:invalid{
border: 2px solid red;
animation: shake 0.2s 2;
}
@keyframes shake{
25%{
  translate: 6px 0;
}
50%{
  translate: -6px 0;
}
75%{
  translate: 6px 0;
}
}

.staff_data_field{
word-break: break-word;
}

.fal{
font-size: small;
}

.highlighter{
border: 2px solid #06ade8;;
}

.regen{
font-weight: 400;
font-size: small;
color:#065245;
}

/*header changes */
.find-us{
max-width: 800px;
}
.find-us-li{
  max-width: 900px;
}

.fee_details{
list-style: none;
color: black;
text-align: center;
}
.printbtn{
margin-left: 15px;
}

.total-amount-fee{
color: black;
margin-left: 576px;
}

.fe_amount{
border-bottom: #000000;
margin: 0px;
}

.balance-amt{
color: red;
margin-left: 150px;
}

.totl_amt-paid{
color: green;
margin-left: 140px;
}

.submit_icon{
mix-blend-mode: darken;
}

.edit-admin:hover{
  color: blue;
}

.description-institute{
  padding: 0px !important;
  min-height: 30px !important;
}

.idphone{
  line-height: 3;
    background-color:rgb(5, 135, 128);
    border-radius:10px 100px/120px;
}

.stuidcard{
  width: 74px;
  height: 89px;
  border: 4px solid #48b5fd;
  color: #FFFFFF;
  border-radius: 10px;
  margin: 0px auto;
  overflow: hidden;
  transition: all 0.2s;
  -webkit-transition: all 0.2s;
  margin-top: 5px;
}

.idcard{
  width: 80px;
  height: 80px;
  background-color: #999999;
  color: #FFFFFF;
  margin: 0px auto;
  overflow: hidden;
  transition: all 0.2s;
  -webkit-transition: all 0.2s;

}

.stu_pro_logo {
  height:50px;
  width:50px;
  margin-left: 79px;
  }

  .hrpro{
    border:solid rgb(9, 9, 9);
    border-radius: 5px;
    border-width: 1px;
  }

  .stu_img_det{
    border: 3px solid rgba(10, 10, 10, 0.555);
    border-radius: 5px;
    width: 130px;
    margin-left: 18px;
    margin-top: 20px;
  }

  .designrow{
  background-color: #d7f7f763;
  margin-left: -1px;
  width: 845px;
  padding-top: 8px;
  margin-top: 0px;
  padding: 0px;
  border-radius: 10px 100px/120px;
  height: 136px;
  }

  .hrreceipt{
    width: 664px;
    border: solid rgb(9, 9, 9);
    border-radius: 5px;
    border-width: 1px;
  }

.sectionsitemap{
  padding: 160px;
}

.overview{
  font-size: 28px;
  font-weight: 700;
  line-height: 36px;
  padding-left: 32px;
  position: relative;
  margin: 0 0 12px;
  text-transform: uppercase;
}
overview::before{
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
}

.s1{
  list-style-type: square;
  padding: 40px;
  margin-left: 40px;

}

.site{
  color: black;
}

.site::marker{
  color: darksalmon;
}

.icon_list > li >.studclass{
  color: blue !important;
}
.card-header .chapactivate{
  display: flex;
  padding: 0px;
}

.card-header .chapactivate .subchapactivate{
  padding: 0px;
}

.poweredby{
  margin-right:-538px;
}

.category_list a:hover{
  border-color: #2442bb;
  background-color: #1239d2;
  color: white;
}

.stuprint{
  margin-left: 35px;
}

.printheader{
  margin-top: 150px;
}

.unordered_list_center li a{
  cursor: pointer;
}

.designationview{
  margin-left: 380px;
}

.bounceInUp{
  caret-color: red;
  width: 503px;
}

.noschooltext{
  color: #090e23;
}

.sitemapcontainer {
  max-width: 700px;
  margin: 20px;
  margin-top: 50px;
  margin-left: 150px;
}

.ac-label {
  font-weight: 700;
  position: relative;
  padding: .5em 1em;
  margin-bottom: .5em;
  display: block;
  cursor: pointer;
  background-color: #dcdde3;;
  transition: background-color .15s ease-in-out;
}

.ac-input:checked + label, .ac-label:hover {
  background-color: #6c78a7;
  color:rgb(9, 9, 9);
}

.ac-label:after, .ac-input:checked + .ac-label:after {
  content: "+";
  position: absolute;
  display: block;
  right: 0;
  top: 0;
  width: 2em;
  height: 100%;
  line-height: 2.25em;
  text-align: center;
  background-color: #e5e5e5;
  transition: background-color .15s ease-in-out;
}

.ac-label:hover:after, .ac-input:checked + .ac-label:after {
  background-color: #9fa7c6;
  color:rgb(9, 9, 9);
}

.ac-input:checked + .ac-label:after {
  content: "-";
}

.ac-input {
  display: none;
}


.ac-text, .ac-sub-text {
  opacity: 0;
  height: 0;
  margin-bottom: .5em;
  transition: opacity .5s ease-in-out;
  overflow: hidden;
}

.ac-input:checked ~ .ac-text, .ac-sub .ac-input:checked ~ .ac-sub-text {
  opacity: 1;
  height: auto;
}

.ac-sub .ac-label {
  background: none;
  font-weight: 600;
  padding: .5em 2em;
  margin-bottom: 0;
}

.ac-sub .ac-label:checked {
  background: none;
  border-bottom: 1px solid whitesmoke;
}

.ac-sub .ac-label:after, .ac-sub .ac-input:checked + .ac-label:after {
  left: 0;
  background: none;
}

.ac-sub .ac-input:checked + label, .ac-sub .ac-label:hover {
  background: none;
}

.ac-sub-text {
  padding: 0 1em 0 2em;
}

.sl{
  list-style-type: square;
  color: black;
  font-weight: 500;
}


/*/////////////////////////////////*/
/*/////////  chat styles  /////////*/
/*/////////////////////////////////*/
.chat
{
  list-style: none;
  margin: 0;
  padding: 0;
}

.chat li
{
  margin-bottom: 40px;
  padding-bottom: 5px;
  margin-top: 10px;
  width: 80%;
}


.chat li .chat-body p
{
  margin: 0;
}


.chat-care
{
  overflow-y: scroll;
  height: 350px;
}
.chat-care .chat-img
{
  width: 50px;
  height: 50px;
}
.chat-care .img-circle
{
  border-radius: 50%;
}
.chat-care .chat-img
{
  display: inline-block;
}
.chat-care .chat-body
{
  display: inline-block;
  max-width: 80%;
  background-color: #FFC195;
  border-radius: 12.5px;
  padding: 15px;
}
.chat-care .chat-body strong
{
  color: #0169DA;
}

.chat-care .admin
{
  text-align: right ;
  float: right;
}
.chat-care .admin p
{
  text-align: left ;
}
.chat-care .agent
{
  text-align: left ;
  float: left;
}
.chat-care .left
{
  float: left;
}
.chat-care .right
{
  float: right;
}

.clearfix {
  clear: both;
}

::-webkit-scrollbar-track
{
  box-shadow: inset 0 0 6px rgba(0,0,0,0.3);
  -webkit-box-shadow: inset 0 0 6px rgba(0,0,0,0.3);
  background-color: #F5F5F5;
}

::-webkit-scrollbar
{
  width: 12px;
  background-color: #F5F5F5;
}

::-webkit-scrollbar-thumb
{
  box-shadow: inset 0 0 6px rgba(0,0,0,.3);
  -webkit-box-shadow: inset 0 0 6px rgba(0,0,0,.3);
  background-color: #555;
}

.button-box {
  margin: 10px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.nineteen {
  border-radius: 4px;
  background: linear-gradient(to right, #630ee1, #4ca2cb);
  color: #fff;
  padding: 12px 0;
  text-transform: uppercase;
  font-weight: 600;
  width: 177px;
  outline: none;
  border: none;
  border-radius: 20px;
}

.nineteen span {
  position: relative;
  transition: 400ms;
}

.nineteen span::after {
  content: '\00bb';
  position: absolute;
  opacity: 0;
  top: 0;
  right: -20px;
  transition: 500ms;
}

.nineteen:hover span {
  padding-right: 25px;
}

.nineteen:hover span::after {
  opacity: 1;
  right: 0;
}

.unordered_list{
  padding-left: 25px;
}

.edit_staff{
  cursor: pointer;
}

.chatbox{
  height: 900px;
}

/* media query for match the following*/
@media (max-width: 767px) {
  .matchmedia {
    width: 40%;
  }

  .button-52{
    font-size: 10px;
    padding: 0;
    word-break: break-all;
    width: 70px;
  }
}

.testsubmit{
  margin-right: 210px;
  color: red;
  font-size: large;
}

.studentlife{
  width: 100%;
  font-size: 300px;
  letter-spacing: -8px;
}

.buttonClass {
  font-size:15px;
  font-family:Arial;
  width:180px;
  height:50px;
  border-width:1px;
  color:#fff;
  border-color:#337bc4;
  font-weight:bold;
  border-top-left-radius:5px;
  border-top-right-radius:5px;
  border-bottom-left-radius:5px;
  border-bottom-right-radius:5px;
  box-shadow: 3px 4px 0px 0px #1564ad;
  text-shadow: 0px 1px 0px #528ecc;
  background:linear-gradient(#0041bd, #378de5);
}

.buttonClass:hover {
  background: linear-gradient(#378de5, #79bbff);
  .form_item {
    position: relative;
  }
}

.dropdown_search {
  position: absolute;
  top: 100%;
  width: max-content;
  background-color: #fff;
  border: 1px solid #ccc;
  box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.1);
  z-index: 1;
  border-radius: 5px;
  color:#0a0808;
  margin-top: 1%;
}

.bannercustom{
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  padding: 75px 0;
  min-height: 252px;
  text-align: center;
  -webkit-box-align: end;
      -ms-flex-align: end;
          align-items: flex-end;
  background: -webkit-gradient(linear, left bottom, left top, from(transparent), color-stop(#fff0e5), to(#fff0e5));
  background: linear-gradient(0deg, transparent, #fff0e5, #fff0e5);
  -webkit-box-shadow: 0 -2px 2px 0 rgba(16, 18, 19, 0.1);
          box-shadow: 0 -2px 2px 0 rgba(16, 18, 19, 0.1);
}

.search_header {
  position: relative;
}
.search_header input {
  width: 100px;
  height: 53px;
  border: none;
  border-radius: 148px;
  outline: none;
  padding: 0 40px 0 15px;
  -webkit-transition: 0.6s cubic-bezier(0.25, 1, 0.5, 1);
  transition: 0.6s cubic-bezier(0.25, 1, 0.5, 1);
  background-color: #f8f8f8;
  transition: width 24;
}
.search_header input:hover, .search_header input:focus {
  outline: none;
  width: 100px;
  border-radius: 35px;
  background-color: #ffffff;
  -webkit-box-shadow: 0 2px 3px 0 rgba(16, 18, 19, 0.3);
  box-shadow: 0 2px 3px 0 rgba(16, 18, 19, 0.3);
}
.search_header button {
  top: 12px;
  right: 17px;
  max-width: 16px;
  position: absolute;
}

.banner_section.banner_style_new {
  padding: 0px;
  background: -webkit-gradient(linear, left bottom, left top, color-stop(5%, transparent), color-stop(rgba(141, 239, 255, 0.5)), to(rgba(255, 175, 251, 0.7)));
  background: linear-gradient(0deg, transparent 5%, rgba(141, 239, 255, 0.5), rgba(255, 175, 251, 0.7));
}

.section_space_new{
  padding-top: 20px;
}

.banner_image_3{
  width: 500px;
  margin-top: 97px;
}

.alert-push{
  width: 140px;
}

.notify_message_wrapper{
  padding: 70px;
  border-radius: 30px;
  background-image: linear-gradient(0deg, transparent, #f0f3ff);
}

.search_student {
  position: relative;
}
.search_student input {
  width: 100%;
  height: 53px;
  border: none;
  outline: none;
  padding: 0 40px 0 15px;
  -webkit-transition: 0.6s cubic-bezier(0.25, 1, 0.5, 1);
  transition: 0.6s cubic-bezier(0.25, 1, 0.5, 1);
  border-color: #f0f3ff;
  background-color: #f0f3ff;
  transition: width 24;
}
.search_student input:hover, .search_student input:focus {
  outline: none;
  width: 100%;
  background-color: #ffffff;
  -webkit-box-shadow: 0 2px 3px 0 rgba(16, 18, 19, 0.3);
  box-shadow: 0 2px 3px 0 rgba(16, 18, 19, 0.3);
}
.search_student button {
  top: 12px;
  right: 17px;
  max-width: 16px;
  position: absolute;
}

.right-aligned {
  text-align: right;
  padding-right: 30px;
}

.pagebannerfont p{
  font-size: 15px;
}

.profile{
  width: 845px;
  height: 170px;
}

.instimage{
  border-radius: 70px;
  margin-left: -26px;
}

.studdet{
  margin-top: -140px;
  margin-left: 10px;
}

.colorcontent{
  height: 992px;
  background-color: white;
}

.file{
  border-block-color: lightgray;
  display: block;
  font-size: large;
  margin-top: -5px;
  border-radius: 6px;
  width: 190px;
  margin-left: -14px;
}

.btncolor{
  margin-left: 20px;
  background-color: hsl(0, 0%, 70%);
  color: white;
  border-radius: 10px;
  transition: 2ms;
  box-shadow: 0px 5px 5px rgba(0, 0, 0, 0.2);
}

.btncolor:hover{
  margin-left: 20px;
  background-color: hsl(0, 0%, 60%);
  color: white;
  border-radius: 10px;
}

.scroll_data {
  overflow-y: scroll;
  overflow-x: hidden;
  max-height: 380px;
  margin-top: 0 !important;  /* Removes any top margin */
  border-top: none;          /* Optional: remove border if visible */
}

.dropdown-association{
  bottom: 7px;
  font-size: 15px;
  font-family: Arial;
  width: 180px;
  height: 50px;
  border-width: 1px;
  border: 1px solid rgb(223, 222, 222);
  color: #454444;
  border-top-left-radius: 0px;
  border-top-right-radius: 0px;
  border-bottom-left-radius: 0px;
  border-bottom-right-radius: 0px;
  padding: 10px;
  background-color: #ffffff;
  width: 569px;
}

.dropdown-association:hover{
  color: #454444;
}

/* admin_edit_staff page */
.expense_edit_formstatus{
  margin-left: 600px;
  margin-top: -40px;
}

.form-control-plaintext {
  border: none;
  border-bottom: 1px solid #ced4da;
  border-radius: 0;
  background-color: transparent;
}

.user_search{
  margin-top: -6%;
  margin-left: -22px;
}

.menu_navbar{
  margin-top: -13%;
}

.polaroid {
  width: 30%;
  background-color: white;
  box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
  margin-bottom: 25px;
}

.stud_det {
  display: flex;
  justify-content: space-between;
}

/* Style for the accordion card */
.card {
  border: 1px solid #ddd;
  margin-bottom: 25px;
  border-radius: 4px;
}

/* Style for the card header */
.card-header {
  background-color: #f7f7f7;
  padding: 10px 15px;
  border-bottom: 1px solid #ddd;
  border-radius: 4px 4px 0 0;
  cursor: pointer;
}

/* Style for the collapsed button */
.card-header .btn {
  text-decoration: none;
  color: #333;
  display: block;
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  padding: 0;
  font-size: 16px;
  outline: none;
}

/* Style for the card body */
.card-body {
  display: flex;
  flex-direction: column;
  height: 107%;
  padding: 10px; /* Add padding to provide space between elements */
}

.search-input {
  flex: 0 0 auto; /* Prevent the input from extending */
  margin-bottom: 10px; /* Add some space below the input if needed */
}

/* Style for the collapse */
.collapse {
  display: none;
}

/* Show the collapse content when active */
.collapse.show {
  display: block;
  height: 50%;
  overflow: hidden;
  background-color: #f8f9fa;
}

.subjects .collapse.show {
  height: max-content;
}

/* Additional styling for hover and focus states */
.card-header .btn:hover,
.card-header .btn:focus {
  color: #3b424a;
  text-decoration: none;
}

.collapse_color{
  color: rgb(126, 129, 134);
}
.inst_name{
  margin-left: 64px;
  margin-top: -96px;
  text-transform: uppercase;
}

/* Chrome, Safari, Edge, Opera */
.no-spinner::-webkit-outer-spin-button,
.no-spinner::-webkit-inner-spin-button {
    -webkit-appearance: none !important;
    margin: 0 !important;
}

/* Firefox */
.no-spinner {
    -moz-appearance: textfield !important;
}

.toast {
  width: auto;
  max-width: 100%;
  background-color: #49c8d1;
  border: 1px solid rgba(0, 0, 0, 0.1);
  box-shadow: 0 0.25rem 0.75rem rgba(0, 0, 0, 0.1);
  border-radius: 0.25rem;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.toast-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.5rem 1rem;
  background-color: #49c8d1;
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
  border-top-left-radius: 0.25rem;
  border-top-right-radius: 0.25rem;
  color: antiquewhite;
}

.toast-header .me-auto {
  font-weight: bold;
  margin-right: auto;
}

.toast-body {
  padding: 0.75rem 1rem;
}

.card-body {
  display: flex;
  flex-direction: column;
  height: 420px;
  padding: 10px;
}

.search-input {
  margin-bottom: 10px;
}

.scrollable-list {
  flex: 1;
  overflow-y: auto;
  overflow-x: auto;
  white-space: nowrap;
}

.scrollable-list ul {
  display: flex;
  flex-wrap: nowrap;
  padding: 0;
  margin: 0;
  list-style: none;
  white-space: nowrap;
}

.asst_list {
  margin-top: 10px;
  display: flex;
  flex-wrap: nowrap;
}

.asst_list > div {
  padding: 5px;
}

.instit_image{
  margin-left: -35px;
  height: 100px;
  margin-top: 14px;
}

.list_files{
  width: 150px;
  margin-top: 15px;
}

.doc_images{
  width: 75px;
}

.IDCard{
  width:489px;
  border: 1px solid chocolate;
  border-radius: 10px;
  height: 317px;
  margin-left: -41px;
  margin-top: -39px;
  position: relative;
}

.inst_img_id_card{
  border-radius: 30px;
  margin-top: -2px;
  height: 69px;
}

.parent_info_id{
  margin-left: -75px;
  color: rgb(6, 92, 92);
  font-size: 15px;
}

.bld_grp_id{
  margin-left: -75px;
  color: rgb(6, 92, 92);
  margin-top: -3px;
  font-size: 15px;
}

.address_id{
  margin-left: -75px;
  color: rgb(6, 92, 92);
  margin-bottom: 44px;
}

.id_contact{
  margin-left: -75px;
  color: rgb(6, 92, 92);
}

.id_container{
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(299px, 1fr));
}

.custom-button {
  padding: 1vw;
  background-color: #ffd700;
  border: none;
  font-size: 1em;
  cursor: pointer;
}

.custom-button:hover {
  background-color: #866605;
}

.custom-btn1 {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  height: 2rem;
  padding: 0 1.5rem;
}
.contain_page{
  position: relative;
  margin-top: -14%;
  z-index: 1;
}

.chap_box{
  border-radius: 10px 100px/120px;
  background-color: #f0f3ff;
  height: 120%;
  padding-top: 5%;
}

.stud_profile{
  width: 100%;
  margin-top: -167px;
  position: relative;
  z-index: 1;
}

.logo_contain{
  color: black;
}

.login_btn{
  display: ruby-base-container;
}
.test_tab{
  margin-top: -3%;
}

.test_name{
  margin-top: 12%;
}

.question_tab{
  margin-top: -28%;
}

@media (max-width: 767.98px) {
  .page_heading {
    margin-left: 0 !important;
  }

  .designrow {
    flex-direction: column;
    align-items: center;
  }

  .page_banner.padding_breadcrumb {
    padding-top: 20px !important;
    padding-bottom: 20px !important;
  }
  .details_section.d-flex.justify-content-center {
    min-height: calc(100vh - 40px) !important;
    align-items: stretch !important;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
  }
  .test-main-container {
    min-height: calc(100vh - 40px) !important;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    padding-top: 1.5rem !important;
    padding-bottom: 1.5rem !important;
  }
  .page_content {
    min-height: 100vh;
    background: #f8fafc;
  }
}

@media (min-width: 768px) and (max-width: 991.98px) {
  .page_heading {
    margin-left: 50px !important;
  }
}

.institute{
  color: green;
  margin-top: 3%;
  font-size: 1rem;
}

.instit_image {
  width: 80%;
  height: auto;
  margin-left: 35%;
  margin-top: 10%;
}

.stud_profile {
  flex: 1;
  margin-bottom: 20px;
}

.image_container {
  flex: 0 0 auto;
  padding-left: 20px;
}

@media (min-width: 240px) {
  .institute {
    font-size: 1rem;
    text-align: center;
    margin-top: 6%;
    margin-left: 20%;
  }

  .stud_profile {
    width: 80%;
    margin-top: -100px;
  }

  .instit_image {
    max-width: 50%;
  }

  .image_container {
    max-width: 80px;
  }

  .student_enroll_id{
    font-size: 1rem;
  }

  .stud_name{
    margin-top: 30%;
    font-size: 1.2rem;
  }

}

@media (min-width: 740px) {
  .institute {
    font-size: 1.5rem;
    text-align: center;
  }

  .stud_profile {
    width: 80%;
    margin-top: -100px;
  }

  .instit_image {
    max-width: 70%;
  }

  .image_container {
    max-width: 100px;
  }

  .student_enroll_id{
    font-size: 1rem;
  }

  .stud_name{
    margin-top: 18%;
    font-size: 2rem;
  }
}

/* Large devices (desktops, 992px and up) */
@media (min-width: 990px) {
  .institute {
    font-size: 1.5rem;
    text-align: center;
  }

  .stud_profile {
    width: 70%;
    margin-top:-100px;
  }

  .instit_image {
    max-width: 70%;
  }

  .image_container {
    max-width: 100px;
  }

  .student_enroll_id{
    font-size: 1rem;
  }

  .stud_name{
    margin-top: 0%;
    font-size: 3rem;
  }

}
/* Extra large devices (large desktops, 1200px and up) */
@media (min-width: 1200px) {
  .institute {
    font-size: 2rem;
    text-align: center;
  }
  .stud_profile {
    width: 60%;
    margin-top: -100px;
  }
  .image_container {
    max-width: 100px;
  }

  .instit_image {
    width: 100%;
  }
  .student_enroll_id{
    font-size: 1.3rem;
  }
  .stud_name{
    font-size: 3rem;
    margin-left: 6%;
  }
}

.logout_icon{
  margin-top: -6%;
}

.logout_btn{
  margin-top: -8%;
}

.drop_d_search{
  margin-top: 11%;
  margin-left: -13%;
  width: 130%;
}

.id_container {
  display: flex;
}

.detail_content {
  width: 508px;
  border: 1px solid #ddd;
  box-sizing: border-box;
  height: 338px;
}

.detail_content h6 {
  font-size: 12px;
}

.detail_content p {
  font-size: 10px;
}

.detail_content {
  padding: 5px;
  margin: 5px;
}

.detail_content ul {
  padding: 0;
  font-size: 12px;
}

.detail_content ul li {
  padding: 2px;
  margin: 0;
  font-size: 12px;
}

.decor_item{
  right: 330px;
  bottom: 375px;
  max-width: 154px;
}

.newtonian{
  width: 100%;
}

.decor_item_1{
  left: 255px;
  bottom: 150px;
  max-width: 100px;
}

.file_upload_btn{
  border-color: blue;
  color: white;
  background-color: blue;
  width: 56%;
  height: 68%;
  border-radius: 10px;
}

.question_form{
  margin-top: 470px;
}

@media (min-width: 240px) and (max-width: 790px) {
  .question_form {
    margin-top: 50px !important;
  }
}

.submit-test-modal .modal-dialog {
  max-width: 60%;
  margin: auto;
}

.submit-test-modal .modal-content {
  padding: 2%;
}

.submit-test-modal .modal-title {
  color: red;
  font-size: 2vw;
}

.submit-test-modal .modal-footer {
  display: flex;
  justify-content: center;
  align-items: center;
}

.submit-test-modal .modal-footer .btn {
  background-color: red;
  color: white;
  width: 100%;
  max-width: 300px;
  height: 50px;
  text-align: center;
  line-height: 1.5;
}

@media (min-width: 768px) {
  .submit-test-modal .modal-dialog {
      max-width: 50%;
  }

  .submit-test-modal .modal-title {
      font-size: 1.5vw;
  }

  .submit-test-modal .modal-footer .btn {
      width: 60%;
  }
}

@media (min-width: 992px) {
  .submit-test-modal .modal-dialog {
      max-width: 40%;
  }

  .submit-test-modal .modal-title {
      font-size: 1.2vw;
  }

  .submit-test-modal .modal-footer .btn {
      width: 100%;
  }
}

@media (min-width: 1200px) {
  .submit-test-modal .modal-dialog {
      max-width: 30%;
  }

  .submit-test-modal .modal-title {
      font-size: 1vw;
  }

  .submit-test-modal .modal-footer .btn {
      width: 100%;
  }
}

.submit-test-modal .modal-footer .btn:hover {
  background-color: darkred;
  color: white;
}

.collapsible-header {
  background-color: #f0f0f0;
  border: 1px solid #ccc;
  padding: 10px;
  cursor: pointer;
  margin-bottom: 5px;
  height: 50px;
  line-height: 20px;
  text-align: center;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.5);
}

.dropdown-label{
  white-space: normal;
  word-wrap: break-word;
  display: block;
  padding: 5px;
  overflow-wrap: break-word;
}

.institute_image img {
  width: 100%;
  height: 220px;
  object-fit: fill;
}

.institute_item {
  width: 300px;
  margin: 15px;
  box-sizing: border-box;
}

.fixed-principal {
  position: absolute;
  bottom: 10px;
  right: 20px;
}

.padding_breadcrumb{
  min-height: 100px;
}

.custom-hr {
  border: 1px solid #000;
}

.no-scroll {
  overflow: hidden;
}

.design_rows{
  height: 184px;
}

.handy_pointer{
  cursor: pointer;
}

.buttonColor {
  font-size:15px;
  font-family:Arial;
  width:180px;
  height:50px;
  border-width:1px;
  color: black;
  border-color:#337bc4;
  font-weight:bold;
  border-top-left-radius:5px;
  border-top-right-radius:5px;
  border-bottom-left-radius:5px;
  border-bottom-right-radius:5px;
  background-color: lavender;
}

.card-header-homework {
  background-color: #f7f7f7;
  padding: 10px 15px;
  border-bottom: 1px solid #ddd;
  border-radius: 4px 4px 0 0;
  cursor: pointer;
  width: 245px;
}

.course_item .item_content_1 {
  padding: 7px 30px;
}

.scroll_data_sub{
  overflow-y: scroll;
  overflow-x: hidden;
  max-height: 153px;
}

.card-header_sub {
  background-color: #f7f7f7;
  padding: 10px 15px;
  border-bottom: 1px solid #ddd;
  border-radius: 4px 4px 0 0;
  cursor: pointer;
  margin-bottom: 20px;
  width: 345px;
}

.line_shape_img{
  top: -160px;
  position: relative;
  right: -1442px;
}

.text_breaking{
  word-break: break-all;
  overflow-wrap: break-word;
  white-space: wrap;
  display: flex;
  flex-wrap: wrap;
}

.toggle-password {
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  cursor: pointer;
  color:#3b3d48;
  pointer-events: auto;
}

.payment_mode{
  height: 55px;
}

.sub_docs{
  width: 150px;
  margin-left: 88px;
}

.pdf_format{
  font-size: 48px;
  margin-top: 50px;
}

.attached_image {
  max-width: 300px;
  max-height: 200px;
  margin-top: 10px;
}

.file_link {
  margin-top: 10px;
  display: inline-block;
  color: #007bff;
  text-decoration: none;
}

.file_link:hover {
  text-decoration: underline;
}
@font-face {
  font-family: 'MyCustomFont';
  src:url('/assets/fonts/text_gyre.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
}

.applicant-font {
  font-family: 'MyCustomFont', sans-serif !important;
  font-size: 40px;
}

.content-font {
  font-family: 'MyCustomFont', sans-serif !important;
  font-size: 29px;
}

.paragraph-font {
  font-family: 'MyCustomFont', sans-serif !important;
  font-size: 20px;
}

.select_all_stud{
  position: absolute;
  background-color: #333;
  color: white;
  padding: 5px;
  border-radius: 4px;
  font-size: 12px;
  transform: translateY(-100%); margin-top: -5px;
}

.scroll_sub
{
  overflow-y: scroll;
  overflow-x: hidden;
  max-height:200px;
}

.card-sub {
  display: flex;
  flex-direction: column;
  height: 200px;
  padding: 10px;
}

.chatbox {
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.chatbox-header {
  background-color: #e0e0e0;
  color: #343a40;
}

.chatbox-body {
  max-height: 858px;
  overflow-y: auto;
  background-color: #f9f9f9;
}

.chat-bubble {
  display: flex;
  margin: 10px 0;
  align-items: flex-start;
}

.chat-bubble.sent {
  flex-direction: row-reverse;
}

.chat-avatar {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  overflow: hidden;
  margin: 0 10px;
}

.chat-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.chat-content {
  max-width: 70%;
  background-color: #ffffff;
  padding: 10px 15px;
  border-radius: 15px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.chat-bubble.sent .chat-content {
  background-color: ivory;
}

.chat-info {
  display: flex;
  justify-content: space-between;
  font-size: 0.9rem;
  margin-bottom: 5px;
  color: #000000;
}

.chat-actions {
  margin-top: 10px;
}

.chat-actions .btn {
  font-size: 0.85rem;
}

.page_upper {
  background-color: #fff0e5;
  color: #fff;
  text-align: center;
  padding: 2rem 0;
}

.page_heading {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.breadcrumb_nav li {
  font-size: 1.2rem;
  color: #000000;
}

.comment_area {
  margin-top: -2rem;
}

.comment_card {
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 8px;
  padding: 1.5rem;
  margin-bottom: 1rem;
  transition: box-shadow 0.3s ease;
}

.comment_card:hover {
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.comment_header {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

.comment_message {
  margin-top: 1rem;
  font-size: 1rem;
  color: #555;
}

.attached_image {
  max-width: 100%;
  height: auto;
  margin-top: 1rem;
  border-radius: 5px;
}

.attached_video {
  margin-top: 1rem;
  border-radius: 5px;
}

.comment_hero_name {
  margin: 0;
}

.class-badge {
  cursor: pointer;
  border-block-color: #8d8d8d;
}

.class-badge:hover {
  background-color:#3a10e5;
  color: #f0f0f0;
}

.class-badge.selected {
  background-color: #3a10e5;
  color: white;
}

.badges {
  line-height: 4;
  font-size: 14px;
  font-weight: bold;
  font-family: "Roboto", sans-serif;
  box-shadow: 1px 2px 8px 1px #838789c9;
}

.highlighted {
  border: 2px solid #007bff;
  background-color: rgba(0, 123, 255, 0.1);
}

.comment_area_notify {
  padding: 30px;
  background-color: #f4f7f9;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  max-width: 100%;
  overflow: hidden;
}

.comment_area_title {
  font-size: 2rem;
  color: #2c3e50;
  margin-bottom: 20px;
  text-align: center;
  font-weight: 600;
}

.comments_list_container {
  max-height: 895px;
  overflow-y: auto;
  padding-right: 10px;
}

.comment_item {
  flex-direction: row;
  margin-bottom: 20px;
  padding: 15px;
  border-radius: 20px;
  background-color: #dedede;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

.comment_item:hover {
  transform: translateY(-5px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.comment_hero_thumbnail {
  flex-shrink: 0;
  margin-right: 20px;
}

.comment_hero_thumbnail img {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid #2980b9;
}

.comment_hero_content {
  flex-grow: 1;
  font-family: 'Roboto', sans-serif;
}

.comment_hero_name {
  font-size: 1.2rem;
  color: #34495e;
  font-weight: 500;
}

.comments_post_time {
  display: flex;
  list-style-type: none;
  gap: 15px;
  font-size: 0.9rem;
  color: #7f8c8d;
  justify-content: flex-end;
  padding-left: 0;
}

.received_time {
  display: flex;
  list-style-type: none;
  gap: 15px;
  font-size: 0.9rem;
  color: #7f8c8d;
  justify-content: flex-start;
  padding-left: 0;
}

.comments_post_time li {
  margin-right: 10px;
}

.subject {
  font-size: 1rem;
  color: #2980b9;
  font-weight: 600;
  margin: 10px 0;
}

.comment_item p {
  color: #2c3e50;
  font-size: 1rem;
  line-height: 1.5;
}

.comment_file {
  margin-top: 15px;
}

.comment_file img,
.comment_file video {
  max-width: 100%;
  border-radius: 8px;
  transition: all 0.3s ease;
}

.comment_file img:hover,
.comment_file video:hover {
  transform: scale(1.05);
}

.comment_item.d-flex {
  justify-content: flex-end;
  text-align: right;
}

.encomment_item.d-flex {
  justify-content: flex-end;
  text-align: left;
}

.comment_item.d-flex .comment_hero_thumbnail {
  margin-left: 20px;
}

.comment_item.d-flex .comment_hero_content {
  background-color: #ecf0f1;
  border-radius: 10px;
  padding: 15px;
}

.card_message {
  border: 1px solid #ddd;
  margin-bottom: -5px;
  border-radius: 4px;
}

.message_history_scroll {
  max-height: 750px;
  overflow-y: auto;
  padding-right: 50px;
}

.media_unordered_list_sender{
  cursor: pointer;
  padding-right: 25px;
}

.media_unordered_list_receiver{
  cursor: pointer;
  padding-left: 25px;
}

h1, h2, h3, h4, h5, h6, p, a{
  cursor: default;
}

.comments_post_time_stud {
  display: flex;
  list-style-type: none;
  gap: 15px;
  font-size: 0.9rem;
  color: #7f8c8d;
  padding-left: 0;
}

.cursor-default {
  cursor: default;
}

.unordered_li{
  cursor: pointer;
}

td, th{
  cursor: default;
}

.site_header .container {
  width: 90%;
  max-width: 100%;
  padding-left: 20px;
  padding-right: 20px;
}

.book-preloader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.1);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  perspective: 1000px;
}

.book {
  position: relative;
  width: 200px;
  height: 140px;
  transform-style: preserve-3d;
  transform: rotateX(60deg) rotateY(0deg) rotateZ(0deg);
}

.static-page {  backdrop-filter: blur(6px);

  position: absolute;
  width: 49%;
  height: 100%;
  background: #fffdf7;
  border: 1px solid #ccc;
  box-shadow: inset 0 0 10px rgba(0, 0, 0, 0.1);
  z-index: 0;
}

.static-page.left {
  left: 0;
  border-right: none;
  border-radius: 5px 0 0 5px;
  transform: translateZ(1px);
}

.static-page.right {
  right: 0;
  border-left: none;
  border-radius: 0 5px 5px 0;
  transform: translateZ(-1px);
}

.flipping-pages {
  position: absolute;
  left: 50%;
  top: 0;
  width: 50%;
  height: 100%;
  transform-origin: left center;
  transform-style: preserve-3d;
}

.flip-page {
  position: absolute;
  width: 100%;
  height: 100%;
  background: #fff;
  border: 1px solid #ddd;
  box-shadow: 0 0 3px rgba(0, 0, 0, 0.1);
  transform-origin: left center;
  animation: flipPage 0.5s ease-in-out infinite;
}

.page1 {
  background-color: #f8f4e8;
  animation-delay: 0s;
  z-index: 1;
}

.page2 {
  background-color: #e8f4f8;
  animation-delay: 0.05s;
  z-index: 2;
}

.page3 {
  background-color: #f4e8f8;
  animation-delay: 0.1s;
  z-index: 3;
}

.page4 {
  background-color: #f8f4e8;
  animation-delay: 0.15s;
  z-index: 4;
}
.page5 {
  background-color: #e8f8f4;
  animation-delay: 0.2s;
  z-index: 5;
}
.page6 {
  background-color: #f4e8f8;
  animation-delay: 0.25s;
  z-index: 6;
}
.page7 {
  background-color: #f8f4e8;
  animation-delay: 0.3s;
  z-index: 7;
}
.page8 {
  background-color: #e8f4f8;
  animation-delay: 0.35s;
  z-index: 8;
}
.page9 {
  background-color: #f4e8f8;
  animation-delay: 0.4s;
  z-index: 9;
}
.page10 {
  background-color: #f8f4e8;
  animation-delay: 0.45s;
  z-index: 10;
}
.page11 {
  background-color: #e8f8f4;
  animation-delay: 0.5s;
  z-index: 11;
}
.page12 {
  background-color: #f4e8f8;
  animation-delay: 0.55s;
  z-index: 12;
}
.page13 {
  background-color: #f8f4e8;
  animation-delay: 0.6s;
  z-index: 13;
}
.page14 {
  background-color: #e8f4f8;
  animation-delay: 0.65s;
  z-index: 14;
}
.page15 {
  background-color: #f4e8f8;
  animation-delay: 0.7s;
  z-index: 15;
}
.page16 {
  background-color: #f8f4e8;
  animation-delay: 0.75s;
  z-index: 16;
}
.page17 {
  background-color: #e8f8f4;
  animation-delay: 0.8s;
  z-index: 17;
}
.page18 {
  background-color: #f4e8f8;
  animation-delay: 0.85s;
  z-index: 18;
}
.page19 {
  background-color: #f8f4e8;
  animation-delay: 0.9s;
  z-index: 19;
}
.page20 {
  background-color: #e8f4f8;
  animation-delay: 0.95s;
  z-index: 20;
}

@keyframes flipPage {
  0% {
    transform: rotateY(0deg);
    opacity: 1;
  }
  50% {
    transform: rotateY(-90deg);
    opacity: 0.8;
  }
  100% {
    transform: rotateY(-180deg);
    opacity: 0.2;
  }
}



/* Loading animation
.loading-container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.loading-label {
  color: #333;
  font-size: 16px;
  font-weight: 500;
}

.loading-dots {
  display: flex;
  gap: 6px;
}

.loading-dots .dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: #3498db;
  animation: dot-pulse 1.4s infinite ease-in-out both;
}

.loading-dots .dot-1 {
  animation-delay: -0.32s;
}
.loading-dots .dot-2 {
  animation-delay: -0.16s;
}

@keyframes dot-pulse {
  0%, 80%, 100% {
      transform: scale(0.5);
      opacity: 0.5;
  }
  40% {
      transform: scale(1);
      opacity: 1;
  }
}

.filter-section {
  padding: 20px;
}

.filter-row {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  align-items: flex-end; /* Aligns all items to the bottom */
/* } */

.filter-group {
  display: flex;
  flex-direction: column;
  min-width: 200px;
}

.filter-label {
  margin-bottom: 6px;
  font-weight: 600;
  font-size: 14px;
  color: #333;
}

/* Enhanced dropdown */
.filter-input {
  padding: 10px 12px;
  border-radius: 8px;
  border: 1px solid #ccc;
  background-color: #f9f9ff;
  font-size: 14px;
  transition: all 0.3s ease;
}

.filter-input:focus {
  outline: none;
  border-color: #007bff;
  box-shadow: 0 0 0 3px rgba(0,123,255,0.1);
  background-color: #fff;
}


/* Filter Button - Secondary theme */
.filter-btn {
  background: linear-gradient(135deg, #6c757d, #adb5bd);
  color: white;
  padding: 0.6rem 1.2rem;
  font-weight: 600;
  font-size: 14px;
  border: none;
  border-radius: 8px;
  transition: all 0.3s ease;
}

.filter-btn:hover {
  background: linear-gradient(135deg, #495057, #6c757d);
}

/* Carry Forward Button - Primary theme */
.carry-forward-btn {
  background: linear-gradient(135deg, #007bff, #00c6ff);
  color: white;
  padding: 0.6rem 1.2rem;
  font-weight: 600;
  font-size: 14px;
  border: none;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0, 123, 255, 0.3);
  transition: all 0.3s ease;
}

.carry-forward-btn:hover {
  background: linear-gradient(135deg, #0056b3, #0096c7);
  box-shadow: 0 6px 14px rgba(0, 123, 255, 0.4);
}

.attendance-badge {
  min-width: 130px;
  display: inline-block;
  text-align: center;
}

.min-vh-100 {
  min-height: 100vh !important;
}

.test-main-container {
  max-width: 950px;
  min-width: 0;
  min-height: 540px;
}

.test-title {
  font-size: 1.8rem;
}

.test-badge {
  font-size: 1.1rem;
}

.test-question {
  font-size: 1.25rem;
  letter-spacing: 0.01em;
}

.test-match-container {
  max-width: 100%;
}

.test-match-inner {
  font-size: 1.45rem;
  padding: 2rem 0.5rem;
}

.next-btn {
  margin-top: 1rem !important;
  padding: 0.5rem 2rem !important;
  border-radius: 50px !important;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
  font-weight: 600;
  font-size: 1.25rem;
  border: 0;
  background: linear-gradient(90deg, #007bff 0%, #0056b3 100%);
  letter-spacing: 0.03em;
  transition: background 0.2s;
}
.next-btn:hover, .next-btn:focus {
  background: linear-gradient(90deg, #0056b3 0%, #007bff 100%);
}

.prev-btn {
  margin-top: 1rem !important;
  margin-right: 0.5rem !important;
  padding: 0.5rem 2rem !important;
  border-radius: 50px !important;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
  font-weight: 600;
  font-size: 1.25rem;
  border: 0;
  background: linear-gradient(90deg, #6c757d 0%, #343a40 100%);
  letter-spacing: 0.03em;
  transition: background 0.2s;
}
.prev-btn:hover, .prev-btn:focus {
  background: linear-gradient(90deg, #343a40 0%, #6c757d 100%);
}

.submit-btn {
  margin-top: 1rem !important;
  padding: 0.5rem 2rem !important;
  border-radius: 50px !important;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
  font-weight: 600;
  font-size: 1.25rem;
  border: 0;
  background: linear-gradient(90deg, #28a745 0%, #218838 100%);
  letter-spacing: 0.03em;
  transition: background 0.2s;
}
.submit-btn:hover, .submit-btn:focus {
  background: linear-gradient(90deg, #218838 0%, #28a745 100%);
}

.next-btn,
.prev-btn,
.submit-btn {
  margin-top: 1rem !important;
  padding: 0.5rem 2rem !important;
  border-radius: 12px !important; /* Less rounded, more square */
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
  font-weight: 600;
  font-size: 1.25rem;
  border: 0;
  letter-spacing: 0.03em;
  transition: background 0.2s;
}

.next-btn {
  background: linear-gradient(90deg, #007bff 0%, #0056b3 100%);
}
.next-btn:hover, .next-btn:focus {
  background: linear-gradient(90deg, #0056b3 0%, #007bff 100%);
}

.prev-btn {
  margin-right: 0.5rem !important;
  background: linear-gradient(90deg, #6c757d 0%, #343a40 100%);
}
.prev-btn:hover, .prev-btn:focus {
  background: linear-gradient(90deg, #343a40 0%, #6c757d 100%);
}

.submit-btn {
  background: linear-gradient(90deg, #28a745 0%, #218838 100%);
  color: #fff !important;
}
.submit-btn:hover, .submit-btn:focus {
  background: linear-gradient(90deg, #218838 0%, #28a745 100%);
}

.next-btn-attractive {
  background: linear-gradient(90deg, #4f8cff 0%, #0056b3 100%);
  color: #fff !important;
  border: none;
  border-radius: 10px;
  padding: 0.7rem 2.2rem;
  font-size: 1.2rem;
  font-weight: 600;
  box-shadow: 0 4px 16px 0 rgba(79,140,255,0.12);
  transition: background 0.2s, transform 0.15s;
  letter-spacing: 0.04em;
}
.next-btn-attractive:hover, .next-btn-attractive:focus {
  background: linear-gradient(90deg, #0056b3 0%, #4f8cff 100%);
  color: #fff;
  transform: translateY(-2px) scale(1.03);
}

.prev-btn-attractive {
  background: linear-gradient(90deg, #6c757d 0%, #343a40 100%);
  color: #fff !important;
  border: none;
  border-radius: 10px;
  padding: 0.7rem 2.2rem;
  font-size: 1.2rem;
  font-weight: 600;
  margin-right: 0.5rem;
  box-shadow: 0 4px 16px 0 rgba(108,117,125,0.12);
  transition: background 0.2s, transform 0.15s;
  letter-spacing: 0.04em;
}
.prev-btn-attractive:hover, .prev-btn-attractive:focus {
  background: linear-gradient(90deg, #343a40 0%, #6c757d 100%);
  color: #fff;
  transform: translateY(-2px) scale(1.03);
}

.submit-btn-attractive {
  background: linear-gradient(90deg, #28a745 0%, #218838 100%);
  color: #fff !important;
  border: none;
  border-radius: 10px;
  padding: 0.7rem 2.2rem;
  font-size: 1.2rem;
  font-weight: 600;
  box-shadow: 0 4px 16px 0 rgba(40,167,69,0.12);
  transition: background 0.2s, transform 0.15s;
  letter-spacing: 0.04em;
}
.submit-btn-attractive:hover, .submit-btn-attractive:focus {
  background: linear-gradient(90deg, #218838 0%, #28a745 100%);
  color: #fff;
  transform: translateY(-2px) scale(1.03);
}

.user-dropdown-menu {
  min-width: 150px;
  max-width: 180px;
  left: auto;
  right: 0;
}

/* Test Results Progress Bar Animations and Effects */
@keyframes bounce {
  0% { transform: translateY(0px); }
  100% { transform: translateY(-10px); }
}

@keyframes celebration {
  0% { transform: scale(1) rotate(0deg); opacity: 1; }
  25% { transform: scale(1.2) rotate(5deg); opacity: 0.8; }
  50% { transform: scale(1.1) rotate(-5deg); opacity: 0.9; }
  75% { transform: scale(1.3) rotate(3deg); opacity: 0.7; }
  100% { transform: scale(1) rotate(0deg); opacity: 1; }
}

@keyframes sparkle {
  0%, 100% { opacity: 0; transform: scale(0.5); }
  50% { opacity: 1; transform: scale(1.2); }
}

.celebration-container {
  position: relative;
  display: inline-block;
}

.celebration-emoji {
  font-size: 1.2rem;
  text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
  display: inline-block;
}

.progress {
  overflow: visible !important;
}

.progress-bar {
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.3);
}

/* Custom Progress Bar Colors */
.progress-bar-red {
  background: linear-gradient(45deg, #dc3545, #e85563) !important;
}

.progress-bar-orange {
  background: linear-gradient(45deg, #fd7e14, #ffa94d) !important;
}

.progress-bar-green {
  background: linear-gradient(45deg, #28a745, #6f42c1) !important;
}

/* Explosion Container for Emojis */
.emoji-explosion-container {
  position: relative;
  overflow: visible;
}

.emoji-explosion {
  position: absolute;
  font-size: 1.5rem;
  pointer-events: none;
  z-index: 10;
}

.emoji-explosion.top-left {
  top: -10px;
  left: -10px;
  animation: explosion-tl 2s ease-in-out infinite;
}

.emoji-explosion.top-right {
  top: -10px;
  right: -10px;
  animation: explosion-tr 2s ease-in-out infinite;
}

.emoji-explosion.bottom-left {
  bottom: -10px;
  left: -10px;
  animation: explosion-bl 2s ease-in-out infinite;
}

.emoji-explosion.bottom-right {
  bottom: -10px;
  right: -10px;
  animation: explosion-br 2s ease-in-out infinite;
}

.emoji-explosion.center-top {
  top: -15px;
  left: 50%;
  transform: translateX(-50%);
  animation: explosion-ct 2s ease-in-out infinite;
}

@keyframes explosion-tl {
  0% { transform: scale(0) translate(0, 0); opacity: 0; }
  50% { transform: scale(1.2) translate(-10px, -10px); opacity: 1; }
  100% { transform: scale(0.8) translate(-20px, -20px); opacity: 0; }
}

@keyframes explosion-tr {
  0% { transform: scale(0) translate(0, 0); opacity: 0; }
  50% { transform: scale(1.2) translate(10px, -10px); opacity: 1; }
  100% { transform: scale(0.8) translate(20px, -20px); opacity: 0; }
}

@keyframes explosion-bl {
  0% { transform: scale(0) translate(0, 0); opacity: 0; }
  50% { transform: scale(1.2) translate(-10px, 10px); opacity: 1; }
  100% { transform: scale(0.8) translate(-20px, 20px); opacity: 0; }
}

@keyframes explosion-br {
  0% { transform: scale(0) translate(0, 0); opacity: 0; }
  50% { transform: scale(1.2) translate(10px, 10px); opacity: 1; }
  100% { transform: scale(0.8) translate(20px, 20px); opacity: 0; }
}

@keyframes explosion-ct {
  0% { transform: translateX(-50%) scale(0) translateY(0); opacity: 0; }
  50% { transform: translateX(-50%) scale(1.3) translateY(-15px); opacity: 1; }
  100% { transform: translateX(-50%) scale(0.9) translateY(-30px); opacity: 0; }
}

.course_item {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border-radius: 10px;
  overflow: visible;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.course_item:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}


@media (max-width: 768px) {
  .settings-sidebar {
    margin-bottom: 30px;
  }

  .settings-button {
    min-height: 50px;
    font-size: 13px;
  }
}

.settings-button.active {
  background: #007bff;
  border-color: #007bff;
  color: #fff;
}

.settings-button span {
  word-wrap: break-word;
  max-width: 100%;
}

.settings-button.active {
  background: #007bff;
  border-color: #007bff;
  color: #fff;
}

.settings-button span {
  word-wrap: break-word;
  max-width: 100%;
}

/* Settings Panel Responsive Styles */
.settings-sidebar {
  background: #fff;
  border-radius: 8px;
  padding: 20px;
  margin-bottom: 20px;
}


.settings-button {
  width: 100%;
  min-height: 60px;
  margin-bottom: 10px;
  padding: 12px 16px;
  border: 1px solid #dee2e6;
  border-radius: 6px;
  background: #fff;
  color: #495057;
  text-decoration: none;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  transition: all 0.3s ease;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.4;
}

.settings-button:hover {
  background: #f8f9fa;
  border-color: #007bff;
  color: #007bff;
  text-decoration: none;
}

/* =============================================================================
   UNIFIED PRINT DOCUMENT STYLES (Fee Receipt & History Fee)
   ============================================================================= */

/* Dynamic Print Page Settings - adapts to printer selection */
@page {
  margin: 15mm;
  /* Size will adapt based on browser/printer selection */
}

/* Base Styles for Print Documents */
.print-document-body {
  font-family: 'Georgia', serif;
  margin: 0;
  padding: 0;
  background-color: #fff;
  color: #333;
  line-height: 1.5;
}

.print-container {
    width: 100%;
    max-width: none;
    min-height: auto;
    margin: 0 auto;
    padding: 15mm;
    box-sizing: border-box;
    position: relative;
}

/* Header Styles */
.print-header {
  text-align: center;
  margin-bottom: 10mm;
  position: relative;
  border-bottom: 2px solid #191a1c !important;
  top:25px;
}

.print-school-name {
  font-size: clamp(22px, 5vw, 29px);
  font-weight: bold;
  margin-bottom: 4px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.print-school-motto {
  font-style: italic;
  font-size: clamp(11px, 3vw, 14px);
  margin-bottom: 6px;
  color: #555;
}

.print-school-address {
  font-size: clamp(10px, 3vw, 13px);
  margin-bottom: 8px;
}

.print-title {
  font-size: clamp(16px, 4vw, 20px);
  text-decoration: underline;
  margin: 12px 0;
  font-weight: bold;
}

/* Information Section */
.print-info {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 10mm;
  font-size: clamp(12px, 3.5vw, 15px);
}

@media (min-width: 500px) {
  .print-info {
    flex-direction: row;
    justify-content: space-between;
    flex-wrap: wrap;
  }
}

.print-info-label {
  font-weight: bold;
  display: inline-block;
  min-width: 45px;
}

/* Table Styles */
.print-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 10mm;
  font-size: clamp(11px, 3vw, 14px);
  border:1.5px solid gray;
}

.print-table th {
  text-align: left;
  padding: 8px;
  color:#000000 !important;
  font-weight: bold;
  background-color: #f8f9fa !important;
  border:1.3px solid gray! important;
}

.print-table td {
  padding: 6px 8px;
  vertical-align: top;
  border:1.3px solid gray !important;
}

.print-table .right {
  text-align: right;
}

.print-table .center {
  text-align: center;
}

.print-total-row {
  font-weight: bold;
  border-top: 1.5px solid #333;
  border-bottom: 1.5px solid #333;
  background-color: #f8f9fa;
}

/* Section Styles */
.print-section-title {
  font-size: clamp(14px, 4vw, 16px);
  font-weight: bold;
  margin: 15px 0 10px 0;
  color: #2c3e50;
  border-bottom: 2px solid black;
  padding-bottom: 5px;
}

.print-section {
  margin-bottom: 12mm;
}

.print-fee-item {
  display: flex;
  justify-content: space-between;
  padding: 2px 0;
  border-bottom: 1px dotted #ccc;
  font-size: clamp(10px, 3vw, 12px);
}

.print-fee-amount {
  font-weight: bold;
}

/* Toggle Section */
.print-toggle-section {
  display: flex;
  align-items: center;
  margin-bottom: 10px;
}

.print-toggle-switch {
  margin-left: 10px;
}

/* Watermark - Made bigger */
.print-watermark {
  position: absolute;
  opacity: 0.05;
  font-size: clamp(120px, 30vw, 200px); /* Increased size */
  font-weight: bold;
  top: 40%;
  left: 50%;
  transform: translateX(-50%);
  z-index: 0;
  pointer-events: none;
  writing-mode: vertical-rl;
  text-orientation: mixed;
}

/* New section below student name */
.print-student-section {
  margin: 10mm 0 5mm 0;
  padding: 5mm 0;
  border-top: 1px solid #eee;
  border-bottom: 1px solid #eee;
}

/* Signatures - Always in row direction for all sizes */
.print-signatures {
  display: flex;
  justify-content: space-between;
  margin-top: 10mm;
  padding-top: 8mm;
  border-top: 1px solid #ddd;
  flex-direction: row; /* Always row */
  flex-wrap: wrap;
  gap: 10mm;
}

.print-signature-block {
  text-align: center;
  font-weight: bold;
  font-size: clamp(12px, 3vw, 14px);
  flex: 1;
  min-width: 40mm; /* Reduced min-width to fit A5 */
}

/* A5 Size adjustments - Keep signatures in row */
@media print and (max-width: 148mm) {
    .print-signatures {
      flex-direction: row; /* Force row even on A5 */
      gap: 5mm;
    }
    .print-signature-block {
      min-width: 30mm; /* Further reduced for A5 */
      margin-bottom: 0; /* Remove bottom margin */
    }
}

/* Keep all other existing styles below exactly as they were */
.print-watermark-logo {
  position: absolute;
  opacity: 0.08;
  width: clamp(180px, 30vw, 365px);
  height: auto;
  top: 38%;
  left: 50%;
  transform: translateX(-50%);
  z-index: 0;
  pointer-events: none;
}

.print-document-number {
  position: absolute;
  top: 1mm;
  right: 2mm;
  font-weight: bold;
  font-size: clamp(12px, 3.5vw, 14px);
}

/* Print/No-Print */
.print-no-print {
  display: none;
}

/* Screen-specific Styles */
@media screen {
    .print-document-body {
      background-color: #f5f5f5;
      display: flex;
      justify-content: center;
      align-items: center;
      min-height: 100vh;
      padding: 20px;
    }

    .print-container {
      background-color: #fff;
      box-shadow: 0 0 20px rgba(0,0,0,0.1);
      border-radius: 8px;
      height: auto;
      min-height: 85vh;
      max-height: 90vh;
      overflow-y: auto;
    }

    .print-no-print {
      display: block;
      text-align: center;
      margin-top: 10mm;
    }

    .print-btn {
      background: #2c3e50;
      color: #fff;
      border: none;
      padding: 12px 30px;
      cursor: pointer;
      font-family: inherit;
      border-radius: 4px;
      font-size: 15px;
      transition: all 0.3s;
      margin: 10px 5px;
      width: 100%;
      max-width: 200px;
    }

    .print-btn:hover {
      background: #1a252f;
      transform: translateY(-2px);
    }

    .print-btn.cancel {
      background: #e74c3c;
    }

    .print-btn.cancel:hover {
      background: #c0392b;
    }
}

/* Print-specific Styles - Adapts to any page size */
@media print {
    /* Hide all elements except print content */
    body * {
        visibility: hidden;
    }

    /* Show only print-document-body and its children */
    .print-document-body,
    .print-document-body * {
        visibility: visible;
    }

    /* Position print content at top of page */
    .print-document-body {
        position: absolute;
        left: 0;
        top: 0;
        width: 100%;
        background: none;
    }

    .print-container {
        box-shadow: none;
        border-radius: 0;
        margin: 0;
        padding: 10mm;
        height: auto;
        min-height: auto;
        max-height: none;
        overflow: visible;
        page-break-inside: avoid;
    }

    .print-no-print {
      display: none !important;
    }

    .print-watermark {
      opacity: 0.1;
    }

    .print-watermark-logo {
      opacity: 0.21;
      margin-top: 20%;
    }

    /* Ensure text scales properly for any page size */

    .print-school-motto,
    .print-title,
    .print-info,
    .print-table,
    .print-section-title,
    .print-document-number {
      font-size: initial !important;
    }
    .print-school-name{
      font-size: clamp(28px, 5vw, 35px);
    }
    .print-school-address{
      font-size: clamp(10px, 3vw, 10px);
    }
    /* Force page breaks for large documents */
    .print-section {
      page-break-inside: none;
    }

    /* Optimize table printing */
    .print-table {
      page-break-inside: none;
    }

    .print-table tr {
      page-break-inside: none;
      page-break-after: none;
      border: 1.3px solid gray !important;
    }

    .print-table th {
      page-break-after: none;
      border: 1.3px solid gray !important;
    }
}

/* A5 Size (148mm × 210mm) */
@media print and (max-width: 148mm) {
    .print-container {
      padding: 4mm;
    }

    .print-school-name {
      font-size: clamp(23px, 5vw, 21px);
      margin-top: 20px;
    }

    .print-title {
      font-size: 3px;
    }

    .print-info-label{
      font-size: clamp(12px, 3vw, 18px);
    }

    .print-info-value{
      font-size: clamp(10px, 3vw, 15px);
    }

    .print-info,
    .print-table {
      font-size: 3px;
    }

    .print-table th,
    .print-table td {
      padding: 4px;
      font-size: 12px !important;
      border: 1.3px solid gray !important;
    }

    .print-watermark {
      font-size: 100px;
    }

    .print-watermark-logo {
      margin-top: 20%;
      width: 120px;
    }
}

/* A6 Size (105mm × 148mm) */
@media print and (max-width: 105mm) {
  .print-container {
    padding: 5mm;
  }

  .print-school-name {
    font-size: 14px;
  }

  .print-title {
    font-size: 12px;
  }

  .print-info,
  .print-table {
    font-size: 6px;
  }

  .print-table th,
  .print-table td {
    padding: 2px;
    font-size: 2px;
    border: 1.3px solid gray !important;
  }

  .print-watermark {
    font-size: 60px;
  }

  .print-watermark-logo {
    width: 80px;
  }

  /* Simplify layout for very small paper */
  .print-info {
    flex-direction: column;
    gap: 3px;
  }

  .print-info-label {
    min-width: 35px;
  }
}

/* Portrait/Landscape adjustments */
@media print and (orientation: portrait) {
  .print-container {
    padding: 8mm;
  }
}

@media print and (orientation: landscape) {
  .print-container {
    padding: 5mm 10mm;
  }
}
@media print {
  .print-watermark-logo {
    position: absolute;
    opacity: 0.15;
    width: 265px; /* Fixed size for consistent printing */
    height: auto;
    top: 49%;
    left: 50%;
    transform: translate(-50%, -50%) !important; /* Center precisely */
    z-index: 0;
    pointer-events: none;
    -webkit-print-color-adjust: exact !important; /* Force visibility */
    print-color-adjust: exact !important;
    page-break-inside: avoid;
    break-inside: avoid;
  }

  /* Prevent any parent elements from interfering with positioning */
  body, .print-container, .print-document-body {
    position: relative !important;
    margin: 4px !important;
    padding: 4px !important;
  }

  /* Ensure no scaling is applied during printing */
  @page {
    size: auto;
    margin: 0mm;
  }
}
.print-date-top-left{
    position: absolute;
    top: 1mm;
    right: 5mm;
    left:1%;
    font-size: clamp(12px, 3.5vw, 14px);
}
/* End Unified Print Document Styles */

/* ID Card Print Styles */
@media print {
    .print-id-card-container {
        padding: 5mm !important;
        margin: 0 !important;
    }

    .id_container {
        padding: 0 !important;
        margin: 0 !important;
    }

    .detail_content {
        page-break-inside: avoid;
        page-break-after: auto;
        padding: 5mm !important;
        margin-bottom: 5mm !important;
    }

    .IDCard {
        border: 2px solid #000;
        padding: 5mm;
        margin: 0;
        background: white;
        box-shadow: none !important;
    }

    .inst_img_id_card {
        max-width: 50px !important;
        max-height: 50px !important;
    }

    .stuidcard img {
        max-width: 80px !important;
        max-height: 100px !important;
    }

    .idphone {
        background: #333 !important;
        color: white !important;
        -webkit-print-color-adjust: exact;
        print-color-adjust: exact;
    }

    /* Ensure colors print correctly */
    .text-danger {
        color: #dc3545 !important;
        -webkit-print-color-adjust: exact;
        print-color-adjust: exact;
    }

    /* Adjust font sizes for ID cards */
    .IDCard h6 {
        font-size: 10px !important;
        line-height: 1.2 !important;
        margin-bottom: 2px !important;
    }

    .IDCard h5 {
        font-size: 12px !important;
        line-height: 1.2 !important;
        margin-bottom: 2px !important;
    }

    .parent_info_id,
    .id_contact,
    .address_id {
        font-size: 9px !important;
    }
}

/* End ID Card Print Styles */

/* Student Status Stamp Styles */
.status-stamp {
  background: var(--stamp-bg, rgba(220, 53, 69, 0.1));
  border: 3px solid var(--stamp-color, #dc3545);
  border-radius: 15px;
  color: var(--stamp-color, #dc3545);
  font-size: 22px;
  font-weight: bold;
  padding: 15px 25px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.3), inset 0 2px 4px rgba(255,255,255,0.2);
  letter-spacing: 2px;
  text-transform: uppercase;
  text-align: center;
  font-family: 'Courier New', monospace;
  text-shadow: 1px 1px 2px rgba(0,0,0,0.1);
  border-style: double;
  border-width: 4px;
  min-width: 120px;
  backdrop-filter: blur(1px);
  z-index: 10;
  pointer-events: none;
  position: relative;
  margin: 0 auto;
  margin-bottom: 10px;
}
.status-stamp-enrolled {
    --stamp-color: #007bff;
    --stamp-bg: rgba(0, 123, 255, 0.1);
}
.status-stamp-promoted {
    --stamp-color: #28a745;
    --stamp-bg: rgba(40, 167, 69, 0.1);
}
.status-stamp-failed {
    --stamp-color: #6c757d;
    --stamp-bg: rgba(108, 117, 125, 0.1);
}
.status-stamp-dropped {
    --stamp-color: #fd7e14;
    --stamp-bg: rgba(253, 126, 20, 0.1);
}
.status-stamp-transferred {
    --stamp-color: #ffc107;
    --stamp-bg: rgba(255, 193, 7, 0.1);
}
.status-stamp-graduated {
    --stamp-color: #17a2b8;
    --stamp-bg: rgba(23, 162, 184, 0.1);
}
.status-stamp .status-stamp-inner {
  position: absolute;
  top: -2px;
  left: -2px;
  right: -2px;
  bottom: -2px;
  border: 1px solid rgba(255,255,255,0.3);
  border-radius: 13px;
  pointer-events: none;
}


/* Match Questions Styling */
.match-questions-container, .match-answers-container {
  background: #f8f9fa;
  border-radius: 8px;
  padding: 1rem;
  min-height: 300px;
}

.match-question-item, .match-answer-item {
  transition: all 0.2s ease;
}

.match-question-item:hover, .match-answer-item:hover {
  transform: translateY(-2px);
}

.match-question-item, .match-answer-item {
  transition: all 0.2s ease;
}

.question-card, .answer-card {
  transition: all 0.3s ease;
  border: 2px solid transparent !important;
}

.question-card:hover, .answer-card:hover {
    box-shadow: 0 4px 12px rgba(0,123,255,0.15) !important;
}

.question-btn, .answer-btn {
  border: none !important;
  background: transparent !important;
  font-size: 0.9rem;
  line-height: 1.3;
  min-height: 45px;
  transition: all 0.2s ease;
}

.question-btn:hover, .answer-btn:hover {
  transform: scale(1.02);
}

.answer-btn[draggable="true"] {
  cursor: grab;
}

.answer-btn[draggable="true"]:active {
  cursor: grabbing;
}

.dragging {
  transform: rotate(5deg);
  box-shadow: 0 8px 20px rgba(0,0,0,0.3) !important;
  z-index: 1000;
}

/* Match result colors */
.btn-success {
  background-color: #28a745 !important;
  border-color: #28a745 !important;
  color: white !important;
}

.btn-danger {
  background-color: #dc3545 !important;
  border-color: #dc3545 !important;
  color: white !important;
}

.btn-outline-danger {
  border-color: #dc3545 !important;
  color: #dc3545 !important;
}

/* Responsive improvements for mobile */
@media (max-width: 768px) {
    .match-questions-container, .match-answers-container {
      margin-bottom: 1rem;
      min-height: 200px;
      padding: 0.75rem;
    }

    .question-btn, .answer-btn {
      min-height: 40px;
      font-size: 0.85rem;
    }
}

/* Add some spacing for better visual separation */
.match-questions-container h6, .match-answers-container h6 {
  border-bottom: 2px solid #dee2e6;
  padding-bottom: 0.5rem;
  margin-bottom: 1rem;
}

/* Match Questions Text Visibility Improvements */
.match-question-item .question-btn {
  background-color: #f8f9fa !important;
  border: 2px solid #0d6efd !important;
  color: #212529 !important;
  transition: all 0.2s ease;
}

.match-question-item .question-btn:hover:not(:disabled) {
  background-color: #e7f1ff !important;
  transform: translateY(-1px);
}

.match-answer-item .answer-btn {
  background-color: #ffffff !important;
  border: 2px solid #198754 !important;
  color: #212529 !important;
  transition: all 0.2s ease;
  cursor: grab;
}

.match-answer-item .answer-btn:hover:not(:disabled) {
  background-color: #f0fff4 !important;
  transform: translateY(-1px);
}

.match-answer-item .answer-btn:active:not(:disabled) {
  cursor: grabbing;
}

.match-answer-item .answer-btn.dragging {
  background-color: #e3f2fd !important;
  border-color: #1976d2 !important;
  cursor: grabbing;
}

/* Ensure text is always visible */
.question-btn small,
.answer-btn small {
  color: #212529 !important;
  font-weight: 700 !important;
  text-shadow: none !important;
}

/* Container improvements */
.match-questions-container,
.match-answers-container {
  min-height: 200px;
  padding: 1rem;
  background-color: #f8f9fa;
  border-radius: 8px;
  border: 1px solid #dee2e6;
}

.match-questions-container h6,
.match-answers-container h6 {
  color: #495057 !important;
  font-weight: 600;
  text-align: center;
  margin-bottom: 1rem;
  padding: 0.5rem;
  background-color: #ffffff;
  border-radius: 4px;
  border: 1px solid #dee2e6;
}

/* Assessment Results Review Styling */
.border-left {
  border-left: 4px solid #007bff !important;
}

.result-card-correct {
  background: linear-gradient(135deg, #d4edda 0%, #c3e6cb 100%);
  border-color: #28a745 !important;
}

.result-card-incorrect {
  background: linear-gradient(135deg, #f8d7da 0%, #f5c6cb 100%);
  border-color: #dc3545 !important;
}

.result-card-partial {
  background: linear-gradient(135deg, #fff3cd 0%, #ffeaa7 100%);
  border-color: #ffc107 !important;
}

.results-summary-card {
  background: linear-gradient(135deg, #e3f2fd 0%, #bbdefb 100%);
}

.answer-item-correct {
  background-color: rgba(40, 167, 69, 0.1);
  border-left: 3px solid #28a745;
  padding: 8px 12px;
  border-radius: 4px;
  margin-bottom: 5px;
}

.answer-item-incorrect {
  background-color: rgba(220, 53, 69, 0.1);
  border-left: 3px solid #dc3545;
  padding: 8px 12px;
  border-radius: 4px;
  margin-bottom: 5px;
}

.explanation-box {
  background-color: #f8f9fa;
  border-left: 4px solid #ffc107;
  border-radius: 0 4px 4px 0;
  padding: 12px 16px;
  margin-top: 10px;
}

.marks-badge {
  font-size: 0.9rem;
  padding: 6px 12px;
}

/* Responsive adjustments for results review */
@media (max-width: 768px) {
    .result-card-correct,
    .result-card-incorrect,
    .result-card-partial {
        margin-left: 0;
        margin-right: 0;
    }

    .card-header h6 {
        font-size: 0.95rem;
    }
}

/* Modal Styles for Member/Student Selection */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1050;
}

.modal-content {
    background: white;
    border-radius: 8px;
    width: 90%;
    max-width: 720px;
    max-height: 100vh;
    overflow-y: auto;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
    border-bottom: 1px solid #e9ecef;
}

.modal-header h3 {
    margin: 0;
    color: #333;
}

.close-btn {
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: #666;
    padding: 0;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.close-btn:hover {
    color: #333;
}

.modal-body {
    padding: 1rem;
}

.search-container {
    margin-bottom: 1rem;
}

.search-input {
    width: 100%;
    padding: 0.5rem;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 1rem;
}

.member-list, .student-list {
    max-height: 300px;
    overflow-y: auto;
}

.member-item {
    padding: 0.75rem;
    border: 1px solid #e9ecef;
    border-radius: 4px;
    margin-bottom: 0.5rem;
    transition: all 0.2s ease;
}

.member-item:hover {
    background-color: #f8f9fa;
    border-color: #dee2e6;
}

.member-item.selected {
    background-color: #e3f2fd;
    border-color: #1976d2;
}

.member-info {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.member-name {
    font-weight: 500;
    color: #333;
}

.member-details {
    margin-top: 0.5rem;
    display: flex;
    gap: 0.5rem;
}

.amount-input, .desc-input {
    flex: 1;
    padding: 0.375rem;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 0.875rem;
}

.amount-input {
    max-width: 120px;
}

.modal-footer {
    padding: 1rem;
    border-top: 1px solid #e9ecef;
    display: flex;
    justify-content: flex-end;
}

.association-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.association-buttons .btn {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.association-buttons .badge {
    font-size: 0.75rem;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .modal-content {
        width: 95%;
        max-height: 90vh;
    }

    .member-details {
        flex-direction: column;
    }

    .amount-input {
        max-width: none;
    }

    .association-buttons {
        flex-direction: column;
    }
}

/* Main Page WASM Loading Indicator Starts */
#loading {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #f8f9fa;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    flex-direction: column;
}

.spinner {
    width: 50px;
    height: 50px;
    border: 5px solid #e9ecef;
    border-top: 5px solid #007bff;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-bottom: 20px;
}

.loading-text {
    font-family: 'Poppins', sans-serif;
    font-size: 18px;
    color: #007bff;
    font-weight: 500;
    text-align: center;
    max-width: 80%;
    margin-top: 20px;
}

.loading-subtext {
    font-family: 'Poppins', sans-serif;
    font-size: 14px;
    color: #6c757d;
    font-weight: 400;
    margin-top: 10px;
    text-align: center;
}

.progress-container {
    width: 80%;
    max-width: 300px;
    height: 8px;
    background-color: #e9ecef;
    border-radius: 4px;
    margin-top: 20px;
    overflow: hidden;
}

.progress-bar {
    height: 100%;
    background-color: #007bff;
    width: 0%;
    transition: width 0.3s ease;
}

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

@keyframes pulse {
    0% { opacity: 0.6; }
    50% { opacity: 1; }
    100% { opacity: 0.6; }
}

.loading-text.pulse {
    animation: pulse 2s infinite;
}

#app-placeholder {
    display: none;
}
/* Main Page WASM Loading Indicator Ends */
