body {
  font-family: Arial, Helvetica, sans-serif;
  background: url("../img/fundo.png") no-repeat center center fixed;
  background-size: cover;
  
  margin: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  padding: 24px 16px;
}


* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;    
  padding: 0 24px;
}


.logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo img {
  width: 65px;
  height: 62px;
  object-fit: contain;
}

.logotext {
  font-family: 'Roboto', sans-serif;
  font-weight: 600;  
  font-size: 32px; 
  color: #F3F4F6;   
}

.header-icons {
  display: flex;
  align-items: center;
  gap: 20px; 
  font-size: 1.5rem;
  color: white;
}

.header-icons img {
  width: 75px; 
  height: 75px;
  object-fit: contain;
  cursor: pointer;
}


.container {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
}

.card {
  background: white;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0px 4px 15px rgba(0, 0, 0, 0.2);
  max-width: 400px;
  width: 100%;
  text-align: center;
}

.card h2 {
  color: #172126;
}

h2 {
  margin-bottom: 10px;
  font-size: 22px;
}

.login-link {
  font-size: 14px;
  margin-bottom: 20px;
  color: #475569;
}

.login-link a {
  color: #0F726C;
  font-weight: 600;
  text-underline-offset: 2px;
}

form {
  display: flex;
  flex-direction: column;
  gap: 10px;
  text-align: left;
}

.tipo-selector {
  background: #f4f8f7;
  border: 1px solid #e0e6e4;
  border-radius: 8px;
  padding: 12px;
}

.tipo-label {
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 8px;
  color: #2c3e50;
}

.tipo-opcoes {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.tipo-btn {
  border: 1px solid #0F726C;
  background: #ffffff;
  color: #0F726C;
  padding: 10px;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.tipo-btn:hover {
  background: #e7f2f1;
}

.tipo-btn.is-active {
  background: #0F726C;
  color: #ffffff;
  border-color: #0F726C;
}

.tipo-erro {
  min-height: 16px;
  margin-top: 6px;
  font-size: 12px;
  font-weight: 600;
  color: #E76F51;
}

label {
  font-size: 14px;
  margin-bottom: 3px;
}

input {
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 6px;
  width: 100%;
  box-sizing: border-box;
  font-size: 15px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

input:focus-visible {
  outline: none;
  border-color: #0F726C;
  box-shadow: 0 0 0 4px rgba(15, 114, 108, 0.18);
}

button[type="submit"] {
  background: #0F726C;
  color: white;
  border: none;
  padding: 12px;
  border-radius: 6px;
  cursor: pointer;
  font-size: 16px;
  font-weight: 600;
  margin-top: 15px;
  transition: background 0.3s ease;
}

button[type="submit"]:hover {
  background: #0a5450;
}

.btn-enviar {
  background: #0F726C;
  color: white;
  border: none;
  padding: 12px;
  border-radius: 6px;
  cursor: pointer;
  font-size: 16px;
  margin-top: 10px;
}

.btn-enviar:hover {
  background: #0a5450;
}

button:focus-visible,
a:focus-visible,
.tipo-btn:focus-visible {
  outline: 2px solid #0F726C;
  outline-offset: 3px;
}

button:active {
  transform: translateY(1px);
}

@media (max-width: 480px) {
  .card {
    padding: 24px 20px;
  }

  .tipo-opcoes {
    grid-template-columns: 1fr;
  }
}