html {
  background: url('/assets/ui/registration/login-small.jpg') no-repeat top center fixed;
  -webkit-background-size: cover;
  -moz-background-size: cover;
  -o-background-size: cover;
  background-size: cover;
}

body {
  background-color: initial;
  font-family: 'rawline', sans-serif;
}

label {
  font-size: 14px;
  font-weight: 500;
  color: #666;
  display: block;
}

/* Registration header (inspired by v2/header.html) */
.reg-header {
  position: relative;
  z-index: 10;
  background: transparent;
}

.reg-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 80px;
  padding: 0 16px;
}

.reg-header-logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.reg-header-logo img {
  display: block;
  height: 40px;
  width: auto;
  max-height: 40px;
  object-fit: contain;
}

.reg-header-nav {
  display: flex;
  align-items: center;
  gap: 8px 24px;
}

.reg-header-nav>a,
.reg-header-dropdown>a {
  color: #000;
  text-decoration: none;
  text-transform: uppercase;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.02em;
  padding: 6px 8px;
  white-space: nowrap;
}

.reg-header-nav>a:hover,
.reg-header-dropdown>a:hover {
  background: #f0f0f0;
  color: #000;
}

.reg-header-dropdown {
  position: relative;
}

.reg-header-dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 140px;
  background: #fff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
  padding: 6px 0;
  z-index: 20;
}

.reg-header-dropdown:hover .reg-header-dropdown-menu,
.reg-header-dropdown:focus-within .reg-header-dropdown-menu {
  display: block;
}

.reg-header-dropdown-menu a {
  display: block;
  color: #000;
  text-decoration: none;
  font-size: 12px;
  padding: 8px 14px;
  white-space: nowrap;
}

.reg-header-dropdown-menu a:hover {
  background: #f0f0f0;
}

.reg-header-menu-btn {
  display: none;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
  color: #000;
  font-size: 28px;
  line-height: 1;
}

@media (max-width: 900px) {
  .reg-header-menu-btn {
    display: inline-flex;
  }

  .reg-header-nav {
    display: none;
    position: absolute;
    top: 80px;
    right: 16px;
    left: auto;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    min-width: 200px;
    background: #fff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
    padding: 8px 0;
  }

  .reg-header-nav.is-open {
    display: flex;
  }

  .reg-header-nav>a,
  .reg-header-dropdown>a {
    display: block;
    padding: 10px 14px;
  }

  .reg-header-dropdown-menu {
    position: static;
    display: none;
    box-shadow: none;
    padding-left: 12px;
  }

  .reg-header-dropdown.is-open .reg-header-dropdown-menu {
    display: block;
  }
}

.login_wrapp {
  margin-top: 40px;
  background: #fff;
  color: #000;
  width: 440px;
  /*min-height: 340px;*/
  padding: 30px;
  font-weight: 500;
  border-radius: 8px;
}

.login_wrapp h1 {
  text-transform: uppercase;
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 0;
  line-height: 20px;
}

.login_wrapp .password-reset-link,
.login_wrapp .account-create-link {
  font-size: 10px;
  font-weight: 500;
}

.login_wrapp .password-reset-link a {
  color: #959595;
}

.login_wrapp .account-create-link a {
  color: #000;
}

.login_wrapp .account-create-link {
  color: #959595;
}

.login_wrapp input[type="text"],
input[type="password"],
.login_wrapp input[type="email"] {
  font-weight: 400;
  width: 99%;
  background-color: initial;
  border: 1px solid #cdcece;
  height: 36px;
  border-radius: 3px;
  font-size: 14px;
  padding: 9px;
}

.login_wrapp .form-row {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-bottom: 10px;
}

.login_wrapp .password-field-wrap {
  position: relative;
  width: 99%;
}

.login_wrapp .password-field-wrap input[type="password"],
.login_wrapp .password-field-wrap input[type="text"] {
  width: 100%;
  padding-right: 62px;
}

.login_wrapp .password-toggle-btn {
  position: absolute;
  top: 50%;
  right: 4px;
  transform: translateY(-50%);
  border: 0;
  background: transparent;
  color: #666;
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
  padding: 4px;
}

.login_wrapp .password-toggle-btn:focus {
  outline: none;
}

.login_wrapp .account-create-link {
  margin-top: 15px;
  text-align: center;
}

.error_wrapp {
  background-color: #f15232;
  color: #fff;
  width: 99%;
}

.error_wrapp .errornote,
.error_wrapp .errorlist {
  padding: 7px;
  margin: 0;
}

.error_wrapp .errorlist li {
  list-style-type: none;
}

.login_wrapp .form_top {
  margin-bottom: 30px
}

.facebook_login-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #fff;
  flex-shrink: 0;
}

.facebook_login-icon img {
  width: 14px;
  height: 14px;
  margin: 0;
  display: block;
}

.facebook_login:hover {
  color: #fff;
}

#id_password1,
#id_password2 {
  width: 99%
}

.terms_and_cond {
  font-size: 12px
}

.terms_and_cond input {
  width: 5%
}

.terms_and_cond input {
  display: inline-block;
  vertical-align: top
}

.terms_and_cond a {
  color: #000;
  padding-left: 7px;
}

.inline_terms {
  height: 120px;
  overflow-y: scroll;
  margin-bottom: 12px;
  background: #eee;
  padding: 5px;
}

@media (max-width: 568px) {
  .login_wrapp {
    width: 95%;
    left: 10px;
    margin-left: auto;
  }

  .login_wrapp input[type="text"],
  input[type="password"],
  .login_wrapp input[type="email"] {
    font-size: 12px;
  }
}

.loader {
  display: none;
  width: 20px;
  height: 20px;
  border: 3px solid #fff;
  border-top: 3px solid #3498db;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

.submit-row {
  display: flex;
  align-items: center;
  gap: 10px;
}

.disabled {
  opacity: 0.6;
  pointer-events: none;
}