* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Montserrat", sans-serif;
}
/* === LANDING PAGE ===*/
/* Camada para a imagem de fundo e sobreposição escura */
.background-container {
  position: fixed; /* Fixa no fundo da tela */
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh; /* Ocupa 100% da altura da viewport */
  z-index: -2; /* Fica atrás de todo o conteúdo */
  background-image: url('../img/LP_accel.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

/* Sobreposição escura para melhorar a legibilidade do texto */
.background-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background-color: rgba(0, 0, 0, 0.7); /* Cor preta com 70% de opacidade */
  z-index: -1;
}

/* Estilos do Cabeçalho/Navbar */
.navbar {
  background-color: #363636;
  padding-top: 1rem;
  padding-bottom: 1rem;
}

.navbar-brand {
  font-weight: 700;
  letter-spacing: 0.5px;
}

.nav-link {
  color: rgba(255, 255, 255, 0.85) !important;
  font-weight: 500;
  transition: color 0.3s ease;
  font-size: 16px;
}

.nav-link:hover {
  color: #ffffff !important;
}

/* Botões do cabeçalho */
.btn-outline-light {
  border-color: rgba(255, 255, 255, 0.7);
  color: rgba(255, 255, 255, 0.9);
}
.btn-outline-light:hover {
  border-color: #fff;
}

.btn-custom-yellow {
  background-color: #E6C702;
  color: #000000;
  border: 1px solid #E6C702;
  font-weight: 600;
  padding: 0.5rem 1.5rem;
}

.btn-custom-yellow:hover {
  background-color: #facc15; /* Um amarelo um pouco mais escuro para o hover */
  border-color: #facc15;
  color: #000000;
}


/* Conteúdo Principal (Hero Section) */
.hero-section {
  display: flex;
  align-items: center; /* Centraliza verticalmente */
  justify-content: center; /* Centraliza horizontalmente */
  text-align: center;
  min-height: 100vh; /* Garante que ocupe a tela inteira */
}

.hero-content h1 {
  font-size: 3.5rem; /* Tamanho da fonte para o título principal */
  font-weight: 700;
  color: #E6C702;
  margin-bottom: 1.5rem;
}

.hero-content p {
  font-size: 1.25rem; /* Tamanho da fonte para o subtítulo */
  font-weight: 400;
  max-width: 650px; /* Limita a largura do texto para melhor leitura */
  margin-left: auto;
  margin-right: auto;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.9);
}

.hero-content .btn {
  margin-top: 2rem;
  font-size: 1.1rem;
}

/* Media Queries para Responsividade */

/* Telas de tablet e menores */
@media (max-width: 992px) {
  .navbar-nav {
    text-align: center;
    padding-top: 1rem;
  }
  .header-buttons {
    justify-content: center !important;
    margin-top: 1rem;
  }
}

/* Telas de celular */
@media (max-width: 768px) {
  .hero-content h1 {
    font-size: 2.5rem; /* Diminui a fonte do título principal */
  }

  .hero-content p {
    font-size: 1rem; /* Diminui a fonte do subtítulo */
  }
}

/* LOGIN */
.login-body {
    background-color: #FFFFFF;
    overflow-x: hidden;
}

.form-control, .btn {
    transition: all 0.3s ease-in-out;
}

.form-control:focus {
    box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.25);
    border-color: #86b7fe;
}

.image-column {
    background-image: linear-gradient(to bottom,#0E0C1900 ,#100E1D);
    height: 1024px;
    background-size: cover;
    position: relative;
    opacity: 50%;
    animation: fadeIn 1s forwards;

}

.logo-moa {
    position: absolute;
    top: 950px;
    left: 200px;
    width: 89px;
    height: 40px;
}

#form-column {
    background-color: #fff;
    opacity: 0;
    transform: translateX(20px);
    animation: slideIn 0.8s forwards 0.3s;
    display: flex;
    justify-content: center; 
    align-items: center;     
}

.login-form-container {
    display: flex;
    flex-direction: column;
    width: 100%;
    max-width: 436px;
    height: auto;
    top: 219px;
    left: 770px;
}

.form-control, .btn {
    transition: all 0.3s ease-in-out;
}

h1 {
    color: #1D2545;
}

.form-label {
    font-size: 14px;
    font-weight: 600;
    color: #1D2545;
}

.form-control {
    color: #86868A;
    font-weight: 500;
    font-size: 14px;
    padding: 12px 16px;
    gap: 16px;
    border-radius: 8px;
    border: 1.2px solid #B9B9BB;
}

/* Password */
#togglePassword {
    border: 1.2px solid #B9B9BB;
    border-left: 0;
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
}

/* Links */
.form-text-link {
    font-size: 14px;
    color: #0073BE;
    text-decoration: none;
    font-weight: 500;
}

.google-login {
    color: #4C5053;
    font-weight: 500;
    font-size: 14px;
}

.form-text-link:hover {
    text-decoration: underline;
}

/* Buttons */
.btn {
    padding: 0.9rem 1rem;
    border-radius: 0.5rem;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.btn-next {
    font-size: 16px;
    font-weight: 700;
    line-height: 150%;
    letter-spacing: 0px;
}

.btn-primary {
    background-color: #0073BE;
    border-color: #0073BE;
}

.btn-back {
    background-color: #F2F7F7;
    border-color: #F2F7F7;
}

.btn-primary:hover {
    background-color: #005994;
    border-color: #005994;
}

/* === INÍCIO: NOVOS ESTILOS PARA O INDICADOR DE PROGRESSO === */

.progress-indicator {
    max-width: 300px;
    margin-left: auto;
    margin-right: auto;
}

.progress-indicator .progress-icon {
    font-weight: 700;
    display: inline-block;
    background-color: #EBEBEB;
    border-radius: 8px;
    padding: 8px;
}

.progress-indicator .progress-icon i {
    line-height: 0%;
    font-size: 1.4rem;
    font-weight: 600;
    color: #1D2545;
    vertical-align: middle;
}

.progress-indicator h2 {
    color: #212529;
    font-weight: 700;
}

.progress-bars {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.bar {
    height: 6px;
    min-width: 148px;
    width: 100%;
    background-color: #e9ecef;
    border-radius: 10px;
    transition: background-color 0.4s ease-in-out;
}

.bar.active {
    background-color: #0073BE;
}

/* === FIM: NOVOS ESTILOS PARA O INDICADOR DE PROGRESSO === */

/* === INÍCIO: ESTILOS PARA CAMPOS DE CÓDIGO (OTP) === */

.otp-inputs-container {
    max-width: 320px;
    margin: 0 auto;
}

.otp-input {
    width: 50px;
    height: 60px;
    font-size: 1.5rem;
    text-align: center;
    font-weight: 600;
    padding-left: 0.5rem;
    padding-right: 0.5rem;
}

/* Altera a cor do botão quando desabilitado para combinar com o design */
#btn-proximo:disabled {
    background-color: #ced4da;
    border-color: #ced4da;
    cursor: not-allowed;
}

#resend-code.disabled {
    color: #6c757d;
    pointer-events: none;
    text-decoration: none;
}

/* === FIM: ESTILOS PARA CAMPOS DE CÓDIGO (OTP) === */

/* === INÍCIO: ESTILOS PARA ESTADO DE ERRO DO OTP === */

/* Altera a borda dos inputs quando o container pai tem a classe 'error' */
#otp-container.error .otp-input {
    border-color: var(--bs-danger);
}

/* Altera o brilho do foco para vermelho também */
#otp-container.error .otp-input:focus {
    border-color: var(--bs-danger);
    box-shadow: 0 0 0 0.25rem rgba(220, 53, 69, 0.25);
}

.alert-icon {
    font-size: 1.5rem;
}

/* === FIM: ESTILOS PARA ESTADO DE ERRO DO OTP === */

/* === INÍCIO: ESTILOS PARA O MODAL DE SUCESSO === */

.modal-content {
    border-radius: 1rem;
    border: none;
}

.success-icon-container i {
    font-size: 4rem;
    color: #198754;
}

/* === FIM: ESTILOS PARA O MODAL DE SUCESSO === */

/* MANAGER SETUP */
.file-drop-area {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 25px;
    border: 2px dashed #ced4da;
    border-radius: .375rem;
    cursor: pointer;
    transition: border-color .15s ease-in-out, box-shadow .15s ease-in-out;
}
.file-drop-area:hover {
    border-color: #0d6efd;
}
.file-drop-area .file-msg {
    color: #6c757d;
    font-size: 0.9rem;
}
.file-drop-area .file-input {
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 100%;
    cursor: pointer;
    opacity: 0;
}
.file-name-display {
    font-size: 0.8rem;
    color: #212529;
    margin-top: 5px;
    font-style: italic;
}
.download-template-link {
    font-size: 0.85rem;
    font-weight: 500;
    text-decoration: none;
}
.download-template-link i {
    margin-right: 4px;
}

@keyframes fadeIn {
    to {
        opacity: 1;
    }
}

@keyframes slideIn {
    to {
        opacity: 1;
        transform: translateX(0);
    }
}


/* Responsividade */
@media (max-width: 767.98px) {
    #form-column {
        padding: 2rem;
        animation: fadeIn 1s forwards; 
    }

    .login-form-container {
        padding-top: 2rem;
    }
}
/* ================== RESPONSIVIDADE ================== */

/* Dispositivos até 768px (celulares) */
@media (max-width: 767.98px) {
    #form-column {
        padding: 2rem;
        animation: fadeIn 1s forwards;
    }

    .login-form-container {
        padding-top: 2rem;
        max-width: 100%;
    }

    .image-column {
        display: none; /* esconde imagem em telas pequenas */
    }

    .logo-moa {
        top: auto;
        left: 50%;
        bottom: 20px;
        transform: translateX(-50%);
    }

    .progress-indicator {
        max-width: 90%;
    }

    .bar {
        min-width: 80px;
    }

    .otp-input {
        width: 45px;
        height: 55px;
        font-size: 1.3rem;
    }
}

/* Tablets (768px até 991px) */
@media (min-width: 768px) and (max-width: 991.98px) {
    .login-form-container {
        padding: 1.5rem;
        max-width: 90%;
    }

    .image-column {
        height: auto;
        min-height: 400px;
    }

    .logo-moa {
        top: auto;
        left: 20px;
        bottom: 20px;
        transform: none;
    }

    .progress-indicator {
        max-width: 250px;
    }

    .bar {
        min-width: 100px;
    }
}

/* Telas grandes (>= 1200px) */
@media (min-width: 1200px) {
    .login-form-container {
        max-width: 436px;
    }

    .image-column {
        height: 100vh;
    }

    .logo-moa {
        top: auto;
        bottom: 40px;
        left: 200px;
        transform: none;
    }
}
