/* =====================================================
   GLOBAL
===================================================== */

html {
  font-size: 20px;
}

body {
  margin: 0;
  font-family: Georgia, Garamond, serif;

  background:
    radial-gradient(circle at 20% 15%, rgba(255,190,120,0.18), transparent 40%),
    radial-gradient(circle at 80% 85%, rgba(160,120,80,0.15), transparent 40%),
    linear-gradient(180deg, #f4ecdf 0%, #efe3d0 100%);
}
/* =====================================================
   TOP BAR
===================================================== */

.topbar {
  display: flex;
  justify-content: space-between;
  padding: 24px 40px;
  border-bottom: 1px solid rgba(0,0,0,0.08);
}

.brand .title {
  font-size: 24px;
  font-weight: 700;
}

.brand .subtitle {
  font-size: 15px;
  opacity: 0.7;
  margin-top: 6px;
}

.props {
  display: flex;
  gap: 16px;
  align-items: flex-end;
}

.props label {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 13px;
}

.props input {
  width: 220px;
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid rgba(0,0,0,0.12);
}


/* =====================================================
   MAIN STUDIO WRAPPER
===================================================== */

.layout {
  position: relative;
  width: 1500px;
  margin: 60px auto 0 auto;

  /* FLOOR for absolute studio panels */
  padding-top: 880px;

  background: rgba(255,255,255,0.65);
  backdrop-filter: blur(22px);
  border-radius: 40px;
  box-shadow:
    0 40px 100px rgba(0,0,0,0.25),
    inset 0 1px 0 rgba(255,255,255,0.9);
}


/* =====================================================
   ABSOLUTE STUDIO PANELS
===================================================== */

.script {
  position: absolute;
  top: 40px;
  left: 40px;
  width: 850px;
  height: 600px;
  padding: 24px;
  border-radius: 24px;
  background: rgba(255,255,255,0.85);
}
/* =====================================================
   /* =====================================================
   TELEPROMPTER — STRONG DEPTH VERSION
===================================================== */

.teleprompter {

  position: relative;

  width: 100%;
  margin-top: 60px;

  padding: 40px;

  background: linear-gradient(180deg, #ffffff 0%, #f8f8f8 100%);

  border-radius: 30px;

  border: 1px solid rgba(0,0,0,0.08);

  box-shadow:
    0 80px 140px rgba(0,0,0,0.25),   /* large drop */
    0 30px 60px rgba(0,0,0,0.18),    /* mid drop */
    0 10px 25px rgba(0,0,0,0.12),    /* close drop */
    inset 0 1px 0 rgba(255,255,255,0.9); /* light rim */
}


/* Header */

.teleprompter-header {

  display: flex;
  justify-content: space-between;
  align-items: center;

  margin-bottom: 28px;

  font-weight: 700;
  font-size: 19px;
}


/* Inner viewing window */

/* ================= TELEPROMPTER WRAP ================= */

.teleprompter-wrap {
  margin-top: 40px;
}

/* Header */

.teleprompter-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
  font-weight: 600;
}

/* Mode Buttons */

.teleprompter-modes {
  display: flex;
  gap: 10px;
  margin-bottom: 16px;
}

.mode-btn {
  padding: 6px 12px;
  border-radius: 8px;
  border: 1px solid #ddd;
  background: #ffffff;
  cursor: pointer;
}

.mode-btn.active {
  background: linear-gradient(
    180deg,
    #e8d8b0 0%,
    #c9a35a 60%,
    #8c6b1f 100%
  );
  color: #2b1c0f;
  border-color: #8c6b1f;
}

/* Teleprompter Window */

.teleprompter-view {
  position: relative;
  min-height: 240px;
  max-height: 360px;
  overflow-y: auto;
  padding: 28px;
  border-radius: 22px;
  background: linear-gradient(180deg, #fafafa 0%, #f0f0f0 100%);
  border: 1px solid rgba(0,0,0,0.06);
  box-shadow:
    inset 0 4px 14px rgba(0,0,0,0.06),
    0 20px 40px rgba(0,0,0,0.12);
  line-height: 2.0;
  font-size: 20px;
}

/* Words */

.tp-word {
  position: relative;
  cursor: pointer;
  padding: 4px 8px;
  border-radius: 6px;
  transition: background 0.2s ease;
}

.progress-highlight {
  background: linear-gradient(
    180deg,
    rgba(236, 245, 220, 0.95) 0%,
    rgba(191, 214, 160, 0.85) 40%,
    rgba(214, 166, 58, 0.75) 100%
  );
  border-radius: 6px;
}

/* Marker base */

.marker {
  position: absolute;
  top: -8px;
  right: -6px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  box-shadow: 0 0 6px rgba(0,0,0,0.35);
}

/* ==========================================
   WARM LIBRARY TELEPROMPTER MARKERS
   (Imagination Studio Edition)
========================================== */

/* =========================
   PICKUP — Sealing Wax
========================= */
.marker-pickup {
  background:
    radial-gradient(circle at 35% 30%,
      #f3c2b0 0%,
      #b74a2c 55%,
      #6f1f14 100%);
  box-shadow:
    0 0 6px rgba(120,40,20,0.5),
    inset 0 2px 4px rgba(255,255,255,0.3);
}

.glow-pickup {
  background: rgba(183,74,44,0.18);
}


/* =========================
   DELETE — Editorial Ink
========================= */
.marker-delete {
  background:
    radial-gradient(circle at 35% 30%,
      #e6e3de 0%,
      #6a5b4f 60%,
      #3b2b1c 100%);
  box-shadow:
    0 0 6px rgba(60,40,20,0.4),
    inset 0 2px 4px rgba(255,255,255,0.25);
}

.glow-delete {
  background: rgba(90,70,50,0.16);
}


/* =========================
   REPLACE — Antique Gold
========================= */
.marker-replace {
  background:
    radial-gradient(circle at 35% 30%,
      #fff3c4 0%,
      #d6a63a 55%,
      #8a6a1f 100%);
  box-shadow:
    0 0 8px rgba(180,130,40,0.45),
    inset 0 2px 4px rgba(255,255,255,0.4);
}

.glow-replace {
  background: rgba(214,166,58,0.22);
}
/* Legend */

.teleprompter-legend {
  margin-top: 18px;
  font-size: 14px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.legend-highlight {
  display: inline-block;
  width: 16px;
  height: 16px;
  margin-right: 6px;

  background: radial-gradient(circle at 35% 30%,
    #ffe8b5 0%,
    #d6a63a 60%,
    #8a6a1f 100%);

  border-radius: 4px;

  box-shadow:
    0 0 6px rgba(180,130,40,0.35),
    inset 0 2px 3px rgba(255,255,255,0.5);
}

.legend-dot {
  display: inline-block;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  margin-right: 6px;
}

.legend-dot.pickup {
  background: #ff3c3c;
}

.legend-dot.delete {
  background: #455a64;
}

.legend-dot.replace {
  background: #ffb300;
}
/* ================= CREDITS ================= */
/* =========================
   CREDITS BLOCK
========================= */

.credits-block {

  position: relative;     /* stays in normal flow */
  top: 0px;
  left: 0px;

  width: 520px;           /* pixel control */
  padding: 36px;

  background-color: #ffffff;

  border-radius: 28px;
  border: 1px solid #e6e6e6;

  box-shadow:
    0 50px 90px rgba(0,0,0,0.18),
    0 20px 40px rgba(0,0,0,0.12),
    0 5px 15px rgba(0,0,0,0.08);

  margin-top: 60px;       /* vertical spacing control */
}

/* Heading */
.credits-block h3 {
  margin: 0 0 20px 0;
  font-size: 20px;
  font-weight: 700;
}

/* Labels */
.credits-block label {

  display: block;
  margin-top: 20px;

  font-weight: 600;
  font-size: 15px;
}

/* Inputs */
.credits-block input {

  width: 100%;                 /* fills inside container correctly */
  box-sizing: border-box;      /* prevents overflow */

  padding: 12px 14px;
  margin-top: 8px;

  border-radius: 12px;
  border: 1px solid #dcdcdc;

  font-size: 15px;

  outline: none;
}

/* Optional focus polish */
.credits-block input:focus {
  border-color: #999;
}

/* RECORDER */
.recorder {
  position: absolute;
  top: 40px;
  left: 965px;
  width: 440px;
  height: 380px;
  padding: 24px;
  border-radius: 24px;
  background: rgba(255,255,255,0.85);
}

.record-selection {
  position: absolute;
  top: 560px;
  left: 965px;
  width: 440px;
  height: 220px;
  padding: 24px;
  border-radius: 24px;
  background: rgba(255,255,255,0.85);
}


/* =====================================================
   SCRIPT AREA
===================================================== */

.script-input {
  width: 100%;
  min-height: 180px;
  padding: 16px;
  border-radius: 14px;
  border: 1px solid rgba(0,0,0,0.12);
  resize: vertical;
  font-size: 18px;
}

.script-view {
  margin-top: 20px;
  padding: 16px;
  border-radius: 14px;
  background: rgba(255,255,255,0.4);
  font-size: 20px;
  line-height: 1.9;
}


/* =====================================================
   RECORD SELECTION CONTROLS
===================================================== */

.record-selection .controls {
  display: flex;
  gap: 12px;
  margin-top: 16px;
}


/* =====================================================
   RECORDER CONTROLS
===================================================== */

.recorder .controls {
  display: flex;
  gap: 12px;
  margin-top: 16px;
}
/* =====================================================
   TAKES — OUTSIDE MAIN (FLOATING PANEL)
===================================================== */

.takes {

  position: relative; 

  top: 25px;    /* adjust to sit visually below main */
  left: 1080px;     /* horizontal control */

  width: 440px;
  padding: 36px;

  background-color: #ffffff;

  border-radius: 28px;
  border: 1px solid #e6e6e6;

  box-shadow:
    0 60px 120px rgba(0,0,0,0.20),
    0 25px 60px rgba(0,0,0,0.14),
    0 8px 25px rgba(0,0,0,0.10);

  z-index: 20;
}

.takes-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.take {
  padding: 18px;
  margin-top: 16px;

  border-radius: 18px;

  background-color: #f5f5f5;
  border: 1px solid #e2e2e2;

  box-shadow:
    0 15px 25px rgba(0,0,0,0.10),
    0 5px 10px rgba(0,0,0,0.06);
}

/* =====================================================
   CLEANER (FLOW BELOW MAIN)
===================================================== */

.acx-cleaner {

  position: relative;   /* change to absolute if you want it to float */
  
  top: 25px;             /* vertical movement control */
  left: 93px;            /* horizontal movement control */

  width: 720px;         /* size control */
  padding: 36px;

  background-color: #ffffff;

  border-radius: 28px;

  border: 1px solid #e6e6e6;

  /* real layered shadow */
  box-shadow:
    0 50px 90px rgba(0,0,0,0.18),   /* main drop */
    0 20px 40px rgba(0,0,0,0.12),   /* mid depth */
    0 5px 15px rgba(0,0,0,0.08);    /* close shadow */

}

/* =====================================================
   TRACKS (FLOW BELOW CLEANER)
===================================================== */

#tracksPanel {
  width: 500px;
  margin: 80px auto 0 auto;
  padding: 24px;
  border-radius: 24px;
  background: rgba(255,255,255,0.85);
}


/* =====================================================
   BUTTONS
===================================================== */

.btn {
  padding: 8px 16px;
  border-radius: 12px;
  border: 1px solid rgba(0,0,0,0.12);
  background: white;
  cursor: pointer;
}

/* ==========================================
   WARM LIBRARY — GREEN & GOLD MARKERS
========================================== */

/* =========================
   LEGEND HIGHLIGHT — Antique Gold
========================= */
.legend-highlight {
  display: inline-block;
  width: 16px;
  height: 16px;
  margin-right: 6px;

  background:
    radial-gradient(circle at 35% 30%,
      #fff6cc 0%,
      #d4a83f 55%,
      #8c6b1f 100%);

  border-radius: 4px;

  box-shadow:
    0 0 6px rgba(180,140,40,0.4),
    inset 0 2px 3px rgba(255,255,255,0.5);
}


/* =========================
   PICKUP — Deep Emerald
========================= */
.marker-pickup {
  background:
    radial-gradient(circle at 35% 30%,
      #cfe9d8 0%,
      #2f6f4f 60%,
      #173b2a 100%);
  box-shadow:
    0 0 6px rgba(30,90,60,0.5),
    inset 0 2px 4px rgba(255,255,255,0.35);
}

.glow-pickup {
  background: rgba(47,111,79,0.18);
}


/* =========================
   DELETE — Moss Green
========================= */
.marker-delete {
  background:
    radial-gradient(circle at 35% 30%,
      #e4f0e7 0%,
      #5f7d63 60%,
      #2d4030 100%);
  box-shadow:
    0 0 6px rgba(50,70,50,0.35),
    inset 0 2px 4px rgba(255,255,255,0.3);
}

.glow-delete {
  background: rgba(95,125,99,0.16);
}


/* =========================
   REPLACE — Bright Gilded Gold
========================= */
.marker-replace {
  background:
    radial-gradient(circle at 35% 30%,
      #fff3c4 0%,
      #d6a63a 55%,
      #8a6a1f 100%);
  box-shadow:
    0 0 8px rgba(180,130,40,0.45),
    inset 0 2px 4px rgba(255,255,255,0.4);
}

.glow-replace {
  background: rgba(214,166,58,0.22);
}

/* =====================================================
   FOOTER
===================================================== */

.footer {
  width: 1250px;
  margin: 100px auto;
  padding: 30px 40px;
  display: flex;
  justify-content: space-between;
  opacity: 0.7;
}
/* =====================================
   GLOBAL BUTTON OVERRIDE — EARTH MODE
===================================== */

button {
  background: linear-gradient(
    180deg,
    #e8d8b0 0%,
    #c9a35a 60%,
    #8c6b1f 100%
  );
  color: #2b1c0f;
  border: 1px solid #8c6b1f;
  border-radius: 14px;
  padding: 8px 16px;
  cursor: pointer;
}

button:hover {
  background: linear-gradient(
    180deg,
    #f4e6c2 0%,
    #d6b46a 100%
  );
}

button:active {
  transform: translateY(1px);
}

button:focus {
  outline: none;
  box-shadow: 0 0 0 3px rgba(214,166,58,0.35);
}