@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@300;400;500;700&display=swap');

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body {
  height: 100%;
}

body {
  font-family: 'Roboto', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background: #f5f5f5;
  color: #333;
}

h1 {
  font-size: 2.5rem;
  margin-bottom: 10px;
  color: #333;
  font-family: 'Roboto', sans-serif;
  font-weight: 700;
}

.login-container {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
  background: #f5f5f5;
}

.login-box {
  background: #fff;
  padding: 40px;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
  width: 100%;
  max-width: 400px;
}

.login-box h1 { text-align: center; margin-bottom: 30px; font-size: 1.8rem; }
.login-box .form-group { margin-bottom: 20px; }
.login-box label { display: block; margin-bottom: 5px; font-weight: 500; color: #333; }

.login-box input {
  width: 100%;
  padding: 12px;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-size: 1rem;
  box-sizing: border-box;
}

.login-box input:focus { outline: none; border-color: #666; }

.password-wrapper {
  position: relative;
  display: flex;
  align-items: center;
}

.password-wrapper input {
  padding-right: 40px;
}

.password-toggle {
  position: absolute;
  right: 10px;
  cursor: pointer;
  color: #666;
  user-select: none;
  display: flex;
  align-items: center;
}

.password-toggle:hover { color: #333; }
.password-toggle svg { display: block; }

.login-box button {
  width: 100%;
  padding: 12px;
  background: #333;
  color: #fff;
  border: none;
  border-radius: 4px;
  font-size: 1rem;
  cursor: pointer;
  transition: background 0.2s;
}

.login-box button:hover { background: #555; }

.login-error {
  color: #d32f2f;
  text-align: center;
  margin-bottom: 15px;
  display: none;
}
