/* WORD COUNTER — WRITE FLOW THEME */

body {
  font-family: 'Segoe UI', sans-serif;
  background: linear-gradient(to right, #e3f2fd, #bbdefb);
  padding: 3rem;
  text-align: center;
  color: #333;
}

h1 {
  font-size: 2.2rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  color: #0288d1;
}

/* Container */
.counter-container {
  max-width: 600px;
  margin: auto;
  background-color: #ffffff;
  padding: 2rem 3rem;
  border-radius: 12px;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.1);
  background: #ffffff;
}

textarea {
  width: 90%;
  height: 180px;
  padding: 1rem;
  font-size: 1rem;
  border-radius: 8px;
  border: 2px solid #0288d1;
  resize: vertical;
  background-color: #f5faff;
  transition: border-color 0.3s ease;
}

textarea:focus {
  outline: none;
  border-color: #03a9f4;
}

/* Counts display */
.counts {
  text-align: left;
  margin-top: 1rem;
  font-size: 1.1rem;
  color: #0288d1;
  font-weight: 500;
}

/* Button styling */
button {
  padding: 0.7rem 1.5rem;
  font-size: 1.1rem;
  cursor: pointer;
  background-color: #0288d1;
  color: white;
  border: none;
  border-radius: 8px;
  transition: background-color 0.3s ease, transform 0.2s ease;
}

button:hover {
  background-color: #0277bd;
  transform: translateY(-2px);
}

button:active {
  transform: translateY(0);
}

/* Home button */
.home-button {
  display: block;
  margin: 2rem auto 0;
  padding: 0.7rem 1.4rem;
  font-size: 1rem;
  background-color: #0288d1;
  color: white;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.home-button:hover {
  background-color: #01579b;
}
