#summary {
  padding: 20px;
  margin: auto;
  width: 100%;
  height: 120px;
  justify-content: center;
}
#text_to_summarize{
  padding: 20px;
  margin: auto;
  width: 100%;
  height: 120px;
  justify-content: center;
}
.text-box {
  width: 100%;
  height: 120px;
  margin-bottom: 10px;
  padding: 10px;
  font-size: 16px;
}

#submit-button {
  padding: 10px 20px;
  font-size: 16px;
  background: #007bff;
  color: white;
  border: none;
  cursor: pointer;
}

#submit-button:hover {
  background: #0056b3;
}
#submit-button.submit-button{
  padding: 10px 20px;
}
.container {
display: flex;
gap: 10px;
flex-wrap: wrap;
justify-content: center;
margin: 0 auto;
padding: 20px;
}

.text-box {
width: 400px;
border-radius: 4px;
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
display: flex;
flex-direction: column;
padding: 20px;
background-color: #ffffff
}

textarea {
height: 300px;
resize: none;
border: none;
padding: 10px;
margin-bottom: 10px;
}

/* Additional styles for responsiveness */
@media (max-width: 768px) {
.container {
flex-direction: column;
}
}
/* Add to public/style/style.css */

.text-summarizer-section {
  padding: 20px;
  margin: 20px auto;
  max-width: 800px; /* Or your preferred max-width */
  background-color: #f9f9f9; /* A light background for the section */
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
  text-align: center; /* Center align section title and button */
}

.text-summarizer-section h2 {
  color: #333;
  margin-bottom: 10px;
}

.text-summarizer-section p {
  color: #555;
  margin-bottom: 20px;
  line-height: 1.6;
}

.summarizer-input-area textarea {
  width: 95%;
  padding: 10px;
  margin-bottom: 15px;
  border: 1px solid #ccc;
  border-radius: 4px;
  font-family: inherit;
  font-size: 1rem;
  min-height: 150px; /* Give it some decent height */
}

/* Re-using your existing .btn class, or define new styles */
#summarizeTextBtn {
  /* display: inline-block; remove if .btn already handles this */
  /* padding: 10px 20px; */ /* from your .btn class */
  /* background-color: #007bff; */ /* from your .btn class */
  /* color: white; */ /* from your .btn class */
  /* border: none; */ /* from your .btn class */
  /* border-radius: 4px; */ /* from your .btn class */
  /* cursor: pointer; */ /* from your .btn class */
  /* font-size: 1rem; */ /* from your .btn class */
  margin-bottom: 20px;
}

#summarizeTextBtn:disabled {
  background-color: #ccc;
  cursor: not-allowed;
}

.summary-output-area {
  margin-top: 20px;
  text-align: left; /* Align summary text to the left */
  background-color: #fff;
  padding: 15px;
  border-radius: 4px;
  border: 1px solid #eee;
}

.summary-output-area h3 {
  margin-top: 0;
  color: #333;
  margin-bottom: 10px;
}

.summary-content {
  color: #444;
  line-height: 1.7;
  white-space: pre-wrap; /* To respect newlines from the summary */
}
