.bb-auth-body {
  margin: 0;
  background: #f6f3ec;
  color: #1c1c1c;
  font-family: "Segoe UI", Roboto, Arial, sans-serif;
}

.bb-auth {
  min-height: 100vh;
  display: grid;
  grid-template-columns: minmax(260px, 42%) 1fr;
}

.bb-auth-visual {
  position: relative;
  min-height: 100vh;
  background:
    linear-gradient(180deg, rgba(28, 28, 28, 0.2), rgba(28, 28, 28, 0.72)),
    url("../../assets/images/bg/team_bg.jpg?v=7") center / cover no-repeat;
  color: #fff;
  display: flex;
  align-items: flex-end;
  padding: 48px 40px;
}

.bb-auth-visual-register {
  background:
    linear-gradient(165deg, rgba(28, 28, 28, 0.5), rgba(176, 142, 43, 0.28)),
    url("../../assets/images/about/ab-image1.jpg?v=3") center / cover no-repeat;
}

.bb-auth-visual h1 {
  margin: 8px 0 0;
  font-size: 40px;
  line-height: 1.15;
  color: #fff;
  max-width: 420px;
}

.bb-auth-kicker {
  display: inline-block;
  margin: 0;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-size: 13px;
  color: #f3e2b0;
}

.bb-auth-panel {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 36px 20px;
}

.bb-auth-card {
  width: 100%;
  max-width: 440px;
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 18px 50px rgba(28, 28, 28, 0.08);
  padding: 36px 32px 28px;
}

.bb-auth-card-wide {
  max-width: 920px;
}

.bb-auth-logo {
  display: block;
  text-align: center;
  margin-bottom: 18px;
}

.bb-auth-logo img {
  width: min(180px, 70%);
  height: auto;
}

.bb-auth-card h2,
.bb-auth-card .signin-title-primary {
  margin: 0 0 6px;
  text-align: center;
  font-size: 28px;
  font-weight: 700;
  color: #1c1c1c;
}

.bb-auth-lead {
  margin: 0 0 22px;
  text-align: center;
  color: #6a6c71;
}

.bb-auth-card .form-group {
  margin-bottom: 16px;
}

.bb-auth-card label,
.bb-auth-card .control-label {
  display: block;
  margin-bottom: 6px;
  font-size: 14px;
  font-weight: 600;
  color: #3a3a3a;
}

.bb-auth-card .form-control,
.bb-auth-card select.form-control {
  width: 100%;
  height: 48px;
  border: 1px solid #e6e1d6;
  border-radius: 12px;
  background: #fbfaf7;
  box-shadow: none;
  padding: 10px 14px;
  font-size: 15px;
  color: #1c1c1c;
}

.bb-auth-card textarea.form-control {
  height: auto;
}

.bb-auth-card .form-control:focus,
.bb-auth-card select.form-control:focus {
  border-color: #b08e2b;
  outline: none;
  box-shadow: 0 0 0 3px rgba(176, 142, 43, 0.18);
  background: #fff;
}

.bb-auth-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: 4px 0 18px;
}

.bb-auth-link {
  color: #8a6d1f;
  font-weight: 600;
  text-decoration: none;
}

.bb-auth-link:hover {
  color: #1c1c1c;
}

.bb-auth-btn,
.bb-auth-card button[type="submit"],
#reg__sec button[type="submit"] {
  width: 100%;
  min-height: 48px;
  border: 0;
  border-radius: 12px;
  background: #b08e2b;
  color: #1c1c1c;
  font-weight: 700;
  letter-spacing: 0.04em;
  cursor: pointer;
}

.bb-auth-btn:hover,
.bb-auth-card button[type="submit"]:hover,
#reg__sec button[type="submit"]:hover {
  background: #9b7b22;
  color: #fff;
}

.bb-auth-switch {
  margin: 18px 0 0;
  text-align: center;
  color: #6a6c71;
}

.bb-auth-foot {
  margin: 22px 0 0;
  text-align: center;
  color: #8a8a8a;
  font-size: 13px;
}

#recoverform {
  display: none;
}

.bb-auth-card .alert {
  border-radius: 12px;
  background: #fff6e8;
  border: 1px solid #e6d3a1;
  color: #1c1c1c;
  padding: 12px 14px;
  margin-bottom: 16px;
}

body.bb-auth-body .signin-wrapper {
  min-height: 0;
  width: 100%;
  display: block;
  padding: 0;
  background: transparent;
}

body.bb-auth-body #reg__sec .section-wrapper {
  width: 100%;
  max-width: 920px;
  margin: 0 auto;
  border: 0;
  border-radius: 20px;
  box-shadow: 0 18px 50px rgba(28, 28, 28, 0.08);
  background: #fff;
}

#reg__sec .text-danger {
  color: #b42318;
}

.bb-auth-register {
  align-items: start;
}

.bb-auth-register .bb-auth-visual {
  position: sticky;
  top: 0;
  height: 100vh;
}

.bb-auth-register .bb-auth-panel {
  align-items: flex-start;
  padding: 32px 28px 48px;
}

.bb-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px 18px;
}

.bb-span-2 {
  grid-column: 1 / -1;
}

.bb-auth-card input[readonly] {
  background: #f3f0e8;
  color: #6a6c71;
}

.bb-check {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 4px 0 0;
  color: #3a3a3a;
  font-size: 14px;
  font-weight: 500;
}

.bb-check input {
  width: 18px;
  height: 18px;
  margin-top: 2px;
  accent-color: #b08e2b;
}

.bb-auth-register .bb-auth-card button[type="submit"] {
  max-width: 280px;
  display: block;
  margin: 8px auto 0;
}

@media (max-width: 900px) {
  .bb-auth {
    grid-template-columns: 1fr;
  }

  .bb-auth-register .bb-auth-visual {
    position: relative;
    height: auto;
  }

  .bb-form-grid {
    grid-template-columns: 1fr;
  }

  .bb-auth-visual,
  .bb-auth-visual-register {
    min-height: 190px;
    padding: 24px 20px;
  }

  .bb-auth-visual h1 {
    font-size: 28px;
  }

  .bb-auth-panel {
    align-items: flex-start;
    padding: 20px 14px 32px;
  }

  .bb-auth-card {
    padding: 24px 18px 20px;
  }

  #reg__sec .col-md-6,
  #reg__sec .col-md-12 {
    width: 100%;
    float: none;
  }
}
