body {
  font-family: "Inter", system-ui, sans-serif;
  background-color: #f7f9f8;
  color: #222;
  margin: 0;
  padding: 0;
}


.header {
  background-color: #3d6c57;
  color: #fff;
  text-align: center;
  padding: 70px 20px 60px;
}

.header-inner {
  max-width: 760px;
  margin: 0 auto;
}

.header-top {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
}

.header h1 {
  font-weight: 700;
  font-size: 26px;
  margin: 0;
  letter-spacing: 0.4px;
}

.header .logo {
  height: 40px;
  opacity: 0.9;
  transform: translateY(2px);
}

.header .subtitle {
  font-size: 15px;
  font-weight: 400;
  margin-top: 20px;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.95);
}


.form-container {
  background-color: #fff;
  max-width: 700px;
  margin: 40px auto 100px;
  padding: 50px 55px;
  border-radius: 30px;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.06);
  border: none;
  position: relative;
  z-index: 2;
}

h2 {
  color: #2b265a;
  font-size: 18px;
  font-weight: 700;
  margin-top: 40px;
  margin-bottom: 18px;
  border-bottom: 2px solid #f1f8e8;
  padding-bottom: 6px;
}

label {
  font-weight: 600;
  color: #2e2e47;
  margin-top: 16px;
  display: block;
  font-size: 15px;
}

input,
select,
textarea {
  width: 100%;
  margin-top: 8px;
  padding: 13px 16px;
  border: 1.5px solid #e0e3e0;
  border-radius: 10px;
  font-size: 15px;
  background-color: #fafafa;
  transition: all 0.2s ease;
}

input:focus,
select:focus,
textarea:focus {
  outline: none;
  border-color: #3d6c57;
  background-color: #fff;
  box-shadow: 0 0 0 3px rgba(61, 108, 87, 0.12);
}

input::placeholder,
textarea::placeholder {
  color: #b1b3b1;
}

select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg width='12' height='8' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23333' stroke-width='2' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 18px center;
  background-size: 12px 8px;
  padding-right: 40px;
}


fieldset.terms {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-top: 30px;
}

fieldset.terms label {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  color: #1a1a1a;
  font-size: 15px;
  line-height: 1.5;
  font-weight: 400;
  cursor: pointer;
}

fieldset.terms input[type="checkbox"] {
  appearance: none;
  width: 18px;
  height: 18px;
  margin-top: 4px;
  border: 2px solid #3d6c57;
  border-radius: 4px;
  cursor: pointer;
  position: relative;
  background-color: #fff;
  transition: all 0.25s ease;
}

fieldset.terms input[type="checkbox"]:hover {
  border-color: #285141;
}

fieldset.terms input[type="checkbox"]:checked {
  background-color: #3d6c57;
  border-color: #3d6c57;
}

fieldset.terms input[type="checkbox"]:checked::after {
  content: "";
  position: absolute;
  left: 4px;
  top: 1px;
  width: 6px;
  height: 10px;
  border: solid #fff;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}


button#submitBtn {
  background-color: #3d6c57;
  color: white;
  border: none;
  font-size: 16px;
  font-weight: 600;
  padding: 14px 22px;
  border-radius: 40px;
  margin-top: 40px;
  cursor: pointer;
  width: 100%;
  transition: all 0.25s ease-in-out;
}

button#submitBtn:hover {
  background-color: #285141;
  transform: translateY(-1px);
  box-shadow: 0 6px 12px rgba(61, 108, 87, 0.25);
}


.snackbar {
  visibility: hidden;
  min-width: 280px;
  background-color: #3d6c57;
  color: #fff;
  text-align: center;
  border-radius: 6px;
  padding: 14px 20px;
  position: fixed;
  left: 50%;
  bottom: 40px;
  transform: translateX(-50%) translateY(20px);
  z-index: 1000;
  opacity: 0;
  transition: all 0.3s ease-in-out;
  font-size: 15px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.snackbar.show {
  visibility: visible;
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

.snackbar.error {
  background-color: #c62828;
}
