* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Arial', sans-serif;
}

body {
  background-color: #000;
  height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.logo-header {
  position: absolute;
  top: 20px;
  left: 20px;
}

.logo-header img {
  width: max-content;
  height: 80px;
}

.login-box {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
  border-radius: 12px;
  padding: 50px;
  width: 400px;
  box-shadow: 0 0 10px rgba(255, 255, 255, 0);
  color: #fff;
}

.login-box h2 {
  text-align: center;
  margin-bottom: 40px;
  font-size: 24px;
}

.input-group {
  position: relative;
  margin-bottom: 20px;
}

.input-group input {
  width: 100%;
  padding: 10px 40px 10px 10px;
  background: rgba(255, 255, 255, 0.1);
  border: none;
  border-radius: 6px;
  color: #fff;
}

.input-group .input-icon {
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  width: 20px;
  height: 20px;
  color: #aaa;
}

.input-group .eye-toggle {
  cursor: pointer;
  transition: color 0.2s ease;
}

.input-group .eye-toggle:hover {
  color: #fff;
}

.options {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  margin-bottom: 20px;
}

.options label {
  display: flex;
  align-items: center;
  gap: 5px;
}

.login-btn {
  width: 100%;
  padding: 13px;
  background: #fff;
  color: #000;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  transition: 0.3s;
  font-weight: bold;
}

.login-btn:hover {
  background: #ddd;
}

.register-link {
  text-align: center;
  margin-top: 15px;
  font-size: 13px;
}

.register-link a {
  color: #fff;
  font-weight: bold;
  text-decoration: none;
}

.register-link a:hover {
  text-decoration: underline;
}

.flash-message {
  padding: 10px;
  margin-bottom: 15px;
  border-radius: 6px;
  text-align: center;
  font-size: 14px;
}

.flash-message.error {
  background-color: rgba(255, 0, 0, 0.2);
  border: 1px solid rgba(255, 0, 0, 0.5);
  color: #ff6b6b;
}

.flash-message.success {
  background-color: rgba(0, 255, 0, 0.2);
  border: 1px solid rgba(0, 255, 0, 0.5);
  color: #51cf66;
}
