/* ==========================================================================
   Authentication page - premium redesign (The Fly Factory)
   Brand: #df1f26 red · scoped to body#authentication
   ========================================================================== */

body#authentication #center_column,
body#authentication .container {
  padding-top: 6px;
}

body#authentication .page-heading {
  margin: 0 0 22px;
  padding: 30px 32px;
  border-radius: 18px 18px 0 0;
  background:
    radial-gradient(120% 140% at 88% -10%, rgba(223, 31, 38, .28) 0%, rgba(223, 31, 38, 0) 55%),
    linear-gradient(135deg, #1a0a0c 0%, #4a1014 42%, #df1f26 100%);
  color: #fff;
  font-size: 30px;
  line-height: 1.2;
  letter-spacing: -.02em;
  font-weight: 700;
  box-shadow: 0 18px 40px rgba(223, 31, 38, .22);
  position: relative;
  z-index: 1;
}

body#authentication .page-heading::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 4px;
  background: linear-gradient(90deg, #df1f26, #ff6b6f);
}

body#authentication .box {
  border: 1.5px solid #e6e6e6 !important;
  border-radius: 20px !important;
  background: linear-gradient(180deg, #ffffff, #fcfcfc) !important;
  box-shadow: 0 1px 2px rgba(16, 24, 40, .05), 0 30px 64px -36px rgba(15, 23, 42, .32) !important;
  padding: 30px 32px 26px !important;
  margin: 0 0 20px !important;
  position: relative;
  overflow: hidden;
}

body#authentication .box::before {
  content: "";
  position: absolute;
  left: 0; right: 0; top: 0;
  height: 4px;
  background: linear-gradient(90deg, #df1f26, #ff6b6f 55%, #fce4e5);
}

body#authentication .page-subheading {
  font-size: 14px !important;
  font-weight: 900 !important;
  letter-spacing: .16em !important;
  text-transform: uppercase !important;
  color: #1a0a0c !important;
  margin: 0 0 22px !important;
  padding: 0 0 12px !important;
  position: relative;
  border-bottom: 0 !important;
}

body#authentication .page-subheading::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 52px; height: 4px;
  border-radius: 4px;
  background: linear-gradient(90deg, #df1f26, #ff6b6f);
}

body#authentication .form_content p {
  font-size: 14px;
  color: #5b667a;
  margin: 0 0 16px;
  line-height: 1.6;
}

body#authentication .form-group {
  margin-bottom: 18px !important;
}

body#authentication label {
  display: block !important;
  font-size: 12px !important;
  font-weight: 800 !important;
  letter-spacing: .08em !important;
  text-transform: uppercase !important;
  color: #243247 !important;
  margin: 0 0 7px !important;
}

body#authentication .form-control,
body#authentication input.form-control,
body#authentication select.form-control,
body#authentication textarea.form-control {
  display: block;
  width: 100% !important;
  height: 48px !important;
  padding: 11px 14px !important;
  font-size: 14.5px !important;
  line-height: 22px !important;
  font-weight: 600 !important;
  color: #1a0a0c !important;
  background: #fff !important;
  border: 2px solid #d5dded !important;
  border-radius: 12px !important;
  box-shadow: inset 0 1px 2px rgba(16, 24, 40, .05) !important;
  transition: border-color .2s ease, box-shadow .2s ease !important;
}

body#authentication .form-control:hover {
  border-color: #b0b8c8 !important;
}

body#authentication .form-control:focus {
  border-color: #df1f26 !important;
  outline: 0 !important;
  box-shadow: 0 0 0 4px rgba(223, 31, 38, .16), inset 0 1px 2px rgba(16, 24, 40, .05) !important;
}

body#authentication .btn,
body#authentication button.button-medium,
body#authentication .button-medium {
  display: inline-flex !important;
  align-items: center;
  gap: 6px;
  padding: 11px 22px !important;
  border: 0 !important;
  border-radius: 999px !important;
  background: #df1f26 !important;
  color: #fff !important;
  font-size: 12px !important;
  font-weight: 700 !important;
  letter-spacing: .07em !important;
  text-transform: uppercase !important;
  cursor: pointer;
  transition: background .18s ease, transform .18s ease;
}

body#authentication .btn:hover,
body#authentication button.button-medium:hover {
  background: #b8161c !important;
  transform: translateY(-1px);
}

body#authentication .button-exclusive {
  background: #1a0a0c !important;
}

body#authentication .lost_password a {
  color: #df1f26;
  font-size: 12.5px;
  font-weight: 600;
  text-decoration: none;
}

body#authentication .lost_password a:hover {
  text-decoration: underline;
  color: #b8161c;
}

body#authentication .alert {
  padding: 14px 18px;
  border-radius: 12px;
  font-weight: 500;
}

body#authentication .alert-danger {
  background: #fdecea;
  border: 1px solid #f5c2c0;
  color: #b42318;
}

@media (max-width: 767px) {
  body#authentication .page-heading {
    padding: 24px 20px;
    font-size: 24px;
  }
  body#authentication .box {
    padding: 22px 18px !important;
  }
}

/* text in front */
body#authentication .page-heading { position: relative; z-index: 1; }

/* Uniform select wrappers in the address section must match the text inputs */
body#authentication #account-creation_form .form-group > div.selector {
  width: 270px !important;
  max-width: 100%;
  height: 48px !important;
  padding: 0 14px !important;
  border: 2px solid #d5dded;
  border-radius: 12px;
  background: #fff !important;
  background-image: none !important;
  box-sizing: border-box;
  position: relative;
  overflow: hidden;
}
body#authentication #account-creation_form .form-group > div.selector > span {
  display: block !important;
  float: none !important;
  width: 100% !important;
  height: 44px !important;
  line-height: 44px !important;
  margin: 0 !important;
  padding: 0 24px 0 0 !important;
  font-size: 14.5px !important;
  color: #0b1220 !important;
  background: none !important;
  text-overflow: ellipsis;
  overflow: hidden;
  white-space: nowrap;
}
body#authentication #account-creation_form .form-group > div.selector > select {
  top: 0 !important;
  left: 0 !important;
  width: 100% !important;
  height: 48px !important;
}
body#authentication #account-creation_form .form-group > div.selector::after {
  content: "";
  position: absolute;
  right: 17px;
  top: 50%;
  width: 8px;
  height: 8px;
  border-right: 2px solid #8b95a7;
  border-bottom: 2px solid #8b95a7;
  transform: translateY(-70%) rotate(45deg);
  pointer-events: none;
}
@media (max-width: 767px) {
  body#authentication #account-creation_form .form-group > div.selector {
    width: 100% !important;
  }
}
@media (max-width: 767px) {
  body#authentication #account-creation_form .form-group > div.selector {
    width: 270px !important;
    max-width: 100%;
  }
}
