/* Fundo da página */
body {
    margin: 0;
    padding: 0;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(180deg, #ff5d00 0%, #f78641 100%);
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
}

html, body {
    margin: 0;
    padding: 0;
    width: 100%;
    overflow-x: hidden;
    font-family: sans-serif;
}

.cookie-banner {
  position: fixed;
  top: 30px;
  margin: 10px;
  max-width: 600px;
  background-color: #1e293b;
  color: white;
  padding: 20px;
  border-radius: 10px;
  z-index: 9999;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
  font-size: 14px;
}

.cookie-content p {
  margin-bottom: 10px;
}

.cookie-buttons {
  display: flex;
  justify-content: center;
  gap: 40px;
}

.btn-aceitar {
  background-color: #10b981;
  color: white;
  border: none;
  padding: 8px 16px;
  border-radius: 6px;
  cursor: pointer;
}

.btn-aceitar:hover {
  background-color: #018055;
}

.btn-recusar {
  background-color: #ef4444;
  color: white;
  border: none;
  padding: 8px 16px;
  border-radius: 6px;
  cursor: pointer;
}

.btn-recusar:hover {
  background-color: #fc1c1c;
}

.btn-exibir {
  background-color: transparent;
  color: #93c5fd;
  border: none;
  cursor: pointer;
  font-size: 13px;
  padding: 4px 0;
}

.btn-exibir:hover {
  background-color: transparent;
  color: #2087fc;
}

.detalhes-cookie {
  background-color: #334155;
  padding: 10px;
  margin-top: 10px;
  margin-bottom: 10px;
  border-radius: 6px;
  font-size: 13px;
}

/* Cartão branco centralizado */
.login-container {
    background-color: #ffffff;
    padding: 10px 20px;
    border-radius: 8px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
    width: 85%;
    max-width: 40%; /* ajustável conforme o layout */
    text-align: center;
    box-sizing: border-box;
    margin: 0 auto; /* centraliza no desktop */
}

.form-control-focus {
    border-color: #f97316;
    box-shadow: 0 0 0 2px rgba(249, 115, 22, 0.2);
}

/* Logo circular do ônibus */
.logo {
    width: 100px;
    height: 100px;
    margin-bottom: 1px;
}

/* Subtítulo */
.sub {
    color: #666;
    font-size: 15px;
    margin-top: -10px;
    margin-bottom: 20px;
}

/* Alerta */
.alerta {
    display: flex;
    align-items: flex-start;
    background-color: #fff7f0;
    color: #c2410c;
    border-left: 5px solid #f97316;
    padding: 16px;
    border-radius: 8px;
    font-size: 14px;
    line-height: 1.4;
    gap: 10px;
    box-sizing: border-box;
    font-weight: 500;
    text-align: left;
}

.alerta .icone {
    font-size: 18px;
    margin-top: 2px;
}


.alerta .mensagem {
    flex: 1;
}

/* Fundo escurecido */
.popup-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.4);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

/* Janela do modal */
.popup-content {
  background: #fff;
  width: 90%;
  max-width: 400px;
  border-radius: 10px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
  overflow: hidden;
  font-family: 'Segoe UI', sans-serif;
}

/* Cabeçalho do modal */
.popup-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 20px;
  border-bottom: 2px solid #eee;
}

.popup-title {
  font-size: 16px;
  font-weight: 600;
  color: #1f2937;
}

.popup-content .fechar {
  background: none;
  border: none;
  font-size: 20px;
  color: #9ca3af;
  cursor: pointer;
}

.popup-content .fechar:hover {
  color: #111827;
}

/* Corpo do modal */
.popup-body {
  padding: 10px 20px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.popup-icon {
  background: #fee2e2;
  color: #b91c1c;
  font-size: 20px;
  padding: 8px;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.popup-body p {
  font-size: 14px;
  color: #b91c1c;
  margin: 0;
  font-weight: 500;
}

/* Rodapé do modal */
.popup-footer {
  padding: 16px 20px;
  text-align: center;
}

.popup-footer .ok {
  background-color: #f97316;
  color: #fff;
  border: none;
  padding: 10px 25px;
  font-size: 14px;
  border-radius: 6px;
  cursor: pointer;
  transition: background-color 0.3s;
}

.popup-footer .ok:hover {
  background-color: #a84702;
}

/* Formulário */
form {

    display: flex;
    flex-direction: column;
    gap: 12px;
    text-align: left;
}

/* Rótulo */
label {
    margin-top: 12px;
    font-weight: bold;
    font-size: 14px;
    color: #111;
    text-align: left;
}

/* Campo de entrada com ícone */
input[type="text"] {
    padding: 12px;
    padding-left: 38px;
    border: 1px solid #f97316;
    border-radius: 8px;
    font-size: 14px;
    background-image: url('data:image/svg+xml;utf8,<svg fill="gray" height="18" viewBox="0 0 24 24" width="18" xmlns="http://www.w3.org/2000/svg"><path d="M12 12c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm0 2c-2.67 0-8 1.34-8 4v2h16v-2c0-2.66-5.33-4-8-4z"/></svg>');
    background-repeat: no-repeat;
    background-position: 10px center;
    background-size: 18px;
    box-sizing: border-box;
}

/* Botão */
button {
    background-color: #f97316;
    color: white;
    border: none;
    padding: 12px;
    border-radius: 8px;
    font-weight: bold;
    font-size: 15px;
    cursor: pointer;
    transition: background-color 0.3s;
}

button:hover {
    background-color: #c55200;
}

/* Brasão */
.brasao {
    width: 70px;
    margin: 10px auto;
    display: block;
}

/* Linha e suporte */
hr {
    margin: 15px 0 10px;
    margin-bottom: 15px;
    border: none;
    border-top: 1px solid #ddd;
}

.support {
    font-size: 13px;
    color: #444;
    line-height: 1.5;
}

@media (max-width: 767px) {
    .login-container {
        width: 85%;
        max-width: 85%;
    }
}