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

body {
  font-family: "Segoe UI", sans-serif;
  background: url("../IMG/img28.jpg") no-repeat;
  background-size: cover;
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 1rem;
}

#page-login {
  background: #ffffff;
  width: 100%;
  max-width: 420px;
  padding: 2rem;
  opacity: 0.9;
  border-radius: 16px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
  animation: fadeIn 1s ease-in-out;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.top_login {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
}

.logo_pay img {
  width: 40px;
  border-radius: 50%;
  border: 2px solid #00796b;
}

.list_lang {
  display: flex;
  gap: 10px;
}

.list_lang a {
  display: flex;
  align-items: center;
  font-size: 0.85rem;
  text-decoration: none;
  color: #00796b;
  font-weight: bold;
  &:hover {
    text-decoration: underline;
  }
  &:focus {
    text-decoration: underline;
    color: #000;
  }
}

.list_lang img {
  width: 15px;
  height: 15px;
  margin-right: 4px;
}

.logo_top {
  text-align: center;
  margin-bottom: 1rem;
}

.logo_top img {
  width: 96px;
}

.login_form p {
  text-align: center;
  font-size: 0.9em;
  color: #555;
  line-height: 1.5em;
  margin-bottom: 1em;
}

.login_form h2 {
  text-align: center;
  color: #00796b;
  font-size: 1.2em;
  margin-bottom: 1rem;
}

form {
  width: 80%;
  margin: auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

form input[type="text"],
form input[type="password"] {
  padding: 10px;
  border-radius: 8px;
  border: 1px solid #ccc;
  font-size: 0.9em;
  transition: border 0.3s;
}

form input[type="text"]:focus,
form input[type="password"]:focus {
  border-color: #00796b;
  outline: none;
}

form input[type="submit"] {
  padding: 12px;
  background: #00796b;
  color: white;
  border: none;
  border-radius: 8px;
  font-size: 0.9em;
  cursor: pointer;
  transition: background 0.3s;
}

form input[type="submit"]:hover {
  background: #004d40;
}

footer {
  margin-top: 2rem;
  text-align: center;
  font-size: 0.75rem;
  color: #000;
}

@media (max-width: 450px) {
  .top_login {
    flex-direction: column;
    gap: 10px;
    align-items: flex-start;
  }

  .list_lang {
    flex-wrap: wrap;
  }
}
.message-container {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 80vh;
}

.error-message {
  background-color: #ffdddd;
  border: 1px solid #f8c7c7;
  padding: 20px;
  border-radius: 10px;
  max-width: 400px;
  text-align: center;
  box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1);
}

.error-message h2 {
  color: #d9534f;
  margin-bottom: 10px;
}

.error-message p {
  color: #555;
}

.error-message a {
  color: #d9534f;
  text-decoration: none;
  font-weight: bold;
}

.error-message a:hover {
  text-decoration: underline;
}
