/* GLOBAL RESET */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: Inter, sans-serif;
}

body {
  background: #000; /* TIKTOK BLACK */
  color: #fff;
  display: flex;
  justify-content: center;
  padding: 20px;
}

.app {
  width: 100%;
  max-width: 1200px;
}

/* HEADER */
.header {
  text-align: center;
  margin-bottom: 25px;
}

.logo {
  font-size: 32px;
  font-weight: 800;
  color: #ff0050; /* TIKTOK PINK */
}

.tagline {
  font-size: 16px;
  color: #00f2ea; /* TIKTOK TEAL */
  margin-top: 5px;
}

/* MAIN LAYOUT */
.main {
  display: flex;
  gap: 25px;
}

/* LEFT PANEL */
.left-panel {
  width: 35%;
  background: #111; /* DARK PANEL */
  padding: 20px;
  border-radius: 12px;
  border: 1px solid #222;
}

.panel-title {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 15px;
  color: #fff;
}

.field {
  margin-bottom: 18px;
  display: flex;
  flex-direction: column;
}

.field-label {
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 6px;
  color: #ddd;
}

textarea,
select {
  width: 100%;
  padding: 10px;
  border-radius: 8px;
  border: 1px solid #333;
  font-size: 14px;
  background: #0d0d0d;
  color: #fff;
}

textarea {
  height: 120px;
  resize: none;
}

.primary-btn {
  width: 100%;
  padding: 12px;
  background: #ff0050; /* TIKTOK PINK */
  color: #fff;
  border: none;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  transition: 0.2s ease;
}

.primary-btn:hover {
  background: #e60048;
}

/* RIGHT PANEL */
.right-panel {
  width: 65%;
  background: #111;
  padding: 20px;
  border-radius: 12px;
  border: 1px solid #222;
}

.scripts-container {
  margin-top: 15px;
}

.placeholder {
  color: #888;
  font-size: 14px;
}

/* SCRIPT CARD */
.script-card {
  background: #0d0d0d;
  border-radius: 10px;
  padding: 15px;
  margin-bottom: 15px;
  border: 1px solid #222;
}

.script-header {
  display: flex;
  justify-content: space-between;
  margin-bottom: 10px;
}

.script-title {
  font-size: 16px;
  font-weight: 700;
  color: #fff;
}

.script-meta {
  font-size: 13px;
  color: #aaa;
}

.script-body {
  white-space: pre-wrap;
  font-size: 14px;
  margin-bottom: 12px;
  color: #eee;
}

.script-actions {
  display: flex;
  justify-content: flex-end;
}

.copy-btn {
  padding: 8px 14px;
  background: #00f2ea; /* TIKTOK TEAL */
  color: #000;
  border: none;
  border-radius: 6px;
  font-size: 14px;
  cursor: pointer;
  transition: 0.2s ease;
}

.copy-btn:hover {
  background: #00d8d1;
}

/* MODERN COPY ALL BUTTON */
.copy-all-btn {
  background: #00f2ea;
  color: #000;
  padding: 12px 18px;
  border: none;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  margin-bottom: 15px;
  transition: 0.2s ease;
  width: 100%;
  text-align: center;
}

.copy-all-btn:hover {
  background: #00d8d1;
  transform: translateY(-1px);
}

.copy-all-btn:active {
  background: #00c2bb;
  transform: translateY(0);
}

/* FOOTER */
.footer {
  margin-top: 25px;
}

.footer-inner {
  width: 100%;
  display: flex;
  justify-content: center;
}

/* FIXED, CLEAN ADSENSE BOX */
.ad-wrapper {
  width: 100%;
  display: flex;
  justify-content: center;
  padding: 10px 0;
}

.ad-box {
  width: 100%;
  max-width: 100%;
  height: 90px;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
  background: #0d0d0d;
  border-radius: 8px;
  border: 1px solid #222;
}