body {
    background: url(./images/common/background.webp) no-repeat center center fixed;
    background-size: cover;
    height: 100vh;
    margin: 0;
    padding: 0;
  }

  .main {
    display: flex;
    justify-content: flex-end;
    padding-top: 10%;
  }
  
  .login {
    margin-right: 100px;
    width: 350px;
  }
  
  .card {
    font-family: "Anybody", serif;
    background-color: white;
    box-shadow: 2px 2px 5px #ccc;
    padding: 20px;
    border-radius: 5px;
  }
  
  .card-center {
    text-align: center;
  }
  
  .card-center > h2 {
    margin: auto;
    padding: 30px 20px 12px;
    border-bottom: 1px solid rgb(197, 200, 201);
    gap: 10px;
    width: fit-content;
    font-weight: 350;
    color: rgb(92, 93, 94);
    font-size: 25px;
    cursor: default;
  }
  
  .email,
  .password {
    margin-top: 20px;
    padding-top: 15px;
    padding-right: 110px;
    border: none;
    border-bottom: 1px solid rgb(169, 172, 173);
    color: rgb(169, 172, 173);
  }
  
  .email:first-child {
    margin-top: 40px;
  }
  
  .email::placeholder,
  .password::placeholder {
    font-style: italic;
    font-size: 18px;
    font-family: "Anybody", serif;
    font-weight: 200;
  }
  
  .email:focus,
  .password:focus {
    border-bottom: 1px solid rgb(81, 85, 85);
    outline: none;
  }

  .email:hover,
  .password:hover {
    border-bottom: 1px solid rgb(81, 85, 85);
    outline: none;
  }
  
  .remember-email-label {
    font-family: "Anybody", serif;
    color: rgb(92, 93, 94);
    font-size: 15px;
  }
  
  .remember-email {
    margin-top: 15px;
    margin-left: 15px;
    text-align: left;
    font-weight: 300;
    cursor: pointer;
  }

  .checkbox {
    cursor: pointer;
  }

  .checkbox:hover + .remember-email-label{
    color: black;
  }
  
  .form {
    text-align: center;
  }
  
  .form > button {
    margin-top: 50px;
    background-color: #EA1414;
    color: white;
    width: 95%;
    padding: 8px 0;
    border: none;
    border-radius: 90px;
    font-size: 20px;
    cursor: pointer;
  }

  .form > button:hover {
    background-color: #cc1313;
  }
  
  .img-logo {
    width: 70%;
    height: auto;
  }

  /* Container das notificações */
#notificacao_system {
  position: fixed;
  bottom: 20px;
  right: 20px;
  max-width: 300px;
  width: auto;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  pointer-events: none; /* permite clicar em elementos abaixo, exceto nas notificações */
}

.notification {
  position: relative;
  margin-top: 10px;
  padding: 15px 40px 15px 15px; /* espaço extra à direita para o botão X */
  border-radius: 8px;
  color: white;
  font-family: sans-serif;
  box-shadow: 0 4px 6px rgba(0,0,0,0.1);
  animation: slideIn 0.3s ease-out;
  box-sizing: border-box;
  width: 100%;
  max-width: 300px;
  pointer-events: auto; /* permite clicar dentro da notificação */
}

.notification.error { background-color: #EA1414; }
.notification.success { background-color: #28a745; }

.notification .close-btn {
  position: absolute;
  top: 40%;
  right: 10px;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: inherit;
  font-weight: bold;
  font-size: 16px;
  cursor: pointer;
  padding: 0;
}

@keyframes slideIn {
  from { opacity: 0; transform: translateX(100px); }
  to { opacity: 1; transform: translateX(0); }
}

@keyframes slideOut {
  from { opacity: 1; transform: translateX(0); }
  to { opacity: 0; transform: translateX(100px); }
}

.notification.slide-out {
  animation: slideOut 0.3s ease-in forwards;
}
