/* ================
   AI Learning Accelerator Styles
   ================ */

body {
    background-color: #f4faff;
    font-family: 'Segoe UI', sans-serif;
    margin: 0;
    padding: 0;
    color: #0A1929;
}

.hero-section {
    background-color: #7FAFBF;
    color: white;
    padding: 2rem;
    text-align: center;
}

.hero-section h1 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

.hero-section p {
    font-size: 1.2rem;
    margin: 0 auto;
    max-width: 700px;
}

.learning-form-section {
    background-color: #ffffff;
    padding: 2rem;
    max-width: 800px;
    margin: 2rem auto;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    border-radius: 12px;
}

form label {
    display: block;
    font-weight: 600;
    margin-top: 1rem;
}

form input[type="text"],
form input[type="number"],
form input[type="range"],
form select {
    width: 100%;
    padding: 0.6rem;
    margin-top: 0.5rem;
    border: 1px solid #ccc;
    border-radius: 8px;
    font-size: 1rem;
    background-color: #fff;
    color: #000;
}

.checkboxes {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 0.5rem;
}

.checkboxes label {
    background: #f0f4f8;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    border: 1px solid #d0dce7;
    cursor: pointer;
}

.primary-button {
    margin-top: 2rem;
    padding: 0.75rem 1.5rem;
    background-color: #3498db;
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.primary-button:hover {
    background-color: #2980b9;
}

#generated-prompts-section {
    max-width: 800px;
    margin: 2rem auto;
    padding: 2rem;
    background-color: #ffffff;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.prompt-box {
    background: #fdfdfd;
    border: 1px solid #dce3e9;
    padding: 1.5rem;
    border-radius: 10px;
    margin-bottom: 1.5rem;
    position: relative;
}

.prompt-box h3 {
    margin-top: 0;
    font-size: 1.3rem;
    color: #0A1929;
}

.prompt-box p {
    font-size: 1rem;
    color: #333;
    margin-bottom: 1rem;
}

.prompt-box button {
    background-color: #7FAFBF;
    border: none;
    color: white;
    padding: 0.4rem 1rem;
    border-radius: 6px;
    cursor: pointer;
    font-size: 0.95rem;
}

.prompt-box button:hover {
    background-color: #6fa0ae;
}

.refine-options {
    background-color: #f9fbfd;
    border-top: 1px solid #ccd6dd;
    margin-top: 1rem;
    padding: 1rem;
    border-radius: 6px;
}

.refine-options label {
    display: block;
    margin-bottom: 0.4rem;
    font-size: 0.95rem;
}

/* Theme Toggle Styling */
.theme-toggle-container {
    text-align: center;
    margin-top: 1rem;
}

.theme-toggle {
    font-weight: 600;
    font-size: 1rem;
}

/* Dark/Neurodivergent Mode */
body.dark-mode {
    background-color: #121212;
    color: #e0e0e0;
}

.dark-mode .hero-section {
    background-color: #1e3a4c;
    color: #ffffff;
}

.dark-mode .learning-form-section,
.dark-mode #generated-prompts-section,
.dark-mode .prompt-box {
    background-color: #1a1a1a;
    border: 1px solid #333;
    color: #e0e0e0;
}

.dark-mode input,
.dark-mode select,
.dark-mode textarea {
    background-color: #222;
    color: #e0e0e0;
    border: 1px solid #444;
}

.dark-mode .primary-button,
.dark-mode .prompt-box button {
    background-color: #28a0a6;
    color: white;
}

.dark-mode .refine-options {
    background-color: #1c1c1c;
    border-top: 1px solid #444;
}

/* Calm Focus (Neurodivergent-Friendly) Mode */
body.calm-mode {
    background-color: #fefbf4;
    color: #2a2a2a;
}

.calm-mode .hero-section {
    background-color: #d5e5e0;
    color: #1d1d1d;
}

.calm-mode .learning-form-section,
.calm-mode #generated-prompts-section,
.calm-mode .prompt-box {
    background-color: #fcf9f0;
    border: 1px solid #ccc;
    color: #2a2a2a;
}

.calm-mode input,
.calm-mode select,
.calm-mode textarea {
    background-color: #fffefb;
    color: #2a2a2a;
    border: 1px solid #bbb;
}

.calm-mode .primary-button,
.calm-mode .prompt-box button {
    background-color: #84bfa1;
    color: #1d1d1d;
}

.calm-mode .refine-options {
    background-color: #f6f3eb;
    border-top: 1px solid #bbb;
}

.prompt-actions {
    margin-top: 1rem;
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.prompt-actions button {
    background-color: #3498db;
    color: white;
    border: none;
    padding: 0.4rem 1rem;
    border-radius: 6px;
    cursor: pointer;
    font-size: 0.95rem;
}

.prompt-actions button:hover {
    background-color: #2c80b4;
}

.generated-refined {
    margin-top: 1rem;
    padding: 0.75rem;
    background: #f7f7f7;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 0.95rem;
    color: #333;
}
/* Modern full-width textarea */
.modern-textarea {
  width: 100%;
  max-width: 100%;
  padding: 1rem;
  font-size: 1rem;
  border-radius: 12px;
  border: 1px solid #ccc;
  resize: vertical;
  box-shadow: 0 2px 4px rgba(0,0,0,0.05);
  transition: border-color 0.3s ease;
}

.modern-textarea:focus {
  border-color: #4a90e2;
  outline: none;
}

/* Toast message styling */
.toast {
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  background: #444;
  color: #fff;
  padding: 0.8rem 1.5rem;
  border-radius: 6px;
  opacity: 0;
  transition: opacity 0.4s ease;
  z-index: 9999;
}

.toast.show {
  opacity: 1;
}

/* Prompt refinement box */
.refine-options {
  display: none;
  margin-top: 10px;
}

.generated-refined {
  margin-top: 10px;
  background: #f7f7f7;
  padding: 10px;
  border-radius: 8px;
}
