html,
body {
  min-height: 100%;
}

body.auth-page {
  background: #f6f8fb;
  color: #546070;
  font-family: "Roboto", Helvetica, Arial, sans-serif;
  min-height: 100vh;
}

.auth-page .misc-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  height: auto;
  width: 100%;
  box-sizing: border-box;
  background-color: #172033;
  background-image: url("../images/pattern.png");
  background-size: 360px auto;
  padding: 48px 0;
}

.auth-page .misc-content {
  display: block;
  width: 100%;
}

.auth-page .container {
  width: 100%;
  max-width: 100%;
  padding-left: 0;
  padding-right: 0;
}

.auth-page .row {
  margin-left: 0;
  margin-right: 0;
}

.auth-page [class*="col-"] {
  float: none;
}

.auth-page .auth-panel {
  float: none;
  width: min(430px, calc(100vw - 48px));
  max-width: 430px;
  margin-left: auto !important;
  margin-right: auto !important;
  padding-left: 15px;
  padding-right: 15px;
  box-sizing: border-box;
}

.auth-page .misc-header {
  background: transparent;
  padding: 0 0 22px;
  line-height: 0;
}

.auth-page .misc-header img {
  width: 132px;
  height: 44px;
}

.auth-page .misc-box {
  border: 1px solid rgba(23, 32, 51, 0.08);
  border-radius: 8px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.22);
  padding: 28px;
  width: 100%;
  max-width: 430px;
  margin-left: auto;
  margin-right: auto;
  box-sizing: border-box;
}

.auth-page .auth-title {
  margin: 0;
  color: #172033;
  font-size: 24px;
  font-weight: 700;
  line-height: 1.25;
}

.auth-page .auth-subtitle {
  margin: 8px 0 24px;
  color: #677486;
  font-size: 14px;
  line-height: 1.6;
}

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

.auth-page label {
  color: #172033;
  font-size: 13px;
  font-weight: 700;
}

.auth-page .form-control {
  height: 46px;
  color: #172033;
  border: 1px solid rgba(23, 32, 51, 0.14);
  border-radius: 8px;
  box-shadow: none;
}

.auth-page .form-control:focus {
  border-color: #0f8b8d;
  box-shadow: 0 0 0 3px rgba(15, 139, 141, 0.12);
}

.auth-page .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  line-height: 1.2;
  border-radius: 8px;
  font-weight: 700;
  text-transform: none;
}

.auth-page .btn-block {
  display: flex;
  width: 100%;
}

.auth-page .btn-primary {
  background: #0f8b8d;
  border-color: #0f8b8d;
  box-shadow: 0 12px 26px rgba(15, 139, 141, 0.22);
}

.auth-page .btn-primary:hover,
.auth-page .btn-primary:focus {
  background: #12a1a3;
  border-color: #12a1a3;
}

.auth-page .auth-secondary {
  display: block;
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid rgba(23, 32, 51, 0.08);
  color: #677486;
  text-align: center;
}

.auth-page .auth-link {
  color: #0f8b8d;
  font-weight: 700;
}

.recover-page .misc-box > .text-uppercase.pad-v {
  display: none;
}

.recover-page form .clearfix .btn {
  font-size: 0;
}

.recover-page form .clearfix .btn:after {
  content: "Enviar recuperação de senha";
  font-size: 13px;
}

.auth-page .auth-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 6px;
}

.auth-page .auth-actions .checkbox {
  margin: 0;
}

.auth-page .alert {
  border-radius: 8px;
}

.auth-page .misc-footer {
  color: rgba(255, 255, 255, 0.78);
  padding: 18px 15px 0;
}

@media (max-width: 767px) {
  .auth-page .misc-wrapper {
    align-items: flex-start;
    padding: 24px 0 32px;
  }

  .auth-page .auth-panel {
    width: calc(100vw - 90px);
    max-width: 300px;
    padding-left: 15px;
    padding-right: 15px;
  }

  .auth-page .misc-box {
    padding: 24px 20px;
    width: 100%;
    max-width: 300px;
    box-sizing: border-box;
  }

  .auth-page .auth-actions {
    display: block;
  }

  .auth-page .auth-actions .btn {
    width: 100%;
    margin-top: 16px;
  }
}
