/* ===================================================================
   Faceit Stream Overlay Studio - Stylesheet
   BlueDev - 56-CORPO
   Modern Dark Studio Theme (Photoshop-inspired Workspace)
   =================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&family=Dela+Gothic+One&family=Inter:wght@300;400;500;600;700;800;900&family=Montserrat:wght@400;600;700;900&family=Orbitron:wght@500;700;900&family=Rajdhani:wght@500;600;700&family=Roboto:wght@400;500;700&display=swap');

:root {
  --bg-darkest: #090d16;
  --bg-darker: #0f172a;
  --bg-dark: #141e33;
  --bg-surface: #1e293b;
  --bg-surface-hover: #293548;
  --bg-input: #0b1120;
  
  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-focus: #3b82f6;
  --border-accent: #ff5500;
  
  --text-primary: #f8fafc;
  --text-secondary: #94a3b8;
  --text-muted: #64748b;
  
  --faceit-orange: #ff5500;
  --faceit-red: #fe1f00;
  --faceit-yellow: #ffc700;
  --faceit-green: #1ce355;
  
  --blue-primary: #3b82f6;
  --blue-hover: #2563eb;
  --blue-glow: rgba(59, 130, 246, 0.35);
  
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-heading: 'Dela Gothic One', sans-serif;
  --font-gaming: 'Rajdhani', sans-serif;
  
  --topbar-height: 56px;
  --left-panel-width: 320px;
  --right-panel-width: 340px;
}

/* Reset & Base */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html, body {
  width: 100%;
  height: 100%;
  overflow: hidden;
  background-color: var(--bg-darkest);
  color: var(--text-primary);
  font-family: var(--font-sans);
  font-size: 13px;
  user-select: none;
  -webkit-user-select: none;
}

/* Custom Scrollbars */
::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}
::-webkit-scrollbar-track {
  background: rgba(0, 0, 0, 0.2);
}
::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.15);
  border-radius: 3px;
}
::-webkit-scrollbar-thumb:hover {
  background: rgba(255, 255, 255, 0.3);
}

/* App Container */
.app-layout {
  display: flex;
  flex-direction: column;
  width: 100vw;
  height: 100vh;
}

/* ===================================================================
   Top Navigation Bar
   =================================================================== */
.top-bar {
  height: var(--topbar-height);
  background: var(--bg-darker);
  border-bottom: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 16px;
  z-index: 100;
  gap: 12px;
}

.brand-section {
  display: flex;
  align-items: center;
  gap: 12px;
}

.back-btn {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 13px;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px 10px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.05);
  transition: all 0.2s;
}
.back-btn:hover {
  color: var(--text-primary);
  background: rgba(255, 255, 255, 0.1);
}

.app-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 800;
  font-size: 15px;
  letter-spacing: 0.5px;
}
.app-logo .badge-faceit {
  background: var(--faceit-orange);
  color: #fff;
  padding: 2px 6px;
  border-radius: 4px;
  font-size: 11px;
  font-weight: 900;
}
.app-logo .title-studio {
  color: #fff;
  font-family: var(--font-heading);
  font-size: 13px;
}

/* Search Bar in Topbar */
.player-search-bar {
  display: flex;
  align-items: center;
  gap: 6px;
  background: var(--bg-input);
  border: 1px solid var(--border-subtle);
  padding: 3px 6px 3px 12px;
  border-radius: 8px;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.player-search-bar:focus-within {
  border-color: var(--border-accent);
  box-shadow: 0 0 0 2px rgba(255, 85, 0, 0.2);
}
.player-search-bar input {
  background: transparent;
  border: none;
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  outline: none;
  width: 150px;
}
.player-search-bar input::placeholder {
  color: var(--text-muted);
  font-weight: 400;
}
.btn-search {
  background: var(--faceit-orange);
  color: #fff;
  border: none;
  border-radius: 6px;
  padding: 6px 12px;
  font-weight: 700;
  font-size: 12px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: all 0.2s;
}
.btn-search:hover {
  background: #ff6f24;
  transform: translateY(-1px);
}

/* Quick Pro Buttons */
.quick-profiles {
  display: flex;
  align-items: center;
  gap: 4px;
}
.btn-quick-profile {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-subtle);
  color: var(--text-secondary);
  border-radius: 4px;
  padding: 4px 8px;
  font-size: 11px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
}
.btn-quick-profile:hover {
  background: rgba(255, 85, 0, 0.15);
  color: var(--faceit-orange);
  border-color: rgba(255, 85, 0, 0.3);
}

/* Studio Actions (Undo, Redo, Zoom, Presets, Export) */
.studio-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.action-btn-group {
  display: flex;
  align-items: center;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: 6px;
  padding: 2px;
}

.icon-btn {
  background: transparent;
  border: none;
  color: var(--text-secondary);
  width: 30px;
  height: 30px;
  border-radius: 4px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  transition: all 0.2s;
}
.icon-btn:hover:not(:disabled) {
  background: rgba(255, 255, 255, 0.1);
  color: var(--text-primary);
}
.icon-btn:disabled {
  opacity: 0.3;
  cursor: not-allowed;
}

.btn-header-action {
  background: var(--bg-surface);
  color: var(--text-primary);
  border: 1px solid var(--border-subtle);
  border-radius: 6px;
  padding: 6px 12px;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: all 0.2s;
}
.btn-header-action:hover {
  background: var(--bg-surface-hover);
  border-color: rgba(255, 255, 255, 0.2);
}

.btn-cta-obs {
  background: linear-gradient(135deg, #2563eb, #3b82f6);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 4px 12px var(--blue-glow);
}
.btn-cta-obs:hover {
  background: linear-gradient(135deg, #1d4ed8, #2563eb);
  box-shadow: 0 6px 16px var(--blue-glow);
  transform: translateY(-1px);
}

/* ===================================================================
   Main Workspace Layout
   =================================================================== */
.main-workspace {
  flex: 1;
  display: flex;
  overflow: hidden;
  position: relative;
}

/* Left Tools & Widgets Sidebar */
.left-dock {
  width: var(--left-panel-width);
  background: var(--bg-darker);
  border-right: 1px solid var(--border-subtle);
  display: flex;
  flex-direction: column;
  z-index: 20;
}

.dock-tabs {
  display: flex;
  border-bottom: 1px solid var(--border-subtle);
  background: var(--bg-dark);
}

.dock-tab {
  flex: 1;
  padding: 10px 4px;
  text-align: center;
  font-size: 12px;
  font-weight: 600;
  color: var(--text-secondary);
  background: transparent;
  border: none;
  cursor: pointer;
  border-bottom: 2px solid transparent;
  transition: all 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}
.dock-tab.active {
  color: var(--faceit-orange);
  border-bottom-color: var(--faceit-orange);
  background: var(--bg-darker);
}

.dock-content {
  flex: 1;
  overflow-y: auto;
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.widget-section-title {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: var(--text-muted);
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.widget-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
}

.widget-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: 8px;
  padding: 10px;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 6px;
  transition: all 0.2s;
  position: relative;
}
.widget-card:hover {
  background: var(--bg-surface-hover);
  border-color: var(--faceit-orange);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}
.widget-card .w-icon {
  font-size: 18px;
  color: var(--faceit-orange);
}
.widget-card .w-name {
  font-size: 11px;
  font-weight: 600;
  color: var(--text-primary);
}
.widget-card .w-desc {
  font-size: 10px;
  color: var(--text-muted);
}

/* Center Canvas Artboard Container */
.center-canvas-container {
  flex: 1;
  background: #0b0f19;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  /* Photoshop checkered transparent texture */
  background-image: 
    linear-gradient(45deg, #111624 25%, transparent 25%), 
    linear-gradient(-45deg, #111624 25%, transparent 25%), 
    linear-gradient(45deg, transparent 75%, #111624 75%), 
    linear-gradient(-45deg, transparent 75%, #111624 75%);
  background-size: 20px 20px;
  background-position: 0 0, 0 10px, 10px -10px, -10px 0px;
}

.canvas-wrapper {
  position: absolute;
  box-shadow: 0 12px 48px rgba(0, 0, 0, 0.7);
  transition: transform 0.05s ease-out;
  transform-origin: center center;
}

/* The actual overlay canvas artboard */
#overlay-artboard {
  position: relative;
  background-color: transparent;
  overflow: visible;
  /* Visual border of the artboard */
  outline: 1px solid rgba(255, 255, 255, 0.2);
}

/* Smart Alignment Guide Lines (Red/Cyan) */
.smart-guide-h, .smart-guide-v {
  position: absolute;
  pointer-events: none;
  z-index: 9999;
  display: none;
}
.smart-guide-h {
  left: 0;
  right: 0;
  height: 1px;
  background: #ff0055;
  box-shadow: 0 0 6px #ff0055;
}
.smart-guide-v {
  top: 0;
  bottom: 0;
  width: 1px;
  background: #ff0055;
  box-shadow: 0 0 6px #ff0055;
}

/* Canvas Item Layer on Artboard */
.canvas-item {
  position: absolute;
  cursor: move;
  user-select: none;
  box-sizing: border-box;
}

.canvas-item.selected {
  outline: 2px solid #3b82f6 !important;
  outline-offset: 1px;
}

/* 8 Resize Handles on Selected Item */
.resize-handle {
  position: absolute;
  width: 8px;
  height: 8px;
  background: #ffffff;
  border: 1px solid #3b82f6;
  border-radius: 2px;
  display: none;
  z-index: 100;
}
.canvas-item.selected .resize-handle {
  display: block;
}

.handle-nw { top: -5px; left: -5px; cursor: nwse-resize; }
.handle-n  { top: -5px; left: calc(50% - 4px); cursor: ns-resize; }
.handle-ne { top: -5px; right: -5px; cursor: nesw-resize; }
.handle-e  { top: calc(50% - 4px); right: -5px; cursor: ew-resize; }
.handle-se { bottom: -5px; right: -5px; cursor: nwse-resize; }
.handle-s  { bottom: -5px; left: calc(50% - 4px); cursor: ns-resize; }
.handle-sw { bottom: -5px; left: -5px; cursor: nesw-resize; }
.handle-w  { top: calc(50% - 4px); left: -5px; cursor: ew-resize; }

/* Right Inspector & Layer Panel */
.right-dock {
  width: var(--right-panel-width);
  background: var(--bg-darker);
  border-left: 1px solid var(--border-subtle);
  display: flex;
  flex-direction: column;
  z-index: 20;
}

.inspector-tabs {
  display: flex;
  border-bottom: 1px solid var(--border-subtle);
  background: var(--bg-dark);
}

.inspector-tab {
  flex: 1;
  padding: 10px 4px;
  text-align: center;
  font-size: 12px;
  font-weight: 600;
  color: var(--text-secondary);
  background: transparent;
  border: none;
  cursor: pointer;
  border-bottom: 2px solid transparent;
  transition: all 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}
.inspector-tab.active {
  color: var(--blue-primary);
  border-bottom-color: var(--blue-primary);
  background: var(--bg-darker);
}

.inspector-content {
  flex: 1;
  overflow-y: auto;
  padding: 14px;
}

/* Layer Management List */
.layers-list {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.layer-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: 6px;
  padding: 8px 10px;
  cursor: pointer;
  transition: all 0.15s;
}
.layer-item:hover {
  background: var(--bg-surface-hover);
}
.layer-item.active {
  border-color: var(--blue-primary);
  background: rgba(59, 130, 246, 0.15);
}

.layer-title-grp {
  display: flex;
  align-items: center;
  gap: 8px;
  overflow: hidden;
}
.layer-icon {
  color: var(--text-muted);
  font-size: 12px;
}
.layer-name {
  font-size: 12px;
  font-weight: 500;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 140px;
}

.layer-actions {
  display: flex;
  align-items: center;
  gap: 4px;
}
.layer-action-btn {
  background: transparent;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  padding: 2px 4px;
  border-radius: 3px;
  transition: color 0.15s;
}
.layer-action-btn:hover {
  color: var(--text-primary);
}
.layer-action-btn.hidden-eye {
  color: #ef4444;
}

/* Properties Form Controls */
.prop-group {
  margin-bottom: 16px;
}

.prop-group-header {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: var(--text-muted);
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.prop-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
  gap: 8px;
}

.prop-label {
  font-size: 12px;
  color: var(--text-secondary);
  flex-shrink: 0;
}

.prop-input-duo {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
  width: 100%;
}

.prop-input-field {
  background: var(--bg-input);
  border: 1px solid var(--border-subtle);
  color: var(--text-primary);
  border-radius: 6px;
  padding: 6px 8px;
  font-size: 12px;
  width: 100%;
  outline: none;
  transition: border-color 0.2s;
}
.prop-input-field:focus {
  border-color: var(--blue-primary);
}

select.prop-input-field {
  cursor: pointer;
}

/* Modern Circular Color Picker & Custom File Uploader */
.color-picker-wrapper {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--bg-input);
  border: 1px solid var(--border-subtle);
  border-radius: 8px;
  padding: 4px 8px;
  flex: 1;
}

.color-circle-btn {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.3);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
  cursor: pointer;
  padding: 0;
  appearance: none;
  -webkit-appearance: none;
  outline: none;
  transition: transform 0.2s ease, border-color 0.2s ease;
  flex-shrink: 0;
}

.color-circle-btn::-webkit-color-swatch-wrapper {
  padding: 0;
}

.color-circle-btn::-webkit-color-swatch {
  border: none;
  border-radius: 50%;
}

.color-circle-btn::-moz-color-swatch {
  border: none;
  border-radius: 50%;
}

.color-circle-btn:hover {
  transform: scale(1.1);
  border-color: #ffffff;
}

.color-picker-wrapper input[type="text"] {
  border: none;
  background: transparent;
  color: #fff;
  font-size: 12px;
  font-family: 'JetBrains Mono', monospace, sans-serif;
  width: 100%;
  outline: none;
}

/* Quick Color Swatches Bar */
.color-swatches-row {
  display: flex;
  gap: 6px;
  margin-top: 6px;
  align-items: center;
}

.color-swatch {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.2);
  cursor: pointer;
  transition: transform 0.15s ease;
}

.color-swatch:hover {
  transform: scale(1.25);
  border-color: #ffffff;
}

/* Custom Styled File Uploader */
.custom-file-upload-container {
  display: flex;
  flex-direction: column;
  gap: 8px;
  width: 100%;
}

.btn-upload-file-custom {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.2), rgba(37, 99, 235, 0.3));
  border: 1px dashed #3b82f6;
  color: #60a5fa;
  padding: 10px 14px;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  width: 100%;
  text-align: center;
}

.btn-upload-file-custom:hover {
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.35), rgba(37, 99, 235, 0.45));
  border-color: #60a5fa;
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(59, 130, 246, 0.25);
}

.uploaded-image-preview-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(15, 23, 42, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 8px 10px;
  border-radius: 8px;
  gap: 10px;
}

.image-preview-thumb {
  width: 40px;
  height: 40px;
  border-radius: 6px;
  object-fit: cover;
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: #000;
}

.btn-delete-image-server {
  background: rgba(239, 68, 68, 0.15);
  border: 1px solid rgba(239, 68, 68, 0.4);
  color: #ef4444;
  padding: 6px 10px;
  border-radius: 6px;
  font-size: 11px;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 5px;
  transition: all 0.2s ease;
}

.btn-delete-image-server:hover {
  background: rgba(239, 68, 68, 0.9);
  color: #ffffff;
  border-color: #ef4444;
}

/* Quick Align Buttons */
.align-btn-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 4px;
  background: var(--bg-surface);
  padding: 4px;
  border-radius: 6px;
  border: 1px solid var(--border-subtle);
}
.align-btn {
  background: transparent;
  border: none;
  color: var(--text-secondary);
  padding: 6px;
  border-radius: 4px;
  cursor: pointer;
  font-size: 12px;
  transition: all 0.15s;
}
.align-btn:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
}

/* ===================================================================
   Status Bar (Bottom)
   =================================================================== */
.status-bar {
  height: 28px;
  background: var(--bg-darker);
  border-top: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 16px;
  font-size: 11px;
  color: var(--text-muted);
  z-index: 50;
}

.status-indicator {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.status-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #10b981;
}
.status-dot.warning { background: #f59e0b; }
.status-dot.error { background: #ef4444; }

/* ===================================================================
   Modals & Overlays
   =================================================================== */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(8px);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}
.modal-backdrop.active {
  opacity: 1;
  pointer-events: auto;
}

.modal-card {
  background: var(--bg-darker);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 16px;
  width: 100%;
  max-width: 680px;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.8);
  display: flex;
  flex-direction: column;
}

.modal-header {
  padding: 20px 24px;
  border-bottom: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.modal-header h3 {
  font-size: 18px;
  font-weight: 700;
  color: #fff;
  display: flex;
  align-items: center;
  gap: 8px;
}
.modal-close-btn {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--text-secondary);
  font-size: 16px;
  width: 32px;
  height: 32px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s;
}
.modal-close-btn:hover {
  color: #fff;
  background: rgba(239, 68, 68, 0.3);
  border-color: rgba(239, 68, 68, 0.5);
}

.modal-body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.obs-url-box {
  background: var(--bg-input);
  border: 1px solid rgba(59, 130, 246, 0.4);
  border-radius: 8px;
  padding: 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.obs-url-box code {
  color: #60a5fa;
  font-family: monospace;
  font-size: 12px;
  word-break: break-all;
}
.btn-copy-url {
  background: #2563eb;
  color: #fff;
  border: none;
  padding: 8px 14px;
  border-radius: 6px;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
  transition: all 0.2s;
}
.btn-copy-url:hover {
  background: #1d4ed8;
}

.step-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: 10px;
  padding: 14px 16px;
  display: flex;
  gap: 14px;
}
.step-num {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--faceit-orange);
  color: #fff;
  font-weight: 800;
  font-size: 13px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.step-content h4 {
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 4px;
  color: #fff;
}
.step-content p {
  font-size: 12px;
  color: var(--text-secondary);
  line-height: 1.5;
}

/* Preset Templates Grid */
.preset-templates-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}
.preset-template-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: 10px;
  padding: 14px;
  cursor: pointer;
  transition: all 0.2s;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.preset-template-card:hover {
  border-color: var(--faceit-orange);
  background: var(--bg-surface-hover);
  transform: translateY(-2px);
}
.preset-thumb {
  height: 80px;
  background: #090d16;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.05);
  position: relative;
  overflow: hidden;
}

/* ===================================================================
   Studio Toast Notifications
   =================================================================== */
.studio-toast {
  position: fixed;
  bottom: 40px;
  right: 24px;
  background: rgba(15, 23, 42, 0.95);
  border: 1px solid rgba(59, 130, 246, 0.5);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6), 0 0 15px rgba(59, 130, 246, 0.3);
  color: #ffffff;
  padding: 12px 18px;
  border-radius: 10px;
  font-size: 13px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 10px;
  z-index: 9999;
  backdrop-filter: blur(10px);
  transform: translateY(20px);
  opacity: 0;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  pointer-events: none;
}

.studio-toast.show {
  transform: translateY(0);
  opacity: 1;
}

.studio-toast i {
  color: #60a5fa;
  font-size: 16px;
}

