body {
  font-family: 'Roboto', sans-serif;
  background-color: #f7f9fc;
  color: #333;
}

.container {
  max-width: 800px;
  margin: 2rem auto;
  padding: 1.1rem;
  background-color: #fff;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

h1 {
  border-bottom: 2px solid #333;
  padding-bottom: 0.5rem;
}

h2 {
  color: #666;
  font-style: italic;
}

button {
  background-color: #0077cc;
  color: #fff;
  border: none;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

button:hover {
  background-color: #005aa0;
}

.header-container {
  display: flex;
  align-items: center;  /* Vertically centers the content if they have different heights */
  gap: 1rem;  /* Creates space between the title and button */
}

/* SMS MODE */

.message-container {
  max-width: 600px;
  margin: 20px auto;
  overflow: hidden; /* Helps contain floated elements */
}

.message-container h3, .message-container h4, .message-container h5, .message-container h6, .message-container p {
  font-size: 1.75rem;  /* Adjust as needed */
  box-sizing: border-box; /* Ensures padding is included in the width calculation */
  padding: 10px 20px;
  border-radius: 18px;
  margin-bottom: 10px;
  max-width: 80%;
  clear: both;
}

.message-container h3, .message-container h4, .message-container h5, .message-container h6 {
  background-color: #f1f1f1;  /* Gray bubble */
  align-self: flex-start;
  float: left; /* Positioned on the left side */
}

.message-container p {
  background-color: #34b7f1;  /* Blue bubble */
  color: white;
  align-self: flex-end;
  float: right; /* Positioned on the right side */
}

@media (max-width: 480px) {
  .message-container {
      max-width: 90%;
  }
  /* any other mobile-specific styles */
}
