/* =========================================================
   LOGIN - KumbuSolutions
   Ajuste por cima do main.css

   Desktop:
   - Header + imagem + login + footer

   Tablet/Mobile:
   - Sem header
   - Sem footer
   - Sem imagem
   - Login sozinho, centralizado e com espaço
   ========================================================= */


/* =========================
   Página
   ========================= */

html,
body {
  width: 100%;
  min-height: 100%;
  overflow-x: hidden;
}

body {
  background: #ffffff;
}


/* =========================
   Wrapper principal
   ========================= */

.main-wrapper2 {
  width: 100%;
  min-height: 100vh;
  background: #ffffff;
  display: flex;
  flex-direction: column;
}


/* =========================
   Header desktop
   ========================= */

.header {
  width: 100%;
  height: 92px;
  min-height: 92px;
  background: #000000;
  display: flex;
  align-items: center;
  padding: 0;
}

.header .container-fluid {
  width: 100%;
}

.header .row {
  width: 100%;
  margin: 0;
  align-items: center;
}

.logo-image {
  width: 280px;
  max-width: 100%;
  height: auto;
  display: block;
}


/* =========================
   Área central desktop
   ========================= */

.signin-section {
  width: 100%;
  flex: 1;
  display: flex;
  background: #ffffff;
}

.signin-section > .container-fluid {
  width: 100%;
  padding-left: 0;
  padding-right: 0;
}

.auth-row {
  width: 100%;
  min-height: calc(100vh - 152px);
  margin: 0;
  display: flex;
  align-items: stretch;
}


/* =========================
   Lado esquerdo desktop
   ========================= */

.auth-cover-wrapper {
  width: 100%;
  min-height: calc(100vh - 152px);
  height: auto;
  margin: 0;
  padding: 24px 20px;
  display: flex !important;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.auth-cover {
  width: 100%;
  max-width: 720px;
  height: auto;
  min-height: 0 !important;
  padding: 0 !important;
  margin: 0 auto;
  position: relative;

  display: flex !important;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.auth-cover .title {
  width: 100%;
  margin: 0 0 22px 0;
  padding: 0;
  text-align: center;
  position: relative;
  z-index: 3;
}

.auth-cover .title h1 {
  font-size: 34px;
  line-height: 1.15;
  margin: 0 0 10px 0;
}

.auth-cover .title p {
  max-width: 570px;
  margin: 0 auto;
  font-size: 15px;
  line-height: 1.4;
}

.cover-image {
  width: 100%;
  margin: 0;
  position: relative;
  z-index: 3;

  display: flex !important;
  align-items: center;
  justify-content: center;
}

.cover-image img {
  display: block !important;
  width: auto !important;
  max-width: 82% !important;
  max-height: min(430px, calc(100vh - 285px));
  height: auto !important;
  object-fit: contain;
}

.shape-image {
  display: block !important;
  position: absolute;
  right: 0;
  bottom: 0;
  z-index: 1;
  pointer-events: none;
}

.shape-image img {
  display: block !important;
  max-width: 100%;
  height: auto;
}


/* =========================
   Lado direito desktop
   ========================= */

.signin-wrapper {
  width: 100%;
  min-height: calc(100vh - 152px);
  height: auto;
  margin: 0 !important;
  padding: 24px 24px !important;

  display: flex !important;
  align-items: center;
  justify-content: center;
}

.form-wrapper {
  width: 100%;
  max-width: 520px;
  padding: 0 !important;
  margin: 0 auto;
}

.form-wrapper h6 {
  margin-bottom: 14px;
}

.form-wrapper p {
  margin-bottom: 22px;
  line-height: 1.45;
}

.input-style-1 {
  margin-bottom: 20px;
}

.input-style-1 label {
  margin-bottom: 8px;
}

.input-style-1 input {
  height: 54px;
}

.button-group .main-btn {
  width: 100%;
  min-height: 54px;
}


/* =========================
   Footer desktop
   ========================= */

.footer2 {
  width: 100%;
  height: 60px;
  min-height: 60px;
  background: #000000;
  padding: 0;
  display: flex;
  align-items: center;
}

.footer2 .container-fluid {
  width: 100%;
}

.footer2 .row {
  width: 100%;
  margin: 0;
  align-items: center;
}

.footer2 .copyright,
.footer2 .terms {
  min-height: 30px;
  display: flex;
  align-items: center;
}

.footer2 .copyright {
  justify-content: flex-start;
}

.footer2 .terms {
  justify-content: flex-end;
}

.footer2 .copyright p,
.footer2 .terms a {
  color: #DFE5EF;
  margin: 0;
  padding: 0;
  font-size: 13px;
  line-height: 1.35;
  text-decoration: none;
}

.footer2 .terms a:hover {
  color: #ffffff;
}


/* =========================
   Desktop médio
   ========================= */

@media (max-width: 1199.98px) {
  .header {
    height: 82px;
    min-height: 82px;
  }

  .footer2 {
    height: 56px;
    min-height: 56px;
  }

  .auth-row,
  .auth-cover-wrapper,
  .signin-wrapper {
    min-height: calc(100vh - 138px);
  }

  .auth-cover .title {
    margin-bottom: 16px;
  }

  .auth-cover .title h1 {
    font-size: 30px;
  }

  .cover-image img {
    max-height: min(360px, calc(100vh - 250px));
  }

  .input-style-1 {
    margin-bottom: 16px;
  }

  .input-style-1 input {
    height: 50px;
  }

  .button-group .main-btn {
    min-height: 50px;
  }
}


/* =========================
   Desktop com pouca altura
   ========================= */

@media (min-width: 992px) and (max-height: 760px) {
  .header {
    height: 74px;
    min-height: 74px;
  }

  .footer2 {
    height: 50px;
    min-height: 50px;
  }

  .auth-row,
  .auth-cover-wrapper,
  .signin-wrapper {
    min-height: calc(100vh - 124px);
  }

  .auth-cover-wrapper,
  .signin-wrapper {
    padding-top: 14px !important;
    padding-bottom: 14px !important;
  }

  .auth-cover .title {
    margin-bottom: 12px;
  }

  .auth-cover .title h1 {
    font-size: 28px;
    margin-bottom: 6px;
  }

  .auth-cover .title p {
    font-size: 13px;
    line-height: 1.3;
  }

  .cover-image img {
    max-height: min(320px, calc(100vh - 225px));
  }

  .form-wrapper p {
    margin-bottom: 16px;
  }

  .input-style-1 {
    margin-bottom: 14px;
  }

  .input-style-1 input {
    height: 48px;
  }

  .button-group .main-btn {
    min-height: 48px;
  }

  .footer2 .copyright p,
  .footer2 .terms a {
    font-size: 12px;
  }
}


/* =========================
   Tablet e mobile
   Sem header, sem footer, sem imagem
   ========================= */

@media (max-width: 991.98px) {
  .header,
  .footer2,
  .auth-row > .col-lg-6:first-child,
  .auth-cover-wrapper,
  .auth-cover,
  .cover-image,
  .shape-image {
    display: none !important;
  }

  .main-wrapper2 {
    min-height: 100vh;
    display: flex;
    background: #ffffff;
  }

  .signin-section {
    min-height: 100vh;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 48px 24px;
    background: #ffffff;
  }

  .signin-section > .container-fluid {
    width: 100%;
    max-width: 720px;
    padding: 0;
    margin: 0 auto;
  }

  .auth-row {
    width: 100%;
    min-height: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0;
  }

  .auth-row > .col-lg-6:last-child {
    width: 100%;
    max-width: 100%;
    flex: 0 0 100%;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .signin-wrapper {
    width: 100%;
    min-height: auto;
    padding: 0 !important;
    margin: 0 !important;
    display: flex !important;
    align-items: center;
    justify-content: center;
  }

  .form-wrapper {
    width: 100%;
    max-width: 540px;
    padding: 48px 40px !important;
    margin: 0 auto;
    background: #ffffff;
  }

  .form-wrapper h6 {
    font-size: 22px;
    line-height: 1.25;
    margin-bottom: 14px;
  }

  .form-wrapper p {
    font-size: 15px;
    line-height: 1.55;
    margin-bottom: 32px;
  }

  .input-style-1 {
    margin-bottom: 24px;
  }

  .input-style-1 label {
    font-size: 14px;
    margin-bottom: 10px;
  }

  .input-style-1 input {
    width: 100%;
    height: 54px;
    font-size: 15px;
    padding: 14px 16px;
  }

  .button-group .main-btn {
    width: 100%;
    min-height: 54px;
    font-size: 15px;
  }
}


/* =========================
   Telemóvel
   ========================= */

@media (max-width: 767.98px) {
  .signin-section {
    min-height: 100vh;
    padding: 42px 22px;
  }

  .signin-section > .container-fluid {
    max-width: 560px;
  }

  .form-wrapper {
    max-width: 100%;
    padding: 40px 26px !important;
  }

  .form-wrapper h6 {
    font-size: 21px;
    margin-bottom: 14px;
  }

  .form-wrapper p {
    font-size: 14px;
    line-height: 1.55;
    margin-bottom: 30px;
  }

  .input-style-1 {
    margin-bottom: 22px;
  }

  .input-style-1 label {
    font-size: 14px;
    margin-bottom: 9px;
  }

  .input-style-1 input {
    height: 52px;
    font-size: 14px;
    padding: 13px 15px;
  }

  .button-group .main-btn {
    min-height: 52px;
    font-size: 14px;
  }
}


/* =========================
   Telemóvel pequeno
   ========================= */

@media (max-width: 575.98px) {
  .signin-section {
    padding: 34px 18px;
  }

  .form-wrapper {
    padding: 34px 10px !important;
  }

  .form-wrapper h6 {
    font-size: 20px;
    margin-bottom: 12px;
  }

  .form-wrapper p {
    font-size: 13px;
    line-height: 1.5;
    margin-bottom: 28px;
  }

  .input-style-1 {
    margin-bottom: 20px;
  }

  .input-style-1 label {
    font-size: 13px;
    margin-bottom: 8px;
  }

  .input-style-1 input {
    height: 50px;
    font-size: 13px;
    padding: 12px 14px;
  }

  .button-group .main-btn {
    min-height: 50px;
    font-size: 13px;
  }
}


/* =========================
   Telemóvel muito pequeno / baixo
   ========================= */

@media (max-width: 380px), (max-height: 620px) {
  .signin-section {
    align-items: flex-start;
    padding: 28px 16px;
  }

  .form-wrapper {
    padding: 26px 4px !important;
  }

  .form-wrapper h6 {
    font-size: 19px;
    margin-bottom: 10px;
  }

  .form-wrapper p {
    font-size: 12.5px;
    line-height: 1.45;
    margin-bottom: 22px;
  }

  .input-style-1 {
    margin-bottom: 17px;
  }

  .input-style-1 label {
    font-size: 12.5px;
    margin-bottom: 7px;
  }

  .input-style-1 input {
    height: 46px;
    font-size: 13px;
  }

  .button-group .main-btn {
    min-height: 46px;
  }
}