﻿/* Creative Studio tab layout and segmented controls. */
.creative-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 18px;
  margin-bottom: 24px;
}

.creative-header h2 {
  font-size: 1.45rem;
  line-height: 1.12;
}

.creative-mode-toggle {
  background: var(--bg-card) !important;
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 4px;
  box-shadow: var(--shadow-card);
}

.creative-mode-btn {
  min-width: 132px;
  justify-content: center;
  background: transparent !important;
  border: 0 !important;
  color: #586174 !important;
  box-shadow: none !important;
}

.creative-mode-btn:hover {
  background: #f8fafc !important;
  color: #111827 !important;
}

.creative-mode-btn.active {
  background: #fff7ed !important;
  color: #c2410c !important;
  box-shadow: inset 0 0 0 1px rgba(249, 115, 22, 0.12) !important;
}

.creative-mode-btn.active svg {
  color: #f97316 !important;
}

.creative-workspace-grid,
.creative-landing-grid {
  display: grid;
  grid-template-columns: minmax(300px, 360px) minmax(0, 1fr);
  gap: 24px;
}

.creative-video-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.creative-form-grid,
.creative-export-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 20px;
}

@media (max-width: 900px) {
  .creative-header {
    flex-direction: column;
    align-items: stretch;
  }

  .creative-workspace-grid,
  .creative-landing-grid,
  .creative-video-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .creative-mode-toggle {
    width: 100%;
  }

  .creative-mode-btn {
    min-width: 116px;
  }
}

@media (max-width: 560px) {
  .creative-header h2 {
    font-size: 1.28rem;
  }

  .creative-form-grid,
  .creative-export-grid {
    grid-template-columns: 1fr;
  }
}
