/* GOGOTOKEN Terminal Theme */

:root {
  --semi-color-primary: #FFB000;
  --semi-color-primary-hover: #FF9500;
  --semi-color-primary-active: #CC8C00;
  --semi-color-primary-light-default: rgba(255,176,0,0.15);
  --semi-color-primary-light-hover: rgba(255,176,0,0.25);
  --semi-color-primary-light-active: rgba(255,176,0,0.35);
  --semi-color-text-0: #FFB000;
  --semi-color-text-1: #FFB000;
  --semi-color-text-2: rgba(255,176,0,0.75);
  --semi-color-link: #FFB000;
  --semi-color-link-hover: #FF9500;
  --semi-color-bg-0: #050505;
  --semi-color-bg-1: #0A0A0A;
  --semi-color-bg-2: #0F0F0F;
  --semi-color-bg-3: #151515;
  --semi-color-bg-4: #1A1A1A;
  --semi-color-border: rgba(255,176,0,0.28);
  --semi-color-fill-0: rgba(255,176,0,0.08);
  --semi-color-fill-1: rgba(255,176,0,0.12);
  --semi-color-fill-2: rgba(255,176,0,0.18);
  --semi-color-success: #5CFF8E;
  --semi-color-danger: #FF3838;
  --semi-color-warning: #FFB000;
  --semi-color-shadow: rgba(0,0,0,0.6);
}

body, .semi-layout, .semi-layout-content, .semi-layout-sider,
.semi-page, .semi-card, .semi-panel, .semi-modal-content,
.semi-popover, .semi-dropdown, .semi-select-option-list,
.semi-table, .semi-table-thead, .semi-form, .semi-input-wrapper {
  background-color: #050505 !important;
  color: #FFB000 !important;
}

.semi-card, .semi-panel, .semi-modal-content,
.semi-table, .semi-table-container {
  border-color: rgba(255,176,0,0.2) !important;
  background-color: #0A0A0A !important;
}

.semi-input, .semi-select,
.semi-textarea, .semi-input-textarea {
  background-color: transparent !important;
  color: #FFB000 !important;
  border: none !important;
  outline: none !important;
  box-shadow: none !important;
}
/* Semi UI wrapper - thicker border (higher specificity needed for CSS-in-JS) */
.semi-input-wrapper.semi-input-wrapper-default {
  border: 2px solid rgba(255,176,0,0.5) !important;
  background-color: #0A0A0A !important;
}
.semi-input-wrapper.semi-input-wrapper-focus {
  border: 2px solid #FFB000 !important;
  box-shadow: 0 0 0 3px rgba(255,176,0,0.25) !important;
}

.semi-form-label, .semi-typography, .semi-descriptions-item-label,
.semi-table-cell, .semi-select-selection, .semi-tag {
  color: rgba(255,176,0,0.8) !important;
}

.semi-button-primary {
  background-color: #FFB000 !important;
  border-color: #FFB000 !important;
  color: #050505 !important;
  font-weight: 700 !important;
}
.semi-button-primary:hover {
  background-color: #FF9500 !important;
  border-color: #FF9500 !important;
}

.semi-button-secondary, .semi-button-tertiary {
  border-color: rgba(255,176,0,0.35) !important;
  color: #FFB000 !important;
}
.semi-button-secondary:hover {
  background-color: rgba(255,176,0,0.1) !important;
  border-color: #FFB000 !important;
}

a, .semi-link, .semi-navigation-item-text {
  color: #FFB000 !important;
}
a:hover, .semi-link:hover {
  color: #FF9500 !important;
}

.semi-table-thead .semi-table-row-head {
  background-color: #0A0A0A !important;
  border-bottom: 2px solid rgba(255,176,0,0.35) !important;
}
.semi-table-thead .semi-table-cell {
  color: #FFB000 !important;
  font-weight: 700 !important;
}
.semi-table-row:hover {
  background-color: rgba(255,176,0,0.05) !important;
}

.semi-layout-sider, .semi-navigation {
  background-color: #050505 !important;
  border-right: 1px solid rgba(255,176,0,0.15) !important;
}
.semi-navigation-item:hover {
  background-color: rgba(255,176,0,0.08) !important;
}
.semi-navigation-item-active {
  background-color: rgba(255,176,0,0.12) !important;
  color: #FFB000 !important;
  border-right: 2px solid #FFB000 !important;
}

.semi-layout-header, .semi-navigation-header {
  background-color: #050505 !important;
  border-bottom: 1px solid rgba(255,176,0,0.15) !important;
}

.semi-tag-primary {
  background-color: rgba(255,176,0,0.15) !important;
  color: #FFB000 !important;
  border-color: rgba(255,176,0,0.3) !important;
}
.semi-tag-success {
  background-color: rgba(92,255,142,0.12) !important;
  color: #5CFF8E !important;
}
.semi-tag-danger {
  background-color: rgba(255,56,56,0.12) !important;
  color: #FF3838 !important;
}

::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: #050505; }
::-webkit-scrollbar-thumb { background: rgba(255,176,0,0.3); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: rgba(255,176,0,0.5); }

.semi-toast, .semi-notification {
  background-color: #0A0A0A !important;
  border: 1px solid rgba(255,176,0,0.28) !important;
  color: #FFB000 !important;
}

.semi-spinner { color: #FFB000 !important; }

.semi-dropdown-menu, .semi-select-option-list {
  background-color: #0F0F0F !important;
  border: 1px solid rgba(255,176,0,0.28) !important;
}
.semi-select-option:hover, .semi-dropdown-item:hover {
  background-color: rgba(255,176,0,0.08) !important;
}

.semi-button:focus-visible, .semi-input:focus-visible,
.semi-select:focus-visible {
  outline-color: #FFB000 !important;
}

.semi-layout-content {
  min-height: 100vh;
  font-family: "Helvetica Neue", "PingFang SC", "Microsoft YaHei", sans-serif !important;
}

/* shadcn/ui Input - thicker amber border for auth forms */
/* Uses inset box-shadow to avoid clipping from parent overflow or overlay buttons */
[data-slot="input"] {
  border-color: rgba(255,176,0,0.5) !important;
  box-shadow: inset 0 0 0 1px rgba(255,176,0,0.5) !important;
  background-color: #0A0A0A !important;
  color: #FFB000 !important;
}
[data-slot="input"]:focus {
  border-color: #FFB000 !important;
  box-shadow: inset 0 0 0 1px #FFB000, 0 0 0 3px rgba(255,176,0,0.25) !important;
}
[data-slot="input"]::placeholder {
  color: rgba(255,176,0,0.4) !important;
}
