/* Default to dark mode - ZSH Terminal Style */
body {
  font-family: 'Monaco', 'Menlo', 'Ubuntu Mono', 'Consolas', 'Courier New', monospace;
  background-color: #1e1e1e;
  color: #00ff00;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  height: auto;
  overflow-y: auto;
  margin: 0;
  padding: 20px;
  transition: background-color 0.3s, color 0.3s;
}

.container {
  background: #0a0a0a;
  padding: 30px;
  border-radius: 4px;
  box-shadow: 0 0 20px rgba(0, 255, 0, 0.1);
  border: 1px solid #00ff00;
  width: 100%;
  max-width: 1200px;
}

h1 {
  font-family: 'Monaco', 'Menlo', 'Ubuntu Mono', 'Consolas', 'Courier New', monospace;
  color: #00ffff;
  font-variant-caps: normal;
  margin-bottom: 20px;
  text-align: center;
  font-size: 2rem;
  font-weight: bold;
  text-shadow: 0 0 10px rgba(0, 255, 255, 0.5);
}

/* Title Section */
.title-section {
  margin-bottom: 25px;
}

.plan-title-input {
  width: 100%;
  padding: 15px;
  font-size: 1.5rem;
  background: #1a1a1a;
  color: #ffff00;
  border: 1px solid #00ff00;
  border-radius: 2px;
  outline: none;
  transition: border-color 0.3s, box-shadow 0.3s;
  font-weight: bold;
  font-family: 'Monaco', 'Menlo', 'Ubuntu Mono', 'Consolas', 'Courier New', monospace;
}

.plan-title-input:focus {
  border-color: #00ffff;
  box-shadow: 0 0 10px rgba(0, 255, 255, 0.3);
}

.plan-title-input::placeholder {
  color: #006600;
  font-weight: 400;
}

/* Toolbar */
.toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  align-items: center;
  margin-bottom1a1a1a;
  border-radius: 2px;
  border: 1px solid #333333
  background: #2d2353;
  border-radius: 5px;
}

.format-group,
.color-group,
.export-group {
  display: flex;
  gap: 10px;
  align-items: center;
}

.format-btn,
.export-bt1px solid #00ff00;
  background: #0a0a0a;
  color: #00ff00;
  cursor: pointer;
  border-radius: 2px;
  transition: all 0.3s;
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 0.9rem;
  font-family: 'Monaco', 'Menlo', 'Ubuntu Mono', 'Consolas', 'Courier New', monospace;
}

.format-btn {
  width: 40px;
  height: 40px;
  padding: 0;
  justify-content: center;
}

.format-btn.active {
  background: #003300;
  box-shadow: 0 0 10px rgba(0, 255, 0, 0.5);
  border-color: #00ffff;
}

.format-btn:hover,
.export-btn:hover,
.theme-btn:hover {
  background: #003300;
  border-color: #00ffff;
  box-shadow: 0 0 8px rgba(0, 255, 255, 0.4)
.export-btn:hover,
.theme-btn:hover {
  background: #194c83;
  transform: translateY(-2px);
}

.format-btn svg,
.export-btn svg {
  width: 100ff00;
  font-size: 0.9rem;
}

#textColor {
  width: 50px;
  height: 40px;
  border: 1px solid #00ff00;
  border-radius: 2px;
  cursor: pointer;
  background: #0a0a0a
  height: 40px;
  border: 2px solid #604fa4;
  border-radius: 5px;
  cursor: pointer;
  background: transparent;
}

/* Plan Table */
.plan-table-wrapper {
  overflow-x: auto;
  margin-bottom: 20px;
}
0a0a0a;
  border-radius: 2px;
  overflow: hidden;
  border: 1px solid #00ff00;
}

.plan-table thead {
  background: #1a1a1a;
  border-bottom: 2px solid #00ff00;
}

.plan-table th {
  padding: 15px;
  text-align: left;
  color: #00ffff;
  font-weight: bold;
  font-size: 1.1rem;
  font-family: 'Monaco', 'Menlo', 'Ubuntu Mono', 'Consolas', 'Courier New', monospace;
  text-shadow: 0 0 5px rgba(0, 255, 255, 0.3)
  text-align: left;
  color: white;
  font-weight: 600;
  font-size: 1.1rem;
}

.plan-table td {
  padding: 10px;
  vertical-align: top;
}

.col-problem,
.col-solution {
  width: 45%;
}

.col-actions {
  width: 10%;
  text-align: center;333333;
  transition: background-color 0.3s;
}

.plan-row:hover {
  background: rgba(0, 255, 0, 0.05;
}

.plan-row:hover {
  background: rgba(96, 79, 164, 0.1);
}

.plan-row:last-child {
  border-bottom: none;
}

/* Textareas */
.problem-input,
.solution-inpu#1a1a1a;
  color: #00ff00;
  border: 1px solid #333333;
  border-radius: 2px;
  resize: vertical;
  font-family: 'Monaco', 'Menlo', 'Ubuntu Mono', 'Consolas', 'Courier New', monospace;
  font-size: 0.95rem;
  line-height: 1.5;
  outline: none;
  transition: border-color 0.3s, background-color 0.3s, box-shadow 0.3s;
}

.problem-input:focus,
.solution-input:focus {
  background: #1a1a1a;
  border-color: #00ffff;
  box-shadow: 0 0 8px rgba(0, 255, 255, 0.2);
}

.problem-input::placeholder,
.solution-input::placeholder {
  color: #00660

.problem-input::placeholder,
.solution-input::placeholder {
  color: #606060;
}

/* Text Formatting Classes */
.format-bold {
  font-weight: bold;
}

.format-italic {
  font-style: italic;
}

.format-normal {
  font-weight: normal;
  font-style: normal;
}1px solid #ff0000;
  background: #1a0000;
  color: #ff0000;
  cursor: pointer;
  border-radius: 2px;
  transition: all 0.3s;
  display: flex;
  align-items: center;
  justify-content: center;
}

.delete-row-btn:hover {
  background: #330000;
  box-shadow: 0 0 8px rgba(255, 0, 0, 0.4);
  justify-content: center;
}

.delete-row-btn:hover {
  background: #c74343;
  transform: scale(1.1);
}

.delete-row-btn svg {
  width: 18px;
  height: 18px;
}

/* Add Row Button */
.add-row-btn {
  width: 11px dashed #00ff00;
  background: #0a0a0a;
  color: #00ff00;
  cursor: pointer;
  border-radius: 2px;
  font-size: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: all 0.3s;
  font-family: 'Monaco', 'Menlo', 'Ubuntu Mono', 'Consolas', 'Courier New', monospace;
}

.add-row-btn:hover {
  background: #003300;
  border-color: #00ffff;
  color: #00ffff;
  box-shadow: 0 0 10px rgba(0, 255, 255, 0.3)ba(96, 79, 164, 0.2);
  border-color: #7768b4;
  color: #7768b4;
}

.add-row-btn svg {
  width: 20px;- Terminal Light Theme */
.light-mode {
  background-color: #fdf6e3;
  color: #002b36;
}

.light-mode .container {
  background: #eee8d5;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
  border-color: #657b83;
}

.light-mode h1 {
  color: #268bd2;
  text-shadow: 0 0 10px rgba(38, 139, 210, 0.3);
}

.light-mode .plan-title-input {
  background: #fdf6e3;
  color: #dc322f;
  border-color: #657b83;
}

.light-mode .plan-title-input::placeholder {
  color: #93a1a1;
}

.light-mode .toolbar {
  background: #fdf6e3;
  border-color: #93a1a1;
}

.light-mode .plan-table {
  background: #fdf6e3;
  border-color: #657b83;
}

.light-mode .plan-table thead {
  background: #eee8d5;
  border-bottom-color: #657b83;
}

.light-mode .plan-table th {
  color: #268bd2;
}

.light-mode .plan-row {
  border-bottom: 1px solid #93a1a1;
}

.light-mode .problem-input,
.light-mode .solution-input {
  background: #fdf6e3;
  color: #002b36;
  border-color: #93a1a1;
}

.light-mode .problem-input:focus,
.light-mode .solution-input:focus {
  background: #fdf6e3;
  border-color: #268bd2;
  box-shadow: 0 0 8px rgba(38, 139, 210, 0.3);
}

.light-mode .problem-input::placeholder,
.light-mode .solution-input::placeholder {
  color: #93a1a1;
}

.light-mode .add-row-btn {
  border-color: #657b83;
  color: #002b36;
  background: #fdf6e3;
}

.light-mode .add-row-btn:hover {
  background: #eee8d5;
  color: #268bd2;
  border-color: #268bd2;
}

.light-mode .color-group label {
  color: #002b36;
}

.light-mode .format-btn,
.light-mode .export-btn,
.light-mode .theme-btn {
  border-color: #657b83;
  background: #fdf6e3;
  color: #002b36;
}

.light-mode .format-btn.active {
  background: #eee8d5;
  border-color: #268bd2;
}

.light-mode .format-btn:hover,
.light-mode .export-btn:hover,
.light-mode .theme-btn:hover {
  background: #eee8d5;
  border-color: #268bd2;
}

.light-mode .color-group label {
  color: #333333;
}

/* Responsive Design */
@media (max-width: 768px) {
  .container {
    padding: 20px;
  }

  h1 {
    font-size: 1.5rem;
  }

  .toolbar {
    flex-direction: column;
    align-items: stretch;
  }

  .format-group,
  .color-group,
  .export-group {
    justify-content: center;
  }

  .plan-table th,
  .plan-table td {
    padding: 8px;
  }

  .col-actions {
    width: 50px;
  }

  .problem-input,
  .solution-input {
    font-size: 0.9rem;
    min-height: 60px;
  }
}

@media (max-width: 480px) {
  body {
    padding: 10px;
  }

  .container {
    padding: 15px;
  }

  .plan-title-input {
    font-size: 1.2rem;
    padding: 12px;
  }

  .format-btn,
  .export-btn {
    padding: 6px 10px;
    font-size: 0.85rem;
  }

  .format-btn {
    width: 35px;
    height: 35px;
  }

  .plan-table th {
    font-size: 0.95rem;
    padding: 10px 5px;
  }
}
