.card-header {
  background-color: #f8f9fa;
}

.card-header .logo {
  margin-bottom: 0px;
}

.card-header div span {
  font-weight: 700;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.1);

}

.card-header span {
  font-weight: 500;
}

.password-toggle {
  cursor: pointer;
  position: absolute;
  right: 35px;
  /* Adjusted right positioning */
  top: 12px;
  z-index: 1000;
}

/* User panel */
.user-panel {
  border-bottom: 2px solid dodgerblue;
  border-radius: 10px;
  background-color: #1a202c;
  padding: 20px 20px 5px 20px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease-in-out;
}

.user-panel:hover {
  /* transform: translateY(-5px); */
  box-shadow: 0 6px 10px rgba(0, 0, 0, 0.15);
}

.user-panel img {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid white;
}

.user-panel div {
  margin-bottom: 10px;
}

.user-panel span {
  color: #fff;
  font-size: 1rem;
  display: block;
}

.user-panel .name {
  font-size: 1.2rem;
  font-weight: 400;
}

.user-panel .small-info {
  font-size: 0.8rem;
  opacity: 0.8;
}

.user-panel .academic-year {
  font-size: 0.9rem;
  font-weight: bold;
  color: #DC1A72;
  background-color: #e0f2f1;
  padding: 5px;
  border-radius: 5px;
  display: block;
  width: 100%;
  text-align: center;
}

.nav-index li {
  display: block;
  border-bottom: 1px dashed #ccc;
  font-size: 1rem;
  margin-bottom: 10px;
}

.app-title {
  font-size: 2.5rem;
}

.sup-text {
  font-size: 0.875rem;
  vertical-align: middle;
  padding: 3px 5px;
  background-color: darkblue;
  color: white;
  border-radius: 5px;
}

.user-table {
  width: 100%;
  border-collapse: collapse;
  margin: 20px 0;
}

.user-table th {
  border: 1px solid #ddd;
  padding: 8px;
  text-align: center;
}

.user-table td {
  border: 1px solid #ddd;
  padding: 8px;
}

.user-table th {
  background-color: #f2f2f2;
  color: black;
}

.error-message {
  color: #D8000C;
  background-color: #FFD2D2;
  padding: 10px;
  border: 1px solid #D8000C;
  border-radius: 5px;
  font-weight: bold;
  width: 80%;
  margin: 10px auto;
  box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.1);
}

.datetime-container {
  font-family: 'Sarabun', 'Arial', sans-serif;
  font-size: 24px;
  background-color: #f2f2f2;
  padding: 10px 20px;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  display: inline-block;
}

.label-permission {
  padding: 5px 10px;
  border-radius: 5px;
  color: white;
  font-size: 14px;
  margin-right: 5px;
}

.label-1 {
  background-color: #007bff;
}

.label-2 {
  background-color: #28a745;
}

.label-3 {
  background-color: #dc3545;
}

.label-4 {
  background-color: #ffc107;
}

.label-5 {
  background-color: #17a2b8;
}

.label-6 {
  background-color: #6c757d;
}

.label-banklogo {
  font-family: 'Sarabun', sans-serif;
  display: inline-flex;
  align-items: center;
}

.label-banklogo img {
  width: 20px;
  height: 20px;
  margin-right: 5px;
}

.highlight {
  background-color: yellow;
  /* เปลี่ยนสีพื้นหลังตามที่คุณต้องการ */
  font-weight: bold;
  /* หรือเพิ่มสไตล์อื่น ๆ ตามที่ต้องการ */
}

.money-positive {
  color: green;
  font-weight: bold;
}

.money-zero {
  color: red;
  font-weight: bold;
}