/* =========================================================
   MITCHPATH RIDER APPLICATION - MATCHED GLASS STYLE
========================================================= */

.form-step {
  display: none;
}

.form-step.active {
  display: block;
}

/* FADED BACKGROUND */
body.rider-page {
  margin: 0;
  padding: 0;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  color: #2f2622;
  background-color: #ffffff;
  position: relative;
  overflow-x: hidden;
}

body.rider-page::before {
  content: "";
  position: fixed;
  inset: 0;
  background: url("../assets/mitchpathlogo.png") no-repeat center center;
  background-size: 65%;
  opacity: 0.07;
  z-index: -1;
}

/* CENTER APPLICATION */
.form-card {
  width: 90%;
  max-width: 950px;
  margin: 55px auto 0;
  padding: 0;
  background: transparent;
  border: none;
  box-shadow: none;
}

/* FORM FIELDS NOT STRETCHED */
.form-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
}

.field {
  width: calc(50% - 11px);
}

.field.full {
  width: 100%;
}

input,
select,
textarea {
  width: 100%;
  max-width: 100%;
  padding: 12px;
  border-radius: 10px;
  border: 1px solid rgba(92, 64, 51, 0.28);
  background: rgba(255, 255, 255, 0.75);
  box-sizing: border-box;
}

/* BUTTONS FIX */
.button-card {
  width: 90%;
  max-width: 950px;
  margin: 28px auto 0;
  padding-bottom: 45px;
  display: flex;
  align-items: center;
}

#backBtn {
  margin-right: auto;
  visibility: hidden;
}

#backBtn.show-back {
  visibility: visible;
}

.button-right {
  margin-left: auto;
  display: flex;
  gap: 14px;
}

.form-btn {
  width: 170px;
  height: 54px;
  border-radius: 18px;
  border: 1px solid rgba(92, 64, 51, 0.28);
  background: rgba(255, 255, 255, 0.65);
  color: #3d2b22;
  font-weight: 700;
  cursor: pointer;
}

/* HEADER */
.site-header {
  width: 100%;
  padding: 18px 0;
}

.header-wrap {
  width: 90%;
  max-width: 1200px;
  margin: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand-block h1,
.brand-text h1,
.header-wrap h1 {
  margin: 0;
  font-size: 22px;
  font-weight: 800;
}

.brand-block p,
.brand-text p,
.header-wrap p {
  margin: 3px 0 0;
  font-size: 13px;
}

.site-nav,
.main-nav ul,
.header-wrap nav {
  display: flex;
  gap: 24px;
  list-style: none;
}

.site-nav a,
.main-nav a,
.header-wrap nav a {
  color: #2f2622;
  text-decoration: none;
  font-weight: 700;
  font-size: 14px;
}

/* MAIN */
main {
  width: 100%;
  min-height: calc(100vh - 140px);
  padding: 35px 0 20px;
}

.form-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: center;
}

.field {
  width: calc(50% - 12px);
}

.field.full {
  width: 100%;
}

/* LEARN MORE BACK + APPLY BUTTONS */
.form-navigation {
  width: 380px;
  margin: 35px auto 0;
  padding: 12px;
  border-radius: 22px;
  background: rgba(255,255,255,0.35);
  border: 1px solid rgba(92,64,51,0.12);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.back-btn,
.apply-btn {
  width: 170px;
  height: 54px;
  border-radius: 18px;
  border: 1px solid rgba(92,64,51,0.28);
  background: rgba(255,255,255,0.65);
  color: #3d2b22;
  font-size: 16px;
  font-weight: 700;
  text-decoration: none;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

/* FIELDS */
.field label {
  display: block;
  margin-bottom: 6px;
  font-weight: 600;
}

input,
select,
textarea {
  width: 100%;
  padding: 12px;
  border-radius: 10px;
  border: 1px solid rgba(88, 50, 120, 0.3);
  font-size: 15px;
  box-sizing: border-box;
  background: rgba(255, 255, 255, 0.85);
}

textarea {
  resize: vertical;
  min-height: 100px;
}

/* CHECKBOXES */
.checkbox-line {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  line-height: 1.5;
  margin-bottom: 14px;
}

.checkbox-line input[type="checkbox"] {
  width: auto;
  margin-top: 5px;
  flex: 0 0 auto;
  cursor: pointer;
}

/* RIDER APPLICATION BUTTONS */
.button-card {
  width: 90%;
  max-width: 1200px;
  margin: 25px auto 0;
  padding: 22px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.button-card {
  width: 90%;
  max-width: 1100px;
  margin: 20px auto 0;
  padding-bottom: 40px;

  display: flex;
  align-items: center;
}

#backBtn {
  margin-right: auto;
}

.button-right {
  margin-left: auto;
  display: flex;
  gap: 16px;
}

#submitBtn {
  display: none;
}