/* Remove number input arrows */
.no-spin::-webkit-outer-spin-button,
.no-spin::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.no-spin {
  -moz-appearance: textfield; /* Firefox */
}
.material-symbols-outlined {
  font-variation-settings:
    "FILL" 0,
    "wght" 400,
    "GRAD" 0,
    "opsz" 24;
}
/* Custom scrollbar for webkit */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}
::-webkit-scrollbar-track {
  background: transparent;
}
::-webkit-scrollbar-thumb {
  background: #cbd5e1;
  border-radius: 4px;
}
.dark ::-webkit-scrollbar-thumb {
  background: #334155;
}
.table-sessions {
  white-space: nowrap;
}
/* Reset style popover mặc định của trình duyệt để giữ nguyên giao diện đẹp của neo-toast */
.neo-toast:popover-open,
.neo-toast {
  position: fixed;
  top: 20px;
  right: 20px;
  bottom: auto;
  left: auto;
  margin: 0;
  border: none;
  background: #323232;
  color: #fff;
  padding: 10px 20px;
  border-radius: 6px;
  opacity: 0;
  transform: translateY(-20px);
  transition: all 0.3s ease;
  z-index: 9999999999;
  font-size: 14px;
}
.neo-toast:focus-visible {
  outline: none;
}
.neo-toast.show {
  opacity: 1;
  transform: translateY(0);
}
.neo-toast.success {
  background: #5dd666;
}
.neo-toast.error {
  background: #dc3545;
}

/* =====================================================
   SELECT2 — Custom style cho WPGC
   ===================================================== */
.wpgc-user-select2 + .select2-container,
.select2-container--default .select2-selection--single {
  height: auto !important;
}
.select2-container--default .select2-selection--single {
  border: 1px solid #dbe0e6 !important;
  border-radius: 6px !important;
  padding: 6px 10px !important;
  font-size: 0.875rem !important;
  line-height: 1.5 !important;
  background: #fff !important;
  min-height: 38px;
  display: flex;
  align-items: center;
}
.select2-container--default
  .select2-selection--single
  .select2-selection__rendered {
  padding: 0 !important;
  line-height: 1.5 !important;
  color: #111418 !important;
}
.select2-container--default
  .select2-selection--single
  .select2-selection__arrow {
  top: 50% !important;
  transform: translateY(-50%) !important;
  height: auto !important;
}
.select2-container--default
  .select2-selection--single
  .select2-selection__placeholder {
  color: #9ca3af !important;
}
.select2-container--default .select2-results__option--highlighted {
  background-color: #05df72 !important;
  color: #fff !important;
}
.select2-dropdown {
  border: 1px solid #dbe0e6 !important;
  border-radius: 8px !important;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08) !important;
  overflow: hidden;
}
.select2-search--dropdown .select2-search__field {
  border: 1px solid #dbe0e6 !important;
  border-radius: 6px !important;
  padding: 6px 10px !important;
  font-size: 0.875rem !important;
  outline: none !important;
}
.select2-search--dropdown .select2-search__field:focus {
  border-color: #05df72 !important;
  box-shadow: 0 0 0 2px rgba(5, 223, 114, 0.15) !important;
}
/* Option template */
.wpgc-s2-option {
  padding: 2px 0;
  line-height: 1.4;
}
.wpgc-s2-option small {
  color: #6b7280;
  font-size: 0.75rem;
}
.select2-results__option--highlighted .wpgc-s2-option small {
  color: rgba(255, 255, 255, 0.8);
}
.wpgc-s2-code {
  background: rgba(0, 0, 0, 0.06);
  border-radius: 3px;
  padding: 0 4px;
  font-family: monospace;
  font-size: 0.7rem;
}
.select2-results__option--highlighted .wpgc-s2-code {
  background: rgba(255, 255, 255, 0.2);
}
.page-template-wpgc-golf-manager-blank #main-menu, .page-template-wpgc-golf-manager-blank #wpadminbar {
  display: none;
}

input[type=text], input[type=email], input[type=number], input[type=search], .select2-dropdown .select2-search--dropdown .select2-search__field {
  font-size: 16px !important;
}

/* Account informations mobile order: show avatar block first */
@media (max-width: 767.98px) {
  .wpgc-account-side-column {
    order: 1;
  }

  .wpgc-account-info-card {
    order: 2;
  }
}
