* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
  background-color: #f4f6f9;
  color: #333;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
}

.card {
  background: #fff;
  border-radius: 12px;
  padding: 25px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  width: 100%;
  max-width: 500px;
  margin: 20px;
}

h2 {
  text-align: center;
  margin-bottom: 20px;
  color: #111;
}

.input-group {
  margin-bottom: 15px;
}

label {
  font-size: 13px;
  font-weight: bold;
  color: #555;
  display: block;
  margin-bottom: 5px;
}

input,
select,
textarea {
  width: 100%;
  padding: 12px;
  border: 1px solid #ccc;
  border-radius: 8px;
  font-size: 14px;
  background-color: #fafafa;
}

input:focus,
select:focus,
textarea:focus {
  border-color: #000;
  outline: none;
  background-color: #fff;
}

button {
  width: 100%;
  padding: 14px;
  background-color: #000;
  color: #fff;
  font-weight: bold;
  font-size: 16px;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: 0.2s;
  margin-top: 10px;
}

button:hover {
  background-color: #222;
}

.link-btn {
  text-align: center;
  margin-top: 15px;
  font-size: 14px;
  color: #0066cc;
  text-decoration: none;
  display: block;
}

.link-btn:hover {
  text-decoration: underline;
}

.header-home {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
  border-bottom: 1px solid #eee;
  padding-bottom: 15px;
}

.btn-logout {
  background: #dc3545;
  width: auto;
  padding: 8px 15px;
  font-size: 13px;
  margin: 0;
}

.row {
  display: flex;
  gap: 10px;
}

.row .input-group {
  flex: 1;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body, html {
  height: 100%;
  width: 100%;
  overflow: hidden;
  background-color: #e5e5e5;
}

/* Estrutura estilo App */
.app-container {
  display: flex;
  flex-direction: column;
  height: 100vh;
  width: 100vw;
  position: relative;
}

/* Header Fixo do App */
.app-header {
  position: absolute;
  top: 15px;
  left: 15px;
  right: 15px;
  z-index: 1000;
  background: #fff;
  border-radius: 12px;
  padding: 12px 18px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.empresa-info strong {
  font-size: 15px;
  color: #111;
  display: block;
}

.empresa-info p {
  font-size: 12px;
  color: #666;
}

.btn-logout {
  background: #dc3545;
  color: #fff;
  border: none;
  padding: 8px 14px;
  font-size: 12px;
  font-weight: bold;
  border-radius: 6px;
  cursor: pointer;
}

/* Conteúdo Principal (Mapa + Painel) */
.app-content {
  display: flex;
  height: 100%;
  width: 100%;
}

/* O Mapa ocupa o fundo ou lado */
#map {
  flex: 1;
  height: 100%;
  width: 100%;
  z-index: 1;
}

/* Painel de Solicitação Estilo Gaveta/Drawer */
.app-panel {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: #fff;
  border-top-left-radius: 20px;
  border-top-right-radius: 20px;
  padding: 20px;
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.15);
  max-height: 75vh;
  overflow-y: auto;
}

@media (min-width: 768px) {
  .app-panel {
    top: 85px;
    left: 20px;
    bottom: 20px;
    width: 400px;
    max-height: calc(100vh - 105px);
    border-radius: 16px;
  }
}

.panel-title {
  font-size: 18px;
  font-weight: bold;
  margin-bottom: 15px;
  color: #111;
  text-align: center;
}

.input-group {
  margin-bottom: 12px;
}

label {
  font-size: 12px;
  font-weight: bold;
  color: #555;
  display: block;
  margin-bottom: 4px;
}

input, select, textarea {
  width: 100%;
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 8px;
  font-size: 13px;
  background-color: #fafafa;
}

input:focus, select:focus, textarea:focus {
  border-color: #000;
  outline: none;
  background-color: #fff;
}

button[type="submit"] {
  width: 100%;
  padding: 12px;
  background-color: #000;
  color: #fff;
  font-weight: bold;
  font-size: 15px;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  margin-top: 8px;
}

.row {
  display: flex;
  gap: 10px;
}

.row .input-group {
  flex: 1;
}

/* Formatação do formulário nas telas de Login / Cadastro */
.card-auth {
  background: #fff;
  border-radius: 12px;
  padding: 25px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  width: 100%;
  max-width: 450px;
  margin: auto;
}

.link-btn {
  text-align: center;
  margin-top: 15px;
  font-size: 14px;
  color: #0066cc;
  text-decoration: none;
  display: block;
}