* {
  box-sizing: border-box;
  font-size: 130%;
}
body {
  font-family: sans-serif;
  background: #fafafa;
  color: #333;
  margin: 0;
  padding: 20px;
}
.page {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}
textarea {
  width: 100%;
  min-height: 150px;
  padding: 1rem;
  margin-bottom: 1rem;
  font-size: 1rem;
  border: 2px solid hsl(210, 70%, 60%); /* soft blue border */
  border-radius: 8px;
  resize: vertical;
  background: #f9fcff;
  color: #1a2b3c;
}
textarea:focus {
  border: 4px solid hsl(210, 70%, 50%);
  background-color: #ffffff;
  outline: none;
}
button {
  flex: 1 1 30%;
  font-size: 1rem;
  padding: 0.6rem 1.2rem;
  border: none;
  border-radius: 8px;
  background: hsl(210, 60%, 35%);
  color: white;
  cursor: pointer;
  transition: background-color 0.2s ease, transform 0.1s ease;
  height: 100%; /* Aligns better with input height */
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  margin-bottom: .5rem;
}

button:hover {
  background-color: hsl(210, 70%, 40%);
  transform: translateY(-1px);
}
p {
  font-size: 1rem;
  line-height: 1.6;
  margin-bottom: .75rem;
  margin-top: 0rem;
  padding: 0rem;
  color: #123;
  text-align: left;
}

a{
  display: inline-block;
  background-color: #0077cc;
  min-width:100%;
  color: white;
  padding: 0.6em 1.2em;
  border-radius: 8px;
  text-align: center;
  text-decoration: none;
  font-weight: 600;
  margin: 1rem 0;
  transition: background-color 0.2s ease, transform 0.1s ease;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

a:hover {
  background-color: #005fa3;
  transform: translateY(-1px);
}

input {
  padding: 0.6rem 1rem;
  font-size: 1rem;
  height: auto;
  border-radius: 8px;
  border: 2px solid hsl(210, 70%, 60%);
  background: #f9fcff;
  color: #1a2b3c;
  flex: 1 1 30%;
}

.controls {
  display: flex;
  gap: 0.5rem;
  align-items: center; /* ✅ Aligns inputs + button to same vertical line */
  flex-wrap: wrap;
}

.bmc-wrapper {
  display: block;       /* ensure it’s block */
  width: 100%;          /* full width of the parent container */
  text-align: center;   /* center child inline-block button */
  margin-top: 20px;
  margin-bottom: 20px;
}

.bmc-button-container {
  display: inline-block;
  transform: scale(1.5);
  transform-origin: center;
  transition: transform 0.2s ease, filter 0.2s ease;
  cursor: pointer;
}

.bmc-button-container:hover {
  transform: scale(1.6);
  filter: brightness(0.8);
}
h1 {
  color: #222;
  padding: 15px;
  text-align: center;
  margin: 0;
  font-size: 30px;
}
h3{
  text-align: left;
  font-size: 24px;
}
.side-ad {
  position: fixed;
  top: 50%;
  transform: translateY(-50%);
  width: 180px;
  height: 600px;
  z-index: 1000;
  overflow: hidden;
}

.left-ad {
  left: 15px;
}

.right-ad {
  right: 15px;
}

/* Hide ads on mobile */
@media (max-width: 1100px) {
  .side-ad {
    display: none;
  }
}
