/*
    css/main.css
    Importa todos os estilos para a aplicação.
*/

/* 1. Base e Configurações Globais */
@import url('./global/_base.css');
@import url('./global/_utilities.css');

/* 2. Componentes Comuns */
@import url('./components/_buttons.css');
@import url('./components/_forms.css');
@import url('./components/_modals.css');
@import url('./components/_navbar.css');    /* NOVO */
@import url('./components/_post-feed.css'); /* NOVO */
@import url('./components/_profile-card.css'); /* NOVO */
@import url('./components/_fale-conosco.css'); /* NOVO */
@import url('./components/_formpost.css');  /* NOVO */

/* 3. Estilos Específicos da Tela de Login */

/* Estilo para o corpo da página de login */
.login-body {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    padding: 16px;
    background-color: #f4f6f9; /* Um fundo suave */
}

body, html {
    margin: 0;
    padding: 0;
    height: 100%;
    -ms-overflow-style: none;  /* IE and Edge */
    scrollbar-width: none;  /* Firefox */
}
body::-webkit-scrollbar {
    display: none;  /* Chrome, Safari and Opera */
}
header {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
}
.top-bar {
    height: 60px;
    background-color: #001E42;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}
#app-content {
    height: calc(100vh - 61px); /* Ajusta a altura considerando o header e a navbar*/
}
.login-container {
    width: 100%;
    max-width: 400px; /* Limite de largura em mobile first */
    text-align: center;
}

.header-logo h1 {
    color: #001E42;
    margin-bottom: 4px;
}

.header-logo p {
    color: #666;
    margin-bottom: 24px;
}

.options-menu {
    display: flex;
    flex-direction: column;
    margin-top: 16px;
}
.hidden {
    display: none !important;
}

#tela_carregamento {
  position: fixed;
  flex-direction: column;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: #001E42;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 99999;
}

.spinner {
  width: 60px;
  height: 60px;
  border: 6px solid #001E42;
  border-top: 6px solid #ccc;
  border-radius: 50%;
  animation: spin 1s linear infinite;
  z-index: 10000;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}