* {
  box-sizing: border-box;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
}

body {
  margin: 0;
  min-height: 100vh;
  background:
    linear-gradient(
      135deg,
      #2f4f3e 0%,
      #4e6478 100%
    );
  display: flex;
  flex-direction: column;
  color: #2f4f3e;
}

/* HEADER */
.auth-header {
  background: #2f4f3e;
  color: #fff;
  padding: 18px 28px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.auth-header .logo {
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: 0.5px;
}

.auth-header a {
  color: #fff;
  text-decoration: none;
  margin-left: 16px;
  font-weight: 600;
}

/* CENTER WRAPPER */
.auth-wrapper {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 30px 16px;
}

/* CARD */
.auth-box {
  width: 100%;
  max-width: 460px;
  background: #fff;
  border-radius: 18px;
  padding: 30px 28px 34px;
  box-shadow:
    0 15px 40px rgba(0,0,0,0.18);
}

.auth-box h1 {
  margin: 0 0 6px;
  font-size: 1.9rem;
  text-align: center;
}

.auth-sub {
  text-align: center;
  margin-bottom: 22px;
  opacity: 0.85;
}

/* SECTIONS */
.form-section {
  margin-top: 22px;
}

.form-section h2 {
  font-size: 1.1rem;
  margin-bottom: 10px;
  color: #4e6478;
  border-bottom: 2px solid #d6d2c4;
  padding-bottom: 4px;
}

/* FORM */
label {
  display: block;
  margin-top: 14px;
  font-weight: 600;
}

input,
textarea {
  width: 100%;
  padding: 14px 14px;
  margin-top: 6px;
  font-size: 1rem;
  border-radius: 10px;
  border: 1px solid #cfcfcf;
}

textarea {
  min-height: 110px;
  resize: vertical;
}

input:focus,
textarea:focus {
  outline: none;
  border-color: #4e6478;
}

/* CHECKBOXES */
.check {
  margin-top: 14px;
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 0.95rem;
}

/* ERRORS */
.error {
  background: #f2b3b3;
  color: #3b0000;
  padding: 12px;
  border-radius: 10px;
  margin-bottom: 16px;
  font-weight: 600;
}

/* BUTTONS */
.btn {
  display: block;
  width: 100%;
  padding: 16px;
  margin-top: 26px;
  border-radius: 12px;
  font-size: 1.05rem;
  font-weight: 800;
  border: none;
  cursor: pointer;
}

.btn.primary {
  background: #c9a44c;
  color: #000;
}

.btn.primary:hover {
  filter: brightness(0.95);
}

/* LINKS */
.auth-links {
  text-align: center;
  margin-top: 18px;
}

.auth-links a {
  color: #4e6478;
  text-decoration: none;
  font-weight: 700;
}

.auth-links a:hover {
  text-decoration: underline;
}

/* FOOTER */
.auth-footer {
  text-align: center;
  padding: 16px;
  color: #fff;
  opacity: 0.9;
  font-size: 0.9rem;
}
