 @import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600&family=Space+Grotesk:wght@500;600&display=swap');
/* custom scroll bar */
::-webkit-scrollbar {width: 0px !important;height:3px !important}
::-webkit-scrollbar-track {background: #242526;}
::-webkit-scrollbar-thumb {background: #3A3B3C;}
.danger-btn {
  color: rgb(253, 54, 54) !important;
  background: rgba(253, 54, 54, 0.1) !important;
  width: fit-content;
  padding: 3px 10px;
  border-radius: 10px;
}
.clear-btn {
  background: transparent;
  color: #50acf7;
  cursor: pointer;
  padding: 10px 50px;
  width: fit-content;
  border: 1px solid gray;
  border-radius: 5px;
  outline: none;
}
.input-con input[type=submit] {
  background: #0051A0;
  color: #fff;
  cursor: pointer;
  padding: 10px 50px;
  width: fit-content;
}
.input-con input[type=submit]:disabled {
  opacity: 0.7;
  cursor: not-allowed;
}
.success-btn {
  color: rgb(20, 99, 0) !important;
  background: rgba(20, 99, 0, 0.1) !important;
  width: fit-content;
  padding: 3px 10px;
  border-radius: 10px;
}
.info-btn {
  color: rgb(10, 146, 187) !important;
  background: rgba(54, 207, 253, 0.1) !important;
  width: fit-content;
  padding: 3px 10px;
  border-radius: 10px;
}
.warning-btn {
  color: rgb(255, 153, 0) !important;
  background: rgba(255, 166, 0, 0.1) !important;
  width: fit-content;
  padding: 3px 10px;
  border-radius: 10px;
}

.excel-input, .excel-select {
  border: none;
  width: 100%;
  min-height: 100%;
  padding: 5px 10px;
  background: transparent;
  outline: none;
}
td.editable { cursor: pointer; }
    td.error { background-color: #ffe0e0; }
    .valid { color: green; }
    .invalid { color: red; }
        * {
            transition-property: color, background-color, border-color, text-decoration-color, fill, stroke;
            transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
            transition-duration: 200ms;
        }

        .hide-scrollbar::-webkit-scrollbar {display:none}
  .hide-scrollbar {-ms-overflow-style: none; scrollbar-width: none;}

        .stat-card {
            transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        }
        
        .stat-card:hover {
            transform: translateY(-8px);
            box-shadow: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
        }

        .welcome-bg {
            background: linear-gradient(135deg, #1e3a8a 0%, #3b82f6 100%);
        }
        
        .course-card {
            transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        }
        
        .course-card:hover {
            transform: translateY(-6px);
            box-shadow: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
        }

        .tab-active {
            border-bottom: 3px solid #1e3a8a;
            color: #1e3a8a;
            font-weight: 600;
        }
        
        .dark .tab-active {
            border-bottom: 3px solid #60a5fa;
            color: #60a5fa;
        }
        .payroll-card {
            transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        }
        
        .payroll-card:hover {
            transform: translateY(-6px);
        }
        
        /* Add this to your <style> tag */
.modal-content {
    animation: modalPopIn 0.3s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}

.modal-con {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0,0,0,0.7);
  z-index: 900;
  display: none;
  justify-content: center;
  align-items: center;
  padding: 20px;
}
.modal-con.modal-top {
  align-items: flex-start;
}
.modal-con.active {
  display: flex;
}
.modal-body {
  width: 90%;
  max-height: 95vh;
  overflow-y: auto;
  max-width: 900px;
  background: #fff;
  border-radius: 20px;
  padding: 20px;
  position: relative;
}
.modal-body > .close-modal {
  position: absolute;
  top: -10px;
  right: -10px;
  z-index: 50;
  font-size: 35px;
  cursor: pointer;
  font-weight: 100;
  padding: 10px;
  width: 70px;
  height: 70px;
  color: #fff;
  background: rgba(0,0,0,0.4);
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 50%;
}
.modal-body .modal-content {
  border: none !important;
}
.small-con .modal-body {
  max-width: 400px;
}
.transp-btn {
  padding: 5px 10px;
  color: #222;
  background: #fff;
  border-radius: 5px;
  outline: none;
  border: 1px solid #ccc;
  cursor: pointer;
}
.dark-btn {
  padding: 5px 10px;
  background: #0051A0;
  color: #fff;
  border-radius: 5px;
  outline: none;
  border: 1px solid #0051A0;
  cursor: pointer;
}

@keyframes modalPopIn {
    from {
        opacity: 0;
        transform: scale(0.85) translateY(40px);
    }
    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}
 .classroom-card {
            transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        }
        
        .classroom-card:hover {
            transform: translateY(-8px);
            box-shadow: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
        }
        .attendance-card {
            transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        }
        
        .present { background-color: #10b981; color: white; }
        .absent  { background-color: #ef4444; color: white; }
        .late    { background-color: #f59e0b; color: white; }

        .student-row:hover {
            background-color: #f8fafc;
        }
        .dark .student-row:hover {
            background-color: #1e2937;
        }
        .exam-card {
            transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        }
        
        .exam-card:hover {
            transform: translateY(-8px);
            box-shadow: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
        }
        .notification-item {
            transition: all 0.2s ease;
        }
        
        .notification-item:hover {
            background-color: #f8fafc;
        }
        .dark .notification-item:hover {
            background-color: #1e2937;
        }

        .unread {
            border-left: 4px solid #1e3a8a;
        }
        .event-card {
            transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        }
        
        .event-card:hover {
            transform: translateY(-6px);
        }

        .tab-active {
            border-bottom: 3px solid #1e3a8a;
            color: #1e3a8a;
            font-weight: 600;
        }
        .dark .tab-active {
            border-bottom: 3px solid #60a5fa;
            color: #60a5fa;
        }
        .profile-avatar {
            transition: all 0.3s ease;
        }
        
        .profile-avatar:hover {
            transform: scale(1.05);
        }

/* The switch - the box around the slider */
.switch {
  position: relative;
  display: inline-block;
  width: 60px;
  height: 34px;
}

/* Hide default HTML checkbox */
.switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

/* The slider */
.switch-slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #ccc;
  -webkit-transition: .4s;
  transition: .4s;
}

.switch-slider:before {
  position: absolute;
  content: "";
  height: 26px;
  width: 26px;
  left: 4px;
  bottom: 4px;
  background-color: white;
  -webkit-transition: .4s;
  transition: .4s;
}

.switch-box:checked + .switch-slider {
  background-color: #2196F3;
}

.switch-box:focus + .switch-slider {
  box-shadow: 0 0 1px #2196F3;
}
code, pre {
    font-family:SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono","Courier New",monospace;
    font-size:1em
}
code{
    font-size:87.5%;
    color:#e83e8c;
    word-break:break-word
}

.switch-box:checked + .switch-slider:before {
  -webkit-transform: translateX(26px);
  -ms-transform: translateX(26px);
  transform: translateX(26px);
}

.subs-selected, .opts-selected,
.opts-selected2 {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  gap: 15px;
  flex-wrap: wrap;
  padding: 10px;
}
.sub-selected, .opt-selected,
.opt-selected2 {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  gap: 15px;
  border-radius: 5px;
  font-size: 13px;
  margin-bottom: 10px;

}
.light-btn {
  padding: 5px 10px;
  color: #0051A0;
  background: rgba(0, 140, 255, 0.2);
  border-radius: 5px;
  outline: none;
  border: none;
  cursor: pointer;
  
}

.timetable-table td, .timetable-table th {
    border: 1px solid rgba(0,0,0,0.2);
}