/* BoheVitayr hardcoded theme color: #16BAA8 */
:root {
  --ant-primary-color: #16BAA8 !important;
  --ant-primary-color-hover: #12998A !important;
  --ant-primary-color-active: #0F8578 !important;
  --ant-primary-color-outline: rgba(22, 186, 168, 0.2) !important;
  --ant-primary-1: #E7FAF7 !important;
  --ant-primary-2: #C9F3EC !important;
  --ant-primary-3: #96E5D8 !important;
  --ant-primary-4: #5ed4c4 !important;
  --ant-primary-5: #36c7b5 !important;
  --ant-primary-6: #16BAA8 !important;
  --ant-primary-7: #12998A !important;
  --ant-info-color: #16BAA8 !important;
  --ant-info-color-deprecated-bg: #E7FAF7 !important;
  --ant-info-color-deprecated-border: #C9F3EC !important;
  --toastify-color-info: #16BAA8 !important;
  --toastify-color-success: #10b981 !important;
  --toastify-color-warning: #f59e0b !important;
  --toastify-color-error: #ef4444 !important;
  --toastify-toast-width: 360px !important;
  --toastify-toast-min-height: 52px !important;
}

/* Force common blue/primary leftovers */
a { color: #16BAA8; }
a:hover { color: #12998A; }

/* Buttons */
.ant-btn-primary,
.ant-btn-primary:not(:disabled) {
  background: #16BAA8 !important;
  border-color: #16BAA8 !important;
  border-radius: 10px !important;
  box-shadow: none !important;
  text-shadow: none !important;
}
.ant-btn-primary:hover,
.ant-btn-primary:focus {
  background: #12998A !important;
  border-color: #12998A !important;
}
.ant-btn-primary:active {
  background: #0F8578 !important;
  border-color: #0F8578 !important;
}
.ant-btn { border-radius: 10px !important; }
.ant-btn-link { color: #16BAA8 !important; }
.ant-btn-link:hover { color: #12998A !important; }

/* Menu */
.ant-menu-item-selected,
.ant-menu-item-selected a,
.ant-menu-item-selected .ant-menu-title-content {
  color: #16BAA8 !important;
}
.ant-menu:not(.ant-menu-horizontal) .ant-menu-item-selected {
  background-color: #E7FAF7 !important;
}
.ant-menu-item:hover,
.ant-menu-item-active {
  color: #16BAA8 !important;
}
.ant-menu-submenu-selected > .ant-menu-submenu-title {
  color: #16BAA8 !important;
}

/* Form controls */
.ant-switch-checked { background-color: #16BAA8 !important; }
.ant-checkbox-checked .ant-checkbox-inner {
  background-color: #16BAA8 !important;
  border-color: #16BAA8 !important;
}
.ant-radio-checked .ant-radio-inner {
  border-color: #16BAA8 !important;
}
.ant-radio-inner::after { background-color: #16BAA8 !important; }
.ant-input:focus,
.ant-input-focused,
.ant-input:hover,
.ant-select-focused .ant-select-selector,
.ant-select:not(.ant-select-disabled):hover .ant-select-selector,
.ant-picker-focused {
  border-color: #16BAA8 !important;
  box-shadow: 0 0 0 2px rgba(22, 186, 168, 0.15) !important;
}
.ant-slider-track,
.ant-progress-bg,
.ant-spin-dot-item {
  background-color: #16BAA8 !important;
}
.ant-tabs-ink-bar { background: #16BAA8 !important; }
.ant-tabs-tab.ant-tabs-tab-active .ant-tabs-tab-btn { color: #16BAA8 !important; }
.ant-pagination-item-active {
  border-color: #16BAA8 !important;
}
.ant-pagination-item-active a { color: #16BAA8 !important; }
.ant-tag-blue,
.ant-badge-status-processing {
  color: #16BAA8 !important;
  background: #E7FAF7 !important;
  border-color: #C9F3EC !important;
}

/* Cards */
.ant-card { border-radius: 16px !important; }

/* ========== Toastify 提示框：圆角 + #16BAA8 ========== */
.Toastify__toast-container {
  width: auto !important;
  max-width: min(420px, calc(100vw - 24px)) !important;
  padding: 12px !important;
}
.Toastify__toast {
  border-radius: 14px !important;
  min-height: 52px !important;
  padding: 12px 16px !important;
  box-shadow: 0 12px 32px rgba(22, 186, 168, 0.16), 0 2px 8px rgba(0,0,0,0.06) !important;
  font-size: 14px !important;
  font-weight: 500 !important;
  border: 1px solid transparent !important;
}
.Toastify__toast-body { margin: 0 !important; padding: 0 !important; line-height: 1.5 !important; }
.Toastify__toast--info {
  background: linear-gradient(135deg, #12998A, #16BAA8) !important;
  color: #fff !important;
}
.Toastify__toast--success {
  background: linear-gradient(135deg, #14b8a6, #10b981) !important;
  color: #fff !important;
}
.Toastify__toast--warning {
  background: linear-gradient(135deg, #fbbf24, #f59e0b) !important;
  color: #1f2937 !important;
}
.Toastify__toast--error {
  background: linear-gradient(135deg, #f87171, #ef4444) !important;
  color: #fff !important;
}
.Toastify__toast--default,
.Toastify__toast-theme--light {
  background: #fff !important;
  color: #134E4A !important;
  border-color: #e8e8e8 !important;
}
.Toastify__progress-bar { height: 3px !important; border-radius: 999px !important; }

/* Ant message */
.ant-message-notice-content {
  border-radius: 14px !important;
  padding: 12px 18px !important;
  box-shadow: 0 12px 32px rgba(22, 186, 168, 0.14) !important;
  border: 1px solid #efefef !important;
  background: #fff !important;
}
.ant-message-info .anticon { color: #16BAA8 !important; }
.ant-message-success .anticon { color: #10b981 !important; }
.ant-message-error .anticon { color: #ef4444 !important; }
.ant-message-warning .anticon { color: #f59e0b !important; }

/* Ant notification */
.ant-notification-notice {
  border-radius: 14px !important;
  box-shadow: 0 12px 32px rgba(22, 186, 168, 0.14) !important;
  border: 1px solid #efefef !important;
  padding: 16px 18px !important;
  overflow: hidden;
}
.ant-notification-notice::before {
  content: "";
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 4px;
  background: #16BAA8;
}
.ant-notification-notice-success::before { background: #10b981; }
.ant-notification-notice-error::before { background: #ef4444; }
.ant-notification-notice-warning::before { background: #f59e0b; }
.ant-notification-notice-info::before { background: #16BAA8; }

/* Alert / empty state - soft mint, rounded, no blue */
.ant-alert {
  border-radius: 14px !important;
  padding: 14px 16px !important;
  box-shadow: none !important;
}
.ant-alert-info {
  background: #E7FAF7 !important;
  border: 1px solid #C9F3EC !important;
  color: #134E4A !important;
}
.ant-alert-info .ant-alert-icon { color: #16BAA8 !important; }
.ant-alert-info .ant-alert-message { color: #134E4A !important; font-weight: 600 !important; }
.ant-alert-info .ant-alert-description { color: #5B7A76 !important; }
.ant-alert-success {
  background: #ecfdf5 !important;
  border: 1px solid #a7f3d0 !important;
}
.ant-alert-warning {
  background: #fffbeb !important;
  border: 1px solid #fde68a !important;
}
.ant-alert-error {
  background: #fef2f2 !important;
  border: 1px solid #fecaca !important;
}

/* Override common hardcoded blues from ant design */
[style*="color: rgb(24, 144, 255)"],
[style*="color:#1890ff"],
[style*="color: #1890ff"] {
  color: #16BAA8 !important;
}
