/* General Styles */
body {
  background-color: #f4f5fb;
  font-family: 'Segoe UI', sans-serif;
  text-align: center;
  margin: 0;
  padding: 0;
}

.center-box {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  padding: 1rem;
}

.tool-box {
  background-color: white;
  padding: 40px;
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  max-width: 600px;
  width: 100%;
  box-sizing: border-box;
}

.tool-title {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 10px;
}

.tool-subtext {
  font-size: 1.1rem;
  color: #555;
  margin-bottom: 30px;
}

.upload-btn {
  display: inline-block;
  background-color: #e53935;
  color: white;
  padding: 15px 30px;
  border-radius: 50px;
  font-size: 1.1rem;
  cursor: pointer;
  transition: background 0.3s ease;
  width: 100%;
  max-width: 100%;
}

.upload-btn:hover {
  background-color: #d32f2f;
}

.subtext {
  margin-top: 15px;
  color: #666;
  font-size: 0.95rem;
}

/* Buttons aligned the same */
.summarize-btn {
  display: inline-block;
  margin-top: 20px;
  background-color: #1976d2;
  color: white;
  padding: 12px 28px;
  border-radius: 8px;
  font-size: 1rem;
  border: none;
  cursor: pointer;
  transition: background 0.3s ease;
  width: 100%;
  max-width: 100%;
}

.summarize-btn:hover {
  background-color: #1565c0;
}

/* Output box */
.output {
  margin-top: 40px;
  text-align: left;
}

#notesBox {
  background-color: #f9f9f9;
  border: 1px dashed #ccc;
  padding: 20px;
  border-radius: 8px;
  white-space: pre-wrap;
  font-size: 0.95rem;
  color: #333;
}

/* Responsive tweaks */
@media (max-width: 600px) {
  .tool-title {
    font-size: 1.5rem;
  }

  .tool-subtext {
    font-size: 1rem;
  }

  .upload-btn,
  .summarize-btn {
    padding: 12px 20px;
    font-size: 1rem;
    width: 100%;
  }

  .tool-box {
    padding: 30px 20px;
  }

  #notesBox {
    font-size: 0.9rem;
    padding: 16px;
  }
}
