@import url("fonts.css");

* {
  box-sizing: border-box;
  padding: 0;
  margin: 0;
  font-family: "Open Sans", "Roboto";
}

:root {
  /* Primary */
  --primary: #0072bc;
  --primary-hover: #005f9e;
  --primary-light: #00aeef;
  --primary-bg: #eaf6fc;
  --primary-border: #b9e3f5;
  /* Success */
  --success: #15803d;
  --success-hover: #166534;
  --success-light: #1fa052;
  --success-bg: #f0fdf4;
  --success-border: #bbf7d0;
  /* Warning */
  --warning: #d97706;
  --warning-light: #f59e0b;
  --warning-bg: #fffbeb;
  --warning-border: #f59e0b;
  /* Danger */
  --danger: #e02424;
  --danger-light: #e55363;
  --danger-bg: #fef2f2;
  --danger-border: #fecaca;
  /* Purple */
  --purple: #8e5bd9;
  --purple-light: #a78bdf;
  --purple-bg: #f3edfc;
  --purple-border: #ddd0f3;
  /* Secondary */
  --secondary: #4b5563;
  --secondary-light: #6b7280;
  --secondary-bg: #f3f4f6;
  --secondary-border: #d1d5db;
  /* Text */
  --text-primary: #0072bc;
  --text: #374151;
  --text-dark: #212529;
  --text-secondary: #4b5563;
  --text-muted: #7d8490;
  --text-light: #f3f4f6;
  /* Background */
  --bg: #fff;
  --bg-dark: #424242;
  --bg-body: #f3f7fc;
  --bg-light: #f8fafc;
  --bg-muted: #f3f4f6;
  /* Border */
  --border: #e2e2e2;
  --border-light: #e9ecef;
  --shadow: rgba(0, 0, 0, 0.08);
  --box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  --box-shadow-light: 0 1px 2px rgba(0, 0, 0, 0.05);
  /* scrollbar */
  --scrollbar: #b4c0cc;
  --scrollbar-hover: #8c9baa;
  --scrollbar-active: #0072bc;
}

html,
body,
* {
  scrollbar-width: thin;
  scrollbar-color: var(--scrollbar) var(--bg-muted);
}

::-webkit-scrollbar {
  width: 7px;
  height: 7px;
}

::-webkit-scrollbar-track {
  background: var(--bg-muted);
}

::-webkit-scrollbar-thumb {
  background: var(--scrollbar);
  border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--scrollbar-hover);
}

::-webkit-scrollbar-thumb:active {
  background: var(--scrollbar-active);
}

/* backdrop */
div[class*="bg-gray-900/50"][class*="fixed"] {
  z-index: 8890 !important;
}

body>div.bg-gray-900\/50.dark\:bg-gray-900\/80.fixed.inset-0.z-40:has(+ div.bg-gray-900\/50.dark\:bg-gray-900\/80.fixed.inset-0.z-40) {
  display: none !important;
}

html:has(.modal.show),
html:has(.modal[style*="display:flex"]),
html:has(.modal[style*="display: flex"]),
html:has(.modal[style*="display:block"]),
html:has(.modal[style*="display: block"]),
body:has(.modal.show),
body:has(.modal[style*="display:flex"]),
body:has(.modal[style*="display: flex"]),
body:has(.modal[style*="display:block"]),
body:has(.modal[style*="display: block"]) {
  overflow: hidden !important;
}

.modal {
  z-index: 9999 !important;
  animation: popupFadeIn 0.25s ease forwards;
}

.modal>div {
  animation: popupSlideUp 0.25s ease forwards;
}

.modal.modal-alert {
  animation: popupFadeIn 0.15s ease forwards;
}

.modal.modal-alert>div {
  animation: popupSlideUp 0.15s ease forwards;
}

.modal form {
  font-size: 0.9rem;
}

.modal .filepond--root {
  margin-bottom: 0;
}

.modal .modal-actions {
  display: flex;
  justify-content: flex-end;
  gap: 0.5rem;
  padding: 0.75rem 1rem;
  border-top: 1px solid var(--border);
}

.modal.modal-alert .modal-actions {
  padding: 0;
  border-top: none;
}

.filepond--credits {
  display: none !important;
}

.filepond--drop-label {
  font-size: 0.9rem !important;
}

.form-label,
.modal .form-label {
  display: block;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.modal .modal-title {
  color: var(--primary);
  font-weight: 600;
  line-height: normal;
}

.modal-alert {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  justify-content: center;
  align-items: center;
  background: rgba(40, 40, 40, 0.55);
  backdrop-filter: blur(2px);
}

.modal-content {
  width: 90%;
  max-width: 460px;
  padding: 1.25rem 1.5rem;
  border-radius: 12px;
  background: #fff;
  border: 1px solid var(--border);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.25);
  text-align: center;
}

.modal-warning-icon {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
}

/* Chỉ rung dấu ! */
.warning-mark {
  transform-box: fill-box;
  transform-origin: center;
  animation: shakeWarning 1.6s ease-in-out infinite;
}

@keyframes shakeWarning {

  0%,
  100% {
    transform: rotate(0deg);
  }

  12% {
    transform: rotate(-10deg);
  }

  24% {
    transform: rotate(10deg);
  }

  36% {
    transform: rotate(-6deg);
  }

  48% {
    transform: rotate(6deg);
  }

  60% {
    transform: rotate(-3deg);
  }

  72% {
    transform: rotate(3deg);
  }
}

.animate-icon.success .success-circle {
  stroke-dasharray: 57;
  stroke-dashoffset: -57;
  transform-origin: center;
  transform: rotate(-180deg);
  animation: circleDraw 0.4s ease forwards;
}

.animate-icon.success path.success {
  stroke-dasharray: 30;
  stroke-dashoffset: 30;
  animation: tickDraw 0.7s ease forwards 0.3s;
}

@keyframes circleDraw {
  to {
    stroke-dashoffset: 0;
  }
}

@keyframes tickDraw {
  to {
    stroke-dashoffset: 0;
  }
}

.animate-icon.error .error {
  transform-origin: center;
  animation: errorShake 1.6s ease-in-out infinite;
}

@keyframes errorShake {

  0%,
  60%,
  100% {
    transform: rotate(0deg);
  }

  5% {
    transform: rotate(-8deg);
  }

  10% {
    transform: rotate(8deg);
  }

  15% {
    transform: rotate(-6deg);
  }

  20% {
    transform: rotate(6deg);
  }

  25% {
    transform: rotate(-3deg);
  }

  30% {
    transform: rotate(0deg);
  }
}

.modal-alert .modal-title {
  font-weight: 700;
  color: var(--text);
  margin-top: 0.5rem;
}

.modal-alert .modal-description {
  line-height: 1.6;
  color: var(--text-muted);
  margin-top: 0.5rem;
}

.modal-alert .modal-actions {
  margin-top: 1rem;
  display: flex;
  justify-content: center;
  gap: 0.75rem;
}

.modal-alert .modal-actions a,
.modal-alert .modal-actions button {
  min-width: 150px;
  padding: 0.5rem 0.75rem;
  border: none;
  border-radius: 8px;
  font-weight: 400;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.2s ease;
  color: var(--text-light);
}

#cp-modal-root.modal-alert .modal-actions a,
#cp-modal-root.modal-alert .modal-actions button {
  min-width: 90px;
}

.modal-alert .modal-actions.actions-custom button {
  min-width: auto;
  padding: 0.5rem 1.25rem;
}

.modal-alert .btn-exit,
.modal-alert .overwrite,
.modal-alert .danger,
.btn.btn-danger {
  background: var(--danger);
  color: var(--text-light);
}

.modal-alert .btn-exit:not(:disabled):hover,
.modal-alert .overwrite:not(:disabled):hover,
.modal-alert .danger:not(:disabled):hover,
.btn.btn-danger:not(:disabled):hover {
  background: var(--danger-light);
  color: var(--text-light);
}

.btn.btn-danger-light {
  color: var(--danger);
  background: #fff;
  border: 1px solid #e5e7eb;
}

.btn.btn-danger-light:not(:disabled):hover {
  color: var(--danger);
  background: #fef2f2 !important;
  border-color: #fecaca !important;
}

.modal-alert .btn-close-modal,
.modal-alert .rename,
.modal-alert .primary,
.btn.btn-primary {
  background: var(--primary);
  color: var(--text-light);
}

.modal-alert .btn-close-modal:not(:disabled):hover,
.modal-alert .rename:not(:disabled):hover,
.modal-alert .primary:not(:disabled):hover,
.btn.btn-primary:not(:disabled):hover {
  background: var(--primary-light);
  color: var(--text-light);
}

.btn.btn-primary-light {
  background-color: var(--primary-bg);
  color: var(--primary);
  border: 1px solid var(--primary-border);
}

.btn.btn-secondary-light {
  background-color: var(--secondary-bg);
  color: var(--secondary);
  border: 1px solid var(--secondary-border);
}

.btn.btn-warning-light {
  background-color: var(--warning-bg);
  color: var(--warning);
  border: 1px solid var(--warning-border);
}

.btn.btn-danger-light {
  background-color: var(--danger-bg);
  color: var(--danger);
  border: 1px solid var(--danger-border);
}

.btn.btn-success-light {
  background-color: var(--success-bg);
  color: var(--success);
  border: 1px solid var(--success-border);
}

.btn.btn-primary-light:hover,
.btn.btn-danger-light:hover,
.btn.btn-warning-light:hover,
.btn.btn-secondary-light:hover,
.btn.btn-success-light:hover {
  transform: translateY(-1px);
}

.modal-alert .cancel,
.modal-alert .secondary,
.btn.btn-secondary {
  background: #f3f4f6;
  color: #111827 !important;
}

.modal-alert .cancel:hover,
.modal-alert .secondary:hover,
.btn.btn-secondary:hover {
  background: var(--border);
  color: #111827 !important;
}

.btn:disabled,
.btn:disabled:hover,
.btn:disabled:focus {
  cursor: not-allowed;
  opacity: 0.7;
}

.d-none {
  display: none !important;
}

table .td-div-icon-text {
  display: flex;
  align-items: center;
  justify-content: center;
}

table .spn-trang-thai-nv-chua-ht {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  border-radius: 12px;
  font-size: 0.9rem;
  font-weight: 600;
  background-color: #fef3c7;
  color: #92400e;
}

body [multiple],
body [type=date],
body [type=datetime-local],
body [type=email],
body [type=month],
body [type=number],
body [type=password],
body [type=search],
body [type=tel],
body [type=text],
body [type=time],
body [type=url],
body [type=week],
body select,
body textarea {
  font-weight: 400;
  border: 1px solid var(--border);
  border-radius: 8px;
  background-color: #fbfcfd;
  padding: 0.5rem;
}

body [type=radio],
body [type=checkbox] {
  color: var(--primary);
}

body input[type="radio"]:focus,
body input[type="checkbox"]:focus {
  outline: none !important;
  box-shadow: none !important;
}

.dropdown-menu input,
.dropdown-menu-custom input {
  padding: 0.35rem 0.5rem;
  border-radius: 8px 8px 0 0;
  border: none;
  border-bottom: 1px solid var(--border);
}

body [multiple][disabled],
body [type=date][disabled],
body [type=datetime-local][disabled],
body [type=email][disabled],
body [type=month][disabled],
body [type=number][disabled],
body [type=password][disabled],
body [type=search][disabled],
body [type=tel][disabled],
body [type=text][disabled],
body [type=time][disabled],
body [type=url][disabled],
body [type=week][disabled],
body textarea[disabled] {
  background-color: #f8f9fa;
  color: var(--text) !important;
  cursor: not-allowed !important;
}

body [type=radio][disabled],
body [type=checkbox][disabled] {
  cursor: not-allowed !important;
}

.disabled {
  cursor: not-allowed !important;
}


[multiple]:focus,
[type=date]:focus,
[type=datetime-local]:focus,
[type=email]:focus,
[type=month]:focus,
[type=number]:focus,
[type=password]:focus,
[type=search]:focus,
[type=tel]:focus,
[type=text]:focus,
[type=time]:focus,
[type=url]:focus,
[type=week]:focus,
select:focus,
textarea:focus {
  border-color: var(--primary) !important;
  box-shadow: none !important;
}

table .p0dieu0kien0hoan0thanh {
  font-size: 0.825rem;
  color: var(--text-muted);
  display: block;
  margin-top: 8px;
  text-align: left;
}

.single-line-ellipsis,
.two-lines-ellipsis,
.three-lines-ellipsis,
.four-lines-ellipsis {
  display: -webkit-box;
  overflow: hidden;
  text-overflow: ellipsis;
  -webkit-box-orient: vertical
}

.single-line-ellipsis {
  -webkit-line-clamp: 1
}

.two-lines-ellipsis {
  -webkit-line-clamp: 2
}

.three-lines-ellipsis {
  -webkit-line-clamp: 3
}

.four-lines-ellipsis {
  -webkit-line-clamp: 4
}

.d-flex {
  display: flex !important;
}

.d-block {
  display: block !important;
}

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

.flex-row {
  flex-direction: row;
}

.flex-wrap {
  flex-wrap: wrap;
}

.align-item-center {
  align-items: center;
}

.justify-content-between {
  justify-content: space-between;
}

.justify-content-center {
  justify-content: center
}

.justify-content-start {
  justify-content: start
}

.justify-content-end {
  justify-content: end
}

.overflow-y-hidden {
  overflow-y: hidden;
}

.gap-1 {
  gap: 0.25rem;
}

.gap-2 {
  gap: 0.5rem;
}

.gap-3 {
  gap: 0.75rem;
}

.gap-4 {
  gap: 1rem;
}

.gap-5 {
  gap: 1.25rem;
}

.w-auto {
  width: auto;
}

.w-25 {
  width: 25% !important;
}

.w-50 {
  width: 50% !important;
}

.w-75 {
  width: 75% !important;
}

.w-100 {
  width: 100% !important;
}

.fw-100 {
  font-weight: 100 !important;
}

.h-auto {
  height: auto;
}

.h-25 {
  height: 25% !important;
}

.h-50 {
  height: 50% !important;
}

.h-75 {
  height: 75% !important;
}

.h-100 {
  height: 100% !important;
}

.fw-100 {
  font-weight: 100 !important;
}

.fw-200 {
  font-weight: 200 !important;
}

.fw-300 {
  font-weight: 300 !important;
}

.fw-400 {
  font-weight: 400 !important;
}

.fw-500 {
  font-weight: 500 !important;
}

.fw-600 {
  font-weight: 600 !important;
}

.fw-700 {
  font-weight: 700 !important;
}

.mt-1 {
  margin-top: 0.25rem;
}

.mt-2 {
  margin-top: 0.5rem;
}

.mt-3 {
  margin-top: 0.75rem;
}

.mt-4 {
  margin-top: 1rem;
}

.mt-5 {
  margin-top: 1.25rem;
}

.mb-1 {
  margin-bottom: 0.25rem;
}

.mb-2 {
  margin-bottom: 0.5rem;
}

.mb-3 {
  margin-bottom: 0.75rem;
}

.mb-4 {
  margin-bottom: 1rem;
}

.mb-5 {
  margin-bottom: 1.25rem;
}

.ml-1 {
  margin-left: 0.25rem;
}

.ml-2 {
  margin-left: 0.5rem;
}

.ml-3 {
  margin-left: 0.75rem;
}

.ml-4 {
  margin-left: 1rem;
}

.ml-5 {
  margin-left: 1.25rem;
}

.mr-1 {
  margin-right: 0.25rem;
}

.mr-2 {
  margin-right: 0.5rem;
}

.mr-3 {
  margin-right: 0.75rem;
}

.mr-4 {
  margin-right: 1rem;
}

.mr-5 {
  margin-right: 1.25rem;
}

.mr-auto {
  margin-right: auto;
}

.ml-auto {
  margin-left: auto;
}

.mt-auto {
  margin-top: auto;
}

.mb-auto {
  margin-bottom: auto;
}


.p-0 {
  padding-top: 0 !important;
}

.p-1 {
  padding: 0.25rem !important;
}

.p-2 {
  padding: 0.5rem !important;
}

.p-3 {
  padding: 0.75rem !important;
}

.p-4 {
  padding: 1rem !important;
}

.p-5 {
  padding: 1.25rem !important;
}

.pt-0 {
  padding-top: 0 !important;
}

.pt-1 {
  padding-top: 0.25rem !important;
}

.pt-2 {
  padding-top: 0.5rem !important;
}

.pt-3 {
  padding-top: 0.75rem !important;
}

.pt-4 {
  padding-top: 1rem !important;
}

.pt-5 {
  padding-top: 1.25rem !important;
}

.pb-0 {
  padding-bottom: 0 !important;
}

.pb-1 {
  padding-bottom: 0.25rem !important;
}

.pb-2 {
  padding-bottom: 0.5rem !important;
}

.pb-3 {
  padding-bottom: 0.75rem !important;
}

.pb-4 {
  padding-bottom: 1rem !important;
}

.pb-5 {
  padding-bottom: 1.25rem !important;
}

.pl-0 {
  padding-left: 0 !important;
}

.pl-1 {
  padding-left: 0.25rem !important;
}

.pl-2 {
  padding-left: 0.5rem !important;
}

.pl-3 {
  padding-left: 0.75rem !important;
}

.pl-4 {
  padding-left: 1rem !important;
}

.pl-5 {
  padding-left: 1.25rem !important;
}

.pr-0 {
  padding-right: 0 !important;
}

.pr-1 {
  padding-right: 0.25rem !important;
}

.pr-2 {
  padding-right: 0.5rem !important;
}

.pr-3 {
  padding-right: 0.75rem !important;
}

.pr-4 {
  padding-right: 1rem !important;
}

.pr-5 {
  padding-right: 1.25rem !important;
}

.px-1 {
  padding-left: 0.25rem !important;
  padding-right: 0.25rem !important;
}

.px-2 {
  padding-left: 0.5rem !important;
  padding-right: 0.5rem !important;
}

.px-3 {
  padding-left: 0.75rem !important;
  padding-right: 0.75rem !important;
}

.px-4 {
  padding-left: 1rem !important;
  padding-right: 1rem !important;
}

.px-5 {
  padding-left: 1.25rem !important;
  padding-right: 1.25rem !important;
}

.py-1 {
  padding-top: 0.25rem !important;
  padding-bottom: 0.25rem !important;
}

.py-2 {
  padding-top: 0.5rem !important;
  padding-bottom: 0.5rem !important;
}

.py-3 {
  padding-top: 0.75rem !important;
  padding-bottom: 0.75rem !important;
}

.py-4 {
  padding-top: 1rem !important;
  padding-bottom: 1rem !important;
}

.py-5 {
  padding-top: 1.25rem !important;
  padding-bottom: 1.25rem !important;
}

.rounded-lg {
  border-radius: 0.5rem;
}

.rounded-md {
  border-radius: 0.375rem;
}

.rounded-sm {
  border-radius: 0.125rem !important;
}

.no-shadow {
  box-shadow: none !important;
}

.shadow-default {
  box-shadow: rgba(0, 0, 0, 0.08);
}

.text-muted {
  color: var(--text-muted);
  font-style: italic;
}

.text-blue,
.text-primary {
  color: var(--primary) !important;
}

.text-red,
.text-danger {
  color: var(--danger) !important;
}

.text-green,
.text-success {
  color: var(--success) !important;
}

.text-warning {
  color: var(--warning) !important;
}

.text-black {
  color: var(--text) !important;
}

.text-secondary {
  color: var(--secondary) !important;
}

.text-gray-600 {
  --tw-text-opacity: 1;
  color: rgb(75 85 99 / var(--tw-text-opacity));
}

.text-purple {
  color: var(--purple) !important;
}

.text-nowrap {
  white-space: nowrap;
}

a:has(.text-black):hover {
  text-decoration: none !important;
}

.bg-primary {
  background-color: var(--primary);
  color: #fff !important;
}

.bg-success {
  background-color: var(--success);
  color: #fff !important;
}

.bg-secondary {
  background-color: #6b7280 !important;
  color: #fff !important;
}

.bg-red,
.bg-danger {
  background-color: var(--danger) !important;
  color: #fff !important;
}

.bg-primary:hover {
  background-color: #00B4DB;
  color: #fff !important;
}

.bg-success:hover {
  background-color: #10b981;
  color: #fff !important;
}

.bg-red:hover,
.bg-danger:hover {
  background-color: var(--danger-light) !important;
  color: #fff !important;
}

.bg-gradient-blue {
  background: linear-gradient(to right, #0072BC, #00B4DB) !important;
  color: var(--text-light);
}

.bg-gradient-green {
  background: linear-gradient(to right, #059669, #10b981) !important;
  color: var(--text-light);
}

.bg-purple-blue {
  background: linear-gradient(90deg, #ece7ff 0%, #f5ecff 45%, #dff7ff 100%);
}

.outline-primary {
  border: 1px solid var(--primary) !important;
}

.outline-success {
  border: 1px solid var(--success) !important;
}

.outline-secondary {
  border: 1px solid var(--secondary) !important;
}

.outline-danger {
  border: 1px solid var(--danger) !important;
}

.outline-primary:hover {
  background-color: var(--primary) !important;
  color: #fff !important;
}

.outline-success:hover {
  background-color: #059669 !important;
  color: #fff !important;
}

.outline-secondary:hover {
  background-color: #6b7280 !important;
  color: #fff !important;
}

.outline-danger:hover {
  background-color: var(--danger) !important;
  color: #fff !important;
}

.border-default {
  border: 1px solid rgba(0, 0, 0, 0.122);
}

a.a-active {
  color: var(--primary);
}

a.a-active:hover {
  color: var(--primary-light);
  text-decoration: underline;
}

.btn-xs {
  gap: 0.1rem;
  padding: 0.4rem 0.75rem;
}

.btn-sm {
  gap: 0.25rem;
  padding: 0.5rem 1rem;
}

@media (max-width:599.9px) {

  .flex.items-center.justify-between.w-100:has(> .tieude):has(> .a-return) {
    align-items: flex-start;
    gap: 0.25rem;
  }
}

a.a-return {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  line-height: normal;
  color: var(--primary);
  font-weight: 500;
  text-decoration: none;
  transition: color 0.2s;
  width: fit-content;
  white-space: nowrap;
}

.khung0tieu0de a.a-return {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  line-height: normal;
  font-weight: 500;
  color: var(--primary);
  text-decoration: none;
  transition: color 0.2s;
  padding: 0.3rem 0.6rem;
  border-radius: 8p x;
  height: fit-content;
  margin-left: auto;
}

.text-left {
  text-align: left !important;
}

.text-right {
  text-align: right !important;
}

.text-center {
  text-align: center !important;
}

.text-xs {
  font-size: 0.8rem !important;
}

.text-sm {
  font-size: 0.9rem !important;
}

.text-md {
  font-size: 1rem !important;
}

.text-lg {
  font-size: 1.1rem !important;
}

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

.hide-scrollbar::-webkit-scrollbar {
  display: none
}

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

.scrollToTop {
  position: fixed;
  right: 35px;
  bottom: 40px;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--primary);
  color: var(--text-light);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 20px rgba(0, 0, 0, .18);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition:
    opacity .3s ease,
    transform .3s ease,
    visibility .3s ease;
  z-index: 10;
  pointer-events: none;
}

.scrollToTop.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: auto;
}

.scrollToTop:hover {
  transform: translateY(-3px);
  background: var(--primary-light);
}

.scrollToTop svg {
  transition: transform .25s ease;
}

.scrollToTop:hover svg {
  transform: translateY(-1px);
}

.header {
  position: fixed;
  top: 0;
  right: 0;
  left: auto;
  z-index: 8888;
  width: 100%;
  box-sizing: border-box;
  padding: 0px !important;
  display: flex;
  flex-direction: column;
  flex-shrink: 0;
  background-color: white;
  color: var(--text-light);
  border-bottom: 1px solid var(--border);
  box-shadow: none;
  transition: box-shadow 300ms cubic-bezier(0.4, 0, 0.2, 1) 0ms;
}

.container-header {
  position: relative;
  width: 100%;
  box-sizing: border-box;
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  justify-content: space-between;
  -webkit-box-flex-wrap: wrap;
  -webkit-flex-wrap: wrap;
  -ms-flex-wrap: wrap;
  flex-wrap: nowrap;
  -webkit-flex-direction: row;
  -ms-flex-direction: row;
  flex-direction: row;
  -webkit-align-items: center;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
}

.btn-collapse-menu,
.btn-collapse-menu-mobile,
.btn-notification,
.btn-info {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  position: relative;
  box-sizing: border-box;
  cursor: pointer;
  user-select: none;
  vertical-align: middle;
  overflow: visible;
  background-color: transparent;
  color: #000000;
  text-decoration: none;
  text-align: center;
  border: 0;
  outline: 0;
  margin: 0;
  border-radius: 50%;
  flex: 0 0 auto;
  transition: background-color 150ms cubic-bezier(0.4, 0, 0.2, 1);
}

.notification-info {
  display: flex;
  align-items: center;
}

.div-notification {
  margin-top: 4px;
}

.span-notification img {
  width: 24px;
  height: 24px;
}

.count-notification {
  display: flex;
  align-items: center;
  align-content: center;
  justify-content: center;
  flex-direction: row;
  flex-wrap: wrap;
  position: absolute;
  top: 0;
  right: 0;
  box-sizing: border-box;
  z-index: 1;
  font-size: 0.7rem;
  line-height: 1;
  min-width: 16px;
  height: 16px;
  padding: 4px;
  border-radius: 10px;
  background-color: var(--danger);
  color: var(--text-light);
  transform: scale(1) translate(50%, -50%);
  transform-origin: 100% 0%;
  transition: transform 195ms cubic-bezier(0.4, 0, 0.2, 1);
  -webkit-transform: scale(0) translate(50%, -50%);
  -moz-transform: scale(0) translate(50%, -50%);
  -ms-transform: scale(0) translate(50%, -50%);
  transform: scale(0) translate(50%, -50%);
}

.count-notification.visible {
  -webkit-transform: scale(1) translate(50%, -50%);
  -moz-transform: scale(1) translate(50%, -50%);
  -ms-transform: scale(1) translate(50%, -50%);
  transform: scale(1) translate(50%, -50%);
}

.div-info {
  margin-left: 1.5rem;
}

audio {
  height: 3rem;
}

.img-user {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 3rem;
  height: 3rem;
  font-size: 1.25rem;
  line-height: 1;
  border-radius: 50%;
  overflow: hidden;
  user-select: none;
}

.custom-popup {
  animation: popupFadeIn 0.25s ease forwards;
}

.custom-popup.closing {
  animation: popupFadeOut 0.25s ease forwards;
}

.custom-popup>div {
  animation: popupSlideUp 0.25s ease forwards;
}

.custom-popup.closing>div {
  animation: popupSlideDown 0.25s ease forwards;
}

@keyframes popupFadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

@keyframes popupFadeOut {
  from {
    opacity: 1;
  }

  to {
    opacity: 0;
  }
}

@keyframes popupSlideUp {
  from {
    opacity: 0;
    transform: translateY(10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}


@keyframes popupSlideDown {
  from {
    opacity: 0;
    transform: translateY(0);
  }

  to {
    opacity: 1;
    transform: translateY(10px);
  }
}

.empty-result {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100% !important;
  color: var(--text-muted) !important;
  font-style: italic;
}

.popup-profile {
  min-width: 15rem;
  left: auto !important;
  right: 1.5rem !important;
  z-index: 8889;
  pointer-events: auto;
  position: fixed;
  opacity: 0;
  transition: opacity 0.2s ease;
}

.popup-profile .div-popup-profile {
  border: 1px solid var(--border);
  border-radius: 8px;
  font-size: 0.875rem;
  overflow-wrap: break-word;
  font-weight: 500;
  position: relative;
  padding: 0.5rem;
  background-color: white;
  color: black;
}

.profile-item {
  border-radius: 8px;
  padding: 0.75rem;
  display: flex;
  -webkit-box-align: center;
  align-items: center;
  padding: 0.5rem 1rem;
}

.profile-item:hover {
  background-color: var(--primary);
  color: var(--text-light);
}

.profile-item:hover .p0dang0xuat {
  color: var(--text-light);
}

.div-img-avatar,
.div-icon-logout {
  height: 2.5rem;
  width: 2.5rem;
  background-color: #eee;
  border-radius: 50%;
  margin-right: 0.75rem;
  display: flex;
  justify-content: center;
}

.img-avatar,
.icon-logout {
  height: 100%;
  text-align: center;
  object-fit: cover;
  color: transparent;
  border-radius: 50%;
}

.main0container {
  box-sizing: border-box;
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-flex-wrap: wrap;
  -webkit-flex-wrap: wrap;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  width: 100%;
  -webkit-flex-direction: row;
  -ms-flex-direction: row;
  flex-direction: row;
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-flex-direction: row;
  -ms-flex-direction: row;
  flex-direction: row;
  -webkit-box-flex-wrap: nowrap;
  -webkit-flex-wrap: nowrap;
  -ms-flex-wrap: nowrap;
  flex-wrap: nowrap;
}

.menu0trai {
  -webkit-flex: 0 0 auto;
  -ms-flex: 0 0 auto;
  flex: 0 0 auto;
  width: 17.5rem;
  -webkit-flex-shrink: 0;
  -ms-flex-negative: 0;
  flex-shrink: 0;
  white-space: nowrap;
  box-sizing: border-box;
  -webkit-transition: width 225ms cubic-bezier(0.4, 0, 0.6, 1) 0ms;
  transition: width 225ms cubic-bezier(0.4, 0, 0.6, 1) 0ms;
  overflow-x: hidden;
}

.menu0trai0thu0nho {
  width: 3.5625rem;
  box-sizing: border-box;
  overflow-x: hidden;
  flex: 0 0 auto;
  white-space: nowrap;
  transition: width 195ms cubic-bezier(0.4, 0, 0.6, 1);
}

.menu0trai0thu0nho .div0menu0trai {
  overflow-x: hidden;
  width: 3.5625rem;
  transition: width 195ms cubic-bezier(0.4, 0, 0.6, 1);
  background-color: var(--bg);
  border-right: 1px solid var(--border);
}

.div0menu0trai {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 1200;
  height: 100%;
  flex: 1 0 auto;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  background-color: var(--bg);
  color: rgba(0, 0, 0, 0.87);
  border-right: 1px solid var(--border);
  box-shadow: none;
  outline: 0;
  transition: width 225ms cubic-bezier(0.4, 0, 0.6, 1) 0ms;
}

.div0nho0cho0di0dong {
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-align-items: center;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: end;
  -ms-flex-pack: end;
  -webkit-justify-content: flex-end;
  justify-content: flex-end;
  padding: 0px 8px;
}

.ul0menu0trai {
  list-style: none;
  margin: 0;
  padding: 0;
  position: relative;
  padding-top: 8px;
  padding-bottom: 8px;
}

.a0menu0trai {
  color: var(--text-dark) !important;
}

.a0menu0trai:hover {
  text-decoration: none;
}

.li0menu0trai {
  -webkit-box-pack: start;
  justify-content: flex-start;
  -webkit-box-align: center;
  align-items: center;
  position: relative;
  text-decoration: none;
  width: 100%;
  box-sizing: border-box;
  text-align: left;
  display: block;
}

.btn0menu0trai0cho0di0dong {
  display: -webkit-inline-box;
  display: -webkit-inline-flex;
  display: -ms-inline-flexbox;
  display: inline-flex;
  -webkit-align-items: center;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  -webkit-justify-content: center;
  justify-content: center;
  position: relative;
  box-sizing: border-box;
  -webkit-tap-highlight-color: transparent;
  background-color: transparent;
  outline: 0;
  border: 0;
  margin: 0;
  padding: 0;
  cursor: pointer;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  vertical-align: middle;
  -moz-appearance: none;
  -webkit-appearance: none;
  -webkit-text-decoration: none;
  text-decoration: none;
  color: inherit;
  text-align: center;
  -webkit-flex: 0 0 auto;
  -ms-flex: 0 0 auto;
  flex: 0 0 auto;
  font-size: 1.5rem;
  padding: 8px;
  border-radius: 50%;
  overflow: visible;
  color: rgba(0, 0, 0, 0.54);
  -webkit-transition: background-color 150ms cubic-bezier(0.4, 0, 0.2, 1) 0ms;
  transition: background-color 150ms cubic-bezier(0.4, 0, 0.2, 1) 0ms;
}

.spn0menu0trai0cho0di0dong {
  overflow: hidden;
  pointer-events: none;
  position: absolute;
  z-index: 0;
  inset: 0px;
  border-radius: inherit;
}

.hr0chia0menu0trai {
  margin: 0;
  -webkit-flex-shrink: 0;
  -ms-flex-negative: 0;
  flex-shrink: 0;
  border-width: 0;
  border-style: solid;
  border-color: rgba(0, 0, 0, 0.12);
  border-bottom-width: thin;
}

.li0div0menu0trai0container {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  flex-grow: 1;
  position: relative;
  box-sizing: border-box;
  min-width: 0;
  min-height: 3rem;
  text-decoration: none;
  border: none;
  outline: none;
  border-radius: 8px;
  padding: 0;
  margin: 0.75rem;
  cursor: pointer;
  user-select: none;
  vertical-align: middle;
  appearance: none;
  transition: background-color 150ms cubic-bezier(0.4, 0, 0.2, 1);
  -webkit-tap-highlight-color: transparent;
}

.li0div0menu0trai0container.active {
  background-color: var(--primary);
  color: var(--text-light);
}

.li0div0menu0trai0container:hover {
  background-color: var(--primary-light);
  color: var(--text-light);
}

.div0bao0icon0li0menu0trai {
  min-width: 56px;
  color: rgba(0, 0, 0, 0.54);
  -webkit-flex-shrink: 0;
  -ms-flex-negative: 0;
  flex-shrink: 0;
  display: -webkit-inline-box;
  display: -webkit-inline-flex;
  display: -ms-inline-flexbox;
  display: inline-flex;
  min-width: 1.5rem;
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  -webkit-justify-content: center;
  justify-content: center;
  padding: 0.75rem;
  color: black;
}

.div0bao0icon0li0menu0trai.active,
.li0div0menu0trai0container:hover .div0bao0icon0li0menu0trai {
  color: white;
}

.div0bao0text0li0menu0trai {
  flex: 1 1 auto;
  min-width: 0px;
  margin: 0px;
}

.spn0li0menu0trai {
  margin: 0;
  font-family: 'Roboto', 'Open Sans';
  font-weight: 400;
  padding-left: 0.75rem;
  line-height: normal;
  letter-spacing: 0.02rem;
  display: block;
}

.div0che0phu {
  position: fixed;
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-align-items: center;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  -webkit-justify-content: center;
  justify-content: center;
  right: 0;
  bottom: 0;
  top: 0;
  left: 0;
  background-color: rgba(0, 0, 0, 0.5);
  -webkit-tap-highlight-color: transparent;
  z-index: 1199;
  transition: opacity 195ms cubic-bezier(0.4, 0, 0.2, 1);
  opacity: 0;
  visibility: hidden;
}

.div0che0phu.visible {
  opacity: 1;
  visibility: visible;
}

.main0container0right {
  box-sizing: border-box;
  margin: 0;
  -webkit-flex-direction: row;
  -ms-flex-direction: row;
  flex-direction: row;
  -webkit-flex-basis: 100%;
  -ms-flex-preferred-size: 100%;
  flex-basis: 100%;
  -webkit-box-flex: 0;
  -webkit-flex-grow: 0;
  -ms-flex-positive: 0;
  flex-grow: 0;
  max-width: 100%;
}

.khu0vuc0footer {
  box-sizing: border-box;
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-flex-wrap: wrap;
  -webkit-flex-wrap: wrap;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  width: 100%;
  -webkit-flex-direction: row;
  -ms-flex-direction: row;
  flex-direction: row;
  -webkit-align-items: center;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  padding: 1.25rem 1.5rem;
  background-color: white;
  position: relative;
  z-index: 1;
}

.khu0vuc0footer0trai {
  margin: 0;
  box-sizing: border-box;
  flex-direction: row;
}

.spn0copy0right {
  font-family: 'Roboto', 'Open Sans';
  font-weight: 400;
  font-size: 0.875rem;
  letter-spacing: 0.01rem;
}

.khung0tieu0de {
  min-height: 38px !important;
  max-height: 68px !important;
  /* margin-bottom: 0.5rem; */
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
}

.tieude {
  font-family: 'Roboto', 'Open Sans';
  letter-spacing: 0.02rem;
  line-height: 1.25;
  color: var(--text-dark);
}

.tieude-sm {
  letter-spacing: 0.02rem;
}

.course-item.nodata {
  display: none;
  padding: 1rem;
  color: #757575;
}

/* nội dung */
.khung-bao-lon-row {
  box-sizing: border-box;
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-flex-wrap: wrap;
  -webkit-flex-wrap: wrap;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  width: 100%;
  -webkit-flex-direction: row;
  -ms-flex-direction: row;
  flex-direction: row;
  margin-bottom: 1.5rem;
}

.khung-bao-lon-row:nth-child(2) {
  margin-bottom: 0;
}

.khung-bao-lon {
  box-sizing: border-box;
  display: flex;
  flex-wrap: wrap;
  flex-direction: column;
}

.khung-bao-lon:has(.khu-vuc-ben-trai) {
  box-sizing: border-box;
  display: flex;
  flex-wrap: wrap;
  flex-direction: row;
}

.div-icon {
  display: flex;
}

/* dropdown */
.dropdown {
  position: relative;
  display: inline-block;
  width: 100%;
  color: var(--text);
}

.dropdown-toggle {
  background: white;
  border: 1px solid var(--border);
  color: var(--text);
  border-radius: 8px;
  width: 100%;
  text-align: left;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.dropdown .dropdown-menu.show {
  display: block;
}

.dropdown-menu {
  display: none;
  position: absolute;
  background-color: white;
  border: 1px solid var(--border);
  border-radius: 8px;
  margin-top: 2px;
  z-index: 13;
  width: 100%;
  color: var(--text);
  width: auto;
}

.dropdown-item {
  height: auto;
  text-overflow: ellipsis;
  white-space: nowrap;
  overflow: hidden;
  padding: 0.5rem 0.75rem;
  cursor: pointer;
}

.search-dropdown .dropdown-menu {
  box-sizing: border-box;
  width: 100%;
  min-width: 0;
  max-width: 100%;
}

.search-dropdown .dropdown-item,
.search-dropdown .dropdown-label {
  display: block;
  box-sizing: border-box;
  width: 100%;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.dropdown-item.option0active {
  background-color: var(--primary);
  color: var(--text-light);
}

.dropdown-item:first-child.option0active,
.dropdown-item:first-child:hover {
  border-radius: 8px 8px 0 0;
}

.dropdown-item:last-child.option0active,
.dropdown-item:last-child:hover {
  border-radius: 0 0 8px 8px;
}

.dropdown-item:first-child:last-child {
  border-radius: 8px !important;
}

.dropdown-item:hover {
  background-color: var(--primary-light);
  color: var(--text-light);
}

.status-badge {
  display: inline-flex;
  align-items: center;
  padding: 0.3rem 0.5rem;
  font-size: 0.7rem;
  font-weight: 400;
  border-radius: 9999px;
  white-space: nowrap;
  line-height: normal
}

.status-badge.text-wrap {
  white-space: wrap;
}

.status-badge.status-warning.status-number-task {
  font-size: 1rem;
}

.status-badge svg {
  width: 0.85rem;
  height: 0.85rem;
  margin-right: 4px;
  flex-shrink: 0;
}

.status-badge.status-success {
  background-color: var(--success-bg);
  color: var(--success);
  border: 1px solid var(--success-border);
}

.status-badge.status-warning {
  background-color: var(--warning-bg);
  color: var(--warning);
  border: 1px solid var(--warning-border);
}

.status-badge.status-info,
.status-badge.status-primary {
  background-color: var(--primary-bg);
  color: var(--primary);
  border: 1px solid var(--primary-border);
}

.status-badge.status-danger {
  background-color: var(--danger-bg);
  color: var(--danger);
  border: 1px solid var(--danger-border);
}

.status-badge.status-secondary {
  background-color: var(--bg-muted);
  color: var(--secondary);
  border: 1px solid var(--border);
}

@media (min-width: 0px) {
  @media (orientation: landscape) {
    .div0nho0cho0di0dong {
      min-height: 48px;
    }
  }

  h1 {
    font-size: 1.375rem !important;
    font-weight: 700 !important;
  }

  h2 {
    font-size: 1.3rem !important;
    font-weight: 700 !important;
  }

  h3 {
    font-size: 1.225rem !important;
    font-weight: 600 !important;
  }

  h4 {
    font-size: 1.15rem !important;
    font-weight: 600 !important;
  }

  h5 {
    font-size: 1.075rem !important;
    font-weight: 600 !important;
  }

  h6 {
    font-size: 1rem !important;
    font-weight: 600 !important;
  }

  .container-header {
    padding: 0.5rem 1rem;
  }

  .profile-item p {
    font-size: 1rem;
  }

  .main0container {
    margin-top: 3.25rem;
  }

  .menu0trai {
    width: 0px;
  }

  .menu0trai .div0menu0trai {
    width: 0px;
  }

  .div0nho0cho0di0dong {
    min-height: 3.5rem;
  }

  .menu0trai0thu0nho .div0menu0trai {
    width: 17.5rem;
    position: fixed;
    z-index: 1201;
  }

  .khu0vuc0footer0trai,
  .khu0vuc0footer0phai {
    width: 100%;
  }

  .khung-bao-lon {
    padding: 1rem 0.75rem;
  }

  .spn0li0menu0trai {
    margin: 0;
    font-family: 'Roboto', 'Open Sans';
    font-weight: 400;
    padding-left: 0.75rem;
    font-size: 1rem;
    line-height: normal;
    letter-spacing: 0.02rem;
    display: block;
  }

  [multiple],
  [type=date],
  [type=datetime-local],
  [type=email],
  [type=month],
  [type=number],
  [type=password],
  [type=search],
  [type=tel],
  [type=text],
  [type=time],
  [type=url],
  [type=week],
  select,
  textarea {
    font-size: 0.9rem !important;
  }

  .dropdown-menu input,
  .dropdown-menu-custom input {
    font-size: 0.8rem;
    height: 36px;
  }

  button.btn,
  a.btn {
    border-radius: 8px;
    padding: 0.4rem 0.6rem;
    line-height: normal;
    display: inline-flex;
    align-items: center;
    gap: 0.2rem;
    transition: all .2s ease;
    min-height: 36px;
    font-size: 0.9rem;
    width: fit-content;
    white-space: nowrap;
  }

  button.btn svg,
  a.btn svg {
    height: 0.9rem;
    width: 0.9rem;
  }

  table button.btn,
  table a.btn,
  button.btn.btn-sm,
  a.btn.btn-sm {
    padding: 0.3rem 0.5rem;
    gap: 0.15rem;
    min-height: 32px;
    font-size: 0.85rem;
  }

  table button.btn.btn-sm,
  table a.btn.btn-sm {
    min-height: 30px;
  }

  table button.btn svg,
  table a.btn svg,
  button.btn.btn-sm svg,
  a.btn.btn-sm svg {
    height: 0.85rem;
    width: 0.85rem;
  }

  .modal-title button.btn,
  .modal-title a.btn {
    min-height: auto;
  }

  .modal-action button.btn,
  .modal-action a.btn {
    padding: 0.4rem 0.75rem;
  }

  .dropdown-toggle,
  .dropdown-toggle-custom {
    padding: 0.4rem 0.6rem;
    min-height: 36px;
  }

  .status-badge.status-sm {
    padding: 0.3rem 0.5rem;
  }

  table .status-badge.status-sm {
    padding: 0.2rem 0.4rem;
  }

  .main0container0left:has(.menu0trai0thu0nho) .div0che0phu {
    opacity: 1;
    visibility: visible;
  }
}


@media (max-width: 599.9px) {
  .img-logo {
    height: 36px;
    max-width: 100%;
  }

  .img-collapse-memu {
    width: 22px;
    height: 22px;
    margin-right: 0.5rem;
  }

  .img-user {
    height: 40px;
    width: 100%;
  }

  .span-notification img {
    width: 22px;
    height: 22px;
  }

  .dashboard {
    min-height: calc(100vh - 6.9rem);
  }

  .khu0vuc0footer {
    padding: 0.75rem 1rem;
  }
}

@media (min-width: 600px) {

  .container-header {
    padding: 0.75rem 1.5rem;
  }

  .img-logo {
    height: 38px;
    max-width: 100%;
  }

  .img-collapse-memu {
    width: 24px;
    height: 24px;
    margin-right: 0.75rem;
  }

  .img-user {
    height: 42px;
    width: 100%;
  }

  .main0container {
    margin-top: 3.75rem;
  }

  .dashboard {
    min-height: calc(100vh - 7.4rem);
  }

  .menu0trai {
    width: 4.5625rem;
  }

  .menu0trai .div0menu0trai {
    width: 4.5625rem;
  }

  .div0nho0cho0di0dong {
    min-height: 4rem;
  }

  .khu0vuc0footer0trai,
  .khu0vuc0footer0phai {
    width: 50%;
  }

  .khung-bao-lon {
    padding: 1.25rem;
  }
}

@media (min-width: 900px) {
  .khung-bao-lon {
    padding: 1.5rem;
  }

  [multiple],
  [type=date],
  [type=datetime-local],
  [type=email],
  [type=month],
  [type=number],
  [type=password],
  [type=search],
  [type=tel],
  [type=text],
  [type=time],
  [type=url],
  [type=week],
  select,
  textarea {
    min-height: 40px;
  }

  .dropdown-menu input,
  .dropdown-menu-custom input {
    min-height: 36px;
  }

  button.btn,
  a.btn {
    border-radius: 8px;
    padding: 0.5rem 0.75rem;
    line-height: normal;
    display: inline-flex;
    align-items: center;
    gap: 0.2rem;
    transition: all .2s ease;
    min-height: 40px;
  }

  table button.btn,
  table a.btn,
  button.btn.btn-sm,
  a.btn.btn-sm {
    padding: 0.35rem 0.6rem;
    gap: 0.15rem;
    min-height: 34px;
  }

  table button.btn.btn-sm,
  table a.btn.btn-sm {
    min-height: 32px;
  }

  .modal-title button.btn,
  .modal-title a.btn {
    min-height: auto;
  }

  .modal-action button.btn,
  .modal-action a.btn {
    padding: 0.5rem 1rem;
  }

  .dropdown-toggle,
  .dropdown-toggle-custom {
    padding: 0.5rem 0.75rem;
    min-height: 40px;
  }

  .page-size .dropdown-toggle,
  .page-size .dropdown-toggle-custom {
    min-height: 36px;
  }
}

@media (min-width: 1200px) {

  .div-info {
    margin-left: 2rem;
  }

  h1 {
    font-size: 1.625rem !important;
    font-weight: 700 !important;
  }

  h2 {
    font-size: 1.5rem !important;
    font-weight: 700 !important;
  }

  h3 {
    font-size: 1.375rem !important;
    font-weight: 600 !important;
  }

  h4 {
    font-size: 1.25rem !important;
    font-weight: 600 !important;
  }

  h5 {
    font-size: 1.125rem !important;
    font-weight: 600 !important;
  }

  h6 {
    font-size: 1.075rem !important;
    font-weight: 600 !important;
  }

  .menu0trai {
    width: 16rem;
  }

  .menu0trai .div0menu0trai {
    width: 16rem;
  }

  .main0container {
    margin-top: 4rem;
  }

  .dashboard {
    min-height: calc(100vh - 7.7rem);
  }

  .menu0trai0thu0nho {
    width: 4.5625rem;
  }

  .menu0trai0thu0nho .div0menu0trai {
    width: 4.5625rem;
  }

  table .p0dieu0kien0hoan0thanh {
    font-size: 0.9rem;
    color: #6b7280;
    display: block;
    margin-top: 8px;
  }

  .modal form {
    font-size: 1rem;
  }

  .text-xs {
    font-size: 0.9rem !important;
  }

  .text-sm {
    font-size: 1rem !important;
  }

  .text-md {
    font-size: 1.1rem !important;
  }

  .text-lg {
    font-size: 1.2rem !important;
  }

  button.btn,
  a.btn {
    font-size: 1rem;
  }

  table button.btn,
  table a.btn,
  button.btn.btn-sm,
  a.btn.btn-sm {
    font-size: 0.95rem;
  }

  button.btn svg,
  a.btn svg {
    width: 1rem;
    height: 1rem;
  }

  table button.btn svg table a.btn svg,
  button.btn.btn-sm svg,
  a.btn.btn-sm svg {
    width: 0.95rem;
    height: 0.95rem;
  }

  [multiple],
  [type=date],
  [type=datetime-local],
  [type=email],
  [type=month],
  [type=number],
  [type=password],
  [type=search],
  [type=tel],
  [type=text],
  [type=time],
  [type=url],
  [type=week],
  select,
  textarea {
    font-size: 1rem !important;
    min-height: 36px;
  }

  .dropdown-menu input,
  .dropdown-menu-custom input {
    font-size: 0.9rem;
    min-height: 30px;
  }

  .filepond--drop-label {
    font-size: 1rem !important;
  }

  .modal-alert .modal-actions a,
  .modal-alert .modal-actions button {
    padding: 0.6rem 0.75rem;
  }

  .status-badge {
    font-size: 0.8rem;
  }

  .status-badge.status-sm {
    padding: 0.4rem 0.6rem;
  }

  table .status-badge.status-sm {
    padding: 0.3rem 0.5rem;
  }

  .status-badge svg {
    width: 0.95rem;
    height: 0.95rem;
    margin-right: 4px;
    flex-shrink: 0;
  }

  .page-size,
  .pagination {
    font-size: 1rem;
  }

  .main0container0left:has(.menu0trai0thu0nho) .div0che0phu {
    opacity: 1;
    visibility: hidden;
  }
}

@media (min-width: 1536px) {
  .menu0trai {
    width: 17.5rem;
  }

  .menu0trai .div0menu0trai {
    width: 17.5rem;
  }
}

@media (min-width: 1730px) {}


/* --------------------------------------------- vailability --------------------------------------------- */
.search-box {
  margin-top: 0;
  margin-bottom: 1rem;
  padding: 12px;
  background: white;
  border-radius: 8px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  width: 100%;
}

.div-search .search-input,
.m-div-search .m-search-input,
.search-input {
  width: 100%;
  padding: 0.5rem 0.75rem;
  border: 1px solid var(--border);
  border-radius: 8px;
  font-size: 1rem;
  transition: all 0.2s;
}

.div-search .search-input:focus,
.m-div-search .m-search-input:focus,
.search-input:focus {
  outline: none !important;
  border-color: #667eea;
  box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

/* --------------------------------------------- vailability --------------------------------------------- */
.div-availability {
  display: block;
  padding: 0.5rem 0.75rem;
  background: #fef3c7;
  border-left: 4px solid #f59e0b;
  border-radius: 8px;
  font-size: 0.825rem;
  line-height: 1.5;
}

.ds-nhiemvu .div-availability {
  text-align: left;
  background: none;
  border-left: none;
}

.ds-nhiemvu .div-availability.border {
  background: #fef3c7;
  border-left: 4px solid #f59e0b;
  border-radius: 8px;
}

@media (min-width: 1200px) {
  .div-availability {
    font-size: 0.9rem;
  }
}

.div-availability ul {
  margin: 0.5rem 0 0 0;
  padding-left: 0.5rem;
  list-style: none;
}

.div-availability li {
  position: relative;
  padding-left: 24px;
  margin-bottom: 0.25rem;
}

.div-availability li:before {
  content: "•";
  position: absolute;
  left: 8px;
  color: #f59e0b;
  font-weight: bold;
  font-size: 16px;
}

.ds-nhiemvu .div-availability li:before {
  color: #374151;
}

.div-availability strong {
  color: #92400e;
  font-weight: 600;
}

.ds-nhiemvu .div-availability strong {
  color: #374151;
}

.div-availability a {
  color: var(--primary);
  text-decoration: none;
  font-weight: 600;
  transition: color 0.2s;
}

.div-content-html {
  line-height: 1.7;
}

.div-content-html a {
  text-decoration: underline;
  color: var(--primary);
}

.div-content-html table {
  border: 1px solid black;
}

.div-content-html table td {
  padding: 0.25rem 0.5rem;
}

.div-content-html p {
  margin-bottom: 0.5rem;
}

.div-timemodified {
  margin-top: 1.5rem;
  font-size: 14px;
}

.table-bordered {
  border-collapse: collapse;
}

.table-bordered th,
.table-bordered td {
  border: 1px solid var(--border);
}

.table.p-cell-2 th,
.table.p-cell-2 td {
  padding: 0.5rem;
  text-align: center;
}


/* --------------------------------------------- PAGE AND DROPDOWN --------------------------------------------- */
.page-size {
  width: 7.5rem;
  font-size: 0.9rem;
}

.page-size * {
  color: var(--text);
}

.page-size .dropdown-item:hover {
  background: var(--bg-muted);
  color: var(--primary);
}

.page-size .dropdown-item {
  height: auto;
  text-overflow: ellipsis;
  white-space: nowrap;
  overflow: hidden;
  padding: 0.5rem 1.5rem 0.5rem 0.75rem;
  cursor: pointer;
}

.page-btn {
  width: 36px;
  height: 36px;
  font-weight: 400;
  border-radius: 8px;
  border: 1px solid transparent;
  background: transparent;
  color: var(--text);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.page-btn:hover {
  background: var(--bg-muted);
  color: var(--primary);
}

.page-btn:disabled {
  opacity: .5;
  pointer-events: none;
}

.page-list {
  display: flex;
  align-items: center;
  gap: 4px;
}

.page-btn.active {
  background: var(--primary-bg);
  color: var(--primary);
  border-color: var(--primary-border);
  font-weight: 600;
}

.page-btn.active:hover {
  background: var(--primary-border);
  color: var(--primary);
}

.page-ellipsis {
  position: relative;
}

.page-btn.ellipsis {
  color: var(--text-muted);
}

.page-btn.ellipsis svg {
  display: none;
  width: 18px;
  height: 18px;
  stroke-width: 2;
}

.page-btn.ellipsis:hover {
  color: var(--primary);
}

.page-btn.ellipsis:hover .dots {
  display: none;
}

.page-btn.ellipsis:hover svg {
  display: block;
}

.pagination {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 4px;
}

.nav-btn svg {
  width: 24px;
  height: 24px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.5;
}


/* --------------------------------------------- DATATABLE --------------------------------------------- */

.datatable-table {
  font-size: 1rem;
}

.datatable-wrapper {
  width: 100%;
}

.datatable-wrapper .datatable-container {
  overflow: auto;
}

.datatable-top {
  padding: 0.75rem 0;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

.datatable-input {
  padding: 0.5rem 0.75rem;
  font-size: 1rem !important;
  font-weight: 400;
}

.datatable-table .datatable-input:focus {
  font-weight: 400;
}

.datatable-table td,
.datatable-table th {
  vertical-align: middle;
  padding: 0.75rem 0.5rem;
}

.datatable-table th {
  font-weight: 600;
}

.datatable-table .text0link:hover {
  color: var(--primary);
  text-decoration: none;
}

@media (min-width: 0px) {

  .div-content-html p,
  .div-content-html span,
  .datatable-table,
  .datatable-input {
    font-size: 0.9rem;
  }

  .page-size,
  .pagination {
    font-size: 0.9rem;
  }
}

@media (min-width: 1200px) {

  .datatable-table,
  .datatable-inputinput,
  .div-content-html p,
  .div-content-html span {
    font-size: 1rem !important;
  }
}

.datatable-wrapper.no-header .datatable-container {
  border-top: 1px solid #d9d9d9;
}

.datatable-wrapper.no-footer .datatable-container {
  border-bottom: 1px solid #d9d9d9;
}

.datatable-top>nav:first-child,
.datatable-top>div:first-child,
.datatable-bottom>nav:first-child,
.datatable-bottom>div:first-child {
  float: left;
}

.datatable-top>nav:last-child,
.datatable-top>div:not(first-child),
.datatable-bottom>nav:last-child,
.datatable-bottom>div:last-child {
  float: right;
}

.datatable-selector {
  padding: 6px;
}

.datatable-info {
  margin: 7px 0;
}

/* PAGER */
.datatable-pagination ul {
  margin: 0;
  padding-left: 0;
}

.datatable-pagination li {
  list-style: none;
  float: left;
}

.datatable-pagination li.datatable-hidden {
  visibility: hidden;
}

.datatable-pagination a,
.datatable-pagination button {
  border: 1px solid transparent;
  float: left;
  margin-left: 2px;
  padding: 6px 12px;
  position: relative;
  text-decoration: none;
  color: #333;
  cursor: pointer;
}

.datatable-pagination a:hover,
.datatable-pagination button:hover {
  background-color: #d9d9d9;
}

.datatable-pagination .datatable-active a,
.datatable-pagination .datatable-active a:focus,
.datatable-pagination .datatable-active a:hover,
.datatable-pagination .datatable-active button,
.datatable-pagination .datatable-active button:focus,
.datatable-pagination .datatable-active button:hover {
  background-color: #d9d9d9;
  cursor: default;
}

.datatable-pagination .datatable-ellipsis a,
.datatable-pagination .datatable-disabled a,
.datatable-pagination .datatable-disabled a:focus,
.datatable-pagination .datatable-disabled a:hover,
.datatable-pagination .datatable-ellipsis button,
.datatable-pagination .datatable-disabled button,
.datatable-pagination .datatable-disabled button:focus,
.datatable-pagination .datatable-disabled button:hover {
  pointer-events: none;
  cursor: default;
}

.datatable-pagination .datatable-disabled a,
.datatable-pagination .datatable-disabled a:focus,
.datatable-pagination .datatable-disabled a:hover,
.datatable-pagination .datatable-disabled button,
.datatable-pagination .datatable-disabled button:focus,
.datatable-pagination .datatable-disabled button:hover {
  cursor: not-allowed;
  opacity: 0.4;
}

.datatable-pagination .datatable-pagination a,
.datatable-pagination .datatable-pagination button {
  font-weight: bold;
}

/* TABLE */
.datatable-table {
  max-width: 100%;
  width: 100%;
  border-spacing: 0;
  /* border-collapse: separate; */
}

.datatable-table>thead>tr>th {
  vertical-align: bottom;
  text-align: left;
  border-bottom: 1px solid #d9d9d9;
}

.datatable-table>tfoot>tr>th {
  vertical-align: bottom;
  text-align: left;
  border-top: 1px solid #d9d9d9;
}

.datatable-table th {
  vertical-align: bottom;
  text-align: left;
}

.datatable-table th a {
  text-decoration: none;
  color: inherit;
}

.datatable-table th button,
.datatable-pagination-list button {
  color: inherit;
  border: 0;
  background-color: inherit;
  cursor: pointer;
  text-align: inherit;
  font-family: inherit;
  font-weight: inherit;
  font-size: inherit;
}

.datatable-sorter,
.datatable-filter {
  display: inline-block;
  height: 100%;
  position: relative;
  width: 100%;
}

.datatable-sorter::before,
.datatable-sorter::after {
  content: "";
  height: 0;
  width: 0;
  position: absolute;
  right: 0;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  opacity: 0.5;
}

.datatable-sorter::before {
  border-top: 4px solid #000;
  bottom: 0px;
}

.datatable-sorter::after {
  border-bottom: 4px solid #000;
  border-top: 4px solid transparent;
  top: 0px;
}

.datatable-ascending .datatable-sorter::after,
.datatable-descending .datatable-sorter::before,
.datatable-ascending .datatable-filter::after,
.datatable-descending .datatable-filter::before {
  opacity: 0.6;
}

.datatable-filter::before {
  content: "";
  position: absolute;
  right: 4px;
  opacity: 0.2;
  width: 0;
  height: 0;
  border-left: 7px solid transparent;
  border-right: 7px solid transparent;
  border-radius: 50%;
  border-top: 10px solid #000;
  top: 25%;
}

.datatable-filter-active .datatable-filter::before {
  opacity: 0.6;
}

.datatable-empty {
  text-align: center;
}

.datatable-empty .datatable-top {
  text-align: left;
}

.datatable-top::after,
.datatable-bottom::after {
  clear: both;
  content: " ";
  display: table;
}

table.datatable-table:focus tr.datatable-cursor>td:first-child {
  border-left: 3px blue solid;
}

table.datatable-table:focus {
  outline: solid 1px black;
  outline-offset: -1px;
}

.datatable-wrapper .datatable-bottom {
  padding: 1rem 0 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.datatable-wrapper .datatable-search {
  flex: 1;
}

.datatable-pagination ul {
  display: flex;
  list-style: none;
  padding: 0;
  margin: 0;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
  overflow: hidden;
}

.datatable-pagination ul:empty {
  display: none;
}

.datatable-pagination li {
  margin: 0;
}

.datatable-pagination li:not(:last-child) a {
  border-right: 1px solid #e2e8f0;
}

.datatable-wrapper .datatable-pagination {
  margin-left: auto;
}

@media (max-width: 639.9px) {
  .datatable-wrapper .datatable-pagination {
    margin-left: 0;
  }

  .datatable-pagination ul {
    flex-wrap: wrap;
    justify-content: center;
    gap: 2px;
  }

  .datatable-pagination a {
    padding: 0.4rem 0.7rem;
    font-size: 1rem;
  }

  .datatable-search .datatable-input {
    width: 100%;
  }

  .datatable-table .datatable-input {
    width: 94.3%;
  }

  .datatable-wrapper .datatable-search {
    flex: 1;
  }
}

.common-table tbody tr.loading-row td {
  padding: 1rem !important;
}

.table-spinner {
  width: 36px;
  height: 36px;
  margin: auto;
  border: 3px solid #dbeafe;
  border-top-color: var(--primary);
  border-radius: 50%;
  animation: spin .7s linear infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

.audio-preview-compact {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
  margin-top: 8px;
  padding: 0.25rem 0.5rem;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  width: fit-content;
  max-width: 100%
}

.audio-preview-label {
  font-size: 12px;
  line-height: 1.2;
  color: #64748b;
  font-weight: 600
}

.audio-preview-row {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  max-width: 100%
}

.audio-preview-compact audio {
  display: block;
  width: 260px;
  max-width: calc(100vw - 150px);
  min-height: 32px !important;
  min-width: 0
}

.audio-preview-actions {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
  border: 1px solid #dbe2ea;
  border-radius: 8px;
  overflow: hidden;
  background: #fff
}

.audio-preview-actions .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  min-height: 32px !important;
  min-width: 32px;
  padding: 0;
  border: 0;
  border-radius: 0
}

.audio-preview-actions .btn+.btn {
  border-left: 1px solid #dbe2ea
}

.audio-preview-actions svg {
  display: block
}

@media(max-width:480px) {
  .audio-preview-compact {
    gap: 4px;
    padding: 0.25rem 0.5rem;
  }

  .audio-preview-row {
    gap: 4px
  }

  .audio-preview-compact audio {
    width: 190px;
    max-width: calc(100vw - 130px);
    height: 30px
  }

  .audio-preview-actions .btn {
    width: 30px;
    height: 30px;
    min-width: 30px
  }
}

/* cảnh báo sv */

.warning-messages {
  position: relative;
  display: flex;
  align-items: flex-start;
  margin: 1.25rem 0.75rem -0.25rem;
  padding: 0.5rem 2.25rem 0.5rem 0.75rem;
  border: 1px solid var(--warning-border);
  border-radius: 8px;
  background: var(--warning-bg);
  color: var(--warning);
  line-height: 1.5;
}

.warning-messages-content {
  min-width: 0;
}

.warning-messages-text {
  color: var(--warning);
}

.warning-detail {
  display: inline;
  margin-left: 0.5rem;
  color: var(--primary);
  cursor: pointer;
  white-space: nowrap;
}

.warning-detail svg {
  display: inline-block;
  width: 15px;
  height: 15px;
  vertical-align: -2px;
}

.warning-detail:hover {
  text-decoration: underline;
}

.warning-close-btn {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  padding: 0 2px;
  border: 0;
  background: transparent;
  color: var(--warning);
  font-size: 1.25rem;
  line-height: 1;
  cursor: pointer;
}

.warning-close-btn:hover {
  opacity: 0.75;
}

.warning-detail-item {
  color: var(--text);
  line-height: 1.7 !important;
}

@media (min-width: 600px) {
  .warning-messages {
    margin: 1.25rem 1.25rem -0.25rem;
  }
}

@media (min-width: 900px) {
  .warning-messages {
    margin: 1.25rem 1.5rem -0.25rem;
  }

  .warning-messages {
    padding: 0.75rem 2.25rem 0.75rem 1rem;
  }
}