/**
 * ══════════════════════════════════════════════════════════════════════════════
 * GÖKÇEOS PROTOTYPE UI V2 — AI İÇERİK & MEDYA STÜDYOSU (CONTENT STUDIO) CSS
 * Visual, Video, Voice & Copywriting Multi-Modal Studio
 * ══════════════════════════════════════════════════════════════════════════════
 */

.studio-container {
  display: flex;
  flex-direction: column;
  height: 100%;
  width: 100%;
  background: radial-gradient(circle at 10% 10%, rgba(168, 85, 247, 0.08) 0%, transparent 40%),
              radial-gradient(circle at 90% 90%, rgba(236, 72, 153, 0.08) 0%, transparent 40%),
              #080a10;
  color: #f8fafc;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  overflow: hidden;
}

/* Studio Header */
.studio-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 1.25rem;
  background: rgba(15, 23, 42, 0.8);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  flex-shrink: 0;
  gap: 1rem;
  flex-wrap: wrap;
}

.studio-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.studio-logo-box {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: linear-gradient(135deg, #a855f7 0%, #ec4899 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  box-shadow: 0 0 18px rgba(168, 85, 247, 0.4);
}

.studio-title-area h2 {
  font-size: 1.05rem;
  font-weight: 800;
  margin: 0;
  color: #ffffff;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.studio-title-area p {
  font-size: 0.74rem;
  color: #94a3b8;
  margin: 0.15rem 0 0 0;
}

.studio-tabs {
  display: flex;
  background: rgba(2, 6, 23, 0.65);
  padding: 0.25rem;
  border-radius: 99px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  gap: 0.25rem;
}

.studio-tab-btn {
  background: transparent;
  border: none;
  color: #94a3b8;
  font-size: 0.79rem;
  font-weight: 600;
  padding: 0.4rem 0.9rem;
  border-radius: 99px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  transition: all 0.18s ease;
}

.studio-tab-btn:hover {
  color: #f8fafc;
  background: rgba(255, 255, 255, 0.05);
}

.studio-tab-btn.active {
  color: #ffffff;
  background: linear-gradient(135deg, #8b5cf6 0%, #ec4899 100%);
  box-shadow: 0 2px 12px rgba(139, 92, 246, 0.35);
}

/* Studio Workspace Layout (Side Generator + Preview Workspace) */
.studio-body {
  flex: 1;
  overflow-y: auto;
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.studio-workbench-grid {
  display: grid;
  grid-template-columns: 380px 1fr;
  gap: 1.25rem;
  min-height: 520px;
}

@media (max-width: 1024px) {
  .studio-workbench-grid {
    grid-template-columns: 1fr;
  }
}

/* Left Prompt & Controls Panel */
.studio-controls-card {
  background: rgba(15, 23, 42, 0.6);
  backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  padding: 1.2rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.studio-section-title {
  font-size: 0.85rem;
  font-weight: 700;
  color: #e2e8f0;
  display: flex;
  align-items: center;
  gap: 0.45rem;
}

.studio-prompt-box {
  width: 100%;
  background: rgba(2, 6, 23, 0.8);
  border: 1px solid rgba(168, 85, 247, 0.4);
  border-radius: 10px;
  color: #f8fafc;
  padding: 0.75rem 0.9rem;
  font-size: 0.85rem;
  font-family: inherit;
  resize: vertical;
  min-height: 85px;
  outline: none;
}

.studio-prompt-box:focus {
  border-color: #ec4899;
  box-shadow: 0 0 10px rgba(236, 72, 153, 0.25);
}

/* Preset Chips */
.studio-presets-row {
  display: flex;
  gap: 0.4rem;
  flex-wrap: wrap;
}

.studio-preset-chip {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #cbd5e1;
  font-size: 0.72rem;
  padding: 0.25rem 0.6rem;
  border-radius: 99px;
  cursor: pointer;
  transition: all 0.15s;
}

.studio-preset-chip:hover {
  background: rgba(168, 85, 247, 0.2);
  border-color: rgba(168, 85, 247, 0.5);
  color: #ffffff;
}

/* Right Interactive Canvas & Preview */
.studio-canvas-card {
  background: rgba(15, 23, 42, 0.6);
  backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  padding: 1.2rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

/* Gallery & Grid Cards */
.studio-gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 1rem;
}

.studio-item-card {
  background: rgba(2, 6, 23, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.2s, border-color 0.2s;
}

.studio-item-card:hover {
  transform: translateY(-2px);
  border-color: rgba(236, 72, 153, 0.5);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
}

.studio-item-media {
  width: 100%;
  height: 140px;
  background: #0f172a;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.studio-item-info {
  padding: 0.75rem 0.9rem;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.studio-item-title {
  font-size: 0.82rem;
  font-weight: 700;
  color: #f1f5f9;
}

.studio-item-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 0.3rem;
}

/* Audio Player Simulator */
.audio-visualizer-bar {
  display: flex;
  align-items: center;
  gap: 3px;
  height: 32px;
  padding: 0 0.5rem;
}

.audio-bar {
  width: 4px;
  background: #ec4899;
  border-radius: 2px;
  animation: audioWave 1.2s ease-in-out infinite;
}

@keyframes audioWave {
  0%, 100% { height: 6px; }
  50% { height: 28px; }
}
