.teacher-view {
  background: #fff;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  border: 1px solid #e9e9e9;
  border: 1px solid #313131;
}
.teacher-top-bar {
  background: #fff;
  padding: 15px;
  border-radius: 10px;
  border: 1px solid #e9e9e9;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}
.teacher-top-bar .btn {
  border-radius: 6px;
  padding: 8px 18px;
  font-size: 14px;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 6px;
  flex: 1;
  justify-content: center;
  min-width: 150px;
}
.teacher-top-bar {
  gap: 15px;
}
.teacher-stat-card {
  background: #ffffff;
  border-radius: 20px;
  padding: 24px;
  position: relative;
  overflow: hidden;
  border: 1px solid #f1f5f9;
  box-shadow:
    0 4px 12px rgba(15, 23, 42, 0.04),
    0 12px 30px rgba(15, 23, 42, 0.06);
  transition: all 0.3s ease;
  font-family: "Exo 2", sans-serif;
}
.teacher-stat-card:hover {
  transform: translateY(-4px);
  box-shadow:
    0 10px 25px rgba(15, 23, 42, 0.08),
    0 20px 40px rgba(15, 23, 42, 0.1);
}
.teacher-stat-card .value {
  font-size: 34px;
  font-weight: 700;
  color: #0f172a;
  line-height: 1;
  margin-bottom: 8px;
}
.teacher-stat-card .title {
  font-size: 14px;
  font-weight: 500;
  color: #64748b;
  letter-spacing: 0.3px;
}
.teacher-stat-card .stat-icon {
  width: 58px;
  height: 58px;
  border-radius: 16px;
  background: rgba(37, 99, 235, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
}
.teacher-stat-card .stat-icon i {
  font-size: 26px;
  color: #2563eb;
}
.teacher-icon-box {
  width: 45px;
  height: 45px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  color: #fff;
}
.teacher-bg-blue {
  background: #0d6efd;
}
.teacher-bg-green {
  background: #198754;
}
.teacher-bg-yellow {
  background: #ffc107;
}
.teacher-bg-red {
  background: #dc3545;
}
.teacher-quick-card {
  border: 1px solid #eee;
  border-radius: 10px;
  background: #fff;
  cursor: pointer;
  transition: 0.3s;
  padding: 20px;
  text-align: center;
}

.teacher-quick-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.08);
}
.teacher-top-bar {
  background: #fff;
  padding: 12px;
  border-radius: 12px;
  box-shadow: rgba(0, 0, 0, 0.05) 0px 2px 10px;
}
/* Buttons */
.teacher-btn {
  border: none;
  padding: 12px 20px 10px 20px;
  border-radius: 25px;
  background: #fff;
  color: #313131;
  font-size: 14px;
  transition: 0.3s;
  box-shadow: rgba(17, 17, 26, 0.1) 0px 0px 16px;
}
.teacher-btn:hover {
  transform: translateY(-2px);
  background: #0b5ed7;
  color: #fff;
}
.teacher-btn-danger {
  background: #dc3545;
  color: #fff;
}
.teacher-btn-danger:hover {
  background: #bb2d3b;
}
.teacher-search-input {
  min-width: 260px;
  border-radius: 25px;
}
.teacher-search-box .input-group-text {
  border-radius: 25px 0 0 25px;
}
@media (max-width: 768px) {
  .teacher-top-bar .btn {
    flex: 100%;
  }
}
.teacher-profile-card {
  border-radius: 18px;
  height: auto !important;
  transition: 0.3s;
  box-shadow: rgba(99, 99, 99, 0.2) 0px 2px 8px 0px !important;
  border-left: 2px solid #0d6efd !important;
}

.teacher-profile-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15) !important;
}
.personal-details {
  border: 1px solid #313131;
  padding: 10px;
  border-radius: 5px;
}
.personal-details p {
  margin-top: -23px;
  margin-left: 20px;
  letter-spacing: 0.7px;
  background-color: #fff;
  display: inline-block;
  position: absolute;
}
.teacher-form {
  position: relative;
  background-color: #fff;
  padding: 20px;
  border-radius: 10px;
  overflow: hidden;
}
.teacher-form::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 600px;
  height: 600px;
  background: url("../img/logo.png") no-repeat center;
  background-size: contain;
  transform: translate(-50%, -50%);
  opacity: 0.04;
  z-index: 0;
  pointer-events: none;
}
/* .teacher-form > * {
  position: relative;
  z-index: 1;
} */
.teacher-form .form-group {
  margin-bottom: 8px;
}
.teacher-form .form-label {
  display: inline-block;
  margin-bottom: 3px;
  font-size: 13.5px;
  color: #111;
  background: #fff;
  padding: 0 6px;
  position: relative;
  top: 10px;
  left: 13px;
}
.teacher-form .classic-input {
  width: 100%;
  padding: 14px 12px 14px 12px;
  border: 1px solid #d1d5db;
  border-radius: 8px;
  font-size: 15px;
  background-color: #fff;
  outline: none;
  transition: all 0.25s ease;
  height: 52px;
  line-height: 1.2;
  box-sizing: border-box;
}
.teacher-form .classic-input:focus {
  border-color: #000;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
}
.teacher-form .gender-box {
  display: flex;
  gap: 10px;
  margin-top: 8px;
}
.teacher-form .gender-box input {
  display: none;
}
.teacher-form .gender-box label {
  flex: 1;
  text-align: center;
  padding: 10px 0;
  border: 1.5px solid #d1d5db;
  border-radius: 8px;
  font-size: 14px;
  cursor: pointer;
  transition: all 0.25s ease;
  background: #fff;
}
.teacher-form .gender-box label:hover {
  border-color: #000;
}
.teacher-form .gender-box input:checked + label {
  border-color: #000;
  background: #000;
  color: #fff;
  font-weight: 600;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}
.teacher-form select.classic-input {
  appearance: none; /* default arrow remove */
  -webkit-appearance: none;
  -moz-appearance: none;
  background: #fff
    url('data:image/svg+xml;utf8,<svg fill="%23000" height="20" viewBox="0 0 20 20" width="20" xmlns="http://www.w3.org/2000/svg"><path d="M5 7l5 5 5-5z"/></svg>')
    no-repeat right 10px center;
  background-size: 16px;
  padding-right: 35px;
  cursor: pointer;
}
.textarea-classic {
  height: 150px !important;
}
.add-salary-btn {
  padding: 3px 15px 2px 15px !important;
  font-size: 12px !important;
}
.custom-btn-teacher {
  padding: 7px 35px;
  border-radius: 30px;
  border: none;
  font-weight: 500;
  transition: 0.3s ease;
  margin-left: 8px;
}
.reset-btn-teacher {
  background: #ff0000;
  color: #fff;
}
.reset-btn-teacher:hover {
  background: #ddd;
}
.submit-btn-teacher {
  background: linear-gradient(135deg, #0d6efd, #6610f2);
  color: #fff;
}
.submit-btn-teacher:hover {
  opacity: 0.9;
  transform: translateY(-1px);
}
.file-preview a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  font-size: 13px;
  border-radius: 20px;
  background: #eef4ff;
  color: #0d6efd;
  border: 1px solid #d0e2ff;
  text-decoration: none;
  transition: all 0.3s ease;
}

.file-preview a:hover {
  background: #0d6efd;
  color: #fff;
  transform: translateY(-1px);
}
.main-wrapper {
  height: calc(100vh - 60px); /* navbar height */
}
/* Sidebar full height + scroll */
.teacher-sidebar {
  height: calc(100vh - 60px);
  overflow-y: auto;
  background: #1e293b;
  padding: 15px;
}
/* Content full height + scroll */
.content-scroll {
  height: calc(100vh - 60px);
  overflow-y: auto;
}
.teacher-sidebar .teacher-btn {
  width: 100%;
  margin-bottom: 10px;
  text-align: left;
}
.teacher-sidebar::-webkit-scrollbar,
.content-scroll::-webkit-scrollbar {
  width: 5px;
}
/* Special fix for medium-large screens */
@media (max-width: 1400px) and (min-width: 1200px) {
  .teacher-sidebar {
    height: calc(100vh - 60px);
    overflow-y: auto;
  }
  .content-scroll {
    height: calc(100vh - 60px);
    overflow-y: auto;
    padding-right: 10px; /* scrollbar space */
  }
}
/* MOBILE VIEW FIX */
@media (max-width: 768px) {
  .teacher-sidebar {
    height: auto;
    background: #1e293b;
    padding: 15px;
    overflow: hidden;
  }
  .teacher-sidebar .teacher-btn {
    width: 100%;
    margin-bottom: 10px;
    text-align: left;
    border-radius: 12px;
  }
}

/* profile card start here*/
.teacher-profile-card-single {
  background: #fff;
  overflow: hidden;
}
/* Header */
.teacher-profile-card-single .profile-header {
  background: #1e293b;
  color: #fff;
  padding: 25px 30px;
}
.teacher-profile-card-single .profile-left {
  display: flex;
  align-items: center;
}
.teacher-profile-card-single .profile-img {
  width: 100px;
  height: 100px;
  border-radius: 20px;
  border: 3px solid #fff;
  object-fit: cover;
}
.teacher-profile-card-single .profile-name {
  font-size: 20px;
  font-weight: 600;
}
.teacher-profile-card-single .profile-role {
  font-size: 13px;
  opacity: 0.8;
}
/* Right Info */
.teacher-profile-card-single .profile-info {
  text-align: right;
  font-size: 13px;
}
.teacher-profile-card-single .profile-info div {
  margin-bottom: 3px;
}
/* Section */
.teacher-profile-card-single .section-title {
  font-weight: 600;
  font-size: 15px;
  margin-bottom: 12px;
  color: #1e2a38;
}
.teacher-profile-card-single .info-box {
  background: #f8f9fb;
  padding: 10px;
  border-radius: 6px;
  margin-bottom: 8px;
  font-size: 13px;
}
/* Stats */
.teacher-profile-card-single .stat-box {
  border: 1px solid #eee;
  border-radius: 8px;
  text-align: center;
  padding: 12px;
}
.teacher-profile-card-single .stat-box h5 {
  margin: 0;
  font-size: 18px;
}
.teacher-profile-card-single .stat-box p {
  margin: 0;
  font-size: 12px;
  color: #777;
}
/* Buttons */
.teacher-profile-card-single .btn-custom {
  background: #1e2a38;
  color: #fff;
  border-radius: 6px;
  padding: 7px 14px;
}
.teacher-profile-card-single .btn-custom:hover {
  background: #16202b;
}
.teacher-single-cards {
  height: auto;
  border: 1px solid #0b5ed7;
  padding: 10px;
  border-radius: 10px;
}
.teacher-profile-card-single table thead tr th {
  font-size: 13px !important;
}
.teacher-profile-card-single table tbody tr td {
  font-size: 13px;
}
.teacher-profile-card-single .view-btn {
  border-radius: 6px;
  padding: 4px 30px !important;
  font-size: 13px;
  transition: 0.3s;
}
.teacher-profile-card-single .view-btn:hover {
  background: #1e2a38;
  color: #fff;
  border-color: #1e2a38;
}
.teacher-profile-card-single .status-badge {
  padding: 5px 12px;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 600;
  display: inline-block;
}

/* Active */
.teacher-profile-card-single .status-badge.active {
  background: #e6f4ea;
  color: #1e7e34;
  border: 1px solid #c3e6cb;
}

/* Inactive */
.teacher-profile-card-single .status-badge.inactive {
  background: #fdeaea;
  color: #c82333;
  border: 1px solid #f5c6cb;
}
#forgotModal {
  z-index: 9999;
}
.custom-modal-teacher {
  border-radius: 15px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
  border: none;
  padding: 10px;
}

/* Header Icon Circle */
.custom-modal-teacher .icon-box {
  width: 60px;
  height: 60px;
  background: #0d6efd;
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: auto;
  font-size: 22px;
  box-shadow: 0 5px 15px rgba(13, 110, 253, 0.4);
}
/* Inputs */
.custom-modal-teacher .modal-body input {
  border-radius: 10px;
  padding: 10px;
  border: 1px solid #ddd;
  transition: 0.3s;
}
.custom-modal-teacher .modal-body input:focus {
  border-color: #0d6efd;
  box-shadow: 0 0 8px rgba(13, 110, 253, 0.2);
}
/* Buttons */
.custom-modal-teacher .modal-body .btn {
  border-radius: 25px;
  font-weight: 500;
  padding: 10px;
}
/* Smooth animation */
.custom-modal-teacher .modal.fade .modal-dialog {
  transform: scale(0.9);
  transition: all 0.3s ease;
}
.custom-modal-teacher .modal.show .modal-dialog {
  transform: scale(1);
}
.attendance-card {
  border-radius: 8px;
}
.attendance-card .staff-img {
  width: 90px;
  height: 90px;
  object-fit: cover;
}
.attendance-card .summary-box {
  border-radius: 10px;
  transition: 0.3s;
}
.attendance-card .summary-box:hover {
  transform: translateY(-3px);
}
.attendance-card .table thead th {
  background: #1e293b;
  color: #fff;
  font-size: 14px;
}
.attendance-card .table tbody td {
  font-size: 13px;
}
.attendance-card .status-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 14px;
  border-radius: 30px;
  font-size: 13px;
  font-weight: 500;
  border: none !important;
}
.attendance-card .badge-present {
  background: #e6f7ee;
  color: #1b7a4b;
}
.attendance-card .badge-absent {
  background: #fdeaea;
  color: #b42318;
}
.attendance-card .badge-late {
  background: #fff4e5;
  color: #b54708;
}
.attendance-card .badge-leave {
  background: #e7f1ff;
  color: #175cd3;
}
.attendance-card .status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
}
.take-attendance-btn {
  background: linear-gradient(135deg, #0d6efd, #2563eb);
  color: #fff;
  border: none;
  padding: 6px 22px;
  border-radius: 10px;
  font-weight: 600;
  font-size: 15px;
  box-shadow: 0 6px 18px rgba(13, 110, 253, 0.25);
  transition: all 0.3s ease;
}
.take-attendance-btn:hover {
  transform: translateY(-2px);
  color: #fff;
}
.take-attendance-btn i {
  font-size: 18px;
}
/* after attendance marked */
.take-attendance-btn.marked {
  background: linear-gradient(135deg, #198754, #20c997);
  box-shadow: 0 6px 18px rgba(25, 135, 84, 0.25);
}
/* ===== FACE ATTENDANCE MODAL ===== */
#faceAttendanceModal {
  z-index: 99999;
  backdrop-filter: blur(6px);
}
#faceAttendanceModal .modal-dialog {
  max-width: 400px;
  margin-top: 25px;
}
#faceAttendanceModal .modal-content {
  border: none;
  border-radius: 28px;
  overflow: hidden;
  background: #ffffff;
  box-shadow:
    0 25px 80px rgba(0, 0, 0, 0.18),
    0 10px 25px rgba(37, 99, 235, 0.08);
  animation: modalZoom 0.35s ease;
}
/* ===== HEADER ===== */
.face-modal-header {
  padding: 18px 22px;
  background: linear-gradient(135deg, #2563eb, #4f46e5);
  color: #fff;
  position: relative;
}
.face-modal-header h5 {
  margin: 0;
  font-size: 20px;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 10px;
}
.face-modal-header p {
  margin: 5px 0 0;
  font-size: 13px;
  opacity: 0.9;
}
.face-close-btn {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: none;
  background: rgba(255, 255, 255, 0.18);
  color: #fff;
  font-size: 18px;
  transition: 0.3s;
}
.face-close-btn:hover {
  background: rgba(255, 255, 255, 0.3);
  transform: rotate(90deg);
}
/* ===== BODY ===== */
.face-modal-body {
  padding: 18px;
  background: linear-gradient(to bottom, #f8fbff, #ffffff);
}
/* ===== CAMERA WRAPPER ===== */
.camera-wrapper {
  position: relative;
  width: 100%;
  height: 280px;
  border-radius: 24px;
  overflow: hidden;
  background: #000;
  box-shadow:
    0 10px 40px rgba(0, 0, 0, 0.2),
    inset 0 0 20px rgba(255, 255, 255, 0.05);
}
/* CAMERA VIDEO */
#video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
/* DARK OVERLAY */
.camera-wrapper::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.05));
  pointer-events: none;
}
/* FACE SCAN FRAME */
.face-overlay {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 185px;
  height: 235px;
  border-radius: 140px;
  border: 3px solid rgba(255, 255, 255, 0.95);
  box-shadow:
    0 0 0 9999px rgba(0, 0, 0, 0.45),
    0 0 20px rgba(255, 255, 255, 0.4);
  pointer-events: none;
}
/* SCAN ANIMATION */
.face-overlay::before {
  content: "";
  position: absolute;
  left: 0;
  width: 100%;
  height: 4px;
  border-radius: 20px;
  background: linear-gradient(90deg, #00f5ff, #00ff88);
  box-shadow: 0 0 18px rgba(0, 255, 170, 0.9);
  animation: scanner 2.5s linear infinite;
}
/* FACE TEXT */
.scan-text {
  position: absolute;
  bottom: 14px;
  width: 100%;
  text-align: center;
  color: #fff;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.5px;
  z-index: 2;
}
/* ===== PREVIEW ===== */
.preview-wrapper {
  text-align: center;
  margin-top: 18px;
}
.preview-image {
  width: 140px;
  height: 140px;
  object-fit: cover;
  border-radius: 24px;
  border: 5px solid #fff;
  box-shadow:
    0 15px 35px rgba(37, 99, 235, 0.2),
    0 6px 15px rgba(0, 0, 0, 0.1);
}
/* ===== BUTTONS ===== */
.face-btn-group {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 22px;
  flex-wrap: wrap;
}
.capture-btn,
.upload-btn {
  border: none;
  border-radius: 16px;
  padding: 6px 10px;
  font-size: 13px;
  font-weight: 600;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.capture-btn {
  background: linear-gradient(135deg, #2563eb, #4f46e5);
  color: #fff;
  box-shadow: 0 10px 25px rgba(37, 99, 235, 0.25);
}
.capture-btn:hover {
  transform: translateY(-2px) scale(1.02);
  color: #fff;
}
.upload-btn {
  background: linear-gradient(135deg, #16a34a, #22c55e);
  color: #fff;
  box-shadow: 0 10px 25px rgba(34, 197, 94, 0.25);
}
.upload-btn:hover {
  transform: translateY(-2px) scale(1.02);
  color: #fff;
}
/* ===== ANIMATIONS ===== */
@keyframes scanner {
  0% {
    top: 10px;
  }
  50% {
    top: calc(100% - 10px);
  }
  100% {
    top: 10px;
  }
}
@keyframes modalZoom {
  from {
    opacity: 0;
    transform: translateY(-20px) scale(0.96);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}
/* ===== MOBILE ===== */
@media (max-width: 576px) {
  #faceAttendanceModal .modal-dialog {
    max-width: 95%;
    margin-top: 15px;
  }
  .camera-wrapper {
    height: 260px;
  }
  .face-overlay {
    width: 160px;
    height: 205px;
  }
  .preview-image {
    width: 115px;
    height: 115px;
  }
  .capture-btn,
  .upload-btn {
    width: 100%;
    justify-content: center;
  }
  .face-btn-group {
    flex-direction: column;
  }
}
.att-model {
  z-index: 9999 !important;
}
.attendance-detail-modal {
  background: #ffffff;
  border-radius: 22px;
}

.attendance-detail-modal .custom-modal-header {
  background-color: #4200fd;
  color: #fff;
  padding: 10px 28px;
  border-bottom: none;
}

.attendance-detail-modal .detail-box {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 18px;
  padding: 18px;
  height: 100%;
  transition: 0.3s ease;
}
.attendance-detail-modal .detail-box:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
}
.attendance-detail-modal .detail-label {
  font-size: 14px;
  font-weight: 700;
  color: #475569;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.attendance-detail-modal .detail-label i {
  color: #2563eb;
  font-size: 16px;
}
.attendance-detail-modal .detail-value {
  font-size: 15px;
  font-weight: 500;
  color: #0f172a;
  line-height: 1.7;
  word-break: break-word;
}
.checkout-btn {
  background: linear-gradient(135deg, #dc2626, #b91c1c);
  color: #fff;
  border: none;
  padding: 8px 22px;
  border-radius: 10px;
  font-weight: 600;
  font-size: 14px;
  transition: 0.3s ease;
  box-shadow: 0 8px 20px rgba(220, 38, 38, 0.25);
}
.checkout-btn:hover {
  transform: translateY(-2px);
  background: linear-gradient(135deg, #b91c1c, #991b1b);
  color: #fff;
  box-shadow: 0 10px 25px rgba(220, 38, 38, 0.35);
}
.checkout-btn i {
  font-size: 15px;
}
.attendance-time-card {
  display: flex;
  align-items: center;
  gap: 18px;
  background: #fff;
  border-radius: 16px;
  padding: 12px 22px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
  border: 1px solid #f1f1f1;
}
.time-box {
  text-align: center;
  min-width: 110px;
}
.time-label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: #6b7280;
  margin-bottom: 4px;
}
.time-box h6 {
  margin: 0;
  font-size: 18px;
  font-weight: 700;
  color: #111827;
}
.time-divider {
  width: 1px;
  height: 45px;
  background: #e5e7eb;
}
.remarksModel {
  z-index: 9999 !important;
}
.remarks-modal {
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12);
}
.remarks-header {
  background: linear-gradient(135deg, #0d6efd, #4f46e5);
  padding: 22px 24px;
}
.remarks-user-box {
  background: #f8fafc;
  border-radius: 18px;
  padding: 15px;
  border: 1px solid #edf2f7;
}
.remarks-user-img {
  width: 55px;
  height: 55px;
  object-fit: cover;
  border-radius: 50%;
  border: 3px solid #fff;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.08);
}
.remarks-textarea {
  border-radius: 18px;
  border: 1px solid #dbe2ea;
  padding: 16px;
  resize: none;
  font-size: 15px;
  transition: 0.3s ease;
  box-shadow: none !important;
}
.remarks-textarea:focus {
  border-color: #4f46e5;
  box-shadow: 0 0 0 4px rgba(79, 70, 229, 0.1) !important;
}
@media (max-width: 768px) {
  .content-scroll {
    padding: 12px;
    padding-bottom: 90px;
  }
  .teacher-search-box {
    width: 100%;
    margin-top: 10px;
  }
  .teacher-profile-card {
    border-radius: 20px;
    padding: 16px !important;
  }
  .teacher-profile-card img {
    width: 60px !important;
    height: 60px !important;
  }
  .teacher-profile-card h6 {
    font-size: 16px;
  }
  .teacher-profile-card .btn {
    width: 100%;
  }
  .teacher-profile-card .d-flex.flex-wrap {
    flex-direction: column;
  }
  .teacher-stat-card {
    border-radius: 18px;
  }
  .teacher-profile-card .d-flex.justify-content-between {
    flex-direction: column;
    align-items: flex-start !important;
    gap: 10px;
  }
  .teacher-profile-card .text-end {
    width: 100%;
    text-align: left !important;
  }
  .teacher-profile-card .text-end small {
    display: inline-block;
    background: #f1f5f9;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 12px;
    word-break: break-word;
  }
  /* BUTTONS */
  .teacher-profile-card .d-flex.flex-wrap {
    flex-direction: column;
    width: 100%;
  }
  .teacher-profile-card .btn {
    width: 100%;
  }
  .teacher-stat-card {
    border-radius: 18px;
  }
  /* APP STYLE TOP BAR */
  .teacher-view {
    background: white;
    border-radius: 25px 25px 0 0;
    padding: 15px;
  }
  /* SIDEBAR HIDE */
  .teacher_sidebar {
    display: none;
  }
  .content-scroll {
    width: 100%;
  }
}

/* teacher sidebar mobile*/
@media (max-width: 768px) {
  .content-scroll {
    margin: 0px !important;
    padding: 0px !important;
  }
  .teacher-sidebar {
    min-height: auto;
    padding: 10px;
    background: white;
  }
  .sidebar-logo {
    display: none;
  }
  /* MOBILE DRAWER STYLE */
  .sidebar-link {
    color: #111827;
    background: #f3f4f6;
  }
  #mobileSidebar {
    width: 260px !important;
  }
}
/* attendace mobile view*/
@media (max-width: 768px) {
  .attendance-card {
    border-radius: 22px !important;
    border: none !important;
    overflow: hidden;
    background: #ffffff;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06) !important;
    margin-top: 14px !important;
  }
  .attendance-card .card-body {
    padding: 16px !important;
  }
  /* PROFILE TOP */
  .attendance-card
    .d-flex.flex-wrap.align-items-center.justify-content-between {
    flex-direction: column;
    align-items: flex-start !important;
    gap: 16px;
  }
  .attendance-card .staff-img {
    width: 65px !important;
    height: 65px !important;
    object-fit: cover;
    border: 3px solid #fff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.12);
  }
  .attendance-card h4 {
    font-size: 18px;
    margin-bottom: 4px !important;
  }
  /* ACTION BUTTONS */
  .take-attendance-btn,
  .checkout-btn {
    width: 100%;
    height: 48px;
    border-radius: 14px !important;
    font-size: 14px;
    font-weight: 600;
  }
  /* FILTER AREA */
  .attendance-card .d-flex.gap-2 {
    width: 100%;
    display: flex;
    gap: 10px !important;
  }
  .filterMonth,
  .filterYear {
    height: 45px;
    border-radius: 12px !important;
    font-size: 14px;
    box-shadow: none !important;
  }
  .attendanceFilterBtn {
    width: 48px;
    border-radius: 12px !important;
  }
  /* SUMMARY BOX */
  .attendance-card .summary-box {
    border-radius: 18px;
    padding: 16px 10px !important;
  }
  .attendance-card .summary-box h4 {
    font-size: 22px;
    margin-top: 6px;
  }
  /* MOBILE TABLE */
  .attendance-card .table-responsive {
    width: 100%;
    overflow-x: auto !important;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    border-radius: 18px;
    background: #fff;
  }
  /* SCROLLBAR */
  .attendance-card .table-responsive::-webkit-scrollbar {
    height: 4px;
  }
  .attendance-card .table-responsive::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 20px;
  }
  .attendance-card .table {
    min-width: 1100px !important;
    width: max-content;
    margin-bottom: 0;
  }
  .attendance-card .table thead th {
    font-size: 12px;
    white-space: nowrap;
    padding: 14px 12px;
  }
  .attendance-card .table tbody td {
    font-size: 13px;
    white-space: nowrap;
    vertical-align: middle;
    padding: 12px;
  }
  /* STATUS BADGES */
  .attendance-card .status-badge {
    border-radius: 30px;
    padding: 6px 12px;
    font-size: 12px;
    font-weight: 600;
  }
  /* MODALS */
  .attendance-card .modal-content {
    border-radius: 22px !important;
  }
  /* REMARKS TEXTAREA */
  .attendance-card .remarks-textarea {
    border-radius: 14px !important;
  }
}
/* teacher profile*/
@media (max-width: 768px) {
  /* MAIN CARD */
  .teacher-profile-card-single {
    border-radius: 15px;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 4px 22px rgba(0, 0, 0, 0.06);
    border: none;
    margin-top: 10px;
  }
  /* HEADER */
  .teacher-profile-card-single .profile-header {
    padding: 24px 18px;
    color: #fff;
    border-radius: 0 0 26px 26px;
  }
  .teacher-profile-card-single .profile-left {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    margin-bottom: 18px;
  }
  .teacher-profile-card-single .profile-img {
    width: 110px !important;
    height: 110px !important;
    object-fit: cover;
    border-radius: 50%;
    border: 4px solid rgba(255, 255, 255, 0.4);
    margin-bottom: 14px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  }
  .teacher-profile-card-single .profile-name {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 6px;
  }
  .teacher-profile-card-single .profile-role {
    font-size: 14px;
    opacity: 0.95;
  }
  /* STATUS */
  .teacher-profile-card-single .status-badge {
    display: inline-block;
    margin-left: 8px;
    padding: 5px 12px;
    border-radius: 30px;
    font-size: 11px;
    font-weight: 600;
  }
  .teacher-profile-card-single .status-badge.active {
    background: #dcfce7;
    color: #15803d;
  }
  .teacher-profile-card-single .status-badge.inactive {
    background: #fee2e2;
    color: #dc2626;
  }
  /* RIGHT INFO */
  .teacher-profile-card-single .profile-info {
    margin-top: 15px;
    background: rgba(255, 255, 255, 0.12);
    padding: 14px;
    border-radius: 18px;
    font-size: 14px;
    line-height: 28px;
  }
  .teacher-profile-card-single .profile-info div {
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
    padding: 4px 0;
  }
  .teacher-profile-card-single .profile-info div:last-child {
    border: none;
  }
  /* BODY */
  .teacher-profile-card-single .p-4 {
    padding: 18px !important;
  }
  /* SECTION TITLE */
  .teacher-profile-card-single .section-title {
    font-size: 17px;
    font-weight: 700;
    color: #111827;
    margin-bottom: 14px;
    margin-top: 15px;
    position: relative;
    padding-left: 14px;
  }
  .teacher-profile-card-single .section-title::before {
    content: "";
    position: absolute;
    left: 0;
    top: 4px;
    width: 5px;
    height: 18px;
    border-radius: 10px;
    background: #2563eb;
  }
  /* INFO BOX */
  .teacher-profile-card-single .info-box {
    background: #f8fafc;
    padding: 10px;
    border-radius: 10px;
    margin-bottom: 12px;
    font-size: 14px;
    line-height: 24px;
    border: 1px solid #e5e7eb;
  }
  /* TABLES */
  .teacher-profile-card-single .table-responsive {
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    border-radius: 18px;
    background: #fff;
  }
  .teacher-profile-card-single .table {
    margin-bottom: 0;
  }
  .teacher-profile-card-single .table th,
  .teacher-profile-card-single .table td {
    white-space: nowrap;
    font-size: 13px;
    vertical-align: middle;
  }
  .teacher-profile-card-single .table th {
    background: #f8fafc;
    font-weight: 700;
  }
  /* DOCUMENT BUTTON */
  .teacher-profile-card-single .view-btn {
    border-radius: 12px !important;
    padding: 6px 14px;
    font-size: 12px;
  }
  /* BUTTONS */
  .teacher-profile-card-single .btn-custom,
  .teacher-profile-card-single .btn-outline-dark {
    width: 100%;
    height: 48px;
    border-radius: 16px !important;
    margin-bottom: 10px;
    font-size: 14px;
    font-weight: 600;
  }
  .teacher-profile-card-single .text-end {
    text-align: left !important;
  }
  /* MOBILE MENU BUTTON */
  .teacher-view .teacher-profile-card-single > .btn {
    width: 44px;
    height: 44px;
    border-radius: 14px;
    margin-bottom: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .documents-uploading {
    margin-top: 20px;
  }
}

/* teacher leave start here*/
.apply-leave-btn {
  background-color: #4300ff;
  color: #fff;
  padding: 7px 22px 8px 22px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  font-family: "Exo 2";
  display: flex;
  align-items: center;
  gap: 10px;
  transition: 0.3s ease;
  box-shadow: 0 8px 20px rgba(124, 58, 237, 0.25);
}
.apply-leave-btn i {
  font-size: 18px;
}
@media (max-width: 768px) {
  .apply-leave-btn {
    width: 100%;
    padding: 12px;
    margin-top: 10px;
  }
}
/* Teacher leave start here */
.teacher-leave-profile-card {
  background: #fff;
  border-radius: 28px;
  padding: 20px 20px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.06);
  border: 1px solid #edf0f7;
  overflow: hidden;
  position: relative;
}
.teacher-leave-profile-card::before {
  content: "";
  top: -80px;
  right: -80px;
  width: 220px;
  height: 220px;
  background: linear-gradient(135deg, #2563eb, #4f46e5);
  opacity: 0.08;
  border-radius: 50%;
}
.teacher-leave-profile-card .teacher-top-bar {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 20px;
  margin-bottom: 30px;
  flex-wrap: wrap;
}
.teacher-leave-profile-card .teacher-profile-info {
  display: flex;
  gap: 22px;
  align-items: center;
}
.teacher-leave-profile-card .teacher-image img {
  width: 105px;
  height: 105px;
  border-radius: 50%;
  object-fit: cover;
  border: 5px solid #eef3ff;
  box-shadow: 0 10px 25px rgba(37, 99, 235, 0.15);
  background: #fff;
}
.teacher-leave-profile-card .online-dot {
  bottom: 10px;
  right: 8px;
  width: 18px;
  height: 18px;
  background: #22c55e;
  border-radius: 50%;
  border: 3px solid #fff;
}
.teacher-leave-profile-card .teacher-details h2 {
  font-size: 25px;
  font-weight: 700;
  color: #111827;
  margin-bottom: 10px;
}
.teacher-leave-profile-card .teacher-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-bottom: 7px;
}
.teacher-leave-profile-card .teacher-meta span {
  font-size: 16px;
  color: #4b5563;
  font-weight: 500;
}
.teacher-leave-profile-card .teacher-meta i {
  color: #2563eb;
  margin-right: 3px;
}
.teacher-leave-profile-card .teacher-filter-box {
  display: flex;
  align-items: center;
  gap: 12px;
}
.teacher-leave-profile-card .teacher-filter-box select {
  height: 50px;
  border-radius: 14px;
  border: 1px solid #dbe3f1;
  padding: 0 18px;
  font-size: 16px;
  font-weight: 600;
  color: #374151;
  background: #fff;
  outline: none;
  transition: 0.3s;
}
.teacher-leave-profile-card .teacher-filter-box select:focus {
  border-color: #2563eb;
  box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.1);
}
.teacher-leave-profile-card .filter-btn {
  width: 52px;
  height: 52px;
  border: none;
  border-radius: 14px;
  background: linear-gradient(135deg, #2563eb, #4f46e5);
  color: #fff;
  font-size: 18px;
  cursor: pointer;
  transition: 0.3s;
  box-shadow: 0 10px 20px rgba(37, 99, 235, 0.25);
}
.teacher-leave-profile-card .filter-btn:hover {
  transform: translateY(-3px);
}
.teacher-leave-profile-card .teacher-stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.teacher-leave-profile-card .teacher-stat-card {
  position: relative;
  overflow: hidden;
  border-radius: 24px;
  padding: 10px 28px;
  display: flex;
  align-items: center;
  gap: 18px;
  transition: 0.35s;
  border: 1px solid transparent;
}
.teacher-leave-profile-card .teacher-stat-card:hover {
  transform: translateY(-6px);
}
.teacher-leave-profile-card .teacher-stat-card::before {
  content: "";
  position: absolute;
  top: -30px;
  right: -30px;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.18);
}
.teacher-leave-profile-card .stat-icon {
  width: 70px;
  height: 70px;
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 30px;
  background: rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(6px);
  color: #fff;
}
.teacher-leave-profile-card .stat-content h4 {
  font-size: 20px;
  margin-bottom: 5px;
  color: #fff;
  font-weight: 600;
}
.teacher-leave-profile-card .stat-content h2 {
  font-size: 30px;
  margin-bottom: 4px;
  color: #fff;
  font-weight: 800;
}
.teacher-leave-profile-card .stat-content p {
  margin: 0;
  color: rgba(255, 255, 255, 0.85);
  font-size: 14px;
}
.teacher-leave-profile-card .teacher-stat-card.approved {
  background: linear-gradient(135deg, #0f9b6f, #1cc88a);
}
.teacher-leave-profile-card .teacher-stat-card.pending {
  background: linear-gradient(135deg, #f59e0b, #fbbf24);
}
.teacher-leave-profile-card .teacher-stat-card.rejected {
  background: linear-gradient(135deg, #ef4444, #f87171);
}
/* Responsive */
@media (max-width: 991px) {
  .teacher-leave-profile-card .teacher-stats-grid {
    grid-template-columns: 1fr;
  }
  .teacher-leave-profile-card .teacher-top-bar {
    flex-direction: column;
    align-items: stretch;
  }
  .teacher-leave-profile-card .teacher-filter-box {
    display: flex;
    flex-direction: column;
    width: 100%;
    gap: 12px;
  }
  .teacher-leave-profile-card .teacher-filter-box select,
  .teacher-leave-profile-card .filter-btn {
    width: 100%;
  }
  .teacher-leave-profile-card .filter-btn {
    height: 50px;
  }
}
@media (max-width: 768px) {
  .teacher-leave-profile-card .teacher-profile-info {
    flex-direction: column;
    align-items: flex-start;
  }
  .teacher-leave-profile-card .teacher-details h2 {
    font-size: 28px;
  }
  .teacher-leave-profile-card .teacher-meta {
    flex-direction: column;
    gap: 8px;
  }
  .teacher-leave-profile-card {
    padding: 22px;
  }
}
.leave-table-wrapper {
  background: #fff;
  border-radius: 20px;
  padding: 15px;
  margin-top: 15px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.06);
  border: 1px solid #edf0f7;
}
.leave-table-wrapper .leave-table-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 15px;
  gap: 20px;
  flex-wrap: wrap;
}
.leave-table-wrapper .leave-table-header h2 {
  font-size: 20px;
  font-weight: 700;
  color: #111827;
  margin-bottom: 5px;
}
.leave-table-wrapper .leave-table-header p {
  color: #6b7280;
  margin: 0;
}
/* Search */
.leave-table-wrapper .leave-search-box {
  position: relative;
  width: 320px;
}
.leave-table-wrapper .leave-search-box i {
  position: absolute;
  left: 18px;
  top: 50%;
  transform: translateY(-50%);
  color: #6b7280;
}
.leave-table-wrapper .leave-search-box input {
  width: 100%;
  height: 54px;
  border-radius: 16px;
  border: 1px solid #dbe3f1;
  padding-left: 50px;
  font-size: 15px;
  outline: none;
  transition: 0.3s;
}
.leave-table-wrapper .leave-search-box input:focus {
  border-color: #2563eb;
  box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.1);
}
/* Table */
.leave-table-wrapper .leave-custom-table {
  margin: 0;
  border-collapse: separate;
  border-spacing: 0 14px;
}
.leave-table-wrapper .leave-custom-table thead th {
  border: none;
  background: #f3f6fb;
  padding: 10px 18px;
  color: #374151;
  font-size: 15px;
  font-weight: 700;
  white-space: nowrap;
}
.leave-table-wrapper .leave-custom-table thead th:first-child {
  border-radius: 14px 0 0 14px;
}
.leave-table-wrapper .leave-custom-table thead th:last-child {
  border-radius: 0 14px 14px 0;
}
/* Table Body */
.leave-table-wrapper .leave-custom-table tbody tr {
  background: #fff;
  transition: 0.3s;
}
.leave-table-wrapper .leave-custom-table tbody tr:hover {
  transform: translateY(-2px);
}
.leave-table-wrapper .leave-custom-table tbody td {
  border-top: 1px solid #edf0f7;
  border-bottom: 1px solid #edf0f7;
  padding: 10px 18px;
  vertical-align: middle;
  background: #fff;
}
.leave-table-wrapper .leave-custom-table tbody td:first-child {
  border-left: 1px solid #edf0f7;
  border-radius: 18px 0 0 18px;
}
.leave-table-wrapper .leave-custom-table tbody td:last-child {
  border-right: 1px solid #edf0f7;
  border-radius: 0 18px 18px 0;
}
/* Teacher Info */
.leave-table-wrapper .teacher-info {
  display: flex;
  align-items: center;
  gap: 14px;
}
.leave-table-wrapper .teacher-info img {
  width: 52px;
  height: 52px;
  border-radius: 16px;
  object-fit: cover;
}
.leave-table-wrapper .teacher-info h6 {
  margin: 0;
  font-size: 14px;
  font-weight: 700;
  color: #111827;
}
.leave-table-wrapper .teacher-info span {
  font-size: 13px;
  color: #6b7280;
}
.leave-table-wrapper .leave-id {
  font-weight: 700;
  color: #2563eb;
}
.leave-table-wrapper .leave-type {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
  padding: 5px 16px;
  border-radius: 30px;
  font-size: 13px;
  font-weight: 700;
  min-width: 120px;
}
.leave-table-wrapper .leave-type.casual {
  background: rgba(37, 99, 235, 0.12);
  color: #2563eb;
}
.leave-table-wrapper .leave-type.medical {
  background: rgba(239, 68, 68, 0.12);
  color: #ef4444;
}
.leave-table-wrapper .date-box strong,
.leave-table-wrapper .duration-box strong {
  display: block;
  color: #111827;
  font-size: 14px;
}
.leave-table-wrapper .date-box span,
.leave-table-wrapper .duration-box span {
  color: #6b7280;
  font-size: 13px;
}
.leave-table-wrapper .status-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 16px;
  border-radius: 30px;
  font-size: 13px;
  font-weight: 700;
}
.leave-table-wrapper .status-badge.approved {
  background: rgba(16, 185, 129, 0.12);
  color: #10b981;
}
.leave-table-wrapper .status-badge.pending {
  background: rgba(245, 158, 11, 0.12);
  color: #f59e0b;
  border: none;
}
.leave-table-wrapper .status-badge.rejected {
  background: rgba(245, 158, 11, 0.12);
  color: red;
  border: none;
}
.leave-table-wrapper .reason-text {
  min-width: 220px;
  color: #4b5563;
  font-size: 14px;
}
/* Buttons */
.leave-table-wrapper .action-buttons {
  display: flex;
  gap: 10px;
}
.leave-table-wrapper .action-buttons button {
  width: 35px;
  height: 35px;
  border: none;
  border-radius: 7px;
  cursor: pointer;
  transition: 0.3s;
  font-size: 15px;
}
.leave-table-wrapper .view-btn {
  background: rgba(37, 99, 235, 0.12);
  color: #2563eb;
}
.leave-table-wrapper .edit-btn {
  background: rgba(16, 185, 129, 0.12);
  color: #10b981;
}
.leave-table-wrapper .delete-btn {
  background: rgba(239, 68, 68, 0.12);
  color: #ef4444;
}
.leave-table-wrapper .status-btn {
  width: 38px;
  height: 38px;
  border: none;
  border-radius: 10px;
  background: rgba(59, 130, 246, 0.12);
  color: #3b82f6;
  transition: all 0.3s ease;
}
.leave-table-wrapper .action-buttons button:hover {
  transform: translateY(-3px);
}
/* Responsive */
@media (max-width: 991px) {
  .leave-table-wrapper .leave-search-box {
    width: 100%;
  }
  .leave-table-wrapper .leave-table-wrapper {
    padding: 18px;
  }
}
@media (max-width: 768px) {
  .leave-table-wrapper .leave-table-header h2 {
    font-size: 24px;
  }
  .leave-table-wrapper .leave-custom-table thead {
    display: none;
  }
  .leave-table-wrapper .leave-custom-table,
  .leave-table-wrapper .leave-custom-table tbody,
  .leave-table-wrapper .leave-custom-table tr,
  .leave-table-wrapper .leave-custom-table td {
    display: block;
    width: 100%;
  }
  .leave-table-wrapper .leave-custom-table tbody tr {
    margin-bottom: 18px;
  }
  .leave-table-wrapper .leave-custom-table tbody td {
    border: 1px solid #edf0f7 !important;
    border-radius: 14px !important;
    margin-bottom: 10px;
  }
  .leave-table-wrapper .action-buttons {
    justify-content: center;
  }
}

/* leave modal code start here*/
.leave-modal {
  border: none;
  border-radius: 28px;
  overflow: hidden;
  padding: 10px;
  background: #fff;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.12);
}
.leave-title {
  font-size: 22px;
  font-weight: 700;
  color: #111827;
  display: flex;
  align-items: center;
  gap: 10px;
}
.leave-title i {
  color: #6366f1;
}
.leave-subtitle {
  margin-top: 6px;
  color: #6b7280;
  font-size: 14px;
}
.custom-close {
  background-size: 13px;
}
.custom-label-leave {
  font-size: 14px;
  font-weight: 600;
  color: #374151;
  margin-bottom: 7px;
}
.custom-input-leave {
  height: 50px;
  border-radius: 14px !important;
  border: 1px solid #e5e7eb;
  padding: 12px 18px;
  font-size: 15px;
  transition: 0.3s ease;
  box-shadow: none !important;
}
.custom-input-leave:focus {
  border-color: #6366f1;
  box-shadow: 0 0 0 4px rgba(99, 102, 241, 0.12) !important;
}
.textarea-box-leave {
  height: 100px;
  resize: none;
}
.leave-footer {
  display: flex;
  justify-content: flex-end;
  gap: 14px;
  margin-top: 35px;
}
.cancel-btn-leave {
  border: none;
  background: #f3f4f6;
  color: #374151;
  padding: 8px 20px;
  border-radius: 12px;
  font-weight: 600;
  transition: 0.3s ease;
}
.cancel-btn-leave:hover {
  background: #e5e7eb;
}
.submit-btn-leave {
  border: none;
  background: linear-gradient(135deg, #4f46e5, #7c3aed);
  color: #fff;
  padding: 8px 22px;
  border-radius: 12px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: 0.3s ease;
  box-shadow: 0 10px 25px rgba(79, 70, 229, 0.25);
}
.submit-btn-leave:hover {
  transform: translateY(-2px);
}
#leaveModal {
  z-index: 9999 !important;
}
.attachment-note {
  font-size: 12px;
  font-weight: 500;
  color: red;
  margin-left: 4px;
}
@media (max-width: 768px) {
  .leave-title {
    font-size: 22px;
  }
  .leave-footer {
    flex-direction: column;
  }
  .cancel-btn-leave,
  .submit-btn-leave {
    width: 100%;
    justify-content: center;
  }
}
.custom-modal-leave {
  border: none;
  border-radius: 22px;
  padding: 10px;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12);
  animation: popup 0.3s ease;
}
.custom-modal-leave .icon-box {
  width: 75px;
  height: 75px;
  margin: auto;
  border-radius: 50%;
  background: rgba(13, 110, 253, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
}
.custom-modal-leave .icon-box i {
  font-size: 38px;
  color: #0d6efd;
}
.custom-modal-leave .btn-primary {
  border-radius: 50px;
  padding: 10px 22px;
  font-weight: 600;
}
@keyframes popup {
  from {
    transform: scale(0.8);
    opacity: 0;
  }
  to {
    transform: scale(1);
    opacity: 1;
  }
}
.custom-modal-leave .info-row {
  display: flex;
  align-items: center;
  gap: 12px;
  background: #f8f9fb;
  padding: 12px 14px;
  border: 1px solid #00ff88;
  border-radius: 14px;
  margin-bottom: 12px;
  transition: 0.25s;
}
.custom-modal-leave .info-row:hover {
  transform: translateY(-2px);
  background: #eef4ff;
}
.custom-modal-leave .icon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: #e9ecef;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  color: #444;
}
.custom-modal-leave .icon.success {
  background: #e8fff3;
  color: #198754;
}
.custom-modal-leave .icon.primary {
  background: #e7f1ff;
  color: #0d6efd;
}
.custom-modal-leave .icon.warning {
  background: #fff4e5;
  color: #fd7e14;
}
.custom-modal-leave .content {
  display: flex;
  flex-direction: column;
}
.custom-modal-leave .label {
  font-size: 11px;
  color: #888;
  text-transform: uppercase;
  letter-spacing: 0.6px;
}
.custom-modal-leave .value {
  font-size: 15px;
  font-weight: 600;
}
#smallModalLeave,
#premiumModalLeave {
  z-index: 9999 !important;
}
/* Modal Leave Status*/
.premium-modal-leave-status {
  border: none;
  border-radius: 24px;
  overflow: hidden;
  background: #fff;
  box-shadow:
    0 10px 30px rgba(15, 23, 42, 0.08),
    0 20px 60px rgba(15, 23, 42, 0.1);
  animation: popupleavetstaus 0.3s ease;
}
@keyframes popupleavetstaus {
  from {
    transform: scale(0.85);
    opacity: 0;
  }

  to {
    transform: scale(1);
    opacity: 1;
  }
}
.premium-header-leave-status {
  padding: 24px 24px 10px;
}
.premium-title-leave-status {
  font-size: 18px;
  font-weight: 700;
  color: #0f172a;
}
.premium-subtitle-leave-status {
  font-size: 14px;
  color: #64748b;
  margin-top: 4px;
}
.premium-body-leave-status {
  padding: 5px 24px 24px;
}
/* Labels */
.custom-label-leave-status {
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 3px;
  color: #475569;
  display: block;
}
.input-box-leave-status {
  position: relative;
}
.input-box-leave-status i {
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  color: #94a3b8;
  font-size: 16px;
}
.custom-input-leave-status {
  height: 54px;
  border-radius: 16px;
  border: 1px solid #e2e8f0;
  padding-left: 48px;
  font-size: 14px;
  transition: 0.3s;
  box-shadow: none !important;
}
.custom-input-leave-status:focus {
  border-color: #2563eb;
  box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.1) !important;
}
.custom-textarea-leave-status select.custom-input-leave-status {
  cursor: pointer;
}
.custom-textarea-leave-status {
  border-radius: 16px;
  border: 1px solid #e2e8f0;
  padding: 14px;
  resize: none;
  transition: 0.3s;
  box-shadow: none !important;
}
.custom-textarea-leave-status:focus {
  border-color: #2563eb;
  box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.1) !important;
}
.modal-footer-custom-leave-status {
  margin-top: 24px;
  display: flex;
  justify-content: end;
  gap: 12px;
}
.cancel-btn-leave-status {
  background: #f1f5f9;
  border: none;
  color: #334155;
  padding: 12px 22px;
  border-radius: 14px;
  font-weight: 600;
  transition: 0.3s;
}
.cancel-btn-leave-status:hover {
  background: #e2e8f0;
}
.save-btn-leave-status {
  background: linear-gradient(135deg, #2563eb, #3b82f6);
  border: none;
  color: #fff;
  padding: 12px 26px;
  border-radius: 14px;
  font-weight: 600;
  transition: 0.3s;
  box-shadow: 0 10px 25px rgba(37, 99, 235, 0.25);
}
.save-btn-leave-status:hover {
  transform: translateY(-2px);
  color: #fff;
}

/* Responsive */
@media (max-width: 576px) {
  .premium-header-leave-status,
  .premium-body-leave-status {
    padding-left: 16px;
    padding-right: 16px;
  }
  .premium-title-leave-status {
    font-size: 20px;
  }
}
#premiumModalLeaveEdit {
  z-index: 9999 !important;
}

/* teacher salary start */
.teacher-salary-card {
  background: #fff;
  position: relative;
  border-radius: 20px;
  padding: 25px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  border-bottom: 3px solid #16a34a;
  transition: 0.3s;
  height: 110px;
}
.teacher-salary-card::before {
  content: "";
  position: absolute;
  top: -40px;
  right: -40px;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(59, 130, 246, 0.15) 0%,
    rgba(59, 130, 246, 0.08) 40%,
    transparent 75%
  );
}
.teacher-salary-card::after {
  content: "";
  position: absolute;
  bottom: -30px;
  left: -30px;
  width: 90px;
  height: 90px;
  border-radius: 50%;
  background: rgba(59, 130, 246, 0.05);
}
.teacher-salary-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.12);
}
.salary-card-title {
  display: flex;
  align-items: center;
  gap: 5px;
  font-weight: 700;
  color: #111827;
  margin-bottom: 10px;
}
.salary-card-title i {
  font-size: 15px !important;
}
.salary-card-title span {
  font-size: 17px;
}
.teacher-salary-card h2 {
  font-size: 20px;
  font-weight: 800;
  color: #000;
  margin: 0;
}

@media (max-width: 768px) {
  .teacher-salary-card h2 {
    font-size: 32px;
  }

  .salary-card-title {
    font-size: 18px;
  }
}
.salary-filter-card {
  background: #fff;
  padding: 20px;
  border-radius: 16px;
  border: 1px solid #e5e7eb;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}
.salary-filter-card .filter-select {
  height: 46px;
  border-radius: 10px;
  border: 1px solid #d1d5db;
  font-size: 16px;
  box-shadow: none !important;
}
.salary-filter-card .filter-select:focus {
  border-color: #198754;
}
.salary-filter-card .filter-btn {
  height: 46px;
  border: none;
  border-radius: 10px;
  font-size: 18px;
  font-weight: 500;
  color: #fff;
  background-color: #4300FF;
  transition: 0.3s;
}
.salary-filter-card .filter-btn:hover {
  transform: translateY(-2px);
  color: #fff;
}
@media (max-width: 768px) {
  .salary-filter-card {
    padding: 15px;
  }
}
.salary-filter-card table thead tr th {
  font-size: 13px;
  border-top: 0.1px solid #313131;
}
.salary-filter-card table tbody tr td {
  font-size: 14px;
  font-family: "Exo 2", sans-serif;
}
#generateSalaryModal {
  z-index: 9999 !important;
}
#generateSalaryModal select,
input[type="number"] {
  height: 48px;
  border-radius: 10px;
}
.salary-modal-body {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #f8fbff 0%, #eef4ff 100%);
}
.salary-modal-body::before {
  content: "";
  position: absolute;
  width: 250px;
  height: 250px;
  background: rgba(37, 99, 235, 0.12);
  border-radius: 50%;
  top: -100px;
  right: -80px;
  filter: blur(40px);
}
.salary-modal-body::after {
  content: "";
  position: absolute;
  width: 220px;
  height: 220px;
  background: rgba(16, 185, 129, 0.1);
  border-radius: 50%;
  bottom: -100px;
  left: -80px;
  filter: blur(40px);
}
.salary-modal-body > * {
  position: relative;
  z-index: 2;
}
.salary-card {
  background: rgba(255, 255, 255, 0.75);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 18px;
  padding: 20px;
}
.salary-info-box {
  background: linear-gradient(135deg, #eff6ff, #ffffff);
  border: 1px solid #dbeafe;
  border-radius: 14px;
  color: #1e3a8a;
}
