/* =========================================================
   USBF LOGIN
========================================================= */

.usbf-login {
  width: 100%;
  max-width: 420px;

  margin: 0 auto;

  padding: 34px 32px 32px;

  color: var(--app-text);
}

/* =========================================================
   ICON
========================================================= */

.usbf-login-icon {
  width: 48px;
  height: 48px;

  margin: 0 auto 16px;

  display: flex;
  align-items: center;
  justify-content: center;

  border-radius: 13px;

  background: #252b4e;
  color: #ffffff;
}

.usbf-login-icon i {
  font-size: 21px;
}

/* =========================================================
   TITLE
========================================================= */

.usbf-login-title {
  text-align: center;

  font-size: 19px;
  font-weight: 700;

  color: var(--app-text);
}

.usbf-login-subtitle {
  margin-top: 3px;

  text-align: center;

  font-size: 11px;

  color: var(--app-muted);
}

/* =========================================================
   FORM
========================================================= */

.usbf-login-form {
  margin-top: 28px;
}

/* =========================================================
   BOOTSTRAP FORM
========================================================= */

.usbf-login-form .form-label {
  margin-bottom: 6px;

  font-size: 12px;
  font-weight: 600;

  color: var(--app-text);
}

.usbf-login-form .form-control {
  height: 38px;

  border-radius: 7px;

  font-size: 13px;

  background: var(--app-surface);
  color: var(--app-text);
  border-color: var(--app-border);
}

.usbf-login-form .form-control:focus {
  border-color: #252b4e;

  box-shadow: 0 0 0 2px rgba(37, 43, 78, 0.12);
}

/* =========================================================
   PASSWORD BUTTON
========================================================= */

.usbf-login-form .input-group .btn {
  width: 42px;

  border-color: var(--app-border);

  color: var(--app-muted);

  background: var(--app-surface);
}

.usbf-login-form .input-group .btn:hover {
  color: var(--app-text);
}

/* =========================================================
   LOGIN BUTTON
========================================================= */

.usbf-login-button {
  width: 100%;

  height: 38px;

  margin-top: 8px;

  border: 1px solid #252b4e;

  border-radius: 7px;

  background: #252b4e;
  color: #ffffff;

  font-size: 13px;
  font-weight: 500;

  transition:
    background 0.15s ease,
    border-color 0.15s ease,
    transform 0.15s ease;
}

.usbf-login-button:hover {
  background: #1f2545;
  border-color: #1f2545;
  color: #ffffff;
}

.usbf-login-button:active {
  background: #191e3a;
  border-color: #191e3a;
  color: #ffffff;

  transform: translateY(1px);
}

.usbf-login-button:disabled {
  opacity: 0.7;

  cursor: not-allowed;
}

/* =========================================================
   VALIDATION
========================================================= */

.usbf-login-form .invalid-feedback {
  font-size: 11px;
  margin-top: 4px;
}

/* =========================================================
   DARK MODE
========================================================= */

html[data-theme="dark"] .usbf-login-form .form-control {
  background: var(--app-surface);
  color: var(--app-text);
}

html[data-theme="dark"] .usbf-login-form .input-group .btn {
  background: var(--app-surface);
  color: var(--app-muted);
}

/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 540px) {
  .usbf-login {
    padding: 28px 22px;
  }
}
