@import url("https://fonts.googleapis.com/css2?family=Raleway:ital,wght@0,100..900;1,100..900&display=swap");

:root {
  --gold-color: #b08f26;
}

body {
  font-family: "Raleway", sans-serif;
}

.container {
  display: flex;
  flex-direction: column;
  justify-content: center;
  width: 30%;
  margin: 20px auto;

  @media screen and (max-width: 1200px) {
    width: 100%;
  }
}

.header {
  text-align: center;
  font-size: 30px;
  font-weight: 600;
}

.header,
form {
  margin: 20px 0;
  color: var(--gold-color);
}

form.hide {
  display: none;
}

input,
textarea {
  width: 100%;
  border-color: #c5c5c5;
  margin-bottom: 20px;
  font-size: 16px;
}

input {
  padding: 10px 0 5px;
  border: 0px;
  border-bottom: 1px #c5c5c5 solid;
}

input,
textarea {
  outline: none;
  box-shadow: none;
  background: none;
}

.g-recaptcha {
  display: flex;
  justify-content: center;
}

.button-container {
  display: flex;
}

textarea {
  /* border: 0px; */
}

button.animated-button {
  padding: 15px 35px;
  margin: 10px auto;
  font-size: 18px;
  text-transform: uppercase;
  letter-spacing: 4px;

  &:hover {
    cursor: pointer;
  }

  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 30px;
  font-size: 16px;
  font-weight: bold;
  color: var(--gold-color);
  background: #fff; /* base color */
  border: 2px solid;
  cursor: pointer;
  overflow: hidden;
  transition: color 0.3s ease; /* for text color change if needed */
}

/* Sliding background using ::before */
button.animated-button::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background-color: var(--gold-color); /* new sliding color */
  transition: left 0.4s ease;
  z-index: 0;
}

button.animated-button:hover::before {
  left: 0;
}

button.animated-button .button-content {
  position: relative; /* above pseudo-element */
  display: inline-flex;
  align-items: center;
  gap: 8px;
  z-index: 1;
  transition: transform 0.3s ease;
}

/* Slide text + icon */
button.animated-button:hover .button-content {
  color: #fff;
}

/* Optional: icon transition */
button.animated-button .icon {
  transition: transform 0.3s ease;
}

.receipt {
  border: 1px solid var(--gold-color);
  color: var(--gold-color);
  padding: 10px;
  display: none;

  &.show {
    display: block;
  }
}

.big-bold {
  font-weight: 600;
  font-size: 20px;
}

.small {
  font-size: 12px;
}
