@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@400;500;700&display=swap');

body,
html {
  margin: 0;
  padding: 0;
  height: 100%;
  font-family: 'Roboto', sans-serif;
}

.main-container {
  display: flex;
  height: 100vh;
  width: 100%;
}

.left-pane {
  background-color: #2A4A94;
  width: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.left-pane img {
  width: 250px;
}

.right-pane {
  background-color: #D6D7D8;
  width: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.login-card {
  background-color: white;
  padding: 40px;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  width: 100%;
  max-width: 400px;
  text-align: center;
}

.login-card .logo {
  width: 80px;
  margin-bottom: 10px;
}

.login-card h5 {
  font-weight: 900;
  margin-bottom: 0;
  color: #2a4a94;
}

.login-card .subtitle {
  color: #6c757d;
  margin-bottom: 25px;
}

.input-group-text {
  background-color: #e9ecef;
  border-right: 0;
  color: #2A4A94;
}

.form-control {
  border-left: 0;
}
.form-control:focus {
  box-shadow: none;
  border-color: #ced4da;
}

.btn-acessar {
  background-color: #2A4A94;
  border-color: #2A4A94;
  color: white;
  font-weight: 500;
  width: 100%;
  padding: 10px;
}
.btn-acessar:hover {
  background-color: #233c7a;
  border-color: #233c7a;
  color: white;
}

.forgot-password, .register-link {
  display: block;
  margin-top: 15px;
  font-size: 14px;
  color: #6c757d;
  font-weight: 500;
}
.forgot-password {
  text-align: right;
  margin-bottom: 20px;
}

.register-link a {
  color: #2A4A94;
  font-weight: 700;
}

#olho {
  cursor: pointer;
  background-color: white;
  border: 1px solid #ced4da;
  border-left: 0;
  display: flex;
  align-items: center;
  padding: 0 10px;
  border-radius: 0 .25rem .25rem 0;
}
#olho i {
  color: #2A4A94;
}

@media (max-width: 768px) {
  .main-container {
    flex-direction: column;
  }

  .left-pane {
    width: 100%;
    height: 150px; /* Altura do header no mobile */
    flex-shrink: 0;
  }

  .left-pane img {
    width: 150px; /* Logo menor para o header */
  }

  .right-pane {
    width: 100%;
    flex-grow: 1;
    padding: 20px; /* Espaçamento para o card não encostar na borda */
    display: flex;
    align-items: flex-start; /* Alinha o card ao topo */
    padding-top: 40px;
  }

  .login-card {
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* Mantem uma sombra sutil */
  }
}/* Modal Styles */
.modal-content {
  border-radius: 8px;
  border: none;
  box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.modal-header {
  background-color: #2A4A94;
  color: white;
  border-bottom: none;
  border-radius: 8px 8px 0 0;
  padding: 1rem 1.5rem;
}

.modal-header .close {
  color: white;
  opacity: 0.8;
  text-shadow: none;
}

.modal-header .close:hover {
  opacity: 1;
}

.modal-title {
    font-weight: 500;
}

.modal-body {
  padding: 1.5rem 1.5rem 0.5rem;
}

.modal-body .form-group label {
  font-weight: 500;
  margin-bottom: .5rem;
  color: #333;
}

.modal-body .form-control, .modal-body .custom-select {
    height: calc(1.5em + .75rem + 8px);
}

.modal-footer {
  border-top: none;
  padding: 0.5rem 1.5rem 1.5rem;
  display: flex;
  justify-content: flex-end;
}

#botao-cadastrar {
    background-color: #2A4A94;
    border-color: #2A4A94;
    color: white;
    font-weight: 500;
    padding: 10px 25px;
    transition: background-color 0.2s;
    border-radius: 5px;
}

#botao-cadastrar:hover {
    background-color: #233c7a;
    border-color: #233c7a;
}

.btn-cancelar {
    color: #6c757d;
    background: transparent;
    border: none;
    box-shadow: none;
    font-weight: 500;
    margin-right: 10px;
}
.btn-cancelar:hover {
    color: #2A4A94;
}
