/**
 * Findtour CMS - Admin layout (Bootstrap 5)
 *
 * Brand guide colors (CSS variables):
 * - Primary: Bright Blue
 * - Accent: Golden Yellow
 * - Navy: Dark Blue variant
 * - Sky: Light Blue
 * - White: Pure White
 * - Text: Dark Gray
 */
:root {
  /* ----- Typography ----- */
  --font-sans: "Plus Jakarta Sans", sans-serif;

  /* ----- Brand guide ----- */
  --color-primary: #0066CC;
  /* Bright Blue */
  --color-primary-rgb: 0, 102, 204;
  --color-accent: #FFD700;
  /* Golden Yellow */
  --color-accent-rgb: 255, 215, 0;
  --color-navy: #0052a3;
  /* Navy Variant / Dark Blue */
  --color-navy-rgb: 0, 82, 163;
  --color-sky: #00a8ff;
  /* Sky Blue / Light Blue */
  --color-sky-rgb: 0, 168, 255;
  --color-white: #FFFFFF;
  /* Pure White */
  --color-text: #1a1a1a;
  /* Dark Gray */
  --color-text-rgb: 26, 26, 26;

  /* ----- Semantic (derived from brand) ----- */
  --color-border: rgba(var(--color-text-rgb), 0.08);
  --color-border-strong: rgba(var(--color-text-rgb), 0.12);
  --color-bg-subtle: #f1f5f9;
  /* light gray for content area */
  --color-bg-warm: #F8F2EC;
  /* warm cream for main area & table row hover */
  --color-text-muted: #64748b;
  --color-focus-ring: rgba(var(--color-primary-rgb), 0.25);
  /* Ghost button / light blue tint */
  --color-ghost-bg: rgba(var(--color-sky-rgb), 0.12);
  --color-ghost-text: var(--color-sky);

  /* ----- Alerts (semantic, for notifications) ----- */
  --color-success: #16a34a;
  --color-success-bg: rgba(22, 163, 74, 0.12);
  --color-info: var(--color-primary);
  --color-info-bg: rgba(var(--color-primary-rgb), 0.12);
  --color-warning: #d97706;
  --color-warning-bg: rgba(217, 119, 6, 0.12);
  --color-danger: #dc2626;
  --color-danger-bg: rgba(220, 38, 38, 0.12);

  /* ----- Layout ----- */
  --sidebar-width: 260px;
  --header-height: 56px;
  --sidebar-bg: #0a2463;
  --sidebar-bg-rgb: 10, 36, 99;
  --sidebar-text: rgba(255, 255, 255, 0.95);
  --sidebar-parent-text: #fff;
  --sidebar-hover: rgba(255, 255, 255, 0.1);
  --sidebar-active-bg: var(--color-white);
  --sidebar-active-text: var(--color-navy);
  /* Expanded (dropdown mở): nền xanh nhạt, chữ/icon vàng #FFD700 */
  --sidebar-expanded-bg: rgba(255, 255, 255, 0.14);
  --sidebar-expanded-text: #FFD700;
  --sidebar-border: rgba(255, 255, 255, 0.08);
}

/* ----- Base (font for whole app) ----- */
body {
  font-family: var(--font-sans);
  font-size: 13px;
}

/* ----- Layout wrapper ----- */
.app-root {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.app-page {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

.app-wrapper {
  display: flex;
  flex: 1;
  overflow: hidden;
}

/* ----- Header ----- */
.app-header {
  height: var(--header-height);
  background: var(--color-white);
  border-bottom: 1px solid var(--color-border);
  flex-shrink: 0;
  z-index: 1030;
}

.app-header-inner {
  display: flex;
  align-items: center;
  height: 100%;
  padding: 0 1rem;
  gap: 1rem;
}

.app-header-logo {
  height: 36px;
}

.app-header-search {
  flex: 1;
  max-width: 420px;
  margin: 0 auto;
  position: relative;
}

.app-header-search-icon {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 2.75rem;
  min-width: 2.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-text-muted);
  pointer-events: none;
  z-index: 1;
}

.app-header-search-icon .bi {
  font-size: 1rem;
}

/* Ô tìm kiếm trong card (Index): tránh chữ đè icon */
.app-content .card-header form.d-flex[method="get"] {
  position: relative;
  min-width: 0;
}

.app-content .card-header form.d-flex[method="get"] .position-absolute {
  left: 0.15rem;
  top: 50%;
  transform: translateY(-50%);
  margin-top: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  z-index: 1;
}

.app-content .card-header form.d-flex[method="get"] .form-control {
  padding-left: 2.5rem !important;
}

/* Mọi form tìm kiếm trong card-header có icon position-absolute: input phải có padding-left */
.app-content .card-header form:has(.position-absolute) input.form-control,
.app-content .card-header form:has(span.position-absolute) input.form-control {
  padding-left: 2.5rem !important;
}

.app-content .card-header form .position-absolute .bi,
.app-content .card-header form .position-absolute.bi-search {
  pointer-events: none;
}

/* Form có div position-relative chứa icon: đảm bảo input trong đó có padding */
.app-content .card-header .position-relative input.form-control {
  padding-left: 2.5rem !important;
}

.app-header-search-input {
  padding-left: 2.75rem !important;
  padding-right: 1rem;
  border-radius: 9999px;
  background: var(--color-bg-subtle);
  border: none;
  font-size: 0.9375rem;
  width: 100%;
  box-sizing: border-box;
}

.app-header-search-input:focus {
  background: var(--color-white);
  border: 1px solid var(--color-border-strong);
}

.app-header-right {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.app-header-avatar {
  width: 36px;
  height: 36px;
  object-fit: cover;
}

@media (max-width: 767.98px) {
  .app-header-search {
    display: none;
  }
}

/* ----- Sidebar (blue tone, rounded) ----- */
.app-sidebar {
  width: var(--sidebar-width);
  flex-shrink: 0;
  background: var(--sidebar-bg);
  color: var(--sidebar-text);
  overflow: hidden;
  transition: width 0.2s ease, margin-left 0.2s ease;
  display: flex;
  flex-direction: column;
  border-radius: 0;
  box-shadow: 2px 0 12px rgba(0, 0, 0, 0.08);
}

@media (max-width: 991.98px) {
  .app-sidebar {
    position: fixed;
    top: 0;
    left: 0;
    height: 100vh;
    z-index: 1040;
    margin-left: calc(-1 * var(--sidebar-width));
    border-radius: 0;
    box-shadow: 4px 0 20px rgba(0, 0, 0, 0.2);
  }

  .app-sidebar.show {
    margin-left: 0;
  }

  .app-sidebar-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(var(--color-text-rgb), 0.5);
    z-index: 1035;
    display: none;
  }

  .app-sidebar-backdrop.show {
    display: block;
  }
}

.app-sidebar .d-flex.border-bottom {
  border-color: var(--sidebar-border) !important;
  padding: 1rem 1.25rem;
}

.app-sidebar .sidebar-logo {
  height: 32px;
}

/* Sidebar nav: menu items */
.app-sidebar .sidebar-nav {
  padding: 0.5rem 0.75rem;
}

/* Menu cha (cấp 1): màu sáng hơn */
.app-sidebar .sidebar-nav>.px-2>.nav-link {
  color: var(--sidebar-parent-text);
}

.app-sidebar .nav-link {
  color: var(--sidebar-text);
  padding: 0.6rem 1rem;
  border-radius: 0.5rem;
  margin-bottom: 0.25rem;
  font-weight: 500;
  font-size: 0.9375rem;
  transition: background 0.2s ease, color 0.2s ease;
  display: flex;
  align-items: center;
}

.app-sidebar .nav-link:hover {
  background: var(--sidebar-hover);
  color: var(--color-white);
}

.app-sidebar .nav-link.active {
  background: var(--sidebar-active-bg);
  color: var(--sidebar-active-text);
}

.app-sidebar .nav-link[aria-expanded="true"] {
  background: var(--sidebar-expanded-bg);
  color: var(--sidebar-expanded-text);
}

.app-sidebar .nav-link .bi:first-child {
  margin-right: 0.65rem;
  font-size: 1.1rem;
  opacity: 0.95;
}

.app-sidebar .nav-link.active .bi {
  color: var(--sidebar-active-text);
}

.app-sidebar .nav-link[aria-expanded="true"] .bi {
  color: var(--sidebar-expanded-text);
}

.app-sidebar .nav-link .float-end {
  margin-left: auto;
  transition: transform 0.2s ease;
}

/* Chevron-down: cùng size và luôn căn phải ở mọi cấp (cấp 1 & cấp 2) - override .small */
.app-sidebar .nav-link .bi-chevron-down,
.app-sidebar .collapse .ps-2>.nav-link .bi-chevron-down {
  font-size: 0.875rem !important;
  flex-shrink: 0;
  margin-left: auto !important;
  opacity: 0.9;
}

.app-sidebar .nav-link[aria-expanded="true"] .bi-chevron-down {
  transform: rotate(180deg);
}

/* Cấp 2 (Tour, Khách sạn...): nav-link full width để chevron căn phải đúng như cấp 1 */
.app-sidebar .collapse .ps-2>.nav-link {
  width: 100%;
  min-width: 0;
}

.sidebar-nav {
  flex: 1;
  min-height: 0;
  height: 100%;
  overflow-y: auto;
}

/* Cấp 2 & 3: icon font (bi-dot / bi-dash) - đổi icon trong _SideBar.cshtml hoặc class ở đây */
.app-sidebar .nav-link .sidebar-nav-icon-c2 {
  font-size: 1.25rem;
  margin-right: 0.65rem;
  flex-shrink: 0;
  opacity: 0.9;
  line-height: 1;
}

.app-sidebar .nav-link .sidebar-nav-icon-c3 {
  font-size: 1rem;
  margin-right: 0.65rem;
  flex-shrink: 0;
  opacity: 0.85;
  line-height: 1;
}

.app-sidebar .nav-link.active .sidebar-nav-icon-c2,
.app-sidebar .nav-link.active .sidebar-nav-icon-c3 {
  opacity: 1;
  color: var(--sidebar-active-text);
}

.app-sidebar .nav-link[aria-expanded="true"] .sidebar-nav-icon-c2,
.app-sidebar .nav-link[aria-expanded="true"] .sidebar-nav-icon-c3 {
  opacity: 1;
  color: var(--sidebar-expanded-text);
}

.app-sidebar .nav-link:hover .sidebar-nav-icon-c2,
.app-sidebar .nav-link:hover .sidebar-nav-icon-c3 {
  opacity: 1;
}

/* Menu con: padding-left cố định - cấp 2 và cấp 3 logic như cấp 1 & 2 */
.app-sidebar .collapse .nav-link,
.app-sidebar .collapse.show .nav-link,
.app-sidebar .collapsing .nav-link {
  padding: 0.5rem 1rem 0.5rem 2rem;
  box-sizing: border-box;
}

/* Cấp 3: indent thêm, font nhỏ hơn một chút */
.app-sidebar .collapse .collapse .nav-link,
.app-sidebar .collapse.show .collapse .nav-link,
.app-sidebar .collapsing .collapse .nav-link {}

/* Cấp 2 (Tour, Khách sạn...): bỏ padding-left của .ps-2 để indent chỉ từ .nav-link */
.app-sidebar .sidebar-nav .collapse .ps-2,
.app-sidebar .sidebar-nav .collapse.show .ps-2,
.app-sidebar .sidebar-nav .collapsing .ps-2 {
  padding-left: 0;
}

.app-sidebar .sidebar-nav .collapse .ps-2>.nav-link,
.app-sidebar .sidebar-nav .collapse.show .ps-2>.nav-link,
.app-sidebar .sidebar-nav .collapsing .ps-2>.nav-link {
  padding-left: 2rem;
}

/* Ô search trong card header: icon căn trái, chữ không đè icon (áp dụng mọi Index) */
.card-header .bi-search.position-absolute {
  left: 0.75rem;
  top: 50%;
  transform: translateY(-50%);
  margin: 0;
  font-size: 1.1rem;
  pointer-events: none;
  opacity: 0.85;
}

.card-header form.position-relative input[name="Search"],
.card-header form.position-relative input.card-search-input,
.card-header .position-relative input[name="Search"],
.card-header .position-relative input.card-search-input {
  padding-left: 2.75rem !important;
}

/* ----- Main content ----- */
.app-main {
  flex: 1;
  display: flex;
  flex-direction: column;
  min-width: 0;
  background: var(--color-bg-warm);
}

.app-toolbar {
  flex-shrink: 0;
}

/* Khối tiêu đề trang: margin trên/dưới, title lớn đậm, chú thích nhỏ màu xám */
.page-header {
  margin-top: 1.5rem;
  margin-bottom: 1.5rem;
}

.page-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: 0.35rem;
  line-height: 1.3;
}

.page-subtitle {
  font-size: 0.9375rem;
  font-weight: 400;
  color: var(--color-text-muted);
  line-height: 1.45;
}

.app-content {
  flex: 1;
  padding: 0 0 1.5rem;
}

.app-container {
  padding-left: 1rem;
  padding-right: 1rem;
}

@media (min-width:992px) {
  .app-container {
    max-width: 100%;
    padding-left: 2rem;
    padding-right: 2rem;
  }
}

/* ----- Footer ----- */
.app-footer {
  padding: 0.75rem 1rem;
  background: var(--color-white);
  border-top: 1px solid var(--color-border);
  font-size: 0.875rem;
  color: var(--color-text-muted);
}

/* Cột Hình ảnh / Banner: không cho alt dài tràn cột */
.table td:has(> img) {
  max-width: 120px;
  overflow: hidden;
}

.table td:has(> img) img {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 0 auto;
}

/* ----- Content cards (CRUD) ----- */
.app-content .card {
  border: 1px solid var(--color-border);
  box-shadow: 0 2px 8px rgba(var(--color-text-rgb), 0.06);
  border-radius: 0.75rem;
  overflow: hidden;
  background: var(--color-white);
}

.app-content .card-header {
  background: var(--color-white);
  border-bottom: 1px solid var(--color-border);
  padding: 1rem 1.25rem;
  font-weight: 600;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.app-content .card-header .form-control {
  border-radius: 0.5rem;
  border-color: var(--color-border);
}

.app-content .card-header .btn-primary {
  border-radius: 0.5rem;
  display: inline-flex;
  align-items: center;
}

/* ----- Form Create/Edit: form trong card, inputs ----- */
.app-content .card .card-body,
.app-content>form {
  padding: 1.5rem 1.75rem;
}

/* Form là con trực tiếp của app-content: hiển thị như 1 card (không cần thêm div) */
.app-content>form {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: 0.75rem;
  box-shadow: 0 2px 8px rgba(var(--color-text-rgb), 0.06);
}

.app-content .card .card-body .form-control,
.app-content .card .card-body .form-select,
.app-content>form .form-control,
.app-content>form .form-select {
  border-radius: 0.5rem;
  border: 1px solid var(--color-border);
  padding: 0.5rem 0.875rem;
  font-size: 0.9375rem;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.app-content .card .card-body .form-control:focus,
.app-content .card .card-body .form-select:focus,
.app-content>form .form-control:focus,
.app-content>form .form-select:focus {
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(var(--color-primary-rgb), 0.15);
  outline: 0;
}

.app-content .card .card-body textarea.form-control,
.app-content>form textarea.form-control {
  min-height: 100px;
  resize: vertical;
  border-radius: 0.5rem;
  padding: 0.625rem 0.875rem;
}

.app-content .card .card-body label.fw-semibold,
.app-content .card .card-body label.form-label,
.app-content>form label.fw-semibold,
.app-content>form label.form-label,
.app-content>form .fs-6.fw-semibold.mb-2 {
  color: var(--color-text);
  font-weight: 600;
  font-size: 0.875rem;
  margin-bottom: 0.4rem;
  display: block;
}

/* ----- Checkbox: ngang hàng với label, style đồng nhất (vuông, đẹp) ----- */
.app-content .form-check,
.app-content .card .card-body .form-check,
.app-content>form .form-check {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  min-height: 1.5rem;
  padding-left: 0;
  margin-bottom: 0.5rem;
}

.app-content .form-check .form-check-label,
.app-content .card .card-body .form-check .form-check-label,
.app-content>form .form-check .form-check-label {
  display: inline;
  margin-bottom: 0;
  font-weight: 500;
  font-size: 0.875rem;
  color: var(--color-text);
  cursor: pointer;
  user-select: none;
  order: 1;
}

.app-content .form-check .form-check-input,
.app-content .card .card-body .form-check .form-check-input,
.app-content>form .form-check .form-check-input {
  order: 0;
  flex-shrink: 0;
  width: 1.25rem;
  height: 1.25rem;
  margin: 0;
  border-radius: 0.25rem;
  border: 2px solid var(--color-border-strong);
  background-color: var(--color-white);
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  transition: border-color 0.15s ease, background-color 0.15s ease, box-shadow 0.15s ease;
}

.app-content .form-check .form-check-input:focus,
.app-content .card .card-body .form-check .form-check-input:focus,
.app-content>form .form-check .form-check-input:focus {
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(var(--color-primary-rgb), 0.15);
  outline: 0;
}

.app-content .form-check .form-check-input:checked,
.app-content .card .card-body .form-check .form-check-input:checked,
.app-content>form .form-check .form-check-input:checked {
  background-color: var(--color-primary);
  border-color: var(--color-primary);
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3e%3cpath fill='none' stroke='%23fff' stroke-linecap='round' stroke-linejoin='round' stroke-width='3' d='M6 10l3 3l6-6'/%3e%3c/svg%3e");
}

.app-content .form-check .form-check-input:hover,
.app-content .card .card-body .form-check .form-check-input:hover,
.app-content>form .form-check .form-check-input:hover {
  border-color: var(--color-primary);
}

.app-content .card .card-body .mb-3,
.app-content>form .mb-3 {
  margin-bottom: 1rem;
}

.app-content .card .card-body .text-center.pt-15,
.app-content>form .text-center.pt-15 {
  padding-top: 1.5rem;
  margin-top: 0.5rem;
  border-top: 1px solid var(--color-border);
}

.app-content>form .input-upload,
.app-content .card .card-body .input-upload {
  border-radius: 0.5rem;
  border: 1px dashed var(--color-border-strong);
  padding: 0.5rem;
  font-size: 0.875rem;
}

.app-content>form .dropzone,
.app-content .card .card-body .dropzone {
  border-radius: 0.5rem;
  border: 1px dashed var(--color-border-strong);
  min-height: 120px;
}

/* ----- Breadcrumb ----- */
.breadcrumb {
  font-size: 0.875rem;
  margin-bottom: 0;
}

/* ----- Section titles (brand: primary + accent underline) ----- */
.section-title {
  color: var(--color-primary);
  font-weight: 700;
  font-size: 1.5rem;
  margin-bottom: 0.25rem;
}

.section-title::after {
  content: "";
  display: block;
  width: 3rem;
  height: 4px;
  background: var(--color-accent);
  border-radius: 2px;
  margin-top: 0.35rem;
}

.section-subtitle {
  color: var(--color-text);
  font-size: 0.9375rem;
  font-weight: 400;
  margin-bottom: 1.25rem;
}

/* ----- Data Tables ----- */
.app-content .table {
  margin-bottom: 0;
}

.app-content .table thead th,
.app-content .table thead.table-light th {
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  background: #f8fafc !important;
  border: none;
  border-bottom: 1px solid #f0f0f0;
  padding: 0.875rem 1.25rem;
}

.app-content .table thead th:first-child {
  border-radius: 0;
}

.app-content .table thead th:last-child {
  border-radius: 0;
}

.app-content .table tbody td {
  background: var(--color-white);
  color: var(--color-text);
  padding: 0.875rem 1.25rem;
  border-bottom: 1px dashed #f0f0f0;
  vertical-align: middle;
}

.app-content .table tbody tr:hover td {
  background: var(--color-bg-warm);
}

.app-content .table tbody tr:last-child td {
  border-bottom: 1px solid #f0f0f0;
}

/* Status pills (Active = primary, In Progress = accent) */
.badge-pill-primary,
.app-content .table .badge.bg-primary {
  background: var(--color-primary) !important;
  color: var(--color-white) !important;
  font-weight: 500;
  padding: 0.35em 0.75em;
  border-radius: 9999px;
}

.badge-pill-accent,
.app-content .table .badge.bg-warning {
  background: var(--color-accent) !important;
  color: var(--color-text) !important;
  font-weight: 500;
  padding: 0.35em 0.75em;
  border-radius: 9999px;
}

/* Badge trạng thái dạng pill + chấm màu */
.app-content .table .badge.bg-success {
  background: rgba(22, 163, 74, 0.15) !important;
  color: #16a34a;
  font-weight: 500;
  padding: 0.35em 0.75em;
  border-radius: 9999px;
}

.app-content .table .badge.bg-danger {
  background: rgba(220, 38, 38, 0.12) !important;
  color: #dc2626;
  font-weight: 500;
  padding: 0.35em 0.75em;
  border-radius: 9999px;
}

.app-content .table .badge.bg-secondary {
  background: #f2f2f2 !important;
  color: #64748b;
  font-weight: 500;
  padding: 0.35em 0.75em;
  border-radius: 9999px;
}

/* Badge có chấm tròn bên trái (status dot) */
.badge-status-dot {
  display: inline-flex;
  align-items: center;
  gap: 0.4em;
  font-weight: 500;
  padding: 0.35em 0.75em;
  border-radius: 9999px;
}

.badge-status-dot::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  flex-shrink: 0;
}

.badge-status-success,
.app-content .table .badge-status-success {
  background: rgba(22, 163, 74, 0.15);
  color: #16a34a;
}

.badge-status-success::before {
  background: #16a34a;
}

.badge-status-danger,
.app-content .table .badge-status-danger {
  background: rgba(220, 38, 38, 0.12);
  color: #dc2626;
}

.badge-status-danger::before {
  background: #dc2626;
}

.badge-status-warning,
.app-content .table .badge-status-warning {
  background: rgba(217, 119, 6, 0.15);
  color: #d97706;
}

.badge-status-warning::before {
  background: #d97706;
}

.badge-status-secondary,
.app-content .table .badge-status-secondary {
  background: #f2f2f2;
  color: #64748b;
}

.badge-status-secondary::before {
  background: #94a3b8;
}

.app-content .table tbody td strong,
.app-content .table tbody td .fw-bold {
  color: var(--color-text);
}

/* Nút hành động trong bảng: nhỏ gọn, bo góc */
.app-content .table .btn-sm.btn-light {
  border-radius: 0.5rem;
  border: 1px solid var(--color-border);
  font-weight: 500;
}

.app-content .table .dropdown-menu {
  border-radius: 0.5rem;
  box-shadow: 0 4px 12px rgba(var(--color-text-rgb), 0.1);
}

/* ----- Buttons (brand guide) ----- */
.btn-primary,
.app-content .btn-primary {
  background: var(--color-primary);
  border-color: var(--color-primary);
  color: var(--color-white);
  font-weight: 500;
  border-radius: 0.375rem;
  box-shadow: 0 1px 3px rgba(var(--color-text-rgb), 0.12);
  padding: 0.5rem 1rem;
}

.btn-primary:hover,
.app-content .btn-primary:hover {
  background: var(--color-navy);
  border-color: var(--color-navy);
  color: var(--color-white);
  box-shadow: 0 2px 6px rgba(var(--color-primary-rgb), 0.3);
}

.btn-secondary,
.app-content .btn-secondary {
  background: var(--color-accent);
  border-color: var(--color-accent);
  color: var(--color-text);
  font-weight: 500;
  border-radius: 0.375rem;
  box-shadow: 0 1px 3px rgba(var(--color-text-rgb), 0.12);
}

.btn-secondary:hover {
  background: #e6c200;
  border-color: #e6c200;
  color: var(--color-text);
  box-shadow: 0 2px 6px rgba(var(--color-accent-rgb), 0.35);
}

.btn-outline-primary {
  background: var(--color-white);
  border: 2px solid var(--color-primary);
  color: var(--color-primary);
  font-weight: 500;
  border-radius: 0.375rem;
}

.btn-outline-primary:hover {
  background: rgba(var(--color-primary-rgb), 0.06);
  border-color: var(--color-primary);
  color: var(--color-primary);
}

.btn-ghost {
  background: var(--color-ghost-bg);
  border: none;
  color: var(--color-ghost-text);
  font-weight: 500;
  border-radius: 0.375rem;
}

.btn-ghost:hover {
  background: rgba(var(--color-sky-rgb), 0.2);
  color: var(--color-navy);
}

/* ----- Form Elements (brand guide) ----- */
.form-label,
label.form-label {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--color-navy);
  margin-bottom: 0.35rem;
}

.app-content .form-control,
.app-content .form-select,
.app-content .form-select select,
.auth-box .form-control,
.form-control {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: 0.375rem;
  color: var(--color-text);
  padding: 0.5rem 0.75rem;
}

.app-content .form-control:focus,
.app-content .form-select:focus,
.auth-box .form-control:focus,
.form-control:focus {
  border-color: var(--color-primary);
  box-shadow: 0 0 0 0.25rem var(--color-focus-ring);
  outline: 0;
}

.app-content .form-control::placeholder,
.form-control::placeholder {
  color: var(--color-text-muted);
}

textarea.form-control {
  min-height: 100px;
  resize: vertical;
}

/* ----- Alerts & Notifications (brand guide) ----- */
.alert {
  position: relative;
  border: none;
  border-radius: 0.5rem;
  padding: 1rem 1rem 1rem 1.25rem;
  box-shadow: 0 1px 4px rgba(var(--color-text-rgb), 0.08);
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}

.alert::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  border-radius: 0.5rem 0 0 0.5rem;
}

.alert-success {
  background: var(--color-success-bg);
  color: var(--color-text);
}

.alert-success::before {
  background: var(--color-success);
}

.alert-success .alert-heading,
.alert-success strong {
  color: var(--color-success);
}

.alert-info {
  background: var(--color-info-bg);
  color: var(--color-text);
}

.alert-info::before {
  background: var(--color-info);
}

.alert-info .alert-heading,
.alert-info strong {
  color: var(--color-info);
}

.alert-warning {
  background: var(--color-warning-bg);
  color: var(--color-text);
}

.alert-warning::before {
  background: var(--color-warning);
}

.alert-warning .alert-heading,
.alert-warning strong {
  color: var(--color-warning);
}

.alert-danger {
  background: var(--color-danger-bg);
  color: var(--color-text);
}

.alert-danger::before {
  background: var(--color-danger);
}

.alert-danger .alert-heading,
.alert-danger strong {
  color: var(--color-danger);
}

/* ----- Badges (status) ----- */
.badge.bg-success-light {
  background: rgba(34, 197, 94, 0.15);
  color: #16a34a;
}

.badge.bg-danger-light {
  background: rgba(239, 68, 68, 0.15);
  color: #dc2626;
}

/* Keen compatibility: map old badge classes so existing views still look ok */
.badge-light-success {
  background: rgba(25, 135, 84, 0.2);
  color: #198754;
}

.badge-light-danger {
  background: rgba(220, 53, 69, 0.2);
  color: #dc3545;
}

.badge-light-primary {
  background: rgba(var(--color-primary-rgb), 0.2);
  color: var(--color-primary);
}

/* ----- Auth (Login) - Two column layout ----- */
.auth-split {
  min-height: 100vh;
  display: flex;
  font-family: var(--font-sans);
}

.auth-split-left {
  flex: 0 0 42%;
  background: linear-gradient(160deg, var(--color-navy) 0%, #003d73 50%, #002244 100%);
  color: var(--color-white);
  display: flex;
  align-items: center;
  padding: 2rem 3rem;
}

.auth-split-inner {
  max-width: 380px;
}

.auth-logo {
  display: inline-block;
  margin-bottom: 3rem;
}

.auth-quote-text {
  font-size: 1.5rem;
  font-weight: 600;
  line-height: 1.35;
  margin-bottom: 1.25rem;
}

.auth-quote-role {
  font-size: 0.875rem;
  opacity: 0.75;
}

.auth-split-right {
  flex: 1;
  background: var(--color-white);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
}

.auth-form-wrapper {
  width: 100%;
  max-width: 400px;
}

.auth-welcome {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: 0.5rem;
}

.auth-subtitle {
  color: var(--color-text-muted);
  font-size: 0.9375rem;
  margin-bottom: 2rem;
}

.auth-form .form-label {
  color: var(--color-text);
  font-weight: 500;
  text-transform: none;
  letter-spacing: 0;
}

.auth-form .form-control {
  font-size: 0.9375rem;
  border-radius: 0 0.5rem 0.5rem 0;
  border: 1px solid var(--color-border-strong);
}

.auth-form .input-group-auth .input-group-text {
  font-size: 0.9375rem;
  border-radius: 0.5rem 0 0 0.5rem;
  background: var(--color-bg-subtle);
  border: 1px solid var(--color-border-strong);
  border-right: 0;
  color: var(--color-text-muted);
}

.auth-form .input-group-auth .form-control {
  border-left: 0;
}

.auth-form .input-group-auth:focus-within .input-group-text {
  border-color: var(--color-primary);
  border-right: 0;
  color: var(--color-primary);
}

.auth-form .input-group-auth:focus-within .form-control {
  border-color: var(--color-primary);
  box-shadow: 0 0 0 0.25rem var(--color-focus-ring);
  outline: 0;
}

.auth-form .form-control:focus {
  border-color: var(--color-primary);
  box-shadow: 0 0 0 0.25rem var(--color-focus-ring);
  outline: 0;
}

.auth-link-forgot {
  display: inline-block;
  margin-top: 0.5rem;
  font-size: 0.875rem;
  color: var(--color-primary);
  text-decoration: none;
}

.auth-link-forgot:hover {
  color: var(--color-navy);
  text-decoration: underline;
}

.auth-form .form-check-input.auth-switch {
  width: 2.5rem;
  height: 1.25rem;
  background-color: rgba(var(--color-text-rgb), 0.2);
  border: none;
}

.auth-form .form-check-input.auth-switch:checked {
  background-color: var(--color-primary);
}

.auth-btn-submit {
  border-radius: 0.5rem;
  font-weight: 600;
  padding: 0.75rem 1rem;
}

@media (max-width: 991.98px) {
  .auth-split {
    flex-direction: column;
  }

  .auth-split-left {
    flex: none;
    min-height: 220px;
    padding: 1.5rem 2rem;
    text-align: center;
  }

  .auth-split-inner {
    max-width: 100%;
  }

  .auth-quote-text {
    font-size: 1.25rem;
  }

  .auth-split-right {
    padding: 2rem 1.5rem;
  }
}

/* Legacy single-box login (keep for any other auth views) */
.auth-wrapper {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--color-bg-subtle) 0%, #e2e8f0 100%);
}

.auth-box {
  background: var(--color-white);
  padding: 2rem;
  border-radius: 0.5rem;
  box-shadow: 0 4px 20px rgba(var(--color-text-rgb), 0.08);
  max-width: 400px;
  width: 100%;
}

.auth-box .form-control:focus {
  border-color: var(--color-primary);
  box-shadow: 0 0 0 0.25rem var(--color-focus-ring);
}

/* ----- Step (wizard) - keep for forms ----- */
.step-contents .step-content {
  display: none;
}

.step-contents .step-content.active {
  display: block;
}

.step-triggers {
  display: flex;
  margin-bottom: 1.5rem;
  border-bottom: 1px solid var(--color-border-strong);
}

.step-triggers .step-trigger {
  flex: 1;
  text-align: center;
  padding-bottom: 0.75rem;
  color: rgba(var(--color-text-rgb), 0.4);
  text-decoration: none;
  position: relative;
}

.step-triggers .step-trigger:hover {
  color: var(--color-primary);
}

.step-triggers .step-trigger.active {
  color: var(--color-primary);
  font-weight: 600;
}

.step-triggers .step-trigger.active::after,
.step-triggers .step-trigger.complete::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 2px;
  background: var(--color-primary);
}

.form-buttons-w {
  margin-top: 1.5rem;
  padding-top: 1rem;
  border-top: 1px solid var(--color-border-strong);
}

/* ----- Pagination (layout đẹp: Total trái, số trang tròn, active navy) ----- */
.controls-below-table {
  padding: 1rem 1.25rem;
  border-top: 1px solid #f0f0f0;
  background: var(--color-white);
}

.controls-below-table .row {
  align-items: center;
}

.controls-below-table .col-md-5 {
  font-size: 0.875rem;
  color: var(--color-text-muted);
}

.controls-below-table .pagination,
.pagination-compact {
  margin: 0;
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: 0.25rem;
}

.controls-below-table .page-item .page-link {
  min-width: 2.25rem;
  height: 2.25rem;
  padding: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  border: 1px solid var(--color-border);
  background: var(--color-white);
  color: var(--color-text);
  font-size: 0.875rem;
  font-weight: 500;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}

.controls-below-table .page-item .page-link:hover {
  background: var(--color-bg-subtle);
  border-color: var(--color-border-strong);
  color: var(--color-text);
}

.controls-below-table .page-item.active .page-link {
  background: var(--color-navy);
  border-color: var(--color-navy);
  color: var(--color-white);
}

.controls-below-table .page-item.disabled .page-link {
  background: var(--color-white);
  color: var(--color-text-muted);
  border-color: var(--color-border);
}

.controls-below-table .page-item.previous .page-link,
.controls-below-table .page-item.next .page-link {
  border-radius: 50%;
}

/* ----- Modal in table row (avoid duplicate ids in DOM) ----- */
.modal .modal-dialog {
  margin: 1.75rem auto;
}

/* Nút trong modal footer: cùng kích thước (button và link .btn) */
.modal .modal-footer .btn,
.modal-footer .btn {
  min-width: 7.5rem;
  padding: 0.5rem 0.875rem;
}

/* Nút form (Hủy, Cập nhật, Thêm mới) – đồng đều kích thước */
.app-content form .btn-sm.btn-danger,
.app-content form .btn-sm.btn-primary {
  min-height: 2.25rem;
  padding: 0.375rem 0.875rem;
  min-width: 7rem;
}

/* ----- Alert thông báo (success / cập nhật thành công) ----- */
/* Alert thông báo: dùng class .live-alert-placeholder (không dùng #id) */
.live-alert-placeholder .alert.alert-primary.alert-dismissible,
.app-content .alert.alert-primary.alert-dismissible.d-flex {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.25rem;
  margin-bottom: 0;
  border: none;
  border-left: 4px solid var(--color-success);
  border-radius: 0.5rem;
  background: var(--color-success-bg);
  box-shadow: 0 1px 3px rgba(var(--color-text-rgb), 0.06);
}

.live-alert-placeholder .alert.alert-primary.alert-dismissible .bi,
.app-content .alert.alert-primary.alert-dismissible.d-flex .bi {
  flex-shrink: 0;
  font-size: 1.5rem;
  color: var(--color-success);
}

.live-alert-placeholder .alert.alert-primary.alert-dismissible .d-flex.flex-column,
.app-content .alert.alert-primary.alert-dismissible.d-flex .d-flex.flex-column {
  flex: 1;
  min-width: 0;
  gap: 0.25rem;
}

.live-alert-placeholder .alert.alert-primary.alert-dismissible h4,
.app-content .alert.alert-primary.alert-dismissible.d-flex h4 {
  margin-bottom: 0;
  font-size: 1rem;
  font-weight: 600;
  color: var(--color-text);
}

.live-alert-placeholder .alert.alert-primary.alert-dismissible .d-flex.flex-column > span,
.app-content .alert.alert-primary.alert-dismissible.d-flex .d-flex.flex-column > span {
  font-size: 0.875rem;
  color: var(--color-text);
  line-height: 1.4;
}

.live-alert-placeholder .alert.alert-primary.alert-dismissible .btn-close,
.app-content .alert.alert-primary.alert-dismissible.d-flex .btn-close {
  flex-shrink: 0;
  margin-left: auto;
  padding: 0.5rem;
  opacity: 0.6;
}

.live-alert-placeholder .alert.alert-primary.alert-dismissible .btn-close:hover,
.app-content .alert.alert-primary.alert-dismissible.d-flex .btn-close:hover {
  opacity: 1;
}

/* Alert success (đổi mật khẩu, v.v.) – cùng layout, nền xanh success */
.live-alert-placeholder .alert.alert-success.alert-dismissible,
.app-content .alert.alert-success.alert-dismissible.d-flex {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.25rem;
  margin-bottom: 0;
  border: none;
  border-left: 4px solid var(--color-success);
  border-radius: 0.5rem;
  background: var(--color-success-bg);
  box-shadow: 0 1px 3px rgba(var(--color-text-rgb), 0.06);
}

.live-alert-placeholder .alert.alert-success.alert-dismissible .bi,
.app-content .alert.alert-success.alert-dismissible.d-flex .bi {
  flex-shrink: 0;
  font-size: 1.5rem;
  color: var(--color-success);
}

.live-alert-placeholder .alert.alert-success.alert-dismissible .d-flex.flex-column > span,
.app-content .alert.alert-success.alert-dismissible.d-flex .d-flex.flex-column > span {
  font-size: 0.875rem;
  color: var(--color-text);
  line-height: 1.4;
}

.live-alert-placeholder .alert.alert-success.alert-dismissible .btn-close,
.app-content .alert.alert-success.alert-dismissible.d-flex .btn-close {
  flex-shrink: 0;
  margin-left: auto;
  opacity: 0.6;
}

/* ----- List FQA / list items in modals ----- */
.list-questions {
  list-style: none;
  padding: 0;
  margin: 0;
}

.list-questions li {
  padding: 0.5rem 0;
  border-bottom: 1px solid rgba(var(--color-text-rgb), 0.06);
}

.show-scrollbar-maxh-450 {
  max-height: 450px;
  overflow-y: auto;
}

/* ----- Dashboard ----- */
.dashboard-stat-card .card-body {
  padding: 1.25rem;
}

.dashboard-stat-icon {
  width: 3rem;
  height: 3rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

/*  Step wizard  */
.form-buttons-w {
  margin-top: 1.5rem;
  padding-top: 1rem;
  border-top: 1px solid var(--color-border-strong);
}

.step-contents .step-content {
  padding: 0 5%;
  display: none;
}

.step-contents .step-content.active {
  display: block;
}

.step-triggers {
  display: flex;
  margin-bottom: 2.5rem;
  border-bottom: 1px solid var(--color-border-strong);
}

.step-triggers .step-trigger {
  padding-bottom: 1rem;
  flex: 1;
  text-align: center;
  font-size: 1.08rem;
  color: var(--color-text-muted);
  position: relative;
  transition: all 0.4s ease;
}

.step-triggers .step-trigger:focus,
.step-triggers .step-trigger:hover {
  text-decoration: none;
  color: var(--color-text);
  cursor: pointer;
}

.step-triggers .step-trigger::before {
  position: absolute;
  content: "";
  height: 4px;
  background-color: var(--color-primary);
  left: 0;
  right: 100%;
  bottom: -2px;
  transition: all 0.4s ease;
}

.step-triggers .step-trigger.complete::before {
  right: 0;
}

.step-triggers .step-trigger.active {
  color: var(--color-text);
}

.step-triggers .step-trigger.active::before {
  right: 0;
}

/* ----- Custom checkbox/radio (style-checkbox) ----- */
.style-checkbox input[type="checkbox"],
.style-radiobutton input[type="checkbox"],
.style-checkbox input[type="radio"],
.style-radiobutton input[type="radio"] {
  border: 0;
  clip: rect(0 0 0 0);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  width: 1px;
}

.style-checkbox input[type="checkbox"]:focus~label::before,
.style-radiobutton input[type="checkbox"]:focus~label::before,
.style-checkbox input[type="radio"]:focus~label::before,
.style-radiobutton input[type="radio"]:focus~label::before,
.style-checkbox input[type="checkbox"]:hover~label::before,
.style-radiobutton input[type="checkbox"]:hover~label::before,
.style-checkbox input[type="radio"]:hover~label::before,
.style-radiobutton input[type="radio"]:hover~label::before {
  border-color: var(--color-primary);
  background-color: var(--color-primary);
}

.style-checkbox input[type="checkbox"]~label,
.style-radiobutton input[type="checkbox"]~label,
.style-checkbox input[type="radio"]~label,
.style-radiobutton input[type="radio"]~label {
  position: relative;
  padding-left: 2em;
  vertical-align: middle;
  user-select: none;
  cursor: pointer;
  font-weight: normal;
}

.style-checkbox input[type="checkbox"]~label::before,
.style-radiobutton input[type="checkbox"]~label::before,
.style-checkbox input[type="radio"]~label::before,
.style-radiobutton input[type="radio"]~label::before {
  box-sizing: content-box;
  content: '';
  color: var(--color-primary);
  position: absolute;
  top: 50%;
  left: 0;
  width: 14px;
  height: 14px;
  margin-top: -9px;
  border: 2px solid var(--color-primary);
  text-align: center;
  transition: all 0.4s ease;
}

.style-checkbox input[type="checkbox"]~label::after,
.style-radiobutton input[type="checkbox"]~label::after,
.style-checkbox input[type="radio"]~label::after,
.style-radiobutton input[type="radio"]~label::after {
  box-sizing: content-box;
  content: '';
  background-color: var(--color-primary);
  position: absolute;
  top: 50%;
  left: 4px;
  width: 10px;
  height: 10px;
  margin-top: -5px;
  transform: scale(0);
  transition: transform 200ms ease-out;
}

.style-checkbox input[type="checkbox"]:disabled~label::before,
.style-radiobutton input[type="checkbox"]:disabled~label::before,
.style-checkbox input[type="radio"]:disabled~label::before,
.style-radiobutton input[type="radio"]:disabled~label::before {
  border-color: var(--color-border-strong);
}

.style-checkbox input[type="checkbox"]:checked~label::before,
.style-radiobutton input[type="checkbox"]:checked~label::before {
  background: var(--color-primary);
}

.style-checkbox input[type="checkbox"]~label::after,
.style-radiobutton input[type="checkbox"]~label::after {
  background-color: transparent;
  border: solid var(--color-white);
  border-width: 0 0 3px 3px;
  border-radius: 0;
  top: 50%;
  left: 4px;
  width: 8px;
  height: 3px;
  margin-top: -4px;
  transform: rotate(-45deg) scale(0);
}

.style-checkbox input[type="checkbox"]:checked~label::after,
.style-radiobutton input[type="checkbox"]:checked~label::after {
  content: '';
  transform: rotate(-45deg) scale(1);
}

.style-checkbox input[type="radio"]~label::before,
.style-radiobutton input[type="radio"]~label::before,
.style-checkbox input[type="radio"]~label::after,
.style-radiobutton input[type="radio"]~label::after {
  border-radius: 50%;
}

.style-checkbox input[type="radio"]:checked~label::before,
.style-radiobutton input[type="radio"]:checked~label::before {
  background-color: var(--color-white);
}

.style-checkbox input[type="radio"]:checked~label::after,
.style-radiobutton input[type="radio"]:checked~label::after {
  transform: scale(1);
}

/* ----- Select2 overrides ----- */
.select2-container {
  width: 100% !important;
  display: block;
}

.select2-container--default .select2-selection--single,
.select2-container--default .select2-selection--multiple {
  height: calc(2.125rem + 9px);
}

.select2-container .select2-selection--single .select2-selection__rendered {
  padding: .5rem .7rem;
}

.select2-container--default .select2-selection--single .select2-selection__arrow b {
  top: 75%;
}

.select2-container--default .select2-results__option--highlighted[aria-selected] {
  color: var(--color-text);
}

/* ----- Tagify (data-tagify="tags") layout ----- */
.tagify {
  width: 100% !important;
  min-height: calc(1.5em + 0.75rem + 2px);
}

.tagify-input-wrapper .tagify {
  width: 100% !important;
}

/* ----- Utilities (brand vars) ----- */
.controls-above-table .form-control.form-control-sl {
  padding: 0 0 0 10px;
  height: calc(1.125rem + 10px) !important;
}

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

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

.btn-to-model {
  min-width: 200px;
  text-align: left !important;
  outline: 2px solid var(--color-primary);
  outline-offset: 2px;
}

.sticky-top-0 {
  position: sticky;
  top: 0;
}

.w-fit-content {
  width: fit-content !important;
}

label {
  user-select: none;
}

.text-pre-wrap {
  overflow-wrap: anywhere;
}

.show-scrollbar-maxh-450 {
  overflow-y: auto;
  max-height: 450px;
  overflow-x: hidden;
}

.show-scrollbar-maxh-250 {
  overflow-y: auto;
  max-height: 250px;
  overflow-x: hidden;
}

.fqa-answer-textarea {
  min-height: 150px;
}

/* ----- Third-party: TinyMCE ----- */
.tox .tox-promotion {
  display: none !important;
}

/* ----- QR code / overlay ----- */
.qrcode {
  z-index: 999999;
  background-color: var(--color-white);
}

/* ----- Table: create/update by hover dropdown ----- */
.dropdown-hover {
  position: relative;
}
.dropdown-hover .dropdown-hover-menu {
  position: absolute;
  top: 100%;
  left: 0;
  margin-top: 0.25rem;
  z-index: 1050;
  min-width: 220px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.15s ease, visibility 0.15s ease;
}
.dropdown-hover:hover .dropdown-hover-menu {
  opacity: 1;
  visibility: visible;
}
.dropdown-hover .symbol-30px {
  width: 30px;
  height: 30px;
}
.dropdown-hover-menu-log {
  min-width: 260px;
  max-width: 360px;
  max-height: 320px;
}
.cursor-pointer {
  cursor: pointer;
}

/* ----- Utilities (moved from inline styles in views) ----- */
.dropdown-menu-scrollable {
  max-height: 400px;
  overflow-y: auto;
}

.avatar-fallback-size {
  width: 36px;
  height: 36px;
  min-width: 36px;
}

/* ----- Table column widths (th + td) ----- */
.th-col-80 {
  width: 80px;
}

.th-col-120 {
  width: 120px;
}

.th-col-125 {
  width: 125px;
  min-width: 125px;
}

.th-col-250 {
  width: 250px;
  min-width: 250px;
}

.th-col-320 {
  width: 320px;
  min-width: 320px;
}

.td-content-review {
  max-width: 320px;
  word-wrap: break-word;
  overflow-wrap: break-word;
  -webkit-line-clamp: 4;
  line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Cột hành động: nhiều nút không tràn, wrap gọn */
.td-actions {
  width: 1%;
  min-width: 100px;
}

.td-actions .btn-icon {
  flex-shrink: 0;
}

.td-actions .d-flex {
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.25rem;
}

.img-object-cover {
  object-fit: cover;
}

.dz-message.needsclick {
  justify-content: center;
}

.validation-message-hidden {
  display: none;
}

.input-maxw-700 {
  max-width: 700px;
}

.form-check-pl-1 {
  padding-left: 1rem;
}

optgroup {
  font-weight: 700;
}