/* =========================================================
   🎬 OOXEZN REELS & VIDEO CREATOR STUDIO STYLES
   ========================================================= */

:root {
  --studio-bg: #0A0414;
  --studio-panel: rgba(18, 10, 32, 0.95);
  --studio-border: rgba(255, 255, 255, 0.14);
  --studio-cyan: #00FFE5;
  --studio-purple: #9D4EDD;
  --studio-pink: #FF007F;
  --studio-gold: #FFD166;
}

/* Studio Modal Overlay */
.reels-studio-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(3, 1, 8, 0.88);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 100000;
  padding: clamp(10px, 2vw, 24px);
  animation: studioFadeIn 0.25s ease-out;
}

@keyframes studioFadeIn {
  from { opacity: 0; transform: scale(0.97); }
  to { opacity: 1; transform: scale(1); }
}

/* Main Studio Container */
.reels-studio-box {
  background: var(--studio-panel);
  border: 1px solid var(--studio-border);
  border-radius: 24px;
  width: 100%;
  max-width: 920px;
  max-height: 92vh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.9), 0 0 50px rgba(0, 255, 229, 0.2);
  position: relative;
}

/* Studio Header */
.reels-studio-header {
  height: 60px;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--studio-border);
  background: rgba(10, 4, 20, 0.7);
  flex-shrink: 0;
}

.studio-header-title {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: 'Cinzel', Georgia, serif;
  font-size: 1.15rem;
  font-weight: 800;
  color: #FFF;
  letter-spacing: 0.5px;
}

.studio-header-title span {
  background: linear-gradient(135deg, var(--studio-cyan), var(--studio-gold));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.studio-close-btn {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--studio-border);
  color: #FFF;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  transition: all 0.2s ease;
}

.studio-close-btn:hover {
  background: rgba(239, 68, 68, 0.3);
  border-color: #EF4444;
  color: #EF4444;
  transform: rotate(90deg);
}

/* Studio Body Layout (2 Columns) */
.reels-studio-body {
  display: grid;
  grid-template-columns: 380px 1fr;
  flex: 1;
  overflow-y: auto;
  min-height: 0;
}

@media (max-width: 768px) {
  .reels-studio-body {
    grid-template-columns: 1fr;
  }
}

/* Left Column: Video Preview & Dropzone */
.studio-video-col {
  padding: 24px;
  border-right: 1px solid var(--studio-border);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.4);
}

.studio-dropzone {
  width: 100%;
  max-width: 320px;
  height: 480px;
  border: 2px dashed rgba(0, 255, 229, 0.4);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.02);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 24px;
  cursor: pointer;
  transition: all 0.25s ease;
  position: relative;
  overflow: hidden;
}

.studio-dropzone:hover, .studio-dropzone.dragover {
  border-color: var(--studio-cyan);
  background: rgba(0, 255, 229, 0.06);
  box-shadow: 0 0 30px rgba(0, 255, 229, 0.2);
}

.dropzone-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: rgba(0, 255, 229, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  color: var(--studio-cyan);
  margin-bottom: 14px;
  border: 1px solid rgba(0, 255, 229, 0.3);
}

.dropzone-title {
  font-size: 15px;
  font-weight: 700;
  color: #FFF;
  margin-bottom: 6px;
}

.dropzone-sub {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.4;
  margin-bottom: 16px;
}

.dropzone-select-btn {
  background: linear-gradient(135deg, var(--studio-cyan), #00B4D8);
  color: #05020C;
  font-weight: 800;
  font-size: 13px;
  padding: 10px 20px;
  border-radius: 99px;
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 16px rgba(0, 255, 229, 0.3);
  transition: transform 0.2s ease;
}

.dropzone-select-btn:hover {
  transform: scale(1.04);
}

.studio-camera-btn {
  background: rgba(255, 0, 127, 0.15);
  border: 1px solid var(--studio-pink);
  color: #FFAACC;
  font-weight: 700;
  font-size: 12px;
  padding: 8px 16px;
  border-radius: 99px;
  cursor: pointer;
  margin-top: 10px;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: all 0.2s ease;
}

.studio-camera-btn:hover {
  background: rgba(255, 0, 127, 0.3);
  color: #FFF;
}

/* 9:16 Video Player Container */
.studio-player-container {
  width: 100%;
  max-width: 320px;
  height: 480px;
  border-radius: 20px;
  overflow: hidden;
  position: relative;
  background: #000;
  display: none;
  border: 1.5px solid var(--studio-border);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.8);
}

.studio-video-elem {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.player-controls-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 12px;
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.85) 0%, transparent 100%);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.change-video-btn {
  background: rgba(0, 0, 0, 0.75);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #FFF;
  font-size: 11px;
  font-weight: 700;
  padding: 6px 12px;
  border-radius: 8px;
  cursor: pointer;
}

/* Right Column: Meta & Details Editor */
.studio-meta-col {
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  overflow-y: auto;
}

.studio-form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.studio-label {
  font-size: 12px;
  font-weight: 800;
  color: rgba(255, 255, 255, 0.8);
  letter-spacing: 0.5px;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 6px;
}

.studio-textarea {
  width: 100%;
  min-height: 90px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--studio-border);
  border-radius: 14px;
  padding: 12px 16px;
  color: #FFF;
  font-size: 14px;
  font-family: inherit;
  resize: vertical;
  outline: none;
  transition: border-color 0.2s ease;
}

.studio-textarea:focus {
  border-color: var(--studio-cyan);
  background: rgba(0, 255, 229, 0.03);
}

/* Hashtag Quick Chips */
.hashtag-chips-row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.hashtag-chip {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.8);
  font-size: 11px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 99px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.hashtag-chip:hover {
  background: rgba(0, 255, 229, 0.15);
  border-color: var(--studio-cyan);
  color: var(--studio-cyan);
}

/* Audio / Sound Picker */
.studio-select-input {
  width: 100%;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--studio-border);
  border-radius: 12px;
  padding: 10px 14px;
  color: #FFF;
  font-size: 13px;
  outline: none;
  cursor: pointer;
}

.studio-select-input option {
  background: #120A20;
  color: #FFF;
}

/* Share Button Action */
.studio-publish-btn {
  background: linear-gradient(135deg, var(--studio-cyan), var(--studio-gold));
  color: #07030E;
  font-weight: 900;
  font-size: 15px;
  padding: 14px 24px;
  border-radius: 14px;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  box-shadow: 0 6px 24px rgba(0, 255, 229, 0.35);
  transition: all 0.2s cubic-bezier(0.34, 1.56, 0.64, 1);
  margin-top: 6px;
}

.studio-publish-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(0, 255, 229, 0.5);
}

.studio-publish-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none;
}

/* Mobile Floating Center Plus Button */
.mobile-fab-create-btn {
  display: none;
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--studio-cyan), var(--studio-pink));
  box-shadow: 0 0 24px rgba(0, 255, 229, 0.6);
  border: 2px solid #FFF;
  color: #000;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  font-weight: 900;
  cursor: pointer;
  z-index: 9999;
  transition: transform 0.2s ease;
}

.mobile-fab-create-btn:active {
  transform: translateX(-50%) scale(0.92);
}

@media (max-width: 600px) {
  .mobile-fab-create-btn {
    display: flex;
  }
}
