/* ===============================
   Add Prompt Page – Scoped Styles
   File: add_prompt.php
================================ */

.add-prompt-page {
  max-width: 720px;
  margin: 0 auto;
}

/* Title */
.add-prompt-page h2 {
  font-size: 32px;
  font-weight: 800;
  margin-bottom: 30px;
  text-align: center;
}

/* Message box */
.add-prompt-page .form-message {
  padding: 14px 16px;
  border-radius: 10px;
  margin-bottom: 25px;
  font-size: 14px;
  background: rgba(255, 138, 0, 0.12);
}

/* Form */
.add-prompt-page form {
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(14px);
  border-radius: 20px;
  padding: 30px;
  box-shadow: 0 20px 40px rgba(0,0,0,0.08);
}

/* Field wrapper */
.add-prompt-page form > div {
  margin-bottom: 20px;
}

/* Labels */
.add-prompt-page label {
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 6px;
  display: inline-block;
}

/* Inputs */
.add-prompt-page input[type="text"],
.add-prompt-page textarea,
.add-prompt-page select {
  width: 100%;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid rgba(0,0,0,0.1);
  font-size: 14px;
  transition: all 0.3s ease;
}

/* Focus effect */
.add-prompt-page input:focus,
.add-prompt-page textarea:focus,
.add-prompt-page select:focus {
  outline: none;
  border-color: var(--primary-color-day);
  box-shadow: 0 0 0 3px rgba(255,138,0,0.2);
}

/* Textarea */
.add-prompt-page textarea {
  resize: vertical;
  min-height: 120px;
}

/* File input */
.add-prompt-page input[type="file"] {
  font-size: 13px;
}

/* Button */
.add-prompt-page button {
  width: 100%;
  padding: 14px;
  border: none;
  border-radius: 14px;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  background: linear-gradient(135deg, var(--primary-color-day), var(--secondary-color-day));
  color: #fff;
  transition: all 0.3s ease;
}

.add-prompt-page button:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}

/* ===============================
   Night Mode
================================ */

body.night-mode .add-prompt-page form {
  background: rgba(20, 20, 30, 0.7);
}

body.night-mode .add-prompt-page input,
body.night-mode .add-prompt-page textarea,
body.night-mode .add-prompt-page select {
  background: rgba(255,255,255,0.05);
  color: #fff;
  border-color: rgba(255,255,255,0.15);
}

body.night-mode .add-prompt-page label {
  color: #ddd;
}

body.night-mode .add-prompt-page h2 {
  color: #fff;
}
