﻿
.auth-one-bg {
  background-image: url("../images/bhumi_background.jpg");
}

.auth-one-bg-position {
  height: 90%;
}

.icon-avatar-background {
  background: linear-gradient(135deg, #6f63f6, #8c7cff);
}

#board-list.board-list-scroll {
  max-height: calc(100vh - 280px);
  overflow-y: auto;
  overflow-x: hidden;
  padding-right: 4px;
}

#board-list.board-list-scroll::-webkit-scrollbar,
.board-team-scroll::-webkit-scrollbar {
  width: 7px;
}

#board-list.board-list-scroll::-webkit-scrollbar-thumb,
.board-team-scroll::-webkit-scrollbar-thumb {
  background: #cfd4e8;
  border-radius: 999px;
}

.board-modern-card {
  border: 1px solid #e3e8f7;
  /* border-top: 4px solid #6f63f6; */
  border-radius: 14px;
  background: #f6f7fb;
  box-shadow: 0 6px 18px rgba(20, 35, 90, 0.08);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.board-modern-card:hover {
  transform: translateY(-2px);
  border-color: #d4dcf5;
  box-shadow: 0 12px 22px rgba(27, 44, 94, 0.14);
}

.board-modern-card .card-body {
  padding: 0.95rem;
}

.board-summary-icon {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #ebe9ff;
  border: 1px solid #d8d4ff;
  color: #6f63f6;
  font-weight: 700;
  font-size: 0.68rem;
  text-transform: uppercase;
}

.board-title {
  font-size: 1.08rem;
  line-height: 1.2;
  letter-spacing: -0.01em;
}

.board-title a {
  color: #212936;
}

.board-desc {
  min-height: 36px;
  line-height: 1.32;
  font-size: 0.8rem;
  color: #7a83a0;
}

.board-last-updated {
  font-size: 0.7rem;
  color: #9099b5;
}

.board-visibility-chip {
  font-size: 0.52rem !important;
  font-weight: 700;
  letter-spacing: 0.04em;
  line-height: 1;
  border-radius: 999px;
  padding: 0.30rem 0.40rem;
  display: inline-flex;
  align-items: center;
}

.board-progress-caption {
  color: #7f89a8;
  font-size: 0.78rem;
  font-weight: 600;
}

.board-progress-percent {
  font-size: 0.94rem;
  line-height: 1;
  font-weight: 700;
  color: #6f63f6;
}

.board-modern-card .progress {
  background: #d8d8f8;
  border-radius: 999px;
  height: 7px !important;
}

.board-modern-card .progress .progress-bar {
  border-radius: 999px;
  background: linear-gradient(90deg, #6f63f6, #7a85ff);
}

.board-stat-item {
  border: 1px solid #d9dfef;
  border-radius: 11px;
  text-align: center;
  padding: 8px 4px 7px;
  background: #f2f4fb;
}

.board-stat-item .stat-icon {
  display: inline-flex;
  width: 20px;
  height: 20px;
  border-radius: 999px;
  align-items: center;
  justify-content: center;
  margin-bottom: 4px;
  font-size: 0.72rem;
  color: #556083;
  background: #e8edf9;
}

.board-stat-item .value {
  display: block;
  font-weight: 700;
  font-size: 0.98rem;
  line-height: 1;
  color: #2f3650;
}

.board-stat-item .label {
  display: block;
  margin-top: 5px;
  font-size: 0.62rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #7e88a6;
  font-weight: 700;
}

.board-stat-item.stat-todo .stat-icon {
  color: #5e6c8f;
  background: #e8edf9;
}

.board-stat-item.stat-progress .stat-icon {
  color: #4f5fd4;
  background: #e7ebff;
}

.board-stat-item.stat-review .stat-icon {
  color: #dd8e13;
  background: #fff2dd;
}

.board-stat-item.stat-completed .stat-icon {
  color: #169f66;
  background: #e2f7ec;
}

.board-stat-item.stat-progress .value {
  color: #616ce2;
}

.board-stat-item.stat-review .value {
  color: #ef9b08;
}

.board-stat-item.stat-completed .value {
  color: #23a467;
}

.board-total-caption {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #7883a3;
  font-size: 0.76rem;
  font-weight: 600;
}

.board-total-icon {
  width: 18px;
  height: 18px;
  border-radius: 6px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #e9edfa;
  color: #5f6ea4;
  font-size: 0.76rem;
}

.board-mini-chip {
  border: 1px solid #d6ddee;
  background: #eef2fa;
  color: #6f7a98;
  border-radius: 999px;
  font-size: 0.55rem;
  font-weight: 700;
  line-height: 1;
  padding: 0.2rem 0.38rem;
  display: inline-flex;
  align-items: center;
}

.board-divider {
  border-top: 1px dashed #d6dcef;
  margin: 0.65rem 0;
}

.board-team-box {
  border: 1px solid #dbe2f2;
  border-radius: 12px;
  padding: 9px;
  background: #f5f7ff;
}

.board-team-title {
  font-size: 0.7rem;
  color: #6f7a99;
  letter-spacing: 0.04em;
  font-weight: 700;
  text-transform: uppercase;
}

.board-team-scroll {
  max-height: 116px;
  overflow-y: auto;
  padding-right: 4px;
}

.board-team-item {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
}

.board-team-item:last-child {
  margin-bottom: 0;
}

.board-team-avatar {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.63rem;
  font-weight: 700;
  color: #fff;
  background: linear-gradient(135deg, #6f63f6, #8c7cff);
  flex-shrink: 0;
  text-transform: uppercase;
}

.board-empty-state {
  border: 1px dashed #ccd5ec;
  border-radius: 8px;
  background: #f3f6fd;
  color: #7b86a7;
  font-size: 0.74rem;
  padding: 7px 8px;
}

.board-meta {
  font-size: 0.74rem;
  color: #7d86a4;
}

.board-open-btn {
  border-radius: 11px;
  border: 1px solid #cfd6e8;
  background: linear-gradient(180deg, #eef2fa, #e7ecf7);
  color: #3f4c6b;
  font-weight: 700;
  font-size: 0.82rem;
  padding-top: 0.44rem;
  padding-bottom: 0.44rem;
}

.board-open-btn:hover {
  background: #e2e8f2;
  color: #2f3b57;
}

.board-page {
  background: linear-gradient(180deg, #fbfcff, #f6f8ff);
  border: 1px solid #e6ebf8;
  border-radius: 16px;
  padding: 14px;
}

.board-page-header {
  border: 1px solid #e3e8f7;
  border-radius: 12px;
  background: #f4f7ff;
  padding: 12px 14px;
}

.board-page-title {
  font-size: 1.08rem;
  color: #27324e;
}

.board-page-subtitle {
  font-size: 0.8rem;
  color: #7f89a8;
}

.board-page-summary-chip {
  border: 1px solid #d8deef;
  background: #edf1fb;
  color: #5a688f;
  border-radius: 999px;
  padding: 0.35rem 0.66rem;
  font-size: 0.72rem;
  font-weight: 700;
  white-space: nowrap;
}

.board-add-btn {
  background: linear-gradient(135deg, #6f63f6, #5e84ff);
  border: none;
  color: #fff;
  border-radius: 10px;
  font-weight: 700;
  font-size: 0.82rem;
  box-shadow: 0 8px 14px rgba(95, 105, 210, 0.25);
}

.board-add-btn:hover {
  color: #fff;
  background: linear-gradient(135deg, #6458ea, #5578f0);
}

.board-search-input {
  border-radius: 10px;
  border-color: #d4dced;
  background: #fff;
}

.board-search-input:focus {
  border-color: #8e84ff;
  box-shadow: 0 0 0 0.18rem rgba(111, 99, 246, 0.14);
}

.board-page-alert {
  border: 0;
  border-radius: 10px;
  background: linear-gradient(135deg, #f06464, #d84a5e);
  color: #fff;
}

.board-empty-card {
  border: 1px dashed #cfd7ec;
  border-radius: 14px;
  background: #f8faff;
  padding: 1.2rem;
  text-align: center;
}

.board-empty-card h5 {
  color: #33405f;
  font-size: 1rem;
}

.board-empty-card p {
  color: #7e88a7;
  font-size: 0.8rem;
}

.board-empty-icon {
  width: 42px;
  height: 42px;
  margin: 0 auto 10px;
  border-radius: 12px;
  background: #ecefff;
  color: #6f63f6;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
}

.board-pagination-wrap {
  border: 1px solid #e2e8f7;
  border-radius: 12px;
  background: #f7f9ff;
  padding: 10px 12px;
}

.board-pagination-info {
  font-size: 0.78rem;
  color: #7883a3;
}

.board-pagination-links nav {
  display: flex;
  justify-content: flex-end;
}

.board-pagination-links .pagination {
  margin-bottom: 0;
}

.board-pagination-links .page-link {
  border-radius: 8px !important;
  border-color: #d9dfef;
  color: #637299;
  font-size: 0.76rem;
  padding: 0.26rem 0.54rem;
}

.board-pagination-links .page-item.active .page-link {
  background: #6f63f6;
  border-color: #6f63f6;
  color: #fff;
}

.board-modal-card {
  border-radius: 14px;
  border: 1px solid #e2e8f7;
  overflow: hidden;
}

.board-form-modal .board-modal-card {
  max-height: calc(100vh - 3.5rem);
  max-height: calc(100dvh - 3.5rem);
  display: flex;
  flex-direction: column;
}

.board-form-modal .board-form-scrollable {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  min-height: 0;
}

.board-modal-header {
  background: linear-gradient(135deg, #f0efff, #eef4ff);
  border-bottom: 1px solid #dfe6f8;
  padding: 1rem 1.15rem !important;
}

.board-form-title {
  color: #2f3a59;
  font-size: 0.98rem;
  font-weight: 700;
}

.board-form-subtitle {
  color: #7f89a8;
  font-size: 0.74rem;
  line-height: 1.35;
}

.board-modal-body {
  background: #fbfcff;
  padding: 1.15rem 1.2rem 1.35rem !important;
  scroll-padding-top: 0.9rem;
  scroll-padding-bottom: 0.9rem;
  flex: 1 1 auto;
  overflow-y: auto;
  min-height: 0;
}

.board-modal-body > :first-child {
  margin-top: 0.15rem;
}

.board-modal-body > :last-child {
  margin-bottom: 0.2rem;
}

.board-modal-body .form-control,
.board-modal-body .form-select {
  border-radius: 10px;
  border-color: #d7deef;
}

.board-modal-body .form-control:focus,
.board-modal-body .form-select:focus {
  border-color: #8d84ff;
  box-shadow: 0 0 0 0.17rem rgba(111, 99, 246, 0.14);
}

.board-form-modal .board-modal-body .board-search-input,
.board-form-modal .board-modal-body .board-form-select {
  min-height: 38px;
  font-size: 0.78rem;
  color: #44557f;
}

.board-form-modal .board-form-select {
  width: 100%;
  border-color: #d7deef;
  background-color: #fff;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='none' stroke='%237f8aad' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m2 5 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.75rem center;
  background-size: 14px 10px;
  padding-right: 2.2rem;
}

.board-form-modal .board-form-select:focus {
  border-color: #8d84ff;
  box-shadow: 0 0 0 0.17rem rgba(111, 99, 246, 0.14);
}

.board-form-modal .board-form-select:disabled {
  background-color: #f4f7ff;
  color: #60739a;
  cursor: not-allowed;
}

.board-form-layout {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.board-form-section {
  border: 1px solid #e1e7f7;
  border-radius: 12px;
  background: #f8faff;
  padding: 11px;
}

.board-form-section-title {
  font-size: 0.78rem;
  color: #556388;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  font-weight: 700;
}

.board-modal-body .form-label {
  color: #4f5d81;
  font-size: 0.77rem;
  font-weight: 700;
}

.board-input-helper {
  font-size: 0.7rem;
  color: #8a94b3;
  margin-top: 4px;
}

.board-visibility-note {
  border: 1px dashed #d7def0;
  border-radius: 8px;
  background: #f3f6ff;
  color: #6e7a9d;
  padding: 6px 8px;
  font-size: 0.72rem;
}

.board-member-count {
  border: 1px solid #d4dbee;
  background: #ecf0fb;
  color: #586790;
  border-radius: 999px;
  font-size: 0.68rem;
  font-weight: 700;
  padding: 0.24rem 0.54rem;
}

.board-member-search-wrap {
  position: relative;
}

.board-member-search-icon {
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  color: #8a94b3;
  font-size: 0.95rem;
  pointer-events: none;
  z-index: 1;
}

.board-member-search-input {
  padding-left: 2.1rem;
  font-size: 0.82rem;
  height: 38px;
}

.board-member-search-input:disabled {
  background: #f3f5fb;
  opacity: 0.85;
}

.board-member-picker {
  border: 1px solid #d7def0;
  border-radius: 10px;
  background: #fff;
  padding: 6px;
}

.board-member-item {
  border: 0;
  border-radius: 0;
  background: transparent;
  padding: 0;
  display: flex;
  align-items: center;
  gap: 0;
  margin-bottom: 0;
  position: relative;
}

.board-member-item:hover {
  border-color: transparent;
  background: transparent;
}

.board-member-check {
  width: 1px;
  height: 1px;
  margin: 0;
  opacity: 0;
  position: absolute;
  pointer-events: none;
}

.board-member-item .form-check-input,
.board-member-check {
  margin-top: 0;
}

.board-member-label {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  border: 1px solid transparent;
  border-radius: 9px;
  padding: 8px 10px;
  background: transparent;
  transition: background-color 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease;
  cursor: pointer;
}

.board-member-item:hover .board-member-label {
  background: #f7f9ff;
  border-color: #e1e7f7;
}

.board-member-check:checked + .board-member-label {
  border-color: #c1cdf0;
  background: linear-gradient(135deg, #eef2ff, #edf4ff);
  box-shadow: 0 3px 9px rgba(90, 110, 170, 0.14);
}

.board-member-avatar {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: linear-gradient(135deg, #6f63f6, #8a7cff);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.63rem;
  font-weight: 700;
  text-transform: uppercase;
  flex-shrink: 0;
}

.board-member-meta {
  min-width: 0;
  flex: 1;
}

.board-member-name {
  display: block;
  font-size: 0.76rem;
  line-height: 1.2;
  color: #364364;
  font-weight: 700;
  text-transform: capitalize;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.board-member-role {
  display: block;
  font-size: 0.68rem;
  color: #8a94b3;
  margin-top: 1px;
}

.board-member-check:checked + .board-member-label .board-member-name {
  color: #3a4d84;
}

.board-member-selected {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #dfe6fb;
  color: #6c78a0;
  font-size: 0.75rem;
  flex-shrink: 0;
  opacity: 0;
  transform: scale(0.9);
  transition: all 0.15s ease;
}

.board-member-check:checked + .board-member-label .board-member-selected {
  opacity: 1;
  transform: scale(1);
  background: #6f63f6;
  color: #fff;
}

.board-member-label.board-member-disabled {
  cursor: not-allowed;
  opacity: 0.68;
}

.board-member-empty {
  border: 1px dashed #d6dff1;
  border-radius: 9px;
  background: #f4f7ff;
  color: #7f8aad;
  font-size: 0.73rem;
  padding: 8px 9px;
}

.board-form-info {
  border: 1px solid #cfe0ff;
  border-radius: 10px;
  background: #ecf4ff;
  color: #5f7198;
  padding: 10px;
}

.board-form-info h6 {
  color: #4a5c87;
  font-size: 0.78rem;
  font-weight: 700;
}

.board-form-info p {
  font-size: 0.72rem;
  line-height: 1.4;
}

.board-form-footer {
  margin-top: 2px;
  padding-top: 10px;
  border-top: 1px solid #e5eaf7;
}

.board-btn-primary {
  background: linear-gradient(135deg, #6f63f6, #5e84ff);
  border: none;
  color: #fff;
  border-radius: 10px;
  font-size: 0.8rem;
  font-weight: 700;
}

.board-btn-secondary {
  border: 1px solid #d2daed;
  background: #f0f3fb;
  color: #526185;
  border-radius: 10px;
  font-size: 0.78rem;
  font-weight: 700;
}

.board-btn-danger {
  border: none;
  border-radius: 10px;
  background: linear-gradient(135deg, #ef5353, #e44563);
  color: #fff;
  font-size: 0.8rem;
  font-weight: 700;
}

.board-delete-title {
  color: #2f3a59;
  font-size: 0.94rem;
  font-weight: 700;
}

.board-delete-subtitle {
  color: #8a94b3;
  font-size: 0.74rem;
}

.board-delete-content {
  border: 1px solid #e1e7f7;
  border-radius: 12px;
  padding: 13px;
  background: linear-gradient(180deg, #fafcff, #f5f8ff);
}

.board-delete-main {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.board-delete-icon-wrap {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 1.05rem;
  color: #e24763;
  background: linear-gradient(135deg, #ffe9ee, #ffdfe7);
  border: 1px solid #ffcfd9;
}

.board-delete-heading {
  font-size: 0.96rem;
  font-weight: 700;
  color: #2f3a59;
}

.board-delete-text {
  font-size: 0.78rem;
  line-height: 1.4;
  color: #7f89a8;
}

.board-delete-name {
  display: flex;
  align-items: center;
  border: 1px solid #d5deef;
  background: #eef2fc;
  color: #3f4d73;
  border-radius: 9px;
  padding: 0.42rem 0.58rem;
  font-size: 0.76rem;
  font-weight: 700;
  text-transform: none;
  overflow-wrap: anywhere;
}

.board-delete-note {
  border: 1px dashed #d7def0;
  border-radius: 9px;
  background: #f3f6ff;
  padding: 8px 10px 6px;
}

.board-delete-note ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.board-delete-note li {
  color: #7781a0;
  font-size: 0.72rem;
  line-height: 1.35;
  margin-bottom: 4px;
}

.board-delete-note li:last-child {
  margin-bottom: 0;
}

.board-delete-cancel,
.board-delete-confirm {
  min-width: 148px;
}

.board-delete-confirm {
  box-shadow: 0 8px 14px rgba(228, 69, 99, 0.18);
}

.kanban-themed-page {
  padding: 12px;
}

.kanban-toolbar-card {
  border: 1px solid #e2e8f7;
  border-radius: 14px;
  box-shadow: 0 6px 16px rgba(41, 62, 120, 0.08);
  background: linear-gradient(180deg, #fafcff, #f4f7ff);
}

.kanban-toolbar-body {
  padding: 12px;
}

.kanban-member-group {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}

.kanban-top-btn {
  font-size: 0.78rem;
  padding: 0.42rem 0.64rem;
  border-radius: 10px;
}

.kanban-board-wrap {
  display: flex;
  gap: 14px;
  overflow-x: auto;
  padding-bottom: 4px;
}

.kanban-column {
  /* border: 1px solid #dde5f5;
  border-radius: 12px;
  background: #f7f9ff; */
  min-width: 300px;
  /* box-shadow: 0 4px 12px rgba(48, 66, 118, 0.06); */
}

.kanban-column-head {
  padding: 12px 12px 0;
  margin-bottom: 0 !important;
}

.kanban-column-title {
  color: #46557f;
  letter-spacing: 0.02em;
}

.kanban-column-body {
  max-height: calc(100vh - 270px);
}

.kanban-column .tasks {
  padding-bottom: 10px;
}

.kanban-task-card {
  border: 1px solid #dce4f5;
  border-radius: 11px;
  box-shadow: 0 3px 10px rgba(46, 64, 117, 0.08);
  transition: transform 0.16s ease, box-shadow 0.16s ease;
}

.kanban-task-card:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 16px rgba(45, 62, 112, 0.12);
}

.kanban-task-body {
  padding: 0.78rem;
}

.kanban-task-card .task-title a {
  color: #2b3553;
}

.kanban-task-head .task-title {
  font-size: 0.9rem !important;
  line-height: 1.3;
}

.kanban-task-card .text-muted {
  font-size: 0.74rem;
}

.kanban-task-desc {
  color: #7d87a5 !important;
  margin-bottom: 0.6rem;
  line-height: 1.35;
  min-height: 34px;
}

.kanban-task-details {
  border: 1px solid #e2e8f7;
  border-radius: 10px;
  background: #f9fbff;
  padding: 8px;
}

.kanban-progress-head h6 {
  font-size: 0.72rem;
}

.kanban-progress {
  height: 6px !important;
  background: #dde3f8;
}

.kanban-progress .progress-bar {
  background: linear-gradient(90deg, #6f63f6, #6ab4ff) !important;
}

.kanban-meta-row {
  padding: 5px 0;
  border-bottom: 1px dashed #e2e7f4;
}

.kanban-meta-row:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.kanban-meta-row .flex-grow-1 > div,
.kanban-meta-row p {
  font-size: 0.72rem;
  color: #7380a4;
  margin-bottom: 0;
}

.kanban-meta-row .flex-shrink-0 > div,
.kanban-meta-row .flex-shrink-0 > span,
.kanban-meta-row .flex-shrink-0 > h6 {
  font-size: 0.72rem;
  color: #526187;
  margin-bottom: 0;
}

.kanban-task-footer {
  border-top: 1px dashed #dde4f5 !important;
}

.kanban-footer-row {
  padding: 2px 0;
}

.kanban-footer-row .text-muted {
  font-size: 0.7rem !important;
}

.board-account-preview {
  border: 1px solid #e2e8f7;
  border-radius: 9px;
  background: #f9fbff;
  padding: 7px 9px;
  margin-bottom: 0;
}

.board-account-preview .board-member-meta {
  color: #3e4a6a;
  font-size: 0.75rem;
  font-weight: 600;
}

.tasklist-themed-page {
  padding: 12px;
}

.tasklist-toolbar-card {
  border: 1px solid #e2e8f7;
  border-radius: 14px;
  box-shadow: 0 6px 16px rgba(41, 62, 120, 0.08);
  background: linear-gradient(180deg, #fafcff, #f4f7ff);
}

.tasklist-page-content {
  padding: 24px 16px !important;
  border-radius: 14px;
}

.tasklist-page-title {
  font-size: 1.02rem;
  color: #2f3a59;
}

.tasklist-page-subtitle {
  font-size: 0.73rem;
  color: #818caa;
}

.tasklist-summary {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

.tasklist-page-sizewrap {
  margin-right: 0 !important;
}

.tasklist-perpage-select {
  width: auto;
  min-width: 76px;
  height: 34px;
  border-radius: 9px;
  border: 1px solid #d7deef;
  background-color: #fff;
  color: #44557f;
  font-size: 0.72rem;
  font-weight: 600;
  padding-left: 0.55rem;
  padding-right: 1.8rem;
  line-height: 1.1;
}

.tasklist-perpage-select:focus {
  border-color: #8d84ff;
  box-shadow: 0 0 0 0.16rem rgba(111, 99, 246, 0.14);
}

.tasklist-filter-bar {
  border: 1px solid #dee5f6;
  background: #f7f9ff;
}

.tasklist-filter-select {
  min-width: 145px;
  min-height: 36px;
  border-radius: 9px;
  border-color: #d7deef;
  font-size: 0.73rem;
}

.tasklist-filter-select:focus {
  border-color: #8d84ff;
  box-shadow: 0 0 0 0.16rem rgba(111, 99, 246, 0.14);
}

.tasklist-table {
  border-collapse: separate;
  border-spacing: 0 6px;
  min-width: 940px;
}

.tasklist-table thead th {
  border-top: 0 !important;
  border-bottom: 1px solid #dde4f5 !important;
  color: #5a698f;
  font-size: 0.73rem;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.tasklist-table tbody tr td {
  background: #fff;
  border-top: 1px solid #e5ebf8;
  border-bottom: 1px solid #e5ebf8;
  font-size: 0.76rem;
  color: #49587f;
  padding-top: 0.55rem;
  padding-bottom: 0.55rem;
}

.tasklist-table tbody tr td:first-child {
  border-left: 1px solid #e5ebf8;
  border-radius: 10px 0 0 10px;
}

.tasklist-table tbody tr td:last-child {
  border-right: 1px solid #e5ebf8;
  border-radius: 0 10px 10px 0;
}

.tasklist-table .form-check-label {
  font-size: 0.76rem;
}

.tasklist-themed-page #todo-content {
  margin-left: 0 !important;
  margin-right: 0 !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
}

.tasklist-action-group {
  justify-content: flex-start;
}

.tasklist-icon-btn {
  width: 30px;
  height: 30px;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  border-width: 1px;
  transition: all 0.2s ease;
}

.tasklist-icon-btn i {
  font-size: 0.82rem;
}

.tasklist-icon-btn:hover:not(:disabled) {
  transform: translateY(-1px);
  box-shadow: 0 6px 12px rgba(68, 91, 160, 0.16);
}

.tasklist-icon-btn:disabled {
  cursor: not-allowed;
  opacity: 0.9;
}

.tasklist-icon-btn-progress {
  width: 28px;
  height: 28px;
}

.tasklist-icon-btn-progress.tasklist-icon-btn-todo {
  background: linear-gradient(135deg, #4b8bff, #3577f1);
  border-color: #2d66cf;
  color: #fff;
  box-shadow: inset 0 -1px 0 rgba(0, 0, 0, 0.12);
}

.tasklist-icon-btn-progress.tasklist-icon-btn-inprogress {
  background: linear-gradient(135deg, #ffc866, #f7b84b);
  border-color: #df9f33;
  color: #fff;
  box-shadow: inset 0 -1px 0 rgba(0, 0, 0, 0.1);
}

.tasklist-icon-btn-progress.tasklist-icon-btn-pending {
  background: linear-gradient(135deg, #ff846f, #f06548);
  border-color: #d9573d;
  color: #fff;
  box-shadow: inset 0 -1px 0 rgba(0, 0, 0, 0.1);
}

.tasklist-icon-btn-progress.tasklist-icon-btn-done {
  background: linear-gradient(135deg, #20c9b2, #0ab39c);
  border-color: #079a87;
  color: #fff;
  box-shadow: inset 0 -1px 0 rgba(0, 0, 0, 0.1);
}

.tasklist-icon-btn-progress:disabled {
  filter: saturate(0.88);
}

.tasklist-icon-btn-locked,
.tasklist-icon-btn-progress.tasklist-icon-btn-locked:disabled {
  color: #fff !important;
  box-shadow: none !important;
  opacity: 0.58;
  filter: saturate(0.75) brightness(1.08) blur(0.25px);
  cursor: not-allowed;
}

.tasklist-icon-btn-todo.tasklist-icon-btn-locked,
.tasklist-icon-btn-progress.tasklist-icon-btn-todo.tasklist-icon-btn-locked:disabled {
  background: linear-gradient(135deg, #9ec0ff, #7aa6f7) !important;
  border-color: #6f95df !important;
}

.tasklist-icon-btn-inprogress.tasklist-icon-btn-locked,
.tasklist-icon-btn-progress.tasklist-icon-btn-inprogress.tasklist-icon-btn-locked:disabled {
  background: linear-gradient(135deg, #ffdba0, #f7cb7d) !important;
  border-color: #e0b05a !important;
}

.tasklist-icon-btn-pending.tasklist-icon-btn-locked,
.tasklist-icon-btn-progress.tasklist-icon-btn-pending.tasklist-icon-btn-locked:disabled {
  background: linear-gradient(135deg, #ffb3a4, #f58c76) !important;
  border-color: #e07a64 !important;
}

.tasklist-icon-btn-done.tasklist-icon-btn-locked,
.tasklist-icon-btn-progress.tasklist-icon-btn-done.tasklist-icon-btn-locked:disabled {
  background: linear-gradient(135deg, #7fdece, #4fc9b7) !important;
  border-color: #3bb5a3 !important;
}

.tasklist-icon-btn-locked-wrap {
  cursor: not-allowed;
}

.tasklist-icon-btn-locked:hover,
.tasklist-icon-btn-locked:focus,
.tasklist-icon-btn-locked:active {
  transform: none !important;
  box-shadow: none !important;
  opacity: 0.58;
}

.task-status-chip {
  border-width: 1px;
  border-style: solid;
}

.task-status-chip.task-status-chip-todo {
  background: #edf4ff;
  border-color: #cfe1ff;
  color: #3577f1;
}

.task-status-chip.task-status-chip-inprogress {
  background: #fff7e8;
  border-color: #ffe2ad;
  color: #d79a1f;
}

.task-status-chip.task-status-chip-pending {
  background: #fff0ed;
  border-color: #ffd4cc;
  color: #f06548;
}

.task-status-chip.task-status-chip-done {
  background: #e9f9f4;
  border-color: #cbeee2;
  color: #0ab39c;
}

.tasklist-icon-btn-action {
  width: 29px;
  height: 29px;
}

.tasklist-icon-btn-info {
  background: #edf4ff;
  border-color: #d3e4fd;
  color: #3577f1;
}

.tasklist-icon-btn-danger {
  background: #feeff1;
  border-color: #f7d2d8;
  color: #f06548;
}

.tasklist-empty-row {
  border-radius: 10px !important;
  font-size: 0.78rem;
  color: #7a86a8;
  font-weight: 600;
}

.tasklist-pagination-wrap {
  padding: 8px 10px;
}

.complaint-themed-page {
  padding: 12px;
}

.complaint-toolbar-card {
  border: 1px solid #e2e8f7;
  border-radius: 14px;
  box-shadow: 0 6px 16px rgba(41, 62, 120, 0.08);
  background: linear-gradient(180deg, #fafcff, #f4f7ff);
}

.complaint-page-content {
  padding: 16px !important;
  border-radius: 14px;
  background: #fff;
}

.complaint-page-title {
  color: #2f3a59;
  font-size: 1.02rem;
}

.complaint-page-subtitle {
  color: #818caa;
  font-size: 0.73rem;
}

.complaint-summary {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

.complaint-summary-chip {
  background: #eef3ff;
  border-color: #d8e4ff;
  color: #4960a0;
}

.complaint-filter-bar {
  border: 1px solid #dee5f6;
  background: #f7f9ff;
}

.complaint-search-box .search-icon {
  color: #6f7fa5;
}

.complaint-grid {
  row-gap: 12px;
}

.complaint-col {
  position: relative;
}

.complaint-item-card {
  border: 1px solid #e2e8f7;
  border-radius: 12px;
  background: #f6f7fb;
  box-shadow: 0 4px 12px rgba(41, 62, 120, 0.08);
  overflow: hidden;
  position: relative;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.complaint-item-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #6f63f6, #7a85ff);
  pointer-events: none;
}

.complaint-item-card::after {
  content: "";
  position: absolute;
  left: 10px;
  right: 10px;
  bottom: 0;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, transparent, rgba(111, 99, 246, 0.55), transparent);
  opacity: 0.75;
  pointer-events: none;
}

.complaint-item-card:hover {
  transform: translateY(-2px);
  border-color: #cfdcf4;
  box-shadow: 0 8px 18px rgba(41, 62, 120, 0.12);
}

.complaint-item-body {
  padding: 12px;
}

.complaint-item-icon {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: #ebe9ff;
  color: #6f63f6;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  border: 1px solid #d8d4ff;
  box-shadow: 0 2px 6px rgba(86, 103, 201, 0.14);
}

.complaint-item-menu-btn {
  border: none;
  background: transparent;
  color: #6e7ea6;
  padding: 0.2rem 0.35rem;
}

.complaint-item-menu-btn:hover {
  color: #3f5487;
  background: #eef3ff;
  border-radius: 8px;
}

.complaint-item-menu {
  border-radius: 10px;
  border-color: #e1e8f8;
}

.complaint-item-title {
  font-size: 0.86rem;
  color: #34456f;
}

.complaint-item-chip-wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
}

.complaint-status-chip {
  text-transform: uppercase;
}

.complaint-status-chip-published {
  background: #eafaf5;
  border-color: #cbeee2;
  color: #0ab39c;
}

.complaint-status-chip-unpublished {
  background: #fff0ed;
  border-color: #ffd4cc;
  color: #f06548;
}

.complaint-item-desc {
  color: #7b87a6;
  font-size: 0.73rem;
  line-height: 1.45;
  min-height: 40px;
}

.complaint-category-list {
  display: grid;
  gap: 5px;
  max-height: 126px;
  overflow: auto;
  padding-right: 2px;
}

.complaint-category-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
}

.complaint-category-name {
  color: #54648d;
  font-size: 0.73rem;
  font-weight: 600;
}

.complaint-category-count {
  text-transform: uppercase;
  border-color: #d3dcf2;
  background: #eef2fa;
  color: #65759e;
}

.complaint-progress-wrap {
  border-top: 1px dashed #d8e1f5;
  padding-top: 8px;
}

.complaint-progress-label {
  color: #60709a;
  font-size: 0.72rem;
  font-weight: 700;
}

.complaint-progress-value {
  color: #50608b;
  font-size: 0.72rem;
  font-weight: 700;
}

.complaint-progress-percent {
  color: #7a87a8;
  font-size: 0.68rem;
  font-weight: 700;
  text-align: right;
}

.complaint-progressbar {
  height: 7px;
  background: #d8d8f8;
  border-radius: 999px;
}

.complaint-progressbar .progress-bar {
  border-radius: 999px;
  background: linear-gradient(90deg, #6f63f6, #7a85ff);
}

.complaint-item-footer {
  background: #fbfcff;
  border-top: 1px dashed #dde5f6;
  padding: 9px 12px;
}

.complaint-footer-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
}

.complaint-footer-row + .complaint-footer-row {
  margin-top: 5px;
}

.complaint-footer-label {
  color: #7b88a9;
  font-size: 0.68rem;
  font-weight: 700;
}

.complaint-footer-value {
  color: #5f6f97;
  font-size: 0.7rem;
  font-weight: 600;
}

.complaint-empty-wrap {
  border: 1px dashed #d9e2f6;
  border-radius: 12px;
  background: #f9fbff;
  padding: 22px 16px;
}

.complaint-empty-icon {
  width: 68px;
  height: 68px;
}

.complaint-pagination-wrap {
  padding: 8px 10px;
}

.complaint-pagination-links nav {
  margin: 0;
}

.complaint-modal-dialog {
  max-width: 640px;
}

.complaint-modal-card {
  border-radius: 14px;
}

.complaint-modal-header {
  background: linear-gradient(180deg, #f9fbff 0%, #f2f6ff 100%);
}

.complaint-modal-subtitle {
  color: #7d8aa9;
  font-size: 0.72rem;
}

.complaint-modal-body {
  max-height: calc(100vh - 200px);
  overflow-y: auto;
}

.complaint-form-section {
  margin-bottom: 0.8rem;
}

.complaint-description-input {
  min-height: 96px;
}

.complaint-modal-actions .btn {
  min-width: 122px;
}

.complaintdetail-themed-page {
  padding: 12px;
}

.complaintdetail-toolbar-card {
  border: 1px solid #e2e8f7;
  border-radius: 14px;
  box-shadow: 0 6px 16px rgba(41, 62, 120, 0.08);
  background: linear-gradient(180deg, #fafcff, #f4f7ff);
}

.complaintdetail-page-content {
  padding: 16px !important;
  border-radius: 14px;
  background: #fff;
}

.complaintdetail-page-title {
  font-size: 1.02rem;
  color: #2f3a59;
}

.complaintdetail-page-subtitle {
  font-size: 0.73rem;
  color: #818caa;
}

.complaintdetail-page-sizewrap {
  margin-right: 0 !important;
}

.complaintdetail-export-btn {
  background: linear-gradient(135deg, #19bb9b, #0ab39c);
  border: none;
  color: #fff;
  border-radius: 10px;
  font-weight: 700;
  font-size: 0.82rem;
  box-shadow: 0 8px 14px rgba(10, 179, 156, 0.24);
  white-space: nowrap;
}

.complaintdetail-export-btn:hover {
  color: #fff;
  background: linear-gradient(135deg, #15a98d, #099d89);
}

.complaintdetail-perpage-select {
  width: auto;
  min-width: 76px;
  height: 34px;
  border-radius: 9px;
  border: 1px solid #d7deef;
  background-color: #fff;
  color: #44557f;
  font-size: 0.72rem;
  font-weight: 600;
  padding-left: 0.55rem;
  padding-right: 1.8rem;
  line-height: 1.1;
}

.complaintdetail-perpage-select:focus {
  border-color: #8d84ff;
  box-shadow: 0 0 0 0.16rem rgba(111, 99, 246, 0.14);
}

.complaintdetail-filter-bar {
  border: 1px solid #dee5f6;
  background: #f7f9ff;
}

.complaintdetail-filter-grid .form-control,
.complaintdetail-filter-grid .form-select {
  min-height: 36px;
  border-radius: 9px;
  border-color: #d7deef;
  font-size: 0.73rem;
}

.complaintdetail-filter-grid .form-control:focus,
.complaintdetail-filter-grid .form-select:focus {
  border-color: #8d84ff;
  box-shadow: 0 0 0 0.16rem rgba(111, 99, 246, 0.14);
}

.complaintdetail-search-box .search-icon {
  color: #6f7fa5;
}

.complaintdetail-table-shell {
  margin-left: 0 !important;
  margin-right: 0 !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
}

.complaintdetail-table {
  border-collapse: separate;
  border-spacing: 0 6px;
  min-width: 1320px;
}

.complaintdetail-table-head {
  background: #f8faff;
}

.complaintdetail-table thead th {
  border-top: 0 !important;
  border-bottom: 1px solid #dde4f5 !important;
  color: #5a698f;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.complaintdetail-table tbody tr td {
  background: #fff;
  border-top: 1px solid #e5ebf8;
  border-bottom: 1px solid #e5ebf8;
  font-size: 0.74rem;
  color: #49587f;
  padding-top: 0.55rem;
  padding-bottom: 0.55rem;
}

.complaintdetail-table tbody tr td:first-child {
  border-left: 1px solid #e5ebf8;
  border-radius: 10px 0 0 10px;
}

.complaintdetail-table tbody tr td:last-child {
  border-right: 1px solid #e5ebf8;
  border-radius: 0 10px 10px 0;
}

.complaintdetail-empty-wrap {
  display: none;
}

.complaintdetail-empty-icon {
  width: 72px;
  height: 72px;
}

.complaintdetail-pagination-wrap {
  padding: 8px 10px;
}

.complaintdetail-pagination-links nav {
  margin: 0;
}

.complaintdetail-modal-dialog {
  max-width: min(1140px, calc(100% - 1rem));
}

.complaintdetail-modal-header {
  background: linear-gradient(180deg, #f9fbff 0%, #f2f6ff 100%);
}

.complaintdetail-modal-subtitle {
  color: #7d8aa9;
  font-size: 0.72rem;
}

.complaintdetail-modal-body {
  max-height: calc(100vh - 12.5rem);
  max-height: calc(100dvh - 12.5rem);
  padding: 0.75rem !important;
  overflow: hidden;
  box-sizing: border-box;
}

.complaintdetail-form-layout .complaintdetail-info-panel {
  border: 1px solid #e2e8f7;
  border-radius: 12px;
  background: #f8faff;
  padding: 10px;
  width: 100%;
}

.complaintdetail-modal-actions .btn {
  min-width: 124px;
}

.complaintdetail-form-layout .task-modal-section {
  width: 100%;
}

.complaintdetail-form-layout .task-modal-grid {
  margin-left: 0 !important;
  margin-right: 0 !important;
}

.complaintdetail-form-layout .complaintdetail-modal-grid {
  --bs-gutter-x: 0.9rem;
  --bs-gutter-y: 0.65rem;
  margin-left: 0;
  margin-right: 0;
}

.complaintdetail-form-layout .complaintdetail-modal-grid > [class*="col-"] {
  padding-left: calc(var(--bs-gutter-x) * 0.5);
  padding-right: calc(var(--bs-gutter-x) * 0.5);
}

@media (max-width: 991.98px) {
  .complaint-themed-page {
    padding: 10px;
  }

  .complaint-page-content {
    padding: 12px !important;
  }

  .complaintdetail-themed-page {
    padding: 10px;
  }

  .complaintdetail-page-content {
    padding: 12px !important;
  }

  .complaintdetail-table {
    min-width: 1080px;
  }

  .complaintdetail-page-sizewrap {
    width: 100%;
    justify-content: flex-end;
  }
}

@media (max-width: 767.98px) {
  .complaint-page-title {
    font-size: 0.92rem;
  }

  .complaint-page-subtitle {
    font-size: 0.68rem;
  }

  .complaint-modal-dialog {
    max-width: calc(100% - 1rem);
  }

  .complaint-filter-bar {
    padding: 10px !important;
  }

  .complaint-item-body {
    padding: 10px;
  }

  .complaint-item-desc {
    min-height: 0;
  }

  .complaint-footer-row {
    flex-direction: column;
    align-items: flex-start;
  }

  .complaintdetail-page-title {
    font-size: 0.92rem;
  }

  .complaintdetail-page-subtitle {
    font-size: 0.68rem;
  }

  .complaintdetail-filter-bar {
    padding: 10px !important;
  }

  .complaintdetail-page-sizewrap {
    width: 100%;
    justify-content: space-between;
  }

  .complaintdetail-perpage-select,
  .complaintdetail-filter-select {
    width: 100%;
    min-width: 0;
  }

  .complaintdetail-table {
    min-width: 880px;
    border-spacing: 0 4px;
  }
}

.taskboard-themed-page {
  padding: 12px;
}

.taskboard-stat-section {
  padding: 0 12px;
}

.taskboard-stat-panel {
  border: 1px solid #d9e3f7;
  border-radius: 16px;
  box-shadow:
    0 14px 16px rgba(38, 56, 108, 0.14),
    inset 0 1px 0 rgba(255, 255, 255, 0.9);
  padding: 11px 12px;
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

.taskboard-stat-panel::before,
.taskboard-stat-panel::after {
  content: "";
  position: absolute;
  pointer-events: none;
  z-index: 0;
}

.taskboard-stat-panel::before {
  inset: 0;
  background-image: linear-gradient(
    115deg,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0.42) 46%,
    rgba(255, 255, 255, 0.12) 62%,
    rgba(255, 255, 255, 0) 78%
  );
  transform: translateX(-36%);
}

.taskboard-stat-panel::after {
  width: 180px;
  height: 180px;
  right: -58px;
  bottom: -96px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(73, 106, 211, 0.2), rgba(73, 106, 211, 0));
}

.taskboard-stat-panel > * {
  position: relative;
  z-index: 1;
}

.taskboard-stat-section-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
}

.taskboard-stat-section-head h6 {
  color: #2f4371;
  font-size: 0.84rem;
  font-weight: 800;
  letter-spacing: 0.025em;
}

.taskboard-stat-section-note {
  color: #6f7da3;
  font-size: 0.68rem;
  font-weight: 700;
}

.taskboard-stat-progressline {
  border: 1px solid #d5dff3;
  border-radius: 11px;
  background: rgba(255, 255, 255, 0.84);
  padding: 7px 8px;
}

.taskboard-stat-progressline-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 6px;
}

.taskboard-stat-progressline-meta span {
  color: #7180a7;
  font-size: 0.66rem;
  font-weight: 700;
}

.taskboard-stat-progressline-meta strong {
  color: #2d4272;
  font-size: 0.75rem;
  font-weight: 800;
}

.taskboard-stat-progressline-track {
  height: 7px;
  border-radius: 999px;
  background: #e8eefb;
  overflow: hidden;
}

.taskboard-stat-progressline-fill {
  display: block;
  width: var(--completion-rate);
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(135deg, #20c9b2, #0ab39c);
}

.taskboard-toolbar-card {
  border: 1px solid #e2e8f7;
  border-radius: 14px;
  box-shadow: 0 6px 16px rgba(41, 62, 120, 0.08);
  background: linear-gradient(180deg, #fafcff, #f4f7ff);
}

.taskboard-page-content {
  padding: 24px !important;
  border-radius: 14px;
  background: #fff;
}

.taskboard-page-title {
  font-size: 1.02rem;
  color: #2f3a59;
}

.taskboard-page-subtitle {
  font-size: 0.73rem;
  color: #818caa;
}

.taskboard-summary {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 8px;
}

.taskboard-stat-card {
  --stat-accent: #5f7ed9;
  border: 1px solid #d8e2f4;
  border-radius: 15px;
  background:
    linear-gradient(180deg, #ffffff 0%, #f9fbff 100%);
  padding: 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 5px;
  min-height: 92px;
  box-shadow:
    0 8px 18px rgba(41, 62, 120, 0.1),
    0 1px 0 rgba(255, 255, 255, 0.92) inset;
  position: relative;
  overflow: hidden;
  isolation: isolate;
  transition: transform 0.24s ease, box-shadow 0.24s ease, border-color 0.24s ease;
}

.taskboard-stat-card::before,
.taskboard-stat-card::after {
  content: "";
  position: absolute;
  pointer-events: none;
}

.taskboard-stat-card::before {
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0), rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0));
  z-index: 0;
}

.taskboard-stat-card::after {
  width: 120px;
  height: 120px;
  right: -42px;
  bottom: -66px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(95, 126, 217, 0.16), rgba(95, 126, 217, 0));
  z-index: 0;
}

.taskboard-stat-total.taskboard-stat-card::after {
  background: radial-gradient(circle, rgba(79, 111, 217, 0.17), rgba(79, 111, 217, 0));
}

.taskboard-stat-todo.taskboard-stat-card::after {
  background: radial-gradient(circle, rgba(53, 119, 241, 0.15), rgba(53, 119, 241, 0));
}

.taskboard-stat-progress.taskboard-stat-card::after {
  background: radial-gradient(circle, rgba(215, 154, 31, 0.15), rgba(215, 154, 31, 0));
}

.taskboard-stat-pending.taskboard-stat-card::after {
  background: radial-gradient(circle, rgba(240, 101, 72, 0.14), rgba(240, 101, 72, 0));
}

.taskboard-stat-done.taskboard-stat-card::after {
  background: radial-gradient(circle, rgba(10, 179, 156, 0.15), rgba(10, 179, 156, 0));
}

.taskboard-stat-card:hover {
  transform: translateY(-2px);
  border-color: #c9d8f1;
  box-shadow:
    0 12px 22px rgba(41, 62, 120, 0.14),
    0 1px 0 rgba(255, 255, 255, 0.95) inset;
}

.taskboard-stat-icon {
  width: 36px;
  height: 36px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.98rem;
  border: 1px solid rgba(255, 255, 255, 0.84);
  z-index: 1;
  box-shadow:
    inset 0 -1px 0 rgba(0, 0, 0, 0.06),
    0 5px 10px rgba(34, 52, 99, 0.14);
}

.taskboard-stat-icon i {
  line-height: 1;
  filter: drop-shadow(0 1px 0 rgba(255, 255, 255, 0.26));
}

.taskboard-stat-value {
  color: #2a3f6f;
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: 0.01em;
  line-height: 1.15;
  z-index: 1;
}

.taskboard-stat-label {
  color: #60729a;
  font-size: 0.65rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  z-index: 1;
}

.taskboard-stat-total {
  --stat-accent: #4f6fd9;
}

.taskboard-stat-total .taskboard-stat-icon {
  background: linear-gradient(155deg, #eff4ff, #dbe6ff);
  color: #496ad3;
}

.taskboard-stat-todo {
  --stat-accent: #3577f1;
}

.taskboard-stat-todo .taskboard-stat-icon {
  background: linear-gradient(155deg, #eff6ff, #d9e9ff);
  color: #3577f1;
}

.taskboard-stat-progress {
  --stat-accent: #d79a1f;
}

.taskboard-stat-progress .taskboard-stat-icon {
  background: linear-gradient(155deg, #fff8eb, #ffe9c5);
  color: #d79a1f;
}

.taskboard-stat-pending {
  --stat-accent: #f06548;
}

.taskboard-stat-pending .taskboard-stat-icon {
  background: linear-gradient(155deg, #fff1ee, #ffdace);
  color: #f06548;
}

.taskboard-stat-done {
  --stat-accent: #0ab39c;
}

.taskboard-stat-done .taskboard-stat-icon {
  background: linear-gradient(155deg, #eafaf5, #caf2e8);
  color: #0ab39c;
}

.taskboard-stat-footnote {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  border-top: 1px dashed #d5def2;
  padding-top: 7px;
}

.taskboard-stat-footnote span {
  color: #6f7ea5;
  font-size: 0.67rem;
  font-weight: 700;
}

.taskboard-stat-insights {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 6px;
}

.taskboard-insight-card {
  border: 1px dashed #cfd9f1;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.78);
  padding: 6px 8px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.taskboard-insight-label {
  color: #7d89a8;
  font-size: 0.66rem;
  font-weight: 700;
}

.taskboard-insight-value {
  color: #33456f;
  font-size: 0.76rem;
  font-weight: 800;
}

.taskboard-table-head {
  background: #f8faff;
}

.taskboard-page-sizewrap {
  margin-right: 0 !important;
}

.taskboard-perpage-select {
  width: auto;
  min-width: 76px;
  height: 34px;
  border-radius: 9px;
  border: 1px solid #d7deef;
  background-color: #fff;
  color: #44557f;
  font-size: 0.72rem;
  font-weight: 600;
  padding-left: 0.55rem;
  padding-right: 1.8rem;
  line-height: 1.1;
}

.taskboard-perpage-select:focus {
  border-color: #8d84ff;
  box-shadow: 0 0 0 0.16rem rgba(111, 99, 246, 0.14);
}

.taskboard-filter-bar {
  border: 1px solid #dee5f6;
  background: #f7f9ff;
  padding: 0.7rem !important;
}

.taskboard-filter-grid .form-control,
.taskboard-filter-grid .form-select {
  min-height: 36px;
  border-radius: 9px;
  border-color: #d7deef;
  font-size: 0.73rem;
}

.taskboard-filter-grid .form-control:focus,
.taskboard-filter-grid .form-select:focus {
  border-color: #8d84ff;
  box-shadow: 0 0 0 0.16rem rgba(111, 99, 246, 0.14);
}

.taskboard-search-box .search-icon {
  color: #6f7fa5;
}

.taskboard-filter-info {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  flex-wrap: wrap;
}

.taskboard-filter-info-text {
  color: #7b86a8;
  font-size: 0.72rem;
  font-weight: 600;
}

.taskboard-filter-active {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

.taskboard-filter-input,
.taskboard-filter-select {
  min-width: 145px;
}

.taskboard-table-shell {
  margin-left: 0 !important;
  margin-right: 0 !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
}

.taskboard-table {
  border-collapse: separate;
  border-spacing: 0 6px;
  min-width: 1240px;
}

.taskboard-table thead th {
  border-top: 0 !important;
  border-bottom: 1px solid #dde4f5 !important;
  color: #5a698f;
  font-size: 0.73rem;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.taskboard-table tbody tr td {
  background: #fff;
  border-top: 1px solid #e5ebf8;
  border-bottom: 1px solid #e5ebf8;
  font-size: 0.75rem;
  color: #49587f;
  padding-top: 0.55rem;
  padding-bottom: 0.55rem;
}

.taskboard-table tbody tr td:first-child {
  border-left: 1px solid #e5ebf8;
  border-radius: 10px 0 0 10px;
}

.taskboard-table tbody tr td:last-child {
  border-right: 1px solid #e5ebf8;
  border-radius: 0 10px 10px 0;
}

.taskboard-table .form-check-label {
  font-size: 0.75rem;
}

.taskboard-row-completed td {
  background: #f1fbf7 !important;
}

.taskboard-pagination-wrap {
  padding: 8px 10px;
}

.taskboard-pagination-links nav {
  margin: 0;
}

.taskboard-empty-row {
  border-radius: 10px !important;
  font-size: 0.78rem;
  color: #7a86a8;
  font-weight: 600;
}

.taskboard-empty-wrap {
  display: none;
}

.taskboard-empty-icon {
  width: 72px;
  height: 72px;
}

.breadcrumb-themed-row {
  margin-bottom: 4px;
}

.breadcrumb-themed-box {
  border: 1px solid #e2e8f7;
  border-radius: 12px;
  background: linear-gradient(180deg, #fafcff, #f4f7ff);
  box-shadow: 0 4px 12px rgba(41, 62, 120, 0.06);
  padding: 10px 12px;
}

.breadcrumb-themed-title {
  color: #2f3a59;
  font-size: 0.96rem;
  font-weight: 700;
}

.breadcrumb-themed-subtitle {
  color: #818caa;
  font-size: 0.7rem;
}

.breadcrumb-themed-list {
  gap: 4px;
  align-items: center;
}

.breadcrumb-themed-list .breadcrumb-item {
  color: #8b96b5;
  font-size: 0.7rem;
}

.breadcrumb-themed-list .breadcrumb-item + .breadcrumb-item::before {
  color: #b4bfd8;
}

.breadcrumb-themed-link {
  color: #637299;
  font-weight: 600;
  text-decoration: none;
}

.breadcrumb-themed-link:hover {
  color: #4d5f8f;
}

.breadcrumb-themed-active {
  color: #3f4f79 !important;
  font-weight: 700;
}

.topbar-themed-header {
  padding-top: 2px;
}

.topbar-themed-box {
  border: 1px solid #e2e8f7;
  border-radius: 12px;
  background: linear-gradient(180deg, #fafcff, #f4f7ff);
  box-shadow: 0 4px 12px rgba(41, 62, 120, 0.06);
  padding: 6px 10px;
}

.topbar-themed-menu-btn {
  border-radius: 9px;
}

.topbar-themed-logout-btn {
  border: none;
  border-radius: 9px;
  background: linear-gradient(135deg, #ef5353, #e44563);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.38rem 0.64rem;
}

.topbar-themed-icon-btn {
  color: #55648a !important;
}

.topbar-themed-icon-btn:hover {
  background: #edf3ff !important;
  color: #3f5487 !important;
}

.topbar-themed-user-btn {
  border-radius: 10px;
  padding: 0.3rem 0.42rem;
}

.topbar-themed-user-btn:hover {
  background: #eef3ff;
}

.topbar-themed-avatar {
  background: #5f76a8 !important;
  color: #fff;
}

.topbar-themed-user-name {
  color: #3e4d74;
}

.topbar-themed-user-role {
  color: #7d89ab;
}

.topbar-themed-dropdown {
  border: 1px solid #e1e8f8;
  border-radius: 10px;
  box-shadow: 0 10px 20px rgba(37, 55, 103, 0.12);
}

.topbar-themed-dropdown-header {
  color: #4b5d89;
  font-size: 0.74rem;
}

.topbar-themed-dropdown-item {
  color: #4a597f;
  font-size: 0.75rem;
}

.topbar-themed-dropdown-item:hover {
  background: #f3f6ff;
  color: #33466f;
}

.footer-themed-wrap {
  border-top: 1px solid #e2e8f7;
  background: linear-gradient(180deg, #fbfdff 0%, #f6f9ff 100%);
}

.footer-themed-row {
  color: #65759f;
}

.footer-themed-text {
  color: #65759f;
}

.footer-themed-brand {
  color: #3f5286;
  font-weight: 600;
}

.sidebar-themed-menu {
  border-right: 1px solid #334271;
  background: #405189;
  box-shadow: 2px 0 16px rgba(22, 35, 70, 0.2);
}

.sidebar-themed-brand-box {
  border-bottom: 1px solid rgba(232, 239, 255, 0.28);
  background: transparent;
  padding: 9px 12px;
}

.sidebar-themed-brand-box .logo-lg img {
  opacity: 0.98;
}

.sidebar-themed-pin-btn {
  color: #d7e3ff;
}

.sidebar-themed-pin-btn:hover {
  color: #fff;
}

.sidebar-themed-scroll .simplebar-content-wrapper {
  scrollbar-gutter: stable;
}

.sidebar-themed-nav .menu-title {
  margin-top: 10px;
  padding: 0.45rem 0.85rem;
  color: #d5e1fb;
  font-size: 0.66rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.sidebar-themed-nav .nav-link.menu-link {
  margin: 2px 8px;
  border-radius: 9px;
  color: #f5f8ff;
  font-size: 0.76rem;
  font-weight: 700;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: all 0.2s ease;
}

.sidebar-themed-nav .nav-link.menu-link i {
  color: #deebff;
  font-size: 1rem;
}

.sidebar-themed-nav .nav-link.menu-link:hover,
.sidebar-themed-nav .nav-link.menu-link[aria-expanded="true"] {
  background: rgba(255, 255, 255, 0.18);
  border-color: rgba(255, 255, 255, 0.34);
  color: #ffffff;
  box-shadow: 0 5px 10px rgba(24, 37, 69, 0.2);
}

.sidebar-themed-nav .nav-link.menu-link:hover i,
.sidebar-themed-nav .nav-link.menu-link[aria-expanded="true"] i {
  color: #ffffff;
}

.sidebar-themed-nav .nav-link.menu-link.active {
  background: linear-gradient(135deg, #ffffff, #eef3ff);
  color: #273d6d;
  border-color: #ffffff;
  box-shadow: 0 8px 14px rgba(15, 27, 57, 0.3);
  transform: translateX(1px);
}

.sidebar-themed-nav .nav-link.menu-link.active i {
  color: #355086;
}

.sidebar-themed-nav .nav-link.menu-link.active:hover,
.sidebar-themed-nav .nav-link.menu-link.active[aria-expanded="true"] {
  background: linear-gradient(135deg, #ffffff, #e8efff);
  color: #213764;
  border-color: #ffffff;
}

.sidebar-themed-nav .menu-dropdown {
  margin: 1px 8px 6px;
}

.sidebar-themed-nav .nav-sm .nav-link {
  margin: 1px 0;
  border-radius: 7px;
  color: #e9f0ff;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 0.36rem 0.6rem;
}

.sidebar-themed-nav .nav-sm .nav-link:hover {
  background: rgba(255, 255, 255, 0.18);
  color: #ffffff;
}

.sidebar-themed-nav .nav-sm .nav-link.active {
  background: rgba(255, 255, 255, 0.92);
  color: #2d4475;
}

.sidebar-themed-menu .sidebar-background {
  background: transparent;
}

.task-modal-form .task-modal-section {
  margin-bottom: 0 !important;
}

.sidebar-themed-nav .menu-dropdown .nav-item {
  font-size: 0.66rem;
  font-weight: 600;
}

.sidebar-themed-nav .menu-dropdown .nav-item .nav-link {
  font-size: 0.66rem !important;
  font-weight: 600 !important;
  line-height: 1.3;
}

.task-modal-grid {
  padding-top: 10px;
  margin-left: 0 !important;
  margin-right: 0 !important;
}

.task-modal-dialog {
  max-width: 1120px;
}

.task-modal-mode-chip {
  margin-left: auto;
  margin-right: 8px;
}

.task-modal-body {
  max-height: calc(100vh - 12.5rem);
  max-height: calc(100dvh - 12.5rem);
  padding: 0.75rem !important;
  overflow: hidden;
  box-sizing: border-box;
}

.task-modal-content-inset {
  height: 100%;
  min-height: 0;
  padding: 0.38rem;
  border-radius: 12px;
  background: #f7f9ff;
  border: 1px solid #e3e9f7;
}

.task-modal-scroll-area {
  height: 100%;
  max-height: calc(100vh - 14.2rem);
  max-height: calc(100dvh - 14.2rem);
  overflow-y: auto;
  padding: 0.7rem 0.72rem 0.9rem;
  scrollbar-gutter: stable;
  overscroll-behavior: contain;
}

/* .task-modal-scroll-area::before,
.task-modal-scroll-area::after {
  content: "";
  display: block;
  height: 14px;
} */

.task-modal-body .task-modal-form {
  margin: 0;
}

.task-modal-warning-note {
  color: #d9445f !important;
}

.task-modal-edit-desc-btn {
  min-width: 124px;
  min-height: 34px;
  margin-top: 8px;
}

.task-modal-description-view {
  border: 1px solid #dfe6f8;
  border-radius: 10px;
  background: #fff;
  padding: 15px;
  min-height: 72px;
  color: #4f5d82;
  font-size: 0.76rem;
  line-height: 1.45;
}

.task-modal-description-view p {
  margin-bottom: 0.5rem;
}

.task-modal-description-view a {
  color: #3577f1;
}

.task-file-grid .task-file-item {
  border: 1px solid #e2e8f7;
  border-radius: 9px;
  background: #f9fbff;
  padding: 7px 8px;
}

.task-file-grid .task-file-item a {
  color: #42517a;
  font-size: 0.74rem;
}

.task-file-grid .img-thumbnail {
  border: 1px solid #dce4f5;
  border-radius: 10px;
  background: #f6f9ff;
}

.task-file-preview {
  max-height: 150px;
  object-fit: cover;
}

.task-file-delete-btn {
  margin-left: 6px;
}

.task-member-picker {
  max-height: 240px;
}

.task-info-panel .d-flex {
  padding: 5px 0;
  border-bottom: 1px dashed #e2e8f6;
}

.task-info-panel .d-flex:last-child {
  border-bottom: 0;
}

.task-info-panel .flex-grow-1 div {
  color: #7582a5;
  font-size: 0.74rem;
}

.task-info-panel .flex-shrink-0 div {
  color: #4c5d87;
  font-size: 0.73rem;
}

.task-info-panel .task-info-row:first-of-type {
  margin-top: 4px;
}

.task-modal-body .form-control[disabled],
.task-modal-body .form-select[disabled] {
  background: #f2f5fb;
  color: #7d88a7;
  border-color: #dde4f4;
}

.carddetail-themed-page {
  padding: 12px;
}

.carddetail-hero-card,
.carddetail-overview-card {
  border: 1px solid #e2e8f7;
  border-radius: 14px;
  box-shadow: 0 6px 16px rgba(41, 62, 120, 0.08);
}

.carddetail-hero-card {
  background: linear-gradient(180deg, #fafcff, #f4f7ff);
}

.carddetail-hero-body,
.carddetail-overview-body {
  padding: 14px;
}

.carddetail-title {
  color: #2f3a59;
  font-size: 1.05rem;
}

.carddetail-subtitle {
  color: #7f89a8;
  font-size: 0.74rem;
}

.carddetail-meta-wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.carddetail-team-wrap {
  display: flex;
  align-items: center;
  gap: 8px;
}

.carddetail-team-label {
  color: #7d87a5;
  font-size: 0.73rem;
  font-weight: 700;
}

.carddetail-section-title {
  color: #56658b;
  letter-spacing: 0.03em;
  font-size: 0.77rem;
}

.carddetail-description {
  border: 1px solid #e1e7f7;
  border-radius: 11px;
  background: #f8faff;
  color: #4d5b81;
  font-size: 0.77rem;
  line-height: 1.5;
  padding: 10px;
}

.carddetail-stat-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 8px;
}

.carddetail-stat-item {
  border: 1px solid #e4eaf8;
  border-radius: 10px;
  background: #fff;
  padding: 9px 10px;
}

.carddetail-stat-item p {
  margin-bottom: 4px;
  color: #7d87a5;
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.carddetail-stat-item h6 {
  margin-bottom: 0;
  color: #40507a;
  font-size: 0.74rem;
  line-height: 1.35;
}

.carddetail-themed-page .tasklist-filter-bar {
  border: 1px solid #dfe7f7;
  border-radius: 12px;
  background: linear-gradient(180deg, #fbfcff, #f5f8ff);
  box-shadow: 0 4px 10px rgba(41, 62, 120, 0.05);
  padding: 0.78rem !important;
}

.carddetail-themed-page .tasklist-filter-bar .tasklist-filter-select,
.carddetail-themed-page .tasklist-filter-bar .board-search-input {
  min-height: 36px;
  border-color: #d8e2f5;
  background: #fff;
}

.carddetail-themed-page .tasklist-filter-bar .board-search-input:focus,
.carddetail-themed-page .tasklist-filter-bar .tasklist-filter-select:focus {
  border-color: #aec2ec;
  box-shadow: 0 0 0 0.12rem rgba(111, 139, 211, 0.16);
}

.carddetail-themed-page .tasklist-filter-bar .search-box .search-icon {
  color: #7381a7;
}

@media (max-width: 991.98px) {
  .taskboard-col-started-by,
  .taskboard-col-completed-by {
    display: none;
  }

  .taskboard-page-sizewrap {
    width: 100%;
    justify-content: flex-end;
  }

  .carddetail-stat-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .carddetail-themed-page .tasklist-filter-bar {
    padding: 0.68rem !important;
  }

  .tasklist-page-sizewrap {
    width: 100%;
    justify-content: flex-end;
  }

  .task-col-created-by,
  .task-col-created-at {
    display: none;
  }

  .kanban-column {
    min-width: 280px;
  }

  .kanban-column-body {
    max-height: 70vh;
  }

  .kanban-task-details {
    padding: 7px;
  }

  .board-page {
    padding: 11px;
    border-radius: 14px;
  }

  .board-page-header {
    padding: 10px 11px;
  }

  #board-list.board-list-scroll {
    max-height: none;
    overflow: visible;
    padding-right: 0;
  }

  .board-modern-card {
    border-radius: 12px;
  }

  .board-modern-card:hover {
    transform: none;
  }
}

@media (max-width: 767.98px) {
  .taskboard-col-created-at,
  .taskboard-col-started-at,
  .taskboard-col-completed-at {
    display: none;
  }

  .taskboard-themed-page {
    padding: 10px;
  }

  .taskboard-stat-section {
    margin: 0 10px 10px;
    padding: 0 10px;
  }

  .taskboard-stat-panel {
    padding: 9px 10px;
  }

  .taskboard-page-content {
    padding: 10px !important;
  }

  .taskboard-page-title {
    font-size: 0.9rem;
  }

  .taskboard-page-subtitle {
    font-size: 0.68rem;
  }

  .taskboard-summary {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 6px;
  }

  .taskboard-stat-insights {
    grid-template-columns: 1fr;
  }

  .taskboard-stat-card {
    min-height: 76px;
    padding: 7px 8px;
  }

  .taskboard-filter-info-text {
    font-size: 0.68rem;
  }

  .taskboard-filter-bar {
    padding: 0.6rem !important;
  }

  .taskboard-table thead th,
  .taskboard-table tbody tr td {
    font-size: 0.68rem;
  }

  .taskboard-table {
    min-width: 1020px;
  }

  .carddetail-themed-page {
    padding: 10px;
  }

  .carddetail-hero-body,
  .carddetail-overview-body {
    padding: 10px;
  }

  .carddetail-title {
    font-size: 0.92rem;
  }

  .carddetail-subtitle {
    font-size: 0.68rem;
  }

  .carddetail-stat-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 6px;
  }

  .tasklist-themed-page {
    padding: 10px;
  }

  .tasklist-page-content {
    padding: 10px !important;
  }

  .tasklist-page-title {
    font-size: 0.9rem;
  }

  .tasklist-page-subtitle {
    font-size: 0.68rem;
  }

  .task-modal-description-view {
    font-size: 0.72rem;
  }

  .task-modal-body {
    max-height: calc(100vh - 11.5rem);
    max-height: calc(100dvh - 11.5rem);
    padding: 0.55rem !important;
  }

  .task-modal-content-inset {
    padding: 0.32rem;
  }

  .task-modal-scroll-area {
    max-height: calc(100vh - 13rem);
    max-height: calc(100dvh - 13rem);
    padding: 0.58rem 0.55rem 0.72rem;
  }

  .tasklist-table thead th,
  .tasklist-table tbody tr td {
    font-size: 0.68rem;
  }

  .tasklist-table {
    min-width: 680px;
  }

  .task-col-assigned,
  .task-col-plan-start {
    display: none;
  }

  .tasklist-icon-btn,
  .tasklist-icon-btn-action {
    width: 27px;
    height: 27px;
    border-radius: 7px;
  }

  .tasklist-icon-btn i {
    font-size: 0.75rem;
  }

  .kanban-themed-page {
    padding: 10px;
  }

  .kanban-toolbar-body {
    padding: 10px;
  }

  .kanban-member-group {
    gap: 5px;
  }

  .kanban-top-btn {
    width: 100%;
    justify-content: center;
  }

  .kanban-column {
    min-width: 86vw;
  }

  .kanban-column-head {
    padding: 10px 10px 0;
  }

  .kanban-task-body {
    padding: 0.72rem;
  }

  .kanban-task-desc {
    min-height: 0;
    margin-bottom: 0.5rem;
  }

  .kanban-meta-row .flex-grow-1 > div,
  .kanban-meta-row p,
  .kanban-meta-row .flex-shrink-0 > div,
  .kanban-meta-row .flex-shrink-0 > span,
  .kanban-meta-row .flex-shrink-0 > h6,
  .kanban-footer-row .text-muted {
    font-size: 0.69rem !important;
  }

  .board-page-header {
    margin-bottom: 0.65rem !important;
  }

  .board-page-summary-chip {
    font-size: 0.68rem;
  }

  .board-toolbar-controls {
    width: 100%;
    flex-wrap: wrap;
    gap: 0.5rem !important;
  }

  .board-search-box {
    margin-left: 0 !important;
    width: 100%;
  }

  .board-search-box .form-control {
    width: 100%;
  }

  .board-pagination-wrap {
    padding: 8px 10px;
  }

  .board-pagination-links nav {
    justify-content: center;
    margin-top: 0.5rem;
  }

  .board-form-section {
    padding: 10px;
  }

  .board-form-subtitle {
    font-size: 0.7rem;
  }

  .board-modern-card .card-body {
    padding: 0.82rem;
  }

  .board-title {
    font-size: 1rem;
  }

  .board-desc {
    min-height: 0;
    margin-bottom: 0.25rem !important;
  }

  .board-progress-caption,
  .board-total-caption {
    font-size: 0.74rem;
  }

  .board-chip-wrap {
    gap: 0.25rem !important;
  }

  .board-team-scroll {
    max-height: 102px;
  }

  .board-meta {
    line-height: 1.35;
  }
}

@media (max-width: 575.98px) {
  .breadcrumb-themed-box {
    padding: 9px 10px;
  }

  .breadcrumb-themed-title {
    font-size: 0.88rem;
  }

  .breadcrumb-themed-subtitle,
  .breadcrumb-themed-list .breadcrumb-item {
    font-size: 0.66rem;
  }

  .breadcrumb-themed-right {
    margin-top: 6px;
  }

  .topbar-themed-box {
    padding: 5px 8px;
  }

  .topbar-themed-logout-btn {
    font-size: 0.68rem;
    padding: 0.32rem 0.52rem;
  }

  .sidebar-themed-nav .nav-link.menu-link {
    margin: 2px 6px;
    font-size: 0.72rem;
  }

  .sidebar-themed-nav .menu-title {
    padding: 0.4rem 0.72rem;
    font-size: 0.62rem;
  }

  .taskboard-col-assigned,
  .taskboard-col-plan-start,
  .taskboard-col-created-by {
    display: none;
  }

  .taskboard-filter-input,
  .taskboard-filter-select,
  .taskboard-perpage-select {
    width: 100%;
    min-width: 0;
  }

  .taskboard-summary {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .taskboard-stat-section-note {
    font-size: 0.64rem;
  }

  .taskboard-stat-section {
    margin: 0 10px 10px;
    padding: 0 10px;
  }

  .taskboard-stat-panel {
    padding: 8px 9px;
  }

  .taskboard-filter-info {
    align-items: flex-start;
    flex-direction: column;
    gap: 6px;
  }

  .taskboard-table {
    min-width: 940px;
    border-spacing: 0 4px;
  }

  .carddetail-stat-grid {
    grid-template-columns: 1fr;
  }

  .carddetail-team-wrap {
    align-items: flex-start;
    flex-direction: column;
    gap: 4px;
  }

  .tasklist-title-row .col-12,
  .tasklist-title-row .col-md-auto {
    width: 100%;
  }

  .tasklist-page-sizewrap {
    justify-content: space-between;
  }

  .tasklist-filter-bar {
    padding: 10px !important;
  }

  .tasklist-filter-select,
  .tasklist-perpage-select {
    width: 100%;
    min-width: 0;
  }

  .tasklist-table {
    border-spacing: 0 4px;
  }

  .tasklist-summary {
    gap: 4px;
  }

  .tasklist-table {
    min-width: 560px;
  }

  .task-col-due-date {
    display: none;
  }

  .tasklist-icon-btn,
  .tasklist-icon-btn-action,
  .tasklist-icon-btn-progress {
    width: 26px;
    height: 26px;
  }

  .kanban-column {
    min-width: 92vw;
  }

  .board-toolbar-row .col-sm-auto,
  .board-toolbar-row .col-sm {
    width: 100%;
  }

  .board-toolbar-row .btn {
    width: 100%;
  }

  .board-summary-icon {
    width: 30px;
    height: 30px;
    font-size: 0.6rem;
  }

  .board-progress-percent {
    font-size: 0.88rem;
  }

  .board-stat-grid > .col-3 {
    width: 50%;
  }

  .board-stat-item {
    padding: 7px 4px 6px;
  }

  .board-stat-item .value {
    font-size: 0.94rem;
  }

  .board-stat-item .stat-icon {
    width: 18px;
    height: 18px;
    font-size: 0.66rem;
    margin-bottom: 3px;
  }

  .board-stat-item .label {
    font-size: 0.58rem;
  }

  .board-team-box {
    padding: 8px;
  }

  .board-team-avatar {
    width: 28px;
    height: 28px;
  }

  .board-empty-state {
    font-size: 0.7rem;
    padding: 6px 7px;
  }

  .board-open-btn {
    font-size: 0.78rem;
  }

  .board-visibility-chip {
    font-size: 0.52rem;
    padding: 0.18rem 0.34rem;
  }

  .board-mini-chip {
    font-size: 0.5rem;
    padding: 0.16rem 0.3rem;
  }

  .board-modal-actions {
    flex-direction: column;
    align-items: stretch !important;
  }

  .board-btn-primary,
  .board-btn-secondary,
  .board-btn-danger {
    width: 100%;
  }

  .board-member-picker {
    padding: 6px;
  }

  .board-member-item {
    padding: 0;
    gap: 0;
  }

  .board-member-label {
    padding: 7px 8px;
    gap: 8px;
  }

  .board-member-avatar {
    width: 28px;
    height: 28px;
    font-size: 0.6rem;
  }

  .board-member-name {
    font-size: 0.73rem;
  }

  .board-member-role {
    font-size: 0.65rem;
  }

  .board-member-selected {
    width: 18px;
    height: 18px;
    font-size: 0.68rem;
  }

  .board-delete-main {
    gap: 10px;
  }

  .board-delete-content {
    padding: 10px;
  }

  .board-delete-name {
    width: 100%;
    justify-content: flex-start;
  }

  .board-delete-cancel,
  .board-delete-confirm {
    min-width: 0;
  }
}

/* ===== Login form only ===== */
.auth-form-brand {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: linear-gradient(135deg, #6f63f6, #5e84ff);
  color: #fff;
  font-size: 1.45rem;
  box-shadow: 0 10px 20px rgba(111, 99, 246, 0.28);
}

.auth-form-title {
  color: #405189;
  font-size: 1.15rem;
  font-weight: 800;
}

.auth-form-subtitle {
  color: #8a94b3;
  font-size: 0.84rem;
}

.auth-form-pills {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px;
}

.auth-form-pill {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 10px;
  border-radius: 999px;
  border: 1px solid #e2e8f7;
  background: #f7f9ff;
  color: #6b7699;
  font-size: 0.68rem;
  font-weight: 700;
}

.auth-form-pill i {
  color: #6f63f6;
  font-size: 0.78rem;
}

.auth-form-label {
  color: #526185;
  font-size: 0.78rem;
  font-weight: 700;
}

.auth-form-label i {
  color: #6f63f6;
  vertical-align: -1px;
}

.auth-form-field {
  position: relative;
}

.auth-form-field-icon {
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  color: #8a94b3;
  font-size: 1rem;
  z-index: 2;
  pointer-events: none;
  line-height: 1;
}

.auth-form-input {
  border: 1px solid #d2daed;
  border-radius: 10px;
  background: #f7f9ff;
  color: #2f3a59;
  min-height: 42px;
  font-size: 0.88rem;
  box-shadow: none;
}

.auth-form-input-icon {
  padding-left: 2.35rem;
}

.auth-form-input:focus {
  border-color: #6f63f6;
  background: #fff;
  box-shadow: 0 0 0 3px rgba(111, 99, 246, 0.14);
}

.auth-form-field:focus-within .auth-form-field-icon {
  color: #6f63f6;
}

.auth-form-pass-toggle {
  color: #8a94b3 !important;
  height: 42px;
  padding-inline: 12px;
  z-index: 3;
}

.auth-form-pass-toggle:hover {
  color: #6f63f6 !important;
}

.auth-form-check .form-check-input:checked {
  background-color: #6f63f6;
  border-color: #6f63f6;
}

.auth-form-check .form-check-label {
  color: #526185;
  font-size: 0.82rem;
  font-weight: 600;
}

.auth-form-check .form-check-label i {
  color: #8a94b3;
}

.auth-form-submit {
  background: linear-gradient(135deg, #6f63f6, #5e84ff);
  border: none;
  color: #fff;
  border-radius: 10px;
  font-size: 0.9rem;
  font-weight: 700;
  min-height: 44px;
  box-shadow: 0 8px 14px rgba(95, 105, 210, 0.25);
}

.auth-form-submit:hover,
.auth-form-submit:focus {
  color: #fff;
  background: linear-gradient(135deg, #6458ea, #5578f0);
}

.auth-form-alert {
  border-radius: 12px;
  border: 1px solid #f0d9a8;
  background: linear-gradient(180deg, #fff9ef, #fff4e0);
  color: #7a5a1e;
  font-size: 0.78rem;
}

.auth-form-alert-danger {
  border-radius: 12px;
  border: 1px solid #f0c4c4;
  background: linear-gradient(180deg, #fff5f5, #ffecec);
  color: #9b3a3a;
  font-size: 0.82rem;
}

/* ===== Product list themed ===== */
.product-themed-page {
  padding: 0;
}

.product-toolbar-card {
  border: 1px solid #e2e8f7;
  border-radius: 14px;
  box-shadow: 0 6px 16px rgba(41, 62, 120, 0.08);
  background: linear-gradient(180deg, #fafcff, #f4f7ff);
  overflow: hidden;
}

.product-page-content {
  padding: 16px !important;
  border-radius: 14px;
  background: #fff;
}

.product-page-title {
  font-size: 1.02rem;
  color: #2f3a59;
}

.product-page-subtitle {
  font-size: 0.73rem;
  color: #818caa;
}

.product-page-sizewrap {
  margin-right: 0 !important;
}

.product-perpage-select {
  width: auto;
  min-width: 76px;
  height: 34px;
  border-radius: 9px;
  border: 1px solid #d7deef;
  background-color: #fff;
  color: #44557f;
  font-size: 0.72rem;
  font-weight: 600;
  padding-left: 0.55rem;
  padding-right: 1.8rem;
  line-height: 1.1;
}

.product-perpage-select:focus {
  border-color: #8d84ff;
  box-shadow: 0 0 0 0.16rem rgba(111, 99, 246, 0.14);
}

.product-summary {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.product-summary-chip {
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.7rem;
  padding: 0.35rem 0.7rem;
}

.product-summary-filter {
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, outline-color 0.15s ease;
}

.product-summary-filter:hover:not(:disabled) {
  transform: translateY(-1px);
  box-shadow: 0 4px 10px rgba(64, 81, 137, 0.12);
}

.product-summary-filter:disabled {
  cursor: not-allowed;
  opacity: 0.55;
}

.product-summary-filter.is-active {
  outline: 2px solid #6f63f6;
  outline-offset: 1px;
  box-shadow: 0 0 0 0.14rem rgba(111, 99, 246, 0.16);
}

.product-expire-filter {
  border: 1px dashed #d7deef;
  border-radius: 12px;
  background: #fbfcff;
  padding: 10px 12px;
}

.product-expire-filter-label {
  font-size: 0.71rem;
  font-weight: 700;
  color: #6b789b;
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.product-expire-filter-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.product-expire-filter-btn {
  border-radius: 9px;
  border: 1px solid #d7deef;
  background: #fff;
  color: #526185;
  font-size: 0.74rem;
  font-weight: 700;
  padding: 0.38rem 0.72rem;
  transition: all 0.16s ease;
}

.product-expire-filter-btn:hover:not(:disabled) {
  transform: translateY(-1px);
  box-shadow: 0 6px 12px rgba(64, 81, 137, 0.12);
}

.product-expire-filter-btn.is-all {
  border-color: #cfd7ee;
}

.product-expire-filter-btn.is-expiring {
  border-color: #f4d188;
  color: #b08119;
  background: #fff8ea;
}

.product-expire-filter-btn.is-expired {
  border-color: #efb2aa;
  color: #c54d3b;
  background: #fff2f0;
}

.product-expire-filter-btn.is-active {
  outline: 2px solid #6f63f6;
  outline-offset: 1px;
  box-shadow: 0 0 0 0.14rem rgba(111, 99, 246, 0.16);
}

.product-expire-filter-btn:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}

/* ===== Sales order create themed ===== */
.salescreate-themed-page .productcreate-card {
  border: 1px solid #e2e8f7;
}

.salescreate-hero .product-page-title {
  color: #2f3a59;
}

.salescreate-themed-page .taskboard-filter-select,
.salescreate-themed-page .choice-select,
.salescreate-themed-page .choices-select,
.salescreate-themed-page .board-search-input {
  border-radius: 10px;
}

.salescreate-themed-page .taskboard-filter-select {
  appearance: none !important;
  -webkit-appearance: none !important;
  -moz-appearance: none !important;
  background-color: #fff !important;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='none' stroke='%237f8aad' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m2 5 6 6 6-6'/%3E%3C/svg%3E") !important;
  background-repeat: no-repeat !important;
  background-position: right 0.75rem center !important;
  background-size: 14px 10px !important;
  padding-right: 2rem !important;
}

.salescreate-readonly {
  background: #f4f7ff !important;
  border-color: #d7deef !important;
  color: #60739a !important;
  cursor: not-allowed !important;
}

.salescreate-totals-wrap {
  display: flex;
  justify-content: flex-end;
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px dashed #dbe4f8;
}

.salescreate-totals-box {
  min-width: 280px;
  max-width: 360px;
  width: 100%;
  border: 1px solid #dfe6f8;
  border-radius: 12px;
  background: linear-gradient(135deg, #f8faff, #f3f6ff);
  padding: 10px 12px;
}

.salescreate-totals-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 8px 4px;
}

.salescreate-totals-row + .salescreate-totals-row {
  border-top: 1px dashed #dbe4f8;
}

.salescreate-totals-row-highlight {
  background: #eef1ff;
  border-radius: 8px;
  margin-top: 2px;
  padding: 10px 8px;
}

.salescreate-totals-label {
  color: #5a698f;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.salescreate-totals-value {
  color: #2f3a59;
  font-size: 0.86rem;
  font-weight: 700;
  text-align: right;
  white-space: nowrap;
}

.salescreate-totals-row-highlight .salescreate-totals-value {
  color: #6f63f6;
}

.product-filter-bar {
  border: 1px solid #dee5f6;
  background: #f7f9ff;
}

.product-search-input {
  min-height: 36px;
  border-radius: 9px;
  border-color: #d7deef;
  font-size: 0.73rem;
  background: #fff;
}

.product-filter-select {
  min-height: 36px;
  border-radius: 9px;
  border-color: #d7deef;
  font-size: 0.73rem;
  background-color: #fff;
  color: #44557f;
}

.product-search-input:focus {
  border-color: #8d84ff;
  box-shadow: 0 0 0 0.16rem rgba(111, 99, 246, 0.14);
}

.product-filter-select:focus {
  border-color: #8d84ff;
  box-shadow: 0 0 0 0.16rem rgba(111, 99, 246, 0.14);
}

.product-search-box .search-icon {
  color: #6f7fa5;
}

.product-add-btn {
  white-space: nowrap;
}

.product-export-btn {
  white-space: nowrap;
  border: none;
  border-radius: 10px;
  background: linear-gradient(135deg, #19bb9b, #0ab39c);
  color: #fff;
  font-size: 0.74rem;
  font-weight: 700;
  padding: 0.44rem 0.78rem;
  box-shadow: 0 8px 14px rgba(10, 179, 156, 0.24);
  transition: all 0.18s ease;
}

.product-export-btn:hover,
.product-export-btn:focus,
.product-export-btn:active {
  border: none !important;
  background: linear-gradient(135deg, #15a98d, #099d89) !important;
  color: #fff !important;
  box-shadow: 0 10px 18px rgba(10, 179, 156, 0.28) !important;
}

.product-filter-info {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.product-table-shell {
  margin-left: 0 !important;
  margin-right: 0 !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
}

.product-table {
  margin-bottom: 0;
}

.product-table-head {
  background: #f3f6ff !important;
}

.product-table thead th {
  color: #526185;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  border-bottom: 1px solid #e2e8f7 !important;
  white-space: nowrap;
  padding-top: 0.7rem;
  padding-bottom: 0.7rem;
}

.product-table tbody tr td {
  color: #44557f;
  font-size: 0.8rem;
  border-color: #eef2fb;
  vertical-align: middle;
  padding-top: 0.85rem;
  padding-bottom: 0.85rem;
}

.product-table tbody tr:hover {
  background: #f8faff;
}

.product-col-index {
  color: #8a94b3;
  font-weight: 600;
  width: 48px;
}

.product-thumb {
  width: 42px;
  height: 42px;
  overflow: hidden;
  border: 1px solid #e2e8f7;
  background: #f7f9ff;
  display: flex;
  align-items: center;
  justify-content: center;
}

.product-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-thumb-empty {
  color: #9aa3bf;
  font-size: 1.1rem;
}

.product-name-title {
  color: #2f3a59;
  font-weight: 700;
}

.product-name-title a:hover {
  color: #6f63f6;
}

/* .product-name-meta {
  color: #8a94b3;
  font-size: 0.72rem;
} */

.product-stock-value {
  font-weight: 700;
  color: #405189;
}

/* .product-mono {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.76rem;
  color: #526185;
} */

.product-price {
  /* font-weight: 700; */
  color: #2f3a59;
}

.product-status-chip {
  font-size: 0.68rem;
  font-weight: 700;
  border-radius: 999px;
  padding: 0.28rem 0.65rem;
}

.product-status-active {
  background: #e7f8f2 !important;
  color: #0ab39c !important;
}

.product-status-inactive {
  background: #fdeeee !important;
  color: #f06548 !important;
}

.product-actions {
  flex-wrap: nowrap;
}

.product-action-btn {
  width: 30px;
  height: 30px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  border: 1px solid transparent;
  padding: 0;
  box-shadow: none;
}

.product-action-view {
  background: #eef4ff;
  color: #4f6fbf;
  border-color: #d7e3ff;
}

.product-action-edit {
  background: #eafaf5;
  color: #0ab39c;
  border-color: #c9f0e6;
}

.product-action-delete {
  background: #fdeeee;
  color: #f06548;
  border-color: #f6d2d0;
}

.product-action-btn:hover,
.product-action-btn:focus,
.product-action-btn:active {
  filter: none;
  box-shadow: none;
}

.product-action-view:hover,
.product-action-view:focus,
.product-action-view:active {
  background: #e4ecff;
  color: #3f5faf;
  border-color: #b9cdfa;
}

.product-action-edit:hover,
.product-action-edit:focus,
.product-action-edit:active {
  background: #dff5ee;
  color: #099d89;
  border-color: #b4e6d9;
}

.product-action-delete:hover,
.product-action-delete:focus,
.product-action-delete:active {
  background: #fbe3e3;
  color: #e2553d;
  border-color: #efbfbc;
}

.product-empty-wrap {
  padding: 2.2rem 1rem;
}

.product-empty-icon {
  font-size: 2rem;
  color: #a8b2cf;
}

.product-pagination-wrap {
  padding-bottom: 8px;
}

.product-alert {
  border-radius: 12px;
  font-size: 0.8rem;
}

.product-alert-success {
  background: linear-gradient(180deg, #eefbf6, #e4f8f1);
  border: 1px solid #b7ebda;
  color: #0b7c6a;
}

.product-alert-danger {
  background: linear-gradient(180deg, #fff5f5, #ffecec);
  border: 1px solid #f0c4c4;
  color: #9b3a3a;
}

@media (max-width: 767.98px) {
  .product-page-content {
    padding: 12px !important;
  }

  .product-page-title {
    font-size: 0.96rem;
  }

  .product-page-subtitle {
    font-size: 0.7rem;
  }

  .product-page-sizewrap {
    width: 100%;
    justify-content: flex-start;
  }

  .product-add-btn {
    width: 100%;
  }

  .product-table thead th,
  .product-table tbody tr td {
    font-size: 0.72rem;
  }
}

/* ===== Login centered layout ===== */
.auth-login-centered {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  min-height: 100dvh;
  position: relative;
}

.auth-login-centered .auth-page-content {
  flex: 1 1 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding-top: 24px;
  padding-bottom: 24px;
}

.auth-login-centered .auth-page-content > .container {
  width: 100%;
}

.auth-login-centered .auth-login-card {
  width: 100%;
  border-radius: 14px;
  border: 1px solid #e2e8f7;
  box-shadow: 0 12px 28px rgba(64, 81, 137, 0.12);
}

.auth-login-centered .footer {
  position: relative;
  left: 0;
  right: 0;
  bottom: auto;
  height: auto;
  flex-shrink: 0;
  padding: 12px 0 18px;
}

@media (max-width: 575.98px) {
  .auth-login-centered .auth-page-content {
    padding-top: 16px;
    padding-bottom: 16px;
  }

  .auth-login-centered .auth-form-body {
    padding: 1.15rem !important;
  }

  .auth-login-centered .auth-form-title {
    font-size: 1.05rem;
  }

  .auth-login-centered .auth-form-subtitle {
    font-size: 0.78rem;
  }
}

/* ===== Product create themed ===== */
.productcreate-toolbar-card {
  border: 1px solid #e2e8f7;
  border-radius: 14px;
  box-shadow: 0 6px 16px rgba(41, 62, 120, 0.08);
  background: linear-gradient(180deg, #fafcff, #f4f7ff);
}

.productcreate-toolbar-body {
  padding: 14px 16px;
}

.productcreate-page-title {
  font-size: 1rem;
  color: #2f3a59;
}

.productcreate-page-subtitle {
  color: #7f8aad;
  font-size: 0.73rem;
}

.productcreate-topmeta {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.productcreate-meta-chip {
  border: 1px solid #dbe5f7;
  background: #f7f9ff;
  color: #60739c;
  font-size: 0.69rem;
  font-weight: 700;
  border-radius: 999px;
  padding: 0.33rem 0.7rem;
}

.productcreate-card {
  border: 1px solid #e2e8f7;
  border-radius: 14px;
  box-shadow: 0 6px 16px rgba(41, 62, 120, 0.08);
  background: linear-gradient(180deg, #fafcff, #f4f7ff);
}

.productcreate-card-header {
  border-bottom: 1px solid #e2e8f7;
  background: transparent;
  padding: 12px 16px;
}

.productcreate-card-body {
  background: #fff;
  border-radius: 0 0 14px 14px;
  padding: 16px;
}

.productcreate-section-head h6 {
  color: #2f3a59;
  font-size: 0.86rem;
  font-weight: 800;
}

.productcreate-section-head p {
  color: #7f8aad;
  font-size: 0.72rem;
}

.productcreate-label {
  color: #526185;
  font-size: 0.78rem;
  font-weight: 700;
}

.productcreate-helptext {
  color: #7f8aad;
  font-size: 0.72rem;
}

.productcreate-section-note {
  border: 1px solid #e3eaf9;
  background: #f8faff;
  color: #60739c;
  border-radius: 10px;
  padding: 8px 10px;
  font-size: 0.72rem;
  font-weight: 600;
}

.productcreate-themed-page .board-search-input,
.productcreate-themed-page .taskboard-filter-select {
  min-height: 38px;
  border-radius: 9px;
  border-color: #d7deef;
  background: #fff;
  color: #44557f;
  font-size: 0.78rem;
}

.productcreate-themed-page .taskboard-filter-select {
  background-position: right 0.75rem center;
  padding-right: 2rem;
}

.productcreate-themed-page .board-search-input:focus,
.productcreate-themed-page .taskboard-filter-select:focus {
  border-color: #8d84ff;
  box-shadow: 0 0 0 0.16rem rgba(111, 99, 246, 0.14);
}

.productcreate-themed-page .productcreate-native-select {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='none' stroke='%237f8aad' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m2 5 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.75rem center;
  background-size: 14px 10px;
  padding-right: 2.2rem;
}

.productcreate-themed-page .choices {
  margin-bottom: 0;
}

.productcreate-themed-page .choices__inner {
  min-height: 38px;
  border-radius: 9px !important;
  border: 1px solid #d7deef !important;
  background: #fff !important;
  color: #44557f !important;
  font-size: 0.78rem !important;
  padding: 0 10px !important;
  display: flex;
  align-items: center;
}

.productcreate-themed-page .choices__list--single {
  padding: 0 18px 0 2px;
}

.productcreate-themed-page .choices__item--selectable,
.productcreate-themed-page .choices__placeholder {
  font-size: 0.78rem !important;
  color: #44557f !important;
}

.productcreate-themed-page .choices__placeholder {
  color: #9aa3bf !important;
  opacity: 1;
}

.productcreate-themed-page .choices__list--dropdown,
.productcreate-themed-page .choices__list[aria-expanded] {
  margin-top: 4px;
  border-color: #d7deef !important;
  border-radius: 9px !important;
  background: #fff !important;
  box-shadow: 0 8px 18px rgba(64, 81, 137, 0.12) !important;
}

.productcreate-themed-page .is-focused .choices__inner,
.productcreate-themed-page .is-open .choices__inner {
  border-color: #8d84ff !important;
  box-shadow: 0 0 0 0.16rem rgba(111, 99, 246, 0.14) !important;
}

.productcreate-themed-page .choices[data-type*="select-one"]::after {
  right: 11.5px;
  margin-top: -2.5px;
  border-width: 5px 5px 0;
  border-color: #7f8aad transparent transparent !important;
}

.productcreate-themed-page .choices[data-type*="select-one"].is-open::after {
  margin-top: -5px;
  border-width: 0 5px 5px;
  border-color: transparent transparent #7f8aad !important;
}

.productcreate-tabs .nav-link {
  font-weight: 700;
  font-size: 0.76rem;
  color: #60739c;
}

.productcreate-tabs .nav-link.active {
  background-color: transparent !important;
  color: #405189;
  border-bottom: 2px solid #6f63f6 !important;
}

.productcreate-themed-page .tab-content {
  min-height: 320px;
}

.productcreate-upload-trigger {
  width: 28px;
  height: 28px;
  border-color: #d7deef !important;
}

.productcreate-image-preview {
  border: 1px solid #e2e8f7;
}

.productcreate-hidden {
  display: none;
}

.productcreate-col-no {
  width: 50px;
}

.productcreate-col-status {
  width: 80px;
}

.productcreate-col-action {
  width: 50px;
}

.productcreate-price-table thead th {
  color: #526185;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  border-bottom: 1px solid #e2e8f7;
  background: #f3f6ff;
  padding-top: 0.7rem;
  padding-bottom: 0.7rem;
}

.productcreate-price-table tbody td,
.productcreate-price-table tbody th {
  border-color: #eef2fb;
  vertical-align: middle;
  font-size: 0.78rem;
  padding-top: 0.7rem;
  padding-bottom: 0.7rem;
}

.productcreate-price-table tbody tr:hover td,
.productcreate-price-table tbody tr:hover th {
  background: #fafcff;
}

.productcreate-price-wrap {
  border: 1px solid #e5ebf8;
  border-radius: 12px;
  padding: 8px;
  background: #fff;
}

.productcreate-price-wrap .table-responsive {
  max-height: 220px;
  overflow-y: auto;
  overflow-x: auto;
}

.productcreate-price-wrap .table-responsive .choices {
  position: relative;
  overflow: visible;
}

.productcreate-price-wrap .choices__list--dropdown,
.productcreate-price-wrap .choices__list[aria-expanded] {
  z-index: 30;
}

.productcreate-price-index {
  text-align: center;
  color: #60739c;
  font-weight: 700;
}

.productcreate-price-contact .taskboard-filter-select,
.productcreate-price-contact .choices__inner {
  min-height: 36px !important;
}

.productcreate-price-status {
  width: 86px;
}

.productcreate-price-action {
  width: 110px;
  text-align: center;
}

.productcreate-price-actions {
  margin-top: 8px;
  padding-top: 8px;
  border-top: 1px dashed #dbe4f8;
}

.productcreate-field-wrap .board-search-input {
  margin-bottom: 0;
}

.productcreate-addprice-btn {
  margin : 5px 10px 10px 10px;
  font-size: 0.78rem;
  border-color: #bfe8df;
  color: #0b7c6a;
  background: #eafaf5;
  transition: all 0.18s ease;
}

.productcreate-delete-btn {
  min-width: 90px;
  font-size: 0.74rem;
  padding: 0.35rem 0.65rem;
  white-space: nowrap;
}

.productcreate-readonly-select,
.productcreate-readonly-select:disabled {
  cursor: not-allowed;
  background: #f4f7ff;
}

.productcreate-switch-wrap {
  margin-left: 0;
  display: inline-flex;
  justify-content: center;
  width: 100%;
}

.productcreate-switch-input:disabled {
  cursor: not-allowed;
  opacity: 0.65;
}

.productcreate-hidden-row {
  display: none;
}

.productcreate-actions .btn {
  min-width: 120px;
}

.productcreate-action-note {
  color: #7f8aad;
  font-size: 0.7rem;
}

.productcreate-addprice-btn:hover,
.productcreate-addprice-btn:focus,
.productcreate-addprice-btn:active {
  border-color: #9fdccc !important;
  background: #dff5ee !important;
  color: #086c5d !important;
  box-shadow: 0 0 0 0.15rem rgba(10, 179, 156, 0.12) !important;
}

.productcreate-actions .board-btn-secondary {
  border-color: #cdd8f0;
  background: #f3f6ff;
  color: #44557f;
  transition: all 0.18s ease;
}

.productcreate-actions .board-btn-secondary:hover,
.productcreate-actions .board-btn-secondary:focus,
.productcreate-actions .board-btn-secondary:active {
  border-color: #aebfe8 !important;
  background: #eaf0ff !important;
  color: #354a7a !important;
  box-shadow: 0 0 0 0.15rem rgba(111, 99, 246, 0.12) !important;
}

.productcreate-actions .board-add-btn {
  transition: all 0.18s ease;
}

.productcreate-actions .board-add-btn:hover,
.productcreate-actions .board-add-btn:focus,
.productcreate-actions .board-add-btn:active {
  color: #fff !important;
  box-shadow: 0 10px 20px rgba(95, 105, 210, 0.28) !important;
}

@media (max-width: 991.98px) {
  .productcreate-card-body {
    padding: 13px;
  }
}

@media (max-width: 575.98px) {
  .productcreate-price-wrap .table-responsive {
    max-height: 180px;
  }

  .productcreate-themed-page .tab-content {
    min-height: 0;
  }

  .productcreate-toolbar-body {
    padding: 12px;
  }

  .productcreate-page-title {
    font-size: 0.92rem;
  }

  .productcreate-page-subtitle {
    font-size: 0.69rem;
  }

  .productcreate-actions .btn {
    min-width: 0;
    width: 100%;
  }
}

/* ===== Contact detail themed ===== */
.contactdetail-back-link {
  font-size: 0.72rem;
  font-weight: 600;
  color: #6f63f6;
  text-decoration: none;
}

.contactdetail-back-link:hover {
  color: #405189;
}

.contactdetail-panel,
.contactdetail-profile-card {
  border: 1px solid #e2e8f7;
  border-radius: 14px;
  box-shadow: 0 6px 16px rgba(41, 62, 120, 0.08);
  background: linear-gradient(180deg, #fafcff, #f4f7ff);
  overflow: hidden;
}

.contactdetail-warehouse-card {
  border: 1px solid #dde4f6;
  border-radius: 12px;
  background: linear-gradient(180deg, #ffffff 0%, #fbfcff 100%);
  overflow: hidden;
  transition: border-color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
  position: relative;
}

.contactdetail-warehouse-card.is-selected {
  border-color: #8d84ff;
  box-shadow: 0 0 0 0.14rem rgba(111, 99, 246, 0.16), 0 10px 20px rgba(64, 81, 137, 0.12);
}

.contactdetail-warehouse-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 16px rgba(64, 81, 137, 0.1);
}

.contactdetail-warehouse-label {
  display: block;
  padding: 12px;
  cursor: pointer;
}

.contactdetail-warehouse-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 10px;
}

.contactdetail-warehouse-title {
  display: block;
  font-size: 0.8rem;
  font-weight: 700;
  color: #2f3a59;
  line-height: 1.35;
}

.contactdetail-warehouse-pic {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
  font-size: 0.78rem;
  font-weight: 600;
  color: #405189;
}

.contactdetail-warehouse-meta {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 0.72rem;
  color: #6c7b9c;
  line-height: 1.45;
  margin-bottom: 5px;
  min-width: 0;
}

.contactdetail-warehouse-meta > span,
.contactdetail-warehouse-pic > span {
  flex: 1 1 auto;
  min-width: 0;
  white-space: normal;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.contactdetail-warehouse-address > span {
  display: block;
  overflow: visible;
  text-overflow: unset;
}

.contactdetail-warehouse-pic i,
.contactdetail-warehouse-meta i {
  flex: 0 0 auto;
  color: #8d84ff;
  font-size: 0.86rem;
  margin-top: 1px;
}

.contactdetail-warehouse-actions {
  display: flex;
  gap: 6px;
  padding: 9px 10px;
  border-top: 1px solid #e8edf8;
  background: #f5f8ff;
  justify-content: flex-end;
}

.contactdetail-profile-head {
  border-bottom: 1px solid #e8edf8;
}

.contactdetail-avatar-wrap {
  position: relative;
  width: 72px;
  height: 72px;
}

.contactdetail-avatar {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid #fff;
  box-shadow: 0 6px 14px rgba(64, 81, 137, 0.16);
}

.contactdetail-avatar-fallback {
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #6f63f6, #405189);
  color: #fff;
  font-size: 1.4rem;
  font-weight: 700;
}

.contactdetail-status-dot {
  position: absolute;
  right: 2px;
  bottom: 4px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  border: 2px solid #fff;
}

.contactdetail-status-dot.is-active {
  background: #0ab39c;
}

.contactdetail-status-dot.is-inactive {
  background: #f06548;
}

.contactdetail-side-title {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #818caa;
}

.contactdetail-side-text {
  font-size: 0.78rem;
  color: #526185;
  line-height: 1.5;
}

.contactdetail-info-table td {
  padding: 0.45rem 0;
  font-size: 0.76rem;
  vertical-align: top;
}

.contactdetail-info-table td:first-child {
  width: 34%;
  color: #818caa;
  font-weight: 600;
}

.contactdetail-info-table td:last-child {
  color: #2f3a59;
  font-weight: 600;
}

.contactdetail-themed-page .form-check.card-radio .form-check-input {
  position: absolute;
  z-index: 1;
  top: 12px;
  right: 12px;
  margin: 0;
}

@media (max-width: 575.98px) {
  .contactdetail-warehouse-actions {
    justify-content: flex-end;
  }
}