@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;600&display=swap');

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Inter', sans-serif;
}

body {
  background: linear-gradient(to right, #2c3e50, #3498db);
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
}

.login-container {
  background-color: #fff;
  padding: 2.5rem;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  width: 90%;
  max-width: 420px;
}

.login-form {
  display: flex;
  flex-direction: column;
}

.logo {
  display: flex;
  flex-direction: column;
  text-align: center;
  margin-bottom: 1rem;
  color: #2c3e50;
}

.logo img {
  margin-bottom: 0.5rem;
}

.login-form h2 {
  text-align: center;
  margin-bottom: 1.8rem;
  color: #2c3e50;
}

.login-form input[type="text"],
.login-form input[type="password"] {
  padding: 0.8rem 1rem;
  margin-bottom: 1.2rem;
  border: 1px solid #ccc;
  border-radius: 8px;
  font-size: 1rem;
  width: 100%;
  transition: 0.2s;
}

.login-form input:focus {
  border-color: #3498db;
  outline: none;
  box-shadow: 0 0 0 2px rgba(52, 152, 219, 0.2);
}

.password-group {
  position: relative;
}

.password-group input {
  width: 100%;
}

.password-group span {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  cursor: pointer;
  font-size: 1.2rem;
  color: #888;
}

.options {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
  font-size: 0.95rem;
  color: #555;
}

.options a {
  color: #3498db;
  text-decoration: none;
}

.options a:hover {
  text-decoration: underline;
}

.login-form button {
  padding: 0.8rem;
  background-color: #3498db;
  color: #fff;
  border: none;
  font-weight: 600;
  border-radius: 8px;
  cursor: pointer;
  transition: 0.3s;
}

.login-form button:hover {
  background-color: #2980b9;
}

.login-form .error {
  color: #e74c3c;
  text-align: center;
  margin-top: 1rem;
  font-size: 0.95rem;
}
/* Language Switcher */
.language-switcher {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-bottom: 1.5rem;
}

.language-switcher a {
  padding: 6px 14px;
  text-decoration: none;
  border-radius: 6px;
  font-size: 0.9rem;
  font-weight: 500;
  color: #666;
  background-color: #f5f5f5;
  transition: all 0.3s ease;
}

.language-switcher a:hover {
  background-color: #e0e0e0;
  color: #2c3e50;
}

.language-switcher a.active {
  background-color: #3498db;
  color: white;
}
