.main-content-container{
    flex-direction: column;
}

.main-content-login {
    flex: 1; 
    background-color: #F6F8F9;
    position: relative;
}

.header-login{
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 24px;
    background-color: #FEFEFE;
    border-bottom: 1px solid #E2E8F0;
}

.logo-group {
    display: flex;
    align-items: center;
    gap: 12px; /* gap-3 */
}

.logo-group img {
    height: 40px; /* h-10 */
    width: 40px;  /* w-10 */
    object-fit: contain;
}

.logo-group span {
    font-size: 24px; /* text-2xl */
    font-weight: bold;
    letter-spacing: -0.02em; /* tracking-tight */
    color: #1e3a8a; /* blue-900 */
}

.menu {
    display: none;
    gap: 32px; /* gap-8 */
}

@media (min-width: 768px) {
    .menu {
        display: flex;
    }
}

.menu {
    display: none;
    gap: 32px; /* gap-8 */
}

@media (min-width: 768px) {
    .menu {
        display: flex;
    }
}

.button-primary {
    background: linear-gradient(to right, #004C95, #005DB4);
    color: #ffffff;

    padding: 8px 24px; /* py-2 px-6 */
    border-radius: 9999px; /* rounded-full */

    font-weight: 600; /* font-semibold */

    border: none;
    cursor: pointer;

    transition: all 0.2s ease; /* transition-all */
}

.button-primary:hover {
    opacity: 0.9; /* hover:opacity-90 */
}


/* MAIN */
.main-login {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

/* CARD */
.main-login .card {
  width: 100%;
  max-width: 500px;
  background: rgba(255, 255, 255, 0.4);
  backdrop-filter: blur(25px);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 32px;
  padding: 40px;
  box-shadow: 0 32px 64px -12px rgba(25, 28, 29, 0.04);
}

.main-login .card a{
    color: #004C95;
}

/* FORM */
.main-login form {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.main-login label {
font-family: sans-serif;
  font-size: medium;
  font-weight: 500;
  margin-left: 4px;
}

/* INPUT */
.main-login input {
  width: 100%;
  height: 56px;
  padding: 0 16px;
  border-radius: 12px;
  border: none;
  background: #eaeaea;
  font-size: 16px;
  outline: none;
  transition: 0.3s;
}

.main-login input:focus {
  background: #fff;
  box-shadow: 0 0 0 1px #3b82f6;
}

/* LINK */
.forgot {
  font-size: 14px;
  font-weight: 600;
  color: #3b82f6;
  text-decoration: none;
}

.forgot:hover {
  color: #1d4ed8;
}

/* BUTTON */
.main-login button {
  width: 100%;
  height: 56px;
  border-radius: 999px;
  border: none;
  font-size: 18px;
  font-weight: bold;
  color: white;
  background: linear-gradient(to right, #004C95, #005DB4);
  cursor: pointer;
  transition: 0.3s;
  box-shadow: 0 10px 20px rgba(59,130,246,0.2);
}

.main-login button:hover {
  box-shadow: 0 15px 30px rgba(59,130,246,0.3);
}

.main-login button:active {
  transform: scale(0.98);
}

/* ---------------------------------------- */
/* --------MODAL CADASTRO ------------------*/
/* ---------------------------------------- */
#modal-register {
  border: none;
  border-radius: 12px;
  padding: 0;
  width: 50%;
  background: #ffffff;
  color: #1f2937;
  padding: 20px;

  /* centralizar */
  position: fixed;
  inset: 0;
  margin: auto;

  /* Sombra moderna */
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);

  /* Animação */
  opacity: 0;
  transform: translateY(20px) scale(0.98);
  transition: all 0.25s ease;
}

#modal-register h2{
  color: #1E3A8A;
}

#modal-register label{
  font-family: sans-serif;
}

/* ESTADO ABERTO */
#modal-register[open] {
  opacity: 1;
  transform: translateY(0) scale(1);
}

/* BACKDROP */
#modal-register::backdrop {
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(4px);
}

.form-container {
  display: grid;
  grid-template-columns: repeat(2, 1fr); /* 2 colunas */
  gap: 16px;
}

.form-group {
  display: flex;
  flex-direction: column;
}

.form-name{
  grid-column: span 2;
}

/* Faz campos maiores ocuparem linha inteira */
.form-group.endereco {
  grid-column: span 2;
}

/* grid do endereço ajustada */
.endereco-grid {
  display: grid;
  grid-template-columns: 120px 1fr 1fr 80px;
  gap: 12px;
  width: 100%;
}

.form-rua {
  grid-column: span 2;
}
#modal-register input {
  width: 100%;
  padding: 10px 12px;
  border-radius: 8px;
  border: 1px solid transparent;
  background-color: #EAEAEA;
  color: #555;
  font-size: 14px;
  outline: none;
  transition: all 0.2s ease;
}

/* Placeholder */
#modal-register input::placeholder {
  color: #999;
}

/* Hover */
#modal-register input:hover {
  background-color: #e0e0e0;
}

/* Foco */
#modal-register input:focus {
  background-color: #ffffff;
  border: 1px solid #2F80ED;
  box-shadow: 0 0 0 2px rgba(47, 128, 237, 0.15);
}

/* Labels */
#modal-register label {
  margin-bottom: 5px;
  font-size: 13px;
  color: #444;
}

/* Corrigir o ALL:UNSET que quebra o estilo */
#modal-register .endereco-grid input {
  width: 100%;
}


.modal-footer{
  display: flex;
  justify-content: space-between; 
  grid-column: span 2; 
}
/* Botões */
#modal-register .modal-footer button {
  padding: 8px 14px;
  border-radius: 6px;
  border: none;
  cursor: pointer;
  font-weight: 500;
}

/* Cancelar */
#modal-register .modal-footer button[type="button"] {
  background-color: #ddd;
  color: #333;
}

/* Salvar */
#modal-register .modal-footer button[type="submit"] {
  background-color: #2F80ED;
  color: white;
}

/* Hover botão */
#modal-register .modal-footer button:hover {
  opacity: 0.9;
}