:root {
  --primary: #4361ee;
  --dark: #343a40;
  --light: #ffffff;
  --shadow: rgba(67, 97, 238, 0.15);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Poppins", sans-serif;
}

body {
  background-color: #f8f9fa;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.container {
  display: flex;
  width: 900px;
  max-width: 95%;
  height: 600px;
  background-color: var(--light);
  border-radius: 20px;
  box-shadow: 0 20px 40px var(--shadow);
  overflow: hidden;
}

.login-form {
  width: 50%;
  padding: 60px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.login-image {
  width: 50%;
  /*background-image: url("content-pt-br.png");*/
  background-size: cover;
  background-position: center;
}
.login-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: all 0.3s ease;
}
.login-image img:hover {
  transform: translateY(-2px);
}

.login-form h1 {
  color: var(--dark);
  font-size: 2rem;
  font-weight: 600;
  margin-bottom: 10px;
}

.login-form p {
  color: #6c757d;
  margin-bottom: 30px;
  font-size: 0.9rem;
}

.input-group {
  margin-bottom: 20px;
  position: relative;
}

.input-group label {
  display: block;
  color: var(--dark);
  font-size: 0.9rem;
  margin-bottom: 8px;
  font-weight: 500;
}

.input-group input {
  width: 100%;
  padding: 15px;
  border: 1px solid #dee2e6;
  border-radius: 12px;
  font-size: 0.9rem;
  outline: none;
  transition: all 0.3s ease;
}

.input-group input:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(67, 97, 238, 0.1);
}

.input-group .password-toggle {
  position: absolute;
  right: 15px;
  bottom: 15px;
  cursor: pointer;
  color: #6c757d;
}

.remember-forgot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 25px;
  font-size: 0.85rem;
}

.remember-forgot .checkbox {
  display: flex;
  align-items: center;
}

.remember-forgot .checkbox input {
  margin-right: 8px;
}

.remember-forgot a {
  color: var(--primary);
  text-decoration: none;
  font-weight: 500;
}

.btn-login {
  background-color: var(--primary);
  color: white;
  border: none;
  padding: 15px;
  border-radius: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 5px 15px rgba(67, 97, 238, 0.3);
}

.btn-login:hover {
  background-color: #3551d3;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(67, 97, 238, 0.3);
}

.register-link {
  text-align: center;
  margin-top: 25px;
  font-size: 0.85rem;
}

.register-link a {
  color: var(--primary);
  font-weight: 500;
  text-decoration: none;
}

@media screen and (max-width: 768px) {
  .container {
    height: auto;
  }

  .login-form {
    width: 100%;
    padding: 40px;
  }

  .login-image {
    display: none;
  }
}

#login-message,
#registration-message {
  margin-top: 15px;
  padding: 10px;
  text-align: left;
  border-radius: 5px;
  font-size: 14px;
}
#login-message.success,
#registration-message.success {
  background-color: #dbf5e1; /* Verde para sucesso */
  color: #2d9f46;
}

#login-message.error,
#registration-message.error {
  /*background-color: #e56c74; /* Vermelho para erro */
  color: #dc3545;
}
