/* Reset & Base */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background: #f4f7fa;
  color: #333;
  line-height: 1.6;
}

/* Header */
.header {
  background: #2c3e50;
  color: #fff;
  padding: 1rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}

.header h1 {
  font-size: 1.8rem;
}

.header .home-link {
  color: #ecf0f1;
  text-decoration: none;
}

.header .menu .actions a,
#logout-button {
  margin-left: 1rem;
  color: #ecf0f1;
  text-decoration: none;
  background: none;
  border: none;
  font-size: 1rem;
  cursor: pointer;
}

#logout-button:hover,
.header .menu .actions a:hover {
  text-decoration: underline;
}

/* Main Content */
.main-content {
  max-width: 800px;
  margin: 2rem auto;
  padding: 2rem;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

h2 {
  margin-bottom: 1.5rem;
  color: #2c3e50;
  font-size: 1.75rem;
}

/* Form */
.form-container {
  display: flex;
  flex-direction: column;
}

.form-container input,
.form-container textarea {
  margin-bottom: 1rem;
  padding: 0.75rem;
  font-size: 1rem;
  border: 1px solid #ccc;
  border-radius: 6px;
}

textarea {
  resize: vertical;
  min-height: 100px;
}

/* Buttons */
.generate-button,
.download-button {
  padding: 0.75rem 1.5rem;
  font-size: 1rem;
  border: none;
  border-radius: 6px;
  background-color: #3498db;
  color: white;
  cursor: pointer;
  transition: background 0.3s;
}

.generate-button:hover,
.download-button:hover {
  background-color: #2980b9;
}

/* Output Panel */
.output-panel {
  margin-top: 2rem;
  background: #ecf0f1;
  padding: 1.5rem;
  border-radius: 8px;
}

.output-panel.hidden {
  display: none;
}

.plan-box {
  white-space: pre-wrap;
  font-family: monospace;
  background: #fff;
  padding: 1rem;
  border: 1px solid #ccc;
  border-radius: 6px;
  margin-top: 1rem;
}

/* Footer */
footer {
  text-align: center;
  padding: 1rem;
  margin-top: 3rem;
  font-size: 0.9rem;
  color: #666;
}
