/* ---------- RESET ---------- */
* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Montserrat", sans-serif;
  background: #ffffff;
  color: #000000;
}

/* ---------- LAYOUT ---------- */
.container {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;

  /* 🔥 reduce side padding so form can grow */
  padding: 24px 12px;
  position: relative;
}

/* ---------- BRAND ---------- */
.brand {
  font-family: "Road Rage", cursive;
  font-size: 53px;
  letter-spacing: 1%;
  /* margin-bottom: 28px; */
  position: absolute;
  top: 24vh;          /* distance from top of viewport */
  left: 50%;
  transform: translateX(-50%);
  z-index: 100;

}

/* ---------- HEADINGS ---------- */
h1 {
  font-size: 21px;
  font-weight: 700;
  letter-spacing: 1px;
  margin-bottom: 20px;

}

.subtitle {
  font-size: 11px;
  font-weight: 800;
  /* margin-bottom: 30px; */
  opacity: 0.75;
}

/* ---------- FORM ---------- */
.form {
  width: 85vw;
  max-width: 460px;   /* 🔥 increased */
  margin-top: 45px;
}

/* Phone row (dropdown + input) */
.phone-row {
  display: flex;
  width: 100%;
  height: 48px;

  border: 2px solid #aaa;
  border-radius: 6px;
  overflow: hidden;
}

/* ---------- COUNTRY DROPDOWN ---------- */
select {
  width: 80px;
  border: none;
  padding: 0 10px;
  font-size: 14px;
  background: #fff;
  outline: none;
  cursor: pointer;
}

/* ---------- PHONE INPUT ---------- */
input {
  flex: 1;
  border: none;
  padding: 0 12px;
  font-size: 16px;
  outline: none;
}

input::placeholder {
  color: #999;
}

input.error::placeholder {
  color: #d32f2f;
}

/* ---------- BUTTON ---------- */
button {
  margin-top: 16px;
  width: 100%;
  height: 48px;

  background: #77715f;
  color: #ffffff;
  border: none;
  border-radius: 6px;

  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
}

/* ---------- SUCCESS STATE ---------- */
#content h1 {
  margin-top: 16px;
}
/* Content transition */
.content {
  transition: opacity 0.8s ease, transform 1s ease;
}

.content.hide {
  opacity: 0;
  
}

/* Final success message */
.success-message h1 {
  font-size: 21px;
  font-weight: 700;
  /* margin-top: 16px; */
}
