/* style.css */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    background: #000000;
    min-height: 100vh;
    color: #ffffff;
}

.container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    min-height: 100vh;
    padding: 20px;
}

/* Header */
.header {
    text-align: center;
    margin-top: 30px;
    width: 100%;
    max-width: 400px;
}

.logo {
    width: 120px;
    height: auto;
    margin-bottom: 20px;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.app-title {
    font-size: 3rem;
    color: #ff6b00;
    font-weight: bold;
    margin-bottom: 10px;
}

.app-description {
    font-size: 1rem;
    color: #cccccc;
    line-height: 1.4;
}

.separador {
    width: 100px;
    height: 2px;
    background: #ff6b00;
    margin: 15px auto;
}

/* Login Box */
.login-box {
    background: #1a1a1a;
    border: 2px solid #ff6b00;
    border-radius: 10px;
    padding: 30px;
    width: 100%;
    max-width: 350px;
    margin: 20px 0;
}

.login-box h2 {
    text-align: center;
    margin-bottom: 20px;
    color: #ff6b00;
    font-size: 1.5rem;
}

/* Form */
.form-group {
    margin-bottom: 15px;
    text-align: left;
}

input[type="text"],
input[type="password"] {
    width: 100%;
    padding: 12px;
    border: 1px solid #444;
    border-radius: 5px;
    background: #000000;
    color: #ffffff;
    font-size: 1rem;
    text-align: center;
}

input[type="text"]:focus,
input[type="password"]:focus {
    outline: none;
    border-color: #ff6b00;
}

button {
    width: 100%;
    padding: 12px;
    background: #ff6b00;
    color: #000000;
    border: none;
    border-radius: 5px;
    font-size: 1rem;
    font-weight: bold;
    cursor: pointer;
    margin-top: 10px;
}

button:hover {
    background: #ff8c00;
}

/* Error Message */
.erro {
    background: #dc3545;
    color: white;
    padding: 10px;
    border-radius: 5px;
    margin-bottom: 15px;
    text-align: center;
    font-weight: bold;
}



/* Footer reformulado */
.footer {
    background-color: #111; /* mesma cor do top-bar */
    color: #f1f5f9;
    text-align: center;
    padding: 10px 15px; /* altura menor */
    font-family: Arial, sans-serif;
    border-top: 1px solid #333;
}

.footer strong {
    display: block;
    font-size: 1rem;
    font-weight: 300;
    color: #ffffff;
    
}

.footer small {
    display: block;
    font-size: 0.75rem;
    color: #94a3b8;
    
}

/* Botão do footer */
.footer .footer-btn {
    display: inline-block;
    background: #ff6b00; /* cor chamativa */
    color: #000;
    padding: 3px 6px; /* maior que antes */
    border-radius: 5px;
    font-size: 0.7rem;
    text-decoration: none;
    transition: background-color 0.2s;
}

.footer .footer-btn:hover {
    background-color: #ff8c00;
}











/* Responsive */
@media (max-width: 480px) {
    .container {
        padding: 15px;
    }
    
    .logo {
        width: 100px;
    }
    
    .app-title {
        font-size: 2rem;
    }
    
    .login-box {
        padding: 20px;
        max-width: 300px;
    }
    
    .form-group {
        text-align: left;
    }
}







/* Top Bar */
.top-bar {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 30px;
    background-color: #111;
    border-bottom: 1px solid #333;
}

.welcome {
	display: flex;
    align-items: center;           /* alinha logo + texto */
    font-size: 1.2rem;
    font-weight: bold;
    color: #fff;
    gap: 10px;          /*  espaco da logo*/
}

.btn-sair {
    padding: 8px 16px;
    background-color: #ff6b00;
    color: #000;
    border: none;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
}

.btn-sair:hover {
    background-color: #ff8c00;
}

/* Informaï¿½ï¿½es adicionais */
.info {
    text-align: center;
    margin-top: 20px;
    font-size: 1.1rem;
    font-weight: bold;
}

/* Botï¿½es do Menu */
.button-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    padding: 20px;
}

.menu-btn {
    padding: 12px 20px;
    background-color: #222;
    color: #fff;
    border: 1px solid #ff6b00;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s;
    min-width: 150px;
    text-align: center;
}

.menu-btn:hover {
    background-color: #ff6b00;
    color: #000;
}



/* MAPA RESPONSIVO E RÁPIDO */
.map-container {
  position: relative;
  width: 100%;
  height: 100vh; /* tela cheia */
  display: flex;
  align-items: center;
  justify-content: center;
  background: #000; /* fundo preto para integrar com o tema */
  overflow: hidden;
  margin: 0;
  padding: 0;
}

/* Área do mapa */
#map, 
.map-container iframe {
  position: absolute;
  inset: 0; /* substitui top/left/right/bottom: 0 */
  width: 100%;
  height: 100%;
  border: none;
  border-radius: 10px;
  box-shadow: 0 0 15px rgba(255, 107, 0, 0.2);
  transition: all 0.3s ease;
}

/* Mobile: remove bordas e sombras para ocupar toda a tela */
@media (max-width: 768px) {
  #map, 
  .map-container iframe {
    border-radius: 0;
    box-shadow: none;
  }
}




/* Estilos PWA */
.install-btn {
    background: #3498db;
    color: white;
    border: none;
    padding: 10px 15px;
    border-radius: 5px;
    cursor: pointer;
    margin-top: 15px;
    width: 100%;
    font-size: 14px;
}

.pwa-mode .container {
    padding-top: 20px; /* Ajuste para status bar */
}

.status-online, .status-offline {
    font-weight: bold;
    animation: fadeIn 0.3s;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Melhorias para mobile */
@media (max-width: 768px) {
    body {
        -webkit-touch-callout: none;
        -webkit-user-select: none;
        user-select: none;
    }
    
    input, select, textarea {
        font-size: 16px !important; /* Prevenir zoom iOS */
    }
}





/* Link da logo (remove sublinhado, etc.) */
.logo-link {
    display: inline-flex;
    align-items: center;
    text-decoration: none;

}

/* Imagem da logo */
.logomenu {
    height: 50px;
    width: auto;
    object-fit: contain;
 }

/* Pequena animação ao passar o mouse */
.logo:hover {
    transform: scale(1.05);
}
