/* EVPlug shared auth pages (login / register) */

body.ev-auth-body {
  background: #f1f1f1;
  font-family: "Roboto", "Helvetica Neue", Helvetica, Arial, sans-serif;
  color: #6a6c6f;
}

body.ev-auth-body #wrapper,
body.ev-auth-body #content,
body.ev-auth-body .container,
body.ev-auth-body .row {
  width: 100%;
  max-width: 100%;
  margin: 0;
  padding: 0;
}

body.ev-auth-body .header,
body.ev-auth-body .navbar {
  display: none !important;
}

body.ev-auth-body footer {
  display: none;
}

.ev-scene {
  position: fixed;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}

.ev-scene canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.ev-auth-page {
  position: relative;
  z-index: 10;
  min-height: 100vh;
  padding: 32px 16px 48px;
  display: flex;
  align-items: flex-start;
  justify-content: center;
}

.ev-auth-wrapper {
  width: 100%;
  max-width: 420px;
}

.ev-auth-wrapper--register {
  max-width: 920px;
}

.ev-auth-wrapper .company-logo {
  padding: 10px 10px 20px;
  display: block;
  text-align: center;
}

.ev-auth-wrapper .company-logo img {
  margin: 0 auto;
  display: block;
  max-height: 72px;
  width: auto;
}

.authentication-form {
  border-radius: 4px;
  border: 1px solid #e4e5e7;
  padding: 28px 24px 24px;
  background: #fff;
  box-shadow: 0 8px 32px rgba(15, 23, 42, 0.08);
}

.ev-auth-title {
  font-weight: 400;
  font-size: 22px;
  margin: 0 0 24px;
  text-transform: uppercase;
  text-align: center;
  color: #6a6c6f;
  letter-spacing: 0.06em;
}

.ev-auth-lang {
  margin-bottom: 18px;
}

.ev-auth-page label,
.ev-auth-page .control-label,
.ev-auth-page .s_label {
  font-weight: 400 !important;
  font-size: 13px;
  color: #6a6c6f;
  margin-bottom: 6px;
}

.ev-auth-page input[type="text"],
.ev-auth-page input[type="password"],
.ev-auth-page input[type="email"],
.ev-auth-page input[type="tel"],
.ev-auth-page input[type="number"],
.ev-auth-page textarea,
.ev-auth-page select.form-control,
.ev-auth-page .bootstrap-select > .dropdown-toggle {
  border: 1px solid #bfcbd9;
  box-shadow: none;
  color: #494949;
  font-size: 14px;
  line-height: 1;
  min-height: 40px;
  height: auto;
  border-radius: 4px;
  background: #fff;
}

.ev-auth-page input:focus,
.ev-auth-page textarea:focus,
.ev-auth-page select.form-control:focus,
.ev-auth-page .bootstrap-select > .dropdown-toggle:focus {
  border-color: #00C27A;
  box-shadow: none;
  outline: 0;
}

.ev-auth-page .form-group {
  margin-bottom: 16px;
}

.ev-auth-page .btn-ev-primary,
.ev-auth-page .ev-register__submit {
  width: 100%;
  min-height: 42px;
  border: 0;
  border-radius: 4px;
  background: #00C27A;
  color: #fff;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.02em;
  box-shadow: none;
  transition: background 0.15s ease;
}

.ev-auth-page .btn-ev-primary:hover,
.ev-auth-page .btn-ev-primary:focus,
.ev-auth-page .ev-register__submit:hover,
.ev-auth-page .ev-register__submit:focus {
  background: #00a868;
  color: #fff;
}

.ev-auth-page .input-group-btn .btn {
  min-height: 40px;
  border: 1px solid #bfcbd9;
  border-left: 0;
  background: #f8fafc;
  color: #494949;
  font-size: 12px;
  border-radius: 0 4px 4px 0;
}

.ev-auth-page .input-group .form-control {
  border-radius: 4px 0 0 4px;
}

.ev-auth-page .input-group-btn .btn:hover,
.ev-auth-page .input-group-btn .btn:focus {
  background: #eefbf1;
  border-color: #00C27A;
  color: #008f58;
}

.ev-auth-footer-link {
  margin: 18px 0 0;
  text-align: center;
  font-size: 13px;
  color: #6a6c6f;
}

.ev-auth-footer-link a {
  color: #1A3050;
  font-weight: 500;
}

.ev-auth-page .checkbox label {
  font-weight: 400;
  font-size: 13px;
}

@media (max-width: 768px) {
  .ev-auth-page {
    padding-top: 20px;
  }

  .authentication-form {
    padding: 22px 18px 18px;
  }
}
