/* ==========================================================================
   Ray Aero - Instagram & Social Media Post Studio Stylesheet
   Ultra-Premium Aerospace Dark Theme & Studio Workbench
   ========================================================================== */

:root {
  --bg-deep: #050810;
  --bg-canvas-stage: #070b14;
  --bg-sidebar: #0b111e;
  --bg-card: #101828;
  --bg-card-hover: #162238;
  --bg-input: #090e18;
  --bg-input-focus: #0f172a;
  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-hover: rgba(255, 255, 255, 0.18);
  --border-focus: #38bdf8;
  --accent-silver: #c0c0c0;
  --accent-cyan: #38bdf8;
  --accent-gold: #fbbf24;
  --accent-emerald: #34d399;
  --accent-rose: #f43f5e;
  --accent-purple: #a855f7;
  --text-main: #f8fafc;
  --text-muted: #94a3b8;
  --text-dim: #64748b;
  --radius-xs: 4px;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --shadow-lg: 0 16px 40px -8px rgba(0, 0, 0, 0.7);
  --shadow-glow: 0 0 20px rgba(56, 189, 248, 0.25);
  --transition-fast: 0.15s ease;
  --transition-smooth: 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html, body {
  height: 100%;
  overflow: hidden;
  background-color: var(--bg-deep);
  color: var(--text-main);
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  -webkit-font-smoothing: antialiased;
}

/* Custom Scrollbars */
::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}
::-webkit-scrollbar-track {
  background: transparent;
}
::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.14);
  border-radius: 3px;
}
::-webkit-scrollbar-thumb:hover {
  background: rgba(56, 189, 248, 0.5);
}

/* Studio Application Shell */
.studio-app {
  display: flex;
  flex-direction: column;
  height: 100vh;
  width: 100vw;
  overflow: hidden;
}

/* Top Studio Header Navbar */
.studio-navbar {
  height: 56px;
  min-height: 56px;
  background: var(--bg-sidebar);
  border-bottom: 1px solid var(--border-subtle);
  padding: 0 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 100;
  position: relative;
}

.studio-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: #fff;
}

.studio-brand-logo {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1.5px solid var(--accent-silver);
  object-fit: cover;
  box-shadow: 0 0 10px rgba(192, 192, 192, 0.25);
}

.studio-brand-title {
  font-family: 'Oswald', sans-serif;
  font-size: 17px;
  font-weight: 700;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: #ffffff;
  display: flex;
  align-items: center;
  gap: 8px;
  line-height: 1;
}

.studio-brand-badge {
  font-family: 'Inter', sans-serif;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.5px;
  padding: 2px 7px;
  background: linear-gradient(135deg, #0284c7, #38bdf8);
  color: #fff;
  border-radius: 10px;
}

.studio-brand-sub {
  font-size: 11px;
  color: var(--text-dim);
  margin-top: 2px;
}

/* Header Action Buttons */
.studio-header-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.btn-studio {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 7px 13px;
  font-family: 'Oswald', sans-serif;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  border-radius: var(--radius-sm);
  cursor: pointer;
  border: 1px solid transparent;
  transition: all var(--transition-fast);
  text-decoration: none;
  line-height: 1.2;
}

.btn-studio-ghost {
  background: rgba(255, 255, 255, 0.04);
  color: var(--text-muted);
  border-color: var(--border-subtle);
}
.btn-studio-ghost:hover {
  background: rgba(255, 255, 255, 0.09);
  color: #fff;
  border-color: var(--border-hover);
}

.btn-studio-accent {
  background: linear-gradient(135deg, #0284c7 0%, #0369a1 100%);
  color: #fff;
  border: 1px solid #38bdf8;
  box-shadow: 0 4px 14px rgba(2, 132, 199, 0.35);
}
.btn-studio-accent:hover {
  background: linear-gradient(135deg, #0369a1 0%, #0284c7 100%);
  box-shadow: 0 6px 20px rgba(56, 189, 248, 0.45);
  transform: translateY(-1px);
}

.btn-studio-silver {
  background: #1e293b;
  color: #fff;
  border: 1px solid var(--accent-silver);
}
.btn-studio-silver:hover {
  background: #334155;
  border-color: #ffffff;
}

.admin-user-pill {
  display: flex;
  align-items: center;
  gap: 6px;
  background: rgba(56, 189, 248, 0.08);
  border: 1px solid rgba(56, 189, 248, 0.25);
  padding: 4px 10px;
  border-radius: 14px;
  font-size: 11px;
  color: var(--accent-cyan);
}

/* Workspace Main Container (Split Columns) */
.studio-workspace {
  display: flex;
  flex: 1;
  height: calc(100vh - 56px);
  overflow: hidden;
  position: relative;
}

/* Left Sidebar Controls */
.studio-sidebar-wrapper {
  width: 440px;
  min-width: 440px;
  max-width: 440px;
  background: var(--bg-sidebar);
  border-right: 1px solid var(--border-subtle);
  display: flex;
  flex-direction: column;
  height: 100%;
  overflow: hidden;
  z-index: 20;
}

/* Sidebar Tab Navigation Bar */
.sidebar-tabs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  background: rgba(0, 0, 0, 0.35);
  border-bottom: 1px solid var(--border-subtle);
  padding: 6px;
  gap: 4px;
}

.sidebar-tab-btn {
  background: transparent;
  border: 1px solid transparent;
  border-radius: var(--radius-sm);
  padding: 8px 4px;
  color: var(--text-muted);
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  transition: all var(--transition-fast);
}

.sidebar-tab-btn i {
  font-size: 15px;
  color: var(--text-dim);
  transition: color var(--transition-fast);
}

.sidebar-tab-btn span {
  font-family: 'Oswald', sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.6px;
  text-transform: uppercase;
}

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

.sidebar-tab-btn.active {
  background: var(--bg-card);
  border-color: rgba(56, 189, 248, 0.35);
  color: #fff;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.sidebar-tab-btn.active i {
  color: var(--accent-cyan);
}

/* Sidebar Scrollable Content Area */
.sidebar-scroll-body {
  flex: 1;
  overflow-y: auto;
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.tab-pane {
  display: none;
  flex-direction: column;
  gap: 16px;
  animation: fadeIn 0.2s ease forwards;
}

.tab-pane.active {
  display: flex;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(4px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Group Section Boxes */
.control-section {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--border-subtle);
  padding-bottom: 8px;
  margin-bottom: 2px;
}

.section-title {
  font-family: 'Oswald', sans-serif;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  color: var(--accent-silver);
  display: flex;
  align-items: center;
  gap: 7px;
}

.section-title i {
  color: var(--accent-cyan);
}

/* Form Controls */
.control-group {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.control-label {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--text-muted);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.control-hint {
  font-size: 10px;
  color: var(--text-dim);
  font-weight: 400;
  text-transform: none;
}

.control-input,
.control-select,
.control-textarea {
  width: 100%;
  background: var(--bg-input);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 8px 12px;
  color: #fff;
  font-family: inherit;
  font-size: 13px;
  transition: all var(--transition-fast);
  outline: none;
}

.control-input:focus,
.control-select:focus,
.control-textarea:focus {
  border-color: var(--border-focus);
  background: var(--bg-input-focus);
  box-shadow: 0 0 0 2px rgba(56, 189, 248, 0.2);
}

.control-textarea {
  resize: vertical;
  min-height: 52px;
}

/* Aspect Ratio Grid */
.ratio-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
}

.ratio-btn {
  background: var(--bg-input);
  border: 1.5px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 8px 4px;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  transition: all var(--transition-fast);
  color: var(--text-muted);
}

.ratio-btn:hover {
  border-color: rgba(255, 255, 255, 0.3);
  color: #fff;
  background: rgba(255, 255, 255, 0.04);
}

.ratio-btn.active {
  background: rgba(56, 189, 248, 0.12);
  border-color: var(--accent-cyan);
  color: #fff;
  box-shadow: 0 0 12px rgba(56, 189, 248, 0.2);
}

.ratio-icon {
  border: 1.5px dashed var(--accent-silver);
  border-radius: 2px;
}
.ratio-icon.square { width: 16px; height: 16px; }
.ratio-icon.portrait { width: 14px; height: 18px; }
.ratio-icon.story { width: 11px; height: 20px; }
.ratio-icon.landscape { width: 20px; height: 12px; }

.ratio-label {
  font-family: 'Oswald', sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.5px;
}

.ratio-sub {
  font-size: 9px;
  color: var(--text-dim);
}

/* Template Cards Grid */
.template-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
}

.template-card {
  background: rgba(255, 255, 255, 0.02);
  border: 1.5px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 10px;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  gap: 3px;
  transition: all var(--transition-fast);
  text-align: left;
}

.template-card:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.25);
  transform: translateY(-1px);
}

.template-card.active {
  background: rgba(2, 132, 199, 0.12);
  border-color: var(--accent-cyan);
  box-shadow: 0 0 14px rgba(56, 189, 248, 0.25);
}

.template-card-icon {
  font-size: 17px;
  color: var(--accent-cyan);
  margin-bottom: 2px;
}

.template-card-name {
  font-family: 'Oswald', sans-serif;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: #fff;
}

.template-card-desc {
  font-size: 10px;
  color: var(--text-dim);
  line-height: 1.3;
}

/* Upload Dropzone & Fleet Button */
.upload-action-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.dropzone {
  border: 2px dashed rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-sm);
  padding: 12px 8px;
  text-align: center;
  cursor: pointer;
  background: rgba(255, 255, 255, 0.02);
  transition: all var(--transition-fast);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  margin-bottom: 0;
}

.dropzone:hover,
.dropzone.dragover {
  border-color: var(--accent-cyan);
  background: rgba(56, 189, 248, 0.06);
}

.dropzone-icon {
  font-size: 20px;
  color: var(--accent-cyan);
}

.dropzone-text {
  font-size: 11px;
  font-weight: 600;
  color: #fff;
}

.dropzone-sub {
  font-size: 9px;
  color: var(--text-dim);
}

/* Compact Sliders */
.range-wrapper {
  display: flex;
  align-items: center;
  gap: 10px;
}

.control-range {
  flex: 1;
  accent-color: var(--accent-cyan);
  cursor: pointer;
  height: 4px;
}

.range-val {
  font-family: 'Oswald', sans-serif;
  font-size: 11px;
  color: var(--accent-silver);
  min-width: 32px;
  text-align: right;
}

/* Spec Badges Grid */
.specs-editor-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.spec-input-box {
  background: var(--bg-input);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 6px 8px;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.spec-input-box label {
  font-size: 9px;
  color: var(--text-dim);
  text-transform: uppercase;
}

.spec-input-box input {
  background: transparent;
  border: none;
  color: #fff;
  font-size: 11px;
  font-weight: 600;
  outline: none;
}

/* Multi-item Editor Inputs */
.rank-name-in,
.hist-stat-val,
.event-demo-title,
.cockpit-feat-title {
  font-weight: 600;
}

.stats-metric-pct::-webkit-inner-spin-button,
.stats-metric-pct::-webkit-outer-spin-button {
  opacity: 0.8;
}

.event-demo-icon {
  font-size: 16px;
}

/* Color Swatches */
.swatch-group {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.swatch-btn {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform var(--transition-fast), border-color var(--transition-fast);
  position: relative;
}

.swatch-btn:hover {
  transform: scale(1.15);
}

.swatch-btn.active {
  border-color: #ffffff;
  transform: scale(1.15);
  box-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
}

/* Center Stage Area */
.studio-stage-area {
  flex: 1;
  display: flex;
  flex-direction: column;
  background-color: var(--bg-canvas-stage);
  background-image: 
    radial-gradient(rgba(56, 189, 248, 0.04) 1px, transparent 1px),
    radial-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px);
  background-size: 24px 24px, 48px 48px;
  position: relative;
  overflow: hidden;
  height: 100%;
}

/* Floating Stage Control Bar (Top) */
.stage-toolbar {
  position: absolute;
  top: 14px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(11, 17, 30, 0.88);
  backdrop-filter: blur(16px);
  border: 1px solid var(--border-subtle);
  border-radius: 30px;
  padding: 5px 12px;
  display: flex;
  align-items: center;
  gap: 12px;
  z-index: 50;
  box-shadow: var(--shadow-lg), 0 0 20px rgba(0, 0, 0, 0.5);
}

.stage-drag-modes {
  display: flex;
  align-items: center;
  gap: 4px;
  background: rgba(0, 0, 0, 0.4);
  padding: 3px 4px;
  border-radius: 20px;
  border: 1px solid var(--border-subtle);
}

.stage-drag-pill {
  background: transparent;
  border: none;
  color: var(--text-muted);
  font-family: 'Oswald', sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 14px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 5px;
  transition: all var(--transition-fast);
}

.stage-drag-pill:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
}

.stage-drag-pill.active {
  background: var(--accent-cyan);
  color: #000;
  font-weight: 700;
  box-shadow: 0 0 10px rgba(56, 189, 248, 0.4);
}

.stage-res-pill {
  font-family: 'Oswald', sans-serif;
  font-size: 11px;
  letter-spacing: 0.5px;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 0 4px;
  border-left: 1px solid var(--border-subtle);
  border-right: 1px solid var(--border-subtle);
}

.stage-res-pill strong {
  color: #fff;
}

.stage-zoom-group {
  display: flex;
  align-items: center;
  gap: 4px;
}

.stage-zoom-btn {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-subtle);
  color: var(--text-muted);
  width: 26px;
  height: 26px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 12px;
  transition: all var(--transition-fast);
}

.stage-zoom-btn:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.25);
}

/* Center Canvas Stage Container */
.canvas-stage-viewport {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 60px 24px 36px 24px;
  position: relative;
  overflow: hidden;
  user-select: none;
}

#studioCanvas {
  max-height: calc(100vh - 150px);
  max-width: 90%;
  object-fit: contain;
  border-radius: var(--radius-md);
  box-shadow: 0 25px 70px rgba(0, 0, 0, 0.85), 0 0 0 1px rgba(255, 255, 255, 0.12);
  cursor: grab;
  background: #000;
  transition: box-shadow var(--transition-fast);
}

#studioCanvas:active {
  cursor: grabbing;
}

/* Floating Bottom Hint */
.canvas-bottom-hint {
  position: absolute;
  bottom: 12px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(11, 17, 30, 0.75);
  backdrop-filter: blur(8px);
  border: 1px solid var(--border-subtle);
  padding: 4px 12px;
  border-radius: 16px;
  font-size: 11px;
  color: var(--text-dim);
  display: flex;
  align-items: center;
  gap: 6px;
  pointer-events: none;
  white-space: nowrap;
}

/* Quick Presets Dropdown/Pills in Navbar */
.preset-bar {
  display: flex;
  gap: 5px;
  align-items: center;
}

.preset-pill {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-subtle);
  padding: 4px 9px;
  border-radius: 14px;
  font-size: 10px;
  font-family: 'Oswald', sans-serif;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: var(--text-muted);
  cursor: pointer;
  white-space: nowrap;
  transition: all var(--transition-fast);
}

.preset-pill:hover {
  background: rgba(56, 189, 248, 0.15);
  border-color: var(--accent-cyan);
  color: #fff;
}

/* Stock Aircraft Gallery Modal */
.modal-overlay-custom {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.82);
  backdrop-filter: blur(12px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition-fast);
  padding: 20px;
}

.modal-overlay-custom.open {
  opacity: 1;
  pointer-events: auto;
}

.modal-box-custom {
  background: var(--bg-sidebar);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  width: 100%;
  max-width: 960px;
  max-height: 86vh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.9);
}

.modal-header-custom {
  padding: 16px 20px;
  border-bottom: 1px solid var(--border-subtle);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.modal-title-custom {
  font-family: 'Oswald', sans-serif;
  font-size: 17px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #fff;
  display: flex;
  align-items: center;
  gap: 10px;
}

.modal-close-btn {
  background: none;
  border: none;
  color: var(--text-muted);
  font-size: 20px;
  cursor: pointer;
  transition: color var(--transition-fast);
}

.modal-close-btn:hover {
  color: #fff;
}

.modal-filter-bar {
  padding: 10px 20px;
  background: rgba(255, 255, 255, 0.02);
  border-bottom: 1px solid var(--border-subtle);
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.stock-gallery-grid {
  padding: 16px 20px;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(170px, 1fr));
  gap: 12px;
  overflow-y: auto;
  max-height: 60vh;
}

.stock-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  overflow: hidden;
  cursor: pointer;
  transition: all var(--transition-fast);
  display: flex;
  flex-direction: column;
}

.stock-card:hover {
  border-color: var(--accent-cyan);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.5);
}

.stock-card-thumb {
  width: 100%;
  height: 105px;
  object-fit: cover;
  background: #000;
}

.stock-card-info {
  padding: 8px 10px;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.stock-card-name {
  font-family: 'Oswald', sans-serif;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  color: #fff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.stock-card-category {
  font-size: 10px;
  color: var(--text-dim);
}

/* Toast Notifications */
.studio-toast {
  position: fixed;
  bottom: 24px;
  right: 24px;
  background: #0f172a;
  border: 1px solid var(--accent-cyan);
  color: #fff;
  padding: 10px 18px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg), var(--shadow-glow);
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  z-index: 10000;
  transform: translateY(100px);
  opacity: 0;
  transition: all var(--transition-smooth);
  pointer-events: none;
}

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

/* Admin Auth Gate Screen */
.admin-auth-gate {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: #050810;
  background-image: 
    radial-gradient(rgba(56, 189, 248, 0.08) 1px, transparent 1px),
    radial-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 24px 24px, 48px 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 99999;
  padding: 20px;
}

.admin-auth-card {
  background: var(--bg-sidebar);
  border: 1px solid var(--accent-silver);
  border-radius: var(--radius-lg);
  max-width: 460px;
  width: 100%;
  padding: 34px 28px;
  text-align: center;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.85), 0 0 30px rgba(56, 189, 248, 0.15);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.admin-auth-logo {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  border: 2px solid var(--accent-silver);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.6);
}

.admin-auth-title {
  font-family: 'Oswald', sans-serif;
  font-size: 22px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #fff;
  margin: 0;
}

.admin-auth-sub {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.5;
  margin: 0;
}

.admin-google-btn {
  width: 100%;
  padding: 12px 18px;
  background: #1e293b;
  border: 1px solid #334155;
  color: #ffffff;
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  font-weight: 600;
  border-radius: var(--radius-sm);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  transition: all var(--transition-fast);
}

.admin-google-btn:hover {
  background: #334155;
  border-color: var(--accent-cyan);
  box-shadow: 0 4px 14px rgba(56, 189, 248, 0.25);
}

/* Responsive Rules */
@media (max-width: 1100px) {
  .studio-sidebar-wrapper {
    width: 380px;
    min-width: 380px;
    max-width: 380px;
  }
}

@media (max-width: 860px) {
  .studio-workspace {
    flex-direction: column;
    overflow-y: auto;
    height: auto;
  }
  html, body {
    overflow-y: auto;
  }
  .studio-sidebar-wrapper {
    width: 100%;
    min-width: 100%;
    max-width: 100%;
    height: auto;
  }
  .canvas-stage-viewport {
    padding: 70px 16px 24px 16px;
    min-height: 500px;
  }
  .studio-brand-sub {
    display: none;
  }
}
