/**
 * studio.css
 * Obsidian & Luxury Gold Design System for VTOS AI Image Studio (anh.vtos.vn)
 * Conforms to: <= 400 lines/file
 */

@font-face {
  font-family: 'BeVietnamExtraBold';
  src: url('https://s3.ap-southeast-1.wasabisys.com/auto-aff/khaitruong-assets/fonts/BeVietnamPro-ExtraBold.ttf') format('truetype'),
       url('/api/image-studio/assets/fonts/BeVietnamPro-ExtraBold.ttf') format('truetype');
  font-weight: 800 900;
  font-style: normal;
  font-display: swap;
}

button:not(:disabled), [role="button"] {
  cursor: pointer;
}

body {
  font-family: 'Plus Jakarta Sans', 'Inter', system-ui, -apple-system, sans-serif;
  background-color: #090B10;
  color: #F1F5F9;
  min-height: 100vh;
}

/* Technical Dot-Grid Artboard Stage (Neutral Obsidian — Zero Color Cast) */
.studio-dot-stage {
  background-color: #0B0D13;
  background-image:
    radial-gradient(circle at 50% 45%, rgba(212, 175, 55, 0.05) 0%, transparent 65%),
    radial-gradient(rgba(255, 255, 255, 0.065) 1px, transparent 1px);
  background-size: 100% 100%, 20px 20px;
}

/* Signature Luxury Metallic Gold Primary Button (WCAG AAA #090B10 contrast) */
.btn-gold-luxury {
  background: linear-gradient(135deg, #F6D365 0%, #D4AF37 52%, #B8860B 100%);
  color: #090B10 !important;
  font-weight: 800;
  border: 1px solid rgba(254, 240, 138, 0.45);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.38), 0 6px 20px rgba(212, 175, 55, 0.22);
  transition: all 0.18s ease;
}

.btn-gold-luxury:hover:not(:disabled) {
  filter: brightness(1.07);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.5), 0 8px 24px rgba(212, 175, 55, 0.34);
  transform: translateY(-1px);
}

.btn-gold-luxury:active:not(:disabled) {
  transform: translateY(0);
}

/* Calm Segmented Mode & Inspector Tabs */
.mode-tab-btn {
  color: #94A3B8;
  border: 1px solid transparent;
}

.mode-tab-btn:hover {
  color: #F8FAFC;
  background-color: rgba(255, 255, 255, 0.04);
}

.mode-tab-btn.active {
  background: rgba(212, 175, 55, 0.14);
  color: #FDE047 !important;
  border-color: rgba(212, 175, 55, 0.42);
  box-shadow: 0 2px 10px rgba(212, 175, 55, 0.12);
}

.insp-tab-btn {
  color: #94A3B8;
  border-bottom: 2px solid transparent;
  transition: all 0.18s ease;
}

.insp-tab-btn:hover {
  color: #E2E8F0;
}

.insp-tab-btn.active {
  color: #FDE047;
  border-bottom-color: #D4AF37;
  background: rgba(212, 175, 55, 0.07);
}

.theme-color-btn.active {
  border-color: #D4AF37 !important;
  box-shadow: 0 0 0 1px #D4AF37;
}

.sr-preset-btn.selected {
  border-color: #D4AF37 !important;
  background-color: rgba(212, 175, 55, 0.10) !important;
  box-shadow: 0 0 0 1px rgba(212, 175, 55, 0.45);
}

#studioCanvas {
  touch-action: none;
  user-select: none;
  -webkit-user-select: none;
}

::-webkit-scrollbar {
  width: 5px;
  height: 5px;
}
::-webkit-scrollbar-track {
  background: #090B10;
}
::-webkit-scrollbar-thumb {
  background: #262B38;
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: #D4AF37;
}
