/* Body and container */
body {
  font-family: 'Poppins', Arial, sans-serif;
  background: linear-gradient(120deg, #e0f7fa, #f1f8e9);
  margin: 0;
  padding: 20px;
  min-height: 100vh;
}

.container {
  max-width: 700px;
  margin: auto;
  background: #fff;
  padding: 30px;
  border-radius: 16px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

/* Heading */
h1 {
  text-align: center;
  color: #333;
  margin-bottom: 25px;
  font-size: 2.2rem;
}

/* Textarea */
textarea {
  width: 100%;
  height: 140px;
  padding: 15px;
  border-radius: 12px;
  border: 1px solid #ccc;
  font-size: 16px;
  resize: none;
  transition: 0.3s;
}

textarea:focus {
  outline: none;
  border-color: #4e73df;
  box-shadow: 0 0 10px rgba(78, 115, 223, 0.2);
}

/* Buttons */
.buttons {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 15px;
}

button {
  margin: 10px;
  padding: 12px 20px;
  border: none;
  border-radius: 12px;
  cursor: pointer;
  background: #4e73df;
  color: #fff;
  font-weight: bold;
  font-size: 1rem;
  transition: 0.3s;
}

button:hover {
  background: #2e59d9;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

/* Output Sections */
.output {
  margin-top: 25px;
  padding: 20px;
  border-radius: 12px;
  background: #f9f9f9;
  box-shadow: inset 0 0 10px rgba(0,0,0,0.03);
  font-size: 16px;
  line-height: 1.6;
}

#smartOutput {
  border-left: 6px solid #4e73df;
}

#savedOutput {
  border-left: 6px solid #28a745;
}

/* Bold keywords */
b {
  color: #d9534f;
}

/* Saved Notes List */
#savedOutput ul {
  list-style: none;
  padding: 0;
}

#savedOutput li {
  padding: 10px 15px;
  margin-bottom: 10px;
  background: #e8f5e9;
  border-radius: 8px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: 0.3s;
}

#savedOutput li:hover {
  background: #d0ebd8;
}

#savedOutput li button {
  background: #d9534f;
  padding: 5px 10px;
  font-size: 0.9rem;
}

#savedOutput li button:hover {
  background: #c9302c;
}
