/*==================================================================
  LOGIN PAGE CSS  (extraído de style.css)
  ------------------------------------------------------------------
  Contém APENAS as regras usadas pela tela de login
  (resources/views/site/login/login.blade.php).

  DEPENDÊNCIAS que este arquivo NÃO cobre (precisa ter no outro projeto):
   1. Bootstrap 4 CSS  -> grid (.container-fluid/.row/.col-*), .form-group,
      .input-group, .form-control (base), .btn / .btn-block, .alert*,
      utilitários (.d-none, .d-lg-block, .text-white, .text-center,
      .position-absolute/relative, .px-*, .my-*, .mb-*, .mt-*, .pb-1 ...).
   2. Fontes Google "Montserrat" e "Open Sans". Carregue no <head>:
      <link href="https://fonts.googleapis.com/css?family=Montserrat:400,500,600,700%7COpen+Sans:400,600&display=swap" rel="stylesheet">
   3. Fonte de ícones "themify" (arquivos em assets/fonts/themify9f24.*).
      As regras do @font-face e dos 3 ícones usados (.ti-email, .ti-lock,
      .ti-angle-up) já estão incluídas no final deste arquivo — basta
      copiar os arquivos da fonte e ajustar o caminho em src: url(...).
==================================================================*/


/* ------------------------------------------------------------------
   1. BASE / TIPOGRAFIA
   ------------------------------------------------------------------ */
html {
    font-size: 15px;
    scroll-behavior: smooth;
}

body {
    background-color: #ffffff;
    font-family: 'Open Sans', sans-serif;
    font-size: 1rem;
    color: #707070;
    font-weight: 400;
    line-height: 1.75;
    -moz-osx-font-smoothing: grayscale;
    -webkit-font-smoothing: antialiased;
}

h1, h2 {
    margin: 0 0 1rem;
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    line-height: 1.21;
    color: initial;
    -moz-osx-font-smoothing: grayscale;
    -webkit-font-smoothing: antialiased;
}

h1 {
    margin-top: 0;
    font-size: 3.052em;
}

h2 {
    font-size: 2.441em;
}

p:not(:last-child) {
    margin-bottom: 1.25em;
}

a {
    color: #162e66;
}

a:hover {
    color: #1351a8;
    text-decoration: none;
}

.small, small {
    font-size: 90%;
}

/* mobile (mesmo breakpoint do responsive.css do tema) */
@media (min-width: 320px) and (max-width: 575px) {
    html {
        font-size: 14px;
    }

    h1 {
        font-size: 2.25rem;
    }

    h2 {
        font-size: 1.7441em;
    }
}


/* ------------------------------------------------------------------
   2. LAYOUT DA TELA (section.hero-section.full-screen.gray-light-bg)
   ------------------------------------------------------------------ */
.gray-light-bg {
    background: #f4f4f4;
}

.full-screen {
    min-height: 100vh;
    position: relative;
    width: 100%;
    z-index: 1;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
}


/* ------------------------------------------------------------------
   3. COLUNA DA IMAGEM (.bg-cover.vh-100.ml-n3.gradient-overlay)
   ------------------------------------------------------------------ */
.bg-cover {
    background-repeat: no-repeat;
    background-position: 50%;
    background-size: cover;
}

/* obs.: sobrescreve o .vh-100 do Bootstrap (adiciona !important) */
.vh-100 {
    height: 100vh !important;
}

/* obs.: sobrescreve o .ml-n3/.mx-n3 do Bootstrap (-.98rem em vez de -1rem) */
.ml-n3, .mx-n3 {
    margin-left: -.98rem !important;
}

.gradient-overlay {
    position: relative;
    width: 100%;
    display: block;
}

.gradient-overlay:before {
    position: absolute;
    content: '';
    background-image: linear-gradient(75deg, rgba(19, 81, 168, 0.85) 10%, rgba(22, 46, 102, 0.85));
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
}

.login-signup-content {
    height: 100%;
    width: 100%;
    z-index: 1;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
}


/* ------------------------------------------------------------------
   4. FORMULÁRIO DE LOGIN
   ------------------------------------------------------------------ */
.login-signup-wrap h1 {
    font-size: 35px;
}

.login-signup-form .form-group {
    position: relative;
}

.login-signup-form .form-group label {
    font-family: 'Montserrat', sans-serif;
    font-weight: 500;
    font-size: 90%;
}

.login-signup-form .form-group .input-group.input-group-merge > .form-control {
    text-indent: 35px;
    border-top-left-radius: 4px;
    border-bottom-left-radius: 4px;
    height: calc(2.65em + .75rem + 2px);
}

.login-signup-form .form-group .input-group.input-group-merge > .form-control:focus {
    z-index: inherit;
}

/* ícone dentro do input (.input-icon > span.ti-email / span.ti-lock) */
.input-icon {
    height: calc(3.4rem + 2px);
    position: absolute;
    z-index: 2;
    display: block;
    width: 40px;
    top: 0;
    bottom: 0;
    left: 0;
}

.input-icon span {
    padding: 18px 15px;
    border-left: 2px solid #162e66;
    position: absolute;
    font-size: 18px;
    height: calc(3.4rem + 2px);
    border-radius: 4px;
    color: #afafaf;
}


/* ------------------------------------------------------------------
   5. CAMPOS (.form-control) — customização por cima do Bootstrap
   ------------------------------------------------------------------ */
.form-control {
    border-color: #ebebeb;
    padding: .75rem 0.85rem;
    height: calc(2.56em + .75rem + 2px);
}

.form-control:focus {
    outline: none;
    box-shadow: none;
    border-color: #162e66;
}

input[type]::-webkit-input-placeholder,
textarea::-webkit-input-placeholder {
    color: #b1b1b1 !important;
    font-size: 13px;
}

input[type]::-moz-placeholder,
textarea::-moz-placeholder {
    color: #b1b1b1;
    font-size: 13px;
}

input[type]:-ms-input-placeholder,
textarea:-ms-input-placeholder {
    color: #b1b1b1;
    font-size: 13px;
}


/* ------------------------------------------------------------------
   6. BOTÃO (.btn.btn-block.secondary-solid-btn.border-radius)
   ------------------------------------------------------------------ */
.secondary-solid-btn {
    padding: 12px 30px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: 13px;
    transition: all .25s ease-in-out;
    color: #fff;
    background: #1351a8;
    border: 1px solid #1351a8;
}

.secondary-solid-btn:hover {
    background: transparent;
    color: #1351a8;
    -webkit-box-shadow: none;
    box-shadow: none;
}

.btn.border-radius {
    border-radius: 4px;
}


/* ------------------------------------------------------------------
   7. PRELOADER (#preloader > .loader1 > span x5)
   ------------------------------------------------------------------ */
#preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
    background: #fff;
}

.loader1 {
    display: block;
    position: relative;
    left: 45%;
    top: 50%;
}

.loader1 span {
    vertical-align: middle;
    border-radius: 100%;
    display: inline-block;
    width: 10px;
    height: 10px;
    margin: 3px 2px;
    -webkit-animation: loader1 0.8s linear infinite alternate;
    animation: loader1 0.8s linear infinite alternate;
}

.loader1 span:nth-child(1) {
    -webkit-animation-delay: -1s;
    animation-delay: -1s;
    background: rgba(41, 103, 230, 0.6);
}

.loader1 span:nth-child(2) {
    -webkit-animation-delay: -0.8s;
    animation-delay: -0.8s;
    background: rgba(41, 103, 230, 0.8);
}

.loader1 span:nth-child(3) {
    -webkit-animation-delay: -0.26666s;
    animation-delay: -0.26666s;
    background: rgba(41, 103, 230, 1);
}

.loader1 span:nth-child(4) {
    -webkit-animation-delay: -0.8s;
    animation-delay: -0.8s;
    background: rgba(41, 103, 230, 0.8);
}

.loader1 span:nth-child(5) {
    -webkit-animation-delay: -1s;
    animation-delay: -1s;
    background: rgba(41, 103, 230, 0.4);
}

@keyframes loader1 {
    from {
        transform: scale(0, 0);
    }

    to {
        transform: scale(1, 1);
    }
}

@-webkit-keyframes loader1 {
    from {
        -webkit-transform: scale(0, 0);
    }

    to {
        -webkit-transform: scale(1, 1);
    }
}


/* ------------------------------------------------------------------
   8. BOTÃO VOLTAR AO TOPO (button.scroll-top.scroll-to-target)
   ------------------------------------------------------------------ */
.scroll-top {
    width: 50px;
    height: 50px;
    line-height: 50px;
    position: fixed;
    bottom: 105%;
    left: 50px;
    font-size: 16px;
    border-radius: 50%;
    z-index: 99;
    color: #ffffff;
    text-align: center;
    cursor: pointer;
    background: #162e66;
    transition: 1s ease;
    border: none;
}

button.scroll-top:focus {
    outline: none;
}

.scroll-top.open {
    bottom: 30px;
}

.scroll-top span {
    color: #fff;
}

.scroll-top:after {
    position: absolute;
    z-index: -1;
    content: '';
    top: 100%;
    left: 5%;
    height: 10px;
    width: 90%;
    opacity: 1;
    background: radial-gradient(ellipse at center, rgba(0, 0, 0, 0.25) 0%, rgba(0, 0, 0, 0) 80%);
}


/* ------------------------------------------------------------------
   9. ÍCONES THEMIFY (somente os 3 usados na tela de login)
   Copie os arquivos assets/fonts/themify9f24.* e ajuste o caminho abaixo.
   ------------------------------------------------------------------ */
@font-face {
    font-family: 'themify';
    src: url('../fonts/themify9f24.eot?-fvbane');
    src: url('../fonts/themifyd41d.eot?#iefix-fvbane') format('embedded-opentype'),
        url('../fonts/themify9f24.woff?-fvbane') format('woff'),
        url('../fonts/themify9f24.ttf?-fvbane') format('truetype'),
        url('../fonts/themify9f24.svg?-fvbane#themify') format('svg');
    font-weight: normal;
    font-style: normal;
}

[class^="ti-"], [class*=" ti-"] {
    font-family: 'themify';
    speak: none;
    font-style: normal;
    font-weight: normal;
    font-variant: normal;
    text-transform: none;
    line-height: 1;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.ti-email:before {
    content: "\e75a";
}

.ti-lock:before {
    content: "\e62b";
}

.ti-angle-up:before {
    content: "\e648";
}
