/*
Click nbfs://nbhost/SystemFileSystem/Templates/Licenses/license-default.txt to change this license
Click nbfs://nbhost/SystemFileSystem/Templates/Other/CascadeStyleSheet.css to edit this template
*/
/* 
    Created on : 05-Sept-2023, 8:00:23 pm
    Author     : naeem.tabsyst
*/
:root {
    --jm-box-shadow: rgba(0, 0, 0, 0.16) 0px 1px 4px;
    --jm-box-shadow-large: rgba(0, 0, 0, 0.16) -2px 5px 4px;
}

:root[data-bs-theme=dark] {
    --jm-box-shadow: rgba(255, 255, 255, 0.16) 0px 1px 3px inset;
    --jm-box-shadow-large: rgba(255, 255, 255, 0.16) 0px 1px 3px inset;
}

@view-transition {
    navigation: auto;
}

body {
    /* width: 100vw; */
}

html,
body {
    font-size: 14px;
    height: 100%;
    padding: 0;
    margin: 0;
}

table {
    width: 100% !important;
}

#sidebar-nav {
    width: 180px;
    /* margin-top: 30px; */

}

#sidebar-nav .list-group-item {
    /* background-color: #3f51b5 !important; */
    /* margin-top: 0.5rem; */
    /* border-bottom: 1px solid white; */
}

#sidebar-container{
    position: relative;
     padding-top: 46px;
      height: 100vh;
}

#sidebar {
    position: sticky;
   
    /* background-color: #3f51b5; */
    /* box-shadow: var(--jm-box-shadow); */
    

}

@media screen and (max-width: 768px) {
    /* #sidebar-nav {
        width: 62px;
    } */
}

#top-header {
    position: fixed;
    top: 0;
    min-height: 50px;
    width: 100vw;
    /* border-bottom: 1px solid #dee2e6; */
    background-color: white;
    z-index: 11;

}

 [data-bs-theme=dark] #top-header{
    background-color: #212529;
}

.sidebar-footer {
    position: fixed;
    bottom: 0;
    z-index: 11;
    width: 180px;
    height: 46px;
}

/* #global-container{
    margin-top: 46px;
} */
#main-container {
    overflow: auto;
    width: calc(100vw - 180px);
    /* background-color: var(--bs-body-bg); */
    background-color:#f5f5f5;
    height: 100vh;
    padding-top: 46px !important;
    /* padding-top: 5px; */
    /* padding-left: 5px; */
}
 [data-bs-theme=dark] #main-container{
    background-color: #1e1e1e;
}


#sign-in-container {
    display: flex;
    align-items: center;
    padding-top: 40px;
    padding-bottom: 40px;
    /*background-color: #f5f5f5;*/
    height: 100vh;
    text-align: center;

}

.form-signin {
    width: 100%;
    max-width: 330px;
    padding: 15px;
    margin: auto;
}

.form-signin .checkbox {
    font-weight: 400;
}

.form-signin .form-floating:focus-within {
    z-index: 2;
}

.form-signin input[type="email"] {
    margin-bottom: -1px;
    border-bottom-right-radius: 0;
    border-bottom-left-radius: 0;
}

.form-signin input[type="password"] {
    margin-bottom: 10px;
    border-top-left-radius: 0;
    border-top-right-radius: 0;
}

.ttip {
    cursor: pointer;
}



.inputTable-td {
    padding: 0px !important;
}

.inputTable-input {
    border: none;
    width: 100%;
    height: 36px;
    border-radius: 0;
    background-color: unset;
}

.cash-for-weigh-prepend {
    padding-top: 6px;
    padding-bottom: 6px;
    padding-left: 12px;
    padding-right: 12px;
    background-color: var(--bs-gray-200);
    border-top-left-radius: 0.375rem;
    border-bottom-left-radius: 0.375rem;
    color: var(--bs-dark)
}

.cash-for-weigh-input {
    border-top-left-radius: 0px;
    border-bottom-left-radius: 0px;
}

.section-title {
    font-size: 1rem;
    font-weight: bold;
    /*padding-bottom: 1rem;*/

}



@media screen and (max-width: 600px) {
    #main-board-rate-header-div {
        /* max-width: 200px; */
        font-size: 10px;
        overflow-x: scroll;
    }
}

.cursor-pointer {
    cursor: pointer;
}

.bg-purple {
    background-color: blueviolet;
    color: white;
}

.no-select {
    -webkit-user-select: none;
    /* Safari */
    -ms-user-select: none;
    /* IE 10 and IE 11 */
    user-select: none;
    /* Standard syntax */
}


.form-check-input:checked.form-check-success {
    background-color: #28a745;
    border-color: #28a745;
}

.flover_select-select-box label {
    margin-bottom: 0.5rem;
}

.loadview-link {
    cursor: pointer;
}

.loadview-link:hover {
    box-shadow: var(--jm-box-shadow);
}

.loadview-link.active {
    border-bottom: 1px solid #296efd;
}

.brm_not_updated {
    font-size: 10px;
    padding: 3px;
    border: 1px solid red;
    border-radius: 5px;
    color: red;
    animation: blink 1s infinite;

}

.top-ico {
    background: var(--bs-light);
    padding: 0;
    font-size: 9px;
    position: absolute;
    top: -5%;
    left: 60%;
      border-radius: 5px;

}
 [data-bs-theme=dark] .top-ico {
    background: var(--bs-dark);
       top: -5%;
    left: 60%;
  
  }

  .top-ico-dash{
      font-size: 12px;
  }

@keyframes blink {
    0% {
        opacity: 1;
    }

    50% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

.superscript-container {
    position: relative;
}

.superscript-container>span {
    position: absolute;
    top: 0;
    right: 0;
}

.breathe {
    animation: breatheAnimation 3s ease-in-out infinite;
    opacity: 1;
}

@keyframes breatheAnimation {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.4;
    }
}

.course_badge-container {
    padding: 3px 5px;
    border-radius: 5px;
}

.course_badge-course_name {
    /* position: absolute; */
    /* filter: invert(100%) hue-rotate(180deg); */
    color: white;
    /* base color doesn’t matter much */
    /* mix-blend-mode: difference; */
    mix-blend-mode: exclusion;
}

.schedule-cell{

    cursor: pointer;
    min-height: 40px;
    width: 100%;
    padding: 5px;
    min-width: 250px;
    font-size: 12px;
    /* position: relative; */
    /* z-index: 9; */
}

.schedule-td {

    padding: 0px !important;

}

.schedule-badge{
 
    padding: 5px;
    /* height: auto; */
    width: fit-content;
    border-radius: 5px;
    /* z-index: 10; */
       box-shadow: var(--jm-box-shadow);
         position: absolute;

}
.student-profile-schedule-container .fixed-schedule-badge,.student-profile-schedule-container .permanent-schedule-badge,.student-profile-schedule-container .schedule-badge{
      position: unset;

}

.student-profile-schedule-container .schedule-badge.context-active .schedule-badge-overlay{
height: 48px;

}
.student-profile-schedule-container .permanent-schedule-badge.context-active .schedule-badge-overlay{
height: 48px;

}


.schedule-badge.active .schedule-badge-overlay{
  background: repeating-linear-gradient(
    45deg,                      /* diagonal angle */
    rgba(0, 0, 0, 0.3),         /* semi-transparent line */
    rgba(255, 255, 255, 0.3) 4px,     /* line thickness */
    transparent 2px,            /* start transparent after line */
    transparent 10px            /* spacing between lines */
  );

}

.schedule-badge-overlay{
  position: absolute;
  width: 100%;
  height: 100%;
  top:0;
  left:0;
  pointer-events: none;

}

.schedule-badge-notification-container{
    position: absolute;
    top: -5px;
    left: -4px;
}
.schedule-badge-notification-bg {

    position: relative;
    padding: 0px 5px;
    border-radius: 10px;
    height: 20px;
    
}
.schedule-badge-notification-icon {
      font-size: 8px;
    padding: 0px 2px;
    border-radius: 10px;
    height: auto;
}
.schedule-badge-quickschudler {
    /* position: absolute; */
    padding: 5px;
    /* height: auto; */
    width: fit-content;
    border-radius: 5px;

}



.schedule-cell:hover {
    border-style: dashed !important;
    border-color: var(--bs-primary);
    border-width: 2px;
}

/* table.schedule-list {
    border-collapse: collapse !important;
} */

.schedule-timeline {
    width: 2px;
    background-color: red;
    opacity: 0.5;
    height: 10px;
    position: absolute;
    top: -12px;
    z-index: 1;
      pointer-events: none;
}
.schedule-timeline-teacher {
    width: 2px;
    background-color: red;
    opacity: 0.5;
    height: 50px;
    position: absolute;
    bottom: 0;
     z-index: 1;
     pointer-events: none;
}
.filter-highlight{
     text-decoration: underline wavy 1px;
  text-underline-offset: 1px;
}



.schedule-badge:not(.current-enrollment):hover {
 filter: none !important;

}


.current-enrollment {

  border: 0.5px solid transparent;
  /* border-radius: 8px; optional */
  animation: borderHighlight 1.5s infinite;
  
}


.current-enrollment::before {
    pointer-events: none;
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 3px; /* border thickness */
  background: linear-gradient(90deg, #ffffff, #9d9d9d00, #242424);
  background-size: 300% 100%;
  animation: movingBorder 3s linear infinite;
  -webkit-mask: 
    linear-gradient(#fff 0 0) content-box, 
    linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
          mask-composite: exclude;
}

@keyframes movingBorder {
  0% { background-position: 0% 25%; }
  25% { background-position: 25% 50%; }
  50% { background-position: 50% 75%; }
  75% { background-position: 75% 100%; }
  100% { background-position: 100% 50%; }
}



 .schedule-cell.active {
    background-color: #6ea9ff78;
}

.student-activity-log-description{
     max-width: 450px;
    text-overflow: ellipsis;
    overflow: hidden;
    white-space: nowrap;
     transition: max-width 0.4s ease-in-out;
}
.student-activity-log-description:hover{
      white-space: wrap;
}

.schedule-invalid-td{
      background: repeating-linear-gradient(
    45deg,                      /* diagonal angle */
    rgba(0, 0, 0, 0.3),         /* semi-transparent line */
    rgba(255, 255, 255, 0.3) 4px,     /* line thickness */
    transparent 2px,            /* start transparent after line */
    transparent 10px            /* spacing between lines */
  );
}

.teacher-current_day td{
    background-color: #eefef1;
}
[data-bs-theme=dark] .teacher-current_day td{
    background-color: #6a796d;
}


.fixed-schedule-badge,.permanent-schedule-badge{
   position: relative;
    padding: 5px;
    /* height: auto; */
    width: fit-content;
    border-radius: 5px;
    border: 1px solid black;
             position: absolute;
           
}
[data-bs-theme=dark]  .fixed-schedule-badge,[data-bs-theme=dark] .permanent-schedule-badge{
    border: 1px solid rgb(255, 255, 255);
}


/* Attach this to your element */
.schedule-last_schedule {
  animation: fadeInOut 1s ease-in-out infinite;
}
#dev_server_badge{
  animation: fadeInOut 1s ease-in-out infinite;
}

/* keyframes */
@keyframes fadeInOut {
  0%   { opacity: 0; }
  50%  { opacity: 1; }
  100% { opacity: 0; }
}

.card {

    box-shadow:  0 0.125rem 0.25rem rgba(0, 0, 0, 0.075) !important;
}
 [data-bs-theme=dark] .card {

    box-shadow: 0 0.125rem 0.2rem 0rem rgb(0 0 0 / 67%) !important;
}


.btn{
    /* box-shadow: var(--bs-box-shadow-sm) !important;  */
}

#schedule-bulk_actions_container{
    position: fixed;
    /* bottom: 0; */
    right: 0;
    z-index: 1;
    background-color: white;
    padding: 8px;
    padding-right: 20px;
        box-shadow: var(--bs-box-shadow-lg) !important;
        border-top-left-radius: 5px;
        border-bottom-left-radius: 5px;
        /* opacity: 0.5; */
        /* filter: blur(3px); */
}
#schedule-badge_bulk_actions_container{
    position: fixed;
    bottom: 50%;
    right: 0;
    z-index: 10;
    background-color: white;
    padding: 8px;
    padding-right: 20px;
        box-shadow: var(--bs-box-shadow-lg) !important;
        border-top-left-radius: 5px;
        border-bottom-left-radius: 5px;
        /* opacity: 0.5; */
        /* filter: blur(3px); */
}

.student-profile-schedule-container #schedule-bulk_actions_container{
    position: fixed;
    bottom: 180px;

    /* width: fit-content; */
}
.teacher-profile-schedule-container #schedule-bulk_actions_container{
    position: fixed;
    bottom: 180px;

    /* width: fit-content; */
}

td.schedule-td{
    min-height: 60px !important;
}
.schedule-cell{
    min-height: 60px !important;
}




/* hide everywhere */
.schedule-subject_name,
.schedule-ccur_name,
.schedule-feetype_name,
.schedule-fr_name {
  display: none;
}

/* show only when inside .student-profile-schedule-container */
.student-profile-schedule-container .schedule-subject_name,
.student-profile-schedule-container .schedule-ccur_name,
.student-profile-schedule-container .schedule-feetype_name,
.student-profile-schedule-container .schedule-fr_name {
  display: block; /* or inline-block / block — use whichever fits your markup */
}

 .student-profile-schedule-container .schedule-aclevel-badge{
font-size: 16px;
}

.schedule-badge:hover .schedule-subject_name,.schedule-badge:hover  .schedule-ccur_name,.schedule-badge:hover  .schedule-fr_name ,.schedule-badge:hover .schedule-feetype_name{
    display: block;
    /* transition: display 3s ease-in; */
   
}

.schedule-badge:hover{
     box-shadow: var(--jm-box-shadow-large);
   
     z-index: 3;
     
}
.permanent-schedule-badge{
     box-shadow: var(--jm-box-shadow);
}
.permanent-schedule-badge:hover{
     box-shadow: var(--jm-box-shadow-large);
        z-index: 3;
          background-color: #d7d7d7e0;
}
[data-bs-theme=dark] .permanent-schedule-badge:hover{

          background-color: #020202;
}
.permanent-schedule-badge:hover .schedule-subject_name,.permanent-schedule-badge:hover  .schedule-ccur_name,.permanent-schedule-badge:hover  .schedule-fr_name,.permanent-schedule-badge:hover .schedule-feetype_name{
    display: block;
    /* transition: display 3s ease-in; */
}

.custom-schedule-badge:hover{
     box-shadow: var(--jm-box-shadow-large);
   
     z-index: 3;
     
}
.custom-schedule-badge:hover .schedule-subject_name,.custom-schedule-badge:hover .schedule-ccur_name,.custom-schedule-badge:hover .schedule-fr_name,.custom-schedule-badge:hover .schedule-feetype_name{
    display: block;
    /* transition: display 3s ease-in; */
}


 .schedule-student_name{
    max-width: 97px;
    text-overflow: ellipsis;
    overflow: hidden;
    white-space: nowrap;
   
}
.schedule-badge:hover .schedule-student_name{
      max-width: 1000px;
 }
.fixed-schedule-badge:hover .schedule-student_name{
      max-width: 1000px;
 }
.permanent-schedule-badge:hover .schedule-student_name{
      max-width: 1000px;
 }
.custom-schedule-badge:hover .schedule-student_name{
      max-width: 1000px;
 }

 .schedule-badge:hover .schedule-aclevel-badge{
font-size: 16px;
}
.loadview-a{
    text-decoration: none;
    color: inherit;
}
.form-check-label{
    cursor: pointer;
}

.student-profile-schedule-container #schedule-bulk_create_permanent_schedule{
    display: block !important;
}
.teacher-profile-schedule-container #schedule-bulk_create_permanent_schedule{
    display: block !important;
}

.teacher_attendance_update-row[data-type='booked'] td{
        text-decoration: underline wavy 1px;
  text-underline-offset: 1px;
}
table.schedule-list{
    width: 100%;
}
#schedule_loading_container {
    width: 100%;
    position: sticky;
    top: 0;
    z-index: 3;
}

.my-popup {
    text-align: left !important;   /* default is center */
    /* you can also adjust width, margin, padding, etc. */
}

.my-html {
    text-align: left !important;   /* for the HTML content */
}
       .my-html table {
               border-collapse: collapse;
               width: 100%;
             }
             .my-html table, 
             .my-html th, 
             .my-html td {
               border: 1px solid #333;
             }
             .my-html th, 
             .my-html td {
               padding: 5px;
               text-align: left;
             }




[data-bs-theme=dark] .tagify__input::before {
       color: #ccc !important;
  
}
[data-bs-theme=dark] .tagify__input::after {
       color: #ccc !important;
  
}


.dt-custom-search{
    min-width: 320px !important;
}


table.table tbody tr:hover td {
    background-color: #d7d7d7e0 !important;
  
}
[data-bs-theme=dark] table.table tbody tr:hover td {
    background-color: #020202 !important;
  
}
table.table tbody tr td {
    transition: background-color 0.2s;
}
.enrollment_quickscheduler-schedule_slot:hover,.enrollment_quickscheduler-schedule_slot.context-active{
    border: 1px solid black;
}

.schedule-badge.context-active .schedule-badge-overlay{
  background: rgb(0, 0, 0);
  opacity: 0.5;
  border-radius: 5px;

}
.permanent-schedule-badge.context-active .schedule-badge-overlay{
  background: rgb(0, 0, 0);
  opacity: 0.5;
  border-radius: 5px;

}

.tagify__tag>div::before {
    inset: unset !important;
}
.tagify__tag {
    background-color: var(--bs-secondary);
    margin-right: 2px;
    border-radius: 5px;
  
}
span.tagify__tag-text {
      color: var(--bs-light) !important;
}

/* Read-more container */
.rm-container {
  position: relative;
  overflow: hidden;
  text-overflow: ellipsis;
  transition: max-height 300ms ease;
  will-change: max-height;
}

/* collapsed state (height when closed) */
.rm-collapsed {
  max-height: 4.5em; /* default collapsed height (adjustable) */
}

/* expanded state */
.rm-expanded {
  max-height: 2000px; /* large enough to show full content */
}



/* Button */
.rm-toggle {
  display: inline-block;
  margin-top: 0.35em;
  cursor: pointer;
  color: #007bff;
  text-decoration: underline;
  background: none;
  border: none;
  padding: 0;
  font: inherit;
  position: absolute;
  bottom: 0;
  right: 0;
}

.rm-container p{
    margin: 0 !important;
}


.custom-schedule-badge{
 
    padding: 5px;
    /* height: auto; */
    width: fit-content;
    border-radius: 5px;
    /* z-index: 10; */
       box-shadow: var(--jm-box-shadow);
    
    cursor: pointer;
}