:root {
  /* Primary */
  --primary-blue-500: #007aff;
  --primary-orange-500: #f59e08;

  /* Neutral */
  --neutral-900: #1e293b;
  --neutral-500: #64748b;
  --neutral-400: #94a3b8;
  --neutral-200: #e2e8f0;
  --neutral-100: #f1f5f9;
  --neutral-50: #f8fafc;
}

@font-face {
  font-family: "SF Pro Text";
  src: url("../assets/fonts/SF-Pro-Text-Regular.otf") format("opentype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "SF Pro Text";
  src: url("../assets/fonts/SF-Pro-Text-Medium.otf") format("opentype");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "SF Pro Text";
  src: url("../assets/fonts/SF-Pro-Text-Semibold.otf") format("opentype");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "SF Pro Text";
  src: url("../assets/fonts/SF-Pro-Text-Bold.otf") format("opentype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

body,
body *,
.wc2-app,
.wc2-app * {
  font-family: "SF Pro Display", "SF Pro Text", -apple-system,
    BlinkMacSystemFont, "Segoe UI", sans-serif !important;
}

/* SF Pro Display — Typography */
.wc2-app .text-14-regular {
  font-family: "SF Pro Display", sans-serif;
  font-size: 14px;
  font-weight: 400;
  line-height: 20px;
}

.wc2-app .text-14-medium {
  font-family: "SF Pro Display", sans-serif;
  font-size: 14px;
  font-weight: 500;
  line-height: 20px;
}

.wc2-app .text-16-regular {
  font-family: "SF Pro Display", sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 20px;
}

.wc2-app .text-16-medium {
  font-family: "SF Pro Display", sans-serif;
  font-size: 16px;
  font-weight: 500;
  line-height: 20px;
}

.wc2-app .text-16-semibold {
  font-family: "SF Pro Display", sans-serif;
  font-size: 16px;
  font-weight: 600;
  line-height: 20px;
}

.wc2-app .text-18-regular {
  font-family: "SF Pro Display", sans-serif;
  font-size: 18px;
  font-weight: 400;
  line-height: 20px;
}

.wc2-app .text-18-medium {
  font-family: "SF Pro Display", sans-serif;
  font-size: 18px;
  font-weight: 500;
  line-height: 20px;
}

.wc2-app .text-18-semibold {
  font-family: "SF Pro Display", sans-serif;
  font-size: 18px;
  font-weight: 600;
  line-height: 20px;
}

.wc2-app .text-18-bold {
  font-family: "SF Pro Display", sans-serif;
  font-size: 18px;
  font-weight: 700;
  line-height: 20px;
}

.wc2-app .text-20-semibold {
  font-family: "SF Pro Display", sans-serif;
  font-size: 20px;
  font-weight: 600;
  line-height: 28px;
}

.wc2-app .text-20-bold {
  font-family: "SF Pro Display", sans-serif;
  font-size: 20px;
  font-weight: 700;
  line-height: 28px;
}

.wc2-app .text-22-semibold {
  font-family: "SF Pro Display", sans-serif;
  font-size: 22px;
  font-weight: 600;
  line-height: 28px;
}

.wc2-app .text-22-bold {
  font-family: "SF Pro Display", sans-serif;
  font-size: 22px;
  font-weight: 700;
  line-height: 28px;
}

.wc2-app .text-24-semibold {
  font-family: "SF Pro Display", sans-serif;
  font-size: 24px;
  font-weight: 600;
  line-height: 32px;
}

.wc2-app .text-24-bold {
  font-family: "SF Pro Display", sans-serif;
  font-size: 24px;
  font-weight: 700;
  line-height: 32px;
}

.wc2-app .text-32-semibold {
  font-family: "SF Pro Display", sans-serif;
  font-size: 32px;
  font-weight: 600;
  line-height: 36px;
}

.wc2-app .text-32-bold {
  font-family: "SF Pro Display", sans-serif;
  font-size: 32px;
  font-weight: 700;
  line-height: 36px;
}

.wc2-app .text-neutral-default {
  color: #1e293b;
}
/* FIELD */

.wc2-app .wc2-field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.wc2-app .wc2-field__label {
  color: var(--neutral-500);
}

.wc2-app .wc2-field--label-off .wc2-field__label {
  display: none;
}

/* INPUT */

.wc2-app .wc2-input {
  width: 100%;
  height: 44px;
  padding: 12px;
  border: 1px solid transparent;
  border-radius: 8px;
  background: var(--neutral-100);
  outline: none;
  box-sizing: border-box;
  background-image: url(/assets/icons/v2/Arrow-Down2.svg);
  background-repeat: no-repeat;
  background-position: right 12px center;
  background-size: 12px 12px;
  appearance: none;
  -webkit-appearance: none;
}

.wc2-app .wc2-input::placeholder {
  color: var(--neutral-400);
}

.wc2-app .wc2-input:focus {
  border-color: var(--primary-blue-500);
}

.wc2-app .wc2-input:disabled {
  color: var(--neutral-400);
  cursor: not-allowed;
}

.wc2-app .wc2-input.no-arrow {
  background-image: unset;
}

/* BUTTON */

.wc2-app .wc2-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 48px;
  padding: 12px 24px;
  border: 1px solid transparent;
  border-radius: 500px;
  background: transparent;
  cursor: pointer;
  box-sizing: border-box;
}

.wc2-app .wc2-button__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

/* Primary Blue */

.wc2-app .wc2-button--primary {
  background: var(--primary-blue-500);
  color: #ffffff;
}

.wc2-app .wc2-button--primary:active {
  filter: brightness(0.85);
}

/* Primary Orange */

.wc2-app .wc2-button--orange {
  background: var(--primary-orange-500);
  color: #ffffff;
}

.wc2-app .wc2-button--orange:active {
  filter: brightness(0.85);
}

/* Outline */

.wc2-app .wc2-button--outline {
  border-color: var(--primary-blue-500);
  background: #ffffff;
  color: var(--primary-blue-500);
}

.wc2-app .wc2-button--outline:active {
  background: color-mix(in srgb, var(--primary-blue-500) 14%, #ffffff);
}

/* Pill */
.wc2-app .wc2-button--pill {
  border-radius: 999px;
}

/* Disabled */
.wc2-app .wc2-button:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  pointer-events: none;
}

/* Focus */
.wc2-app .wc2-button:focus-visible {
  outline: 2px solid var(--primary-blue-500);
  outline-offset: 2px;
}

.wc2-app .sidebar {
  width: 160px;
  height: 100vh;
  background: #ffffff;
  position: fixed;
  top: 0;
  left: 0;
  padding: 0;
  border-right: 1px solid #e9ecef;
  display: flex;
  flex-direction: column;
  align-items: center;
  overflow: hidden;
}

.wc2-app .sidebar::-webkit-scrollbar {
  display: none;
}

/* Nav menu scrollable area */
.wc2-app .nav-menu-wrapper {
  flex: 1;
  width: 100%;
  overflow-y: auto;
  overflow-x: hidden;
  min-height: 0;
}

.wc2-app .nav-menu-wrapper::-webkit-scrollbar {
  display: none;
}

.wc2-app .sidebar-title {
  color: #28a745;
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 16px;
}

.wc2-app .sidebar-dropdown {
  position: relative;
  border: 1px solid #dee2e6;
  border-radius: 8px;
  padding: 12px;
  margin-bottom: 16px;
  background-color: #fff;
  width: 100%;
}

.wc2-app .dropdown-toggle {
  width: 100%;
  text-align: left;
  padding: 0;
  border: none;
  background: transparent;
  cursor: pointer;
}

.wc2-app .dropdown-content h6 {
  margin-bottom: 0;
  font-size: 16px;
  font-weight: 600;
}

.wc2-app .dropdown-content small {
  color: #6c757d;
  font-size: 14px;
  display: block;
}

.wc2-app .dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: white;
  border: 1px solid #dee2e6;
  border-radius: 8px;
  box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
  z-index: 1000;
  margin-top: 8px;
  list-style: none;
  display: none;
}

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

.wc2-app .dropdown-item {
  display: block;
  width: 100%;
  padding: 8px 16px;
  color: #161616;
  text-decoration: none;
  background-color: transparent;
  border: 0;
}

.wc2-app .dropdown-item:hover {
  background-color: #ebebeb;
}

.wc2-app .sidebar-divider {
  width: 100%;
  border: none;
  border-top: 1px solid #e2e8f0;
  margin: 0;
}

.wc2-app .nav-menu {
  list-style: none;
  display: flex;
  flex-direction: column;
  width: 100%;
  padding: 8px 12px;
  margin: 0;
}

.wc2-app .nav-item {
  width: 100%;
  margin: 0;
}

.wc2-app .nav-menu-icons.nav-link {
  padding: 0;
}

.wc2-app .nav-item-settings {
  display: flex;
  flex-wrap: nowrap;
  flex-shrink: 0;
  width: 100%;
}

.wc2-app .nav-item-settings .nav-link {
  display: flex;
  flex-wrap: nowrap;
  flex-direction: row;
}

.wc2-app .nav-link {
  color: #64748b;
  padding: 12px 8px;
  border-radius: 12px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  transition: all 0.2s ease;
  font-size: 16px;
  line-height: 24px;
  font-weight: 600;
  text-decoration: none;
  width: 100%;
}

.wc2-app .nav-link svg {
  width: 28px;
  height: 28px;
  flex-shrink: 0;
}

.wc2-app .nav-icon-wrapper {
  position: relative;
  display: inline-flex;
}

.wc2-app .nav-notification-dot {
  position: absolute;
  top: -2px;
  right: -2px;
  width: 8px;
  height: 8px;
  background-color: #ff3b30;
  border: 2px solid #ffffff;
  border-radius: 50%;
  box-sizing: content-box;
}

.wc2-app .nav-link:hover {
  background-color: #f3f4f6;
  color: #007aff;
}

.wc2-app .nav-link.active {
  background-color: #007aff;
  color: #ffffff;
}

.wc2-app .nav-link.active svg {
  fill: #ffffff;
}

.wc2-app .nav-link-danger {
  color: #dc3545 !important;
}

.wc2-app .nav-link-danger:hover {
  color: #dc3545 !important;
  background-color: #f8d7da;
}

.layout-toolbar {
  margin-left: 180px;
  padding: 8px 12px;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 12px;
  background-color: #fff;
  border-bottom: 1px solid #ebebeb;
}

.wc2-app .toolbar-search {
  width: 200px;
}

.wc2-app .toolbar-select {
  width: 160px;
}

.content {
  margin-left: 180px;
  margin-right: 20px;
  margin-bottom: 0px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  border: none;
  border-radius: 0;
  padding: 20px 20px 0 20px;
  background-color: transparent;
}

.conflict-selected {
  background: #ff3b30;
  color: #ffffff;
  font-weight: 600;
}

.available-selected {
  background: #007aff;
  color: #ffffff;
  font-weight: 600;
}

.conflict-time {
  border-color: #ff3b30;
  color: #ff3b30;
  background: #fff5f5;
}

.available-time {
  border-color: #007aff;
  color: #007aff;
  background: #f8fafc;
}

.conflict-border {
  border-color: #ff3b30 !important;
}

.available-border {
  border-color: #007aff !important;
}

.table-day-disable {
  background-color: #f8fafc;
  opacity: 0.4;
}

/* Pagination styles matching design */
.wc2-app .pagination-wrap {
  padding: 16px 0;
}

.wc2-app .pagination-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  /* padding: 16px 32px; */
}

.wc2-app .pagination-left {
  color: #64748b;
}

.wc2-app .pagination-left,
.wc2-app .pagination-middle,
.wc2-app .pagination-right {
  display: flex;
  align-items: center;
  gap: 8px;
}
.wc2-app .pagination-range {
  color: #64748b;
  font-size: 16px;
}
.wc2-app .pagination-show-label {
  color: #64748b;
  font-size: 16px;
}
.wc2-app .pagination-select {
  width: 60px;
  padding: 4px 8px;
  border-radius: 4px;
  border: 1px solid #e2e8f0;
  background-color: #ffffff;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  background-image: url("/assets/icons/Chevron-Down.svg");
  background-repeat: no-repeat;
  background-position: right 10px center;
  cursor: pointer;
}

.wc2-app .pagination-select::-ms-expand {
  display: none;
}

.wc2-app .page-item .page-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 40px;
  border-radius: 4px;
  border: 1px solid #e2e8f0;
  color: #0f172a;
  text-decoration: none;
  font-size: 16px;
}
.wc2-app .page-item.active .page-link {
  background-color: #007aff;
  color: #ffffff;
  border-color: #007aff;
}
.wc2-app .page-item.disabled .page-link {
  opacity: 0.5;
  pointer-events: none;
  background-color: #f9fafb;
  border-color: #e5e7eb;
}

.wc2-app .btn-secondary {
  display: flex;
  gap: 8px;
  padding: 8px 16px;
  font-size: 16px;
  font-weight: 500;
  border-radius: 8px;
  border: 1px solid #e2e8f0;
  background-color: #f1f5f9;
  color: #475569;
  cursor: pointer;
}

.wc2-app .btn-secondary:hover {
  background-color: transparent !important;
}

.wc2-app {
  scrollbar-color: #e2e8f0 transparent;
}

.wc2-app .btn-pagination {
  border-radius: 4px;
  color: #64748b;
  background-color: #ffffff;
}

.wc2-app .delete-icon {
  width: 18px !important;
  height: 18px !important;
  background-color: unset;
  margin: 0;
}

.wc2-app .btn-primary {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 180px;
  height: 48px;
  padding: 8px 20px;
  border-radius: 8px;
  font-size: 16px;
  line-height: 24px;
  background-color: #007aff;
  color: #ffffff;
  border: none;
  box-shadow: unset;
  white-space: nowrap;
}

.wc2-app .btn-primary:hover {
    background-color: #007AFF;
    cursor: pointer;
}

.wc2-app .nav-logo {
    display: flex;
    width: 100%;
    height: 105px;
    align-items: center;
    padding: 24px 12px;
    gap: 12px;
}

.wc2-app .logo-union {
    width: 36px;
    height: 36px;
}

.wc2-app .logo-ximli {
    height: 36px;
    width: 72px;
}

.wc2-app .wc2-input.text-left {
    text-align: left;
}
