* {

  box-sizing: border-box;
  font-family: 'Segoe UI', Arial, sans-serif;
}

body, html {
  height: 100%;
  overflow: hidden;
}

/* Full screen background image */
.background {
  background-image: url('rsl_login_bg.png'); /* Place your image in webapp/images/ */
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  height: 100%;
  width: 100%;
  position: fixed;
  top: 0;
  left: 0;
  z-index: -1;
}

/* Centered login container */
.login-container {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 380px;
  padding: 40px 35px;
  background: rgba(255, 255, 255, 0.95);
  border-radius: 15px;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(10px);
  text-align: center;
}

h2 {
  margin-bottom: 30px;
  color: #333;
  font-size: 28px;
  font-weight: 600;
}

.form-group {
  margin-bottom: 20px;
  text-align: left;
}

label {
  display: block;
  margin-bottom: 8px;
  color: #555;
  font-weight: 500;
}

input[type="text"], input[type="password"] {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid #ddd;
  border-radius: 8px;
  font-size: 16px;
  transition: border 0.3s;
}

input[type="text"]:focus, input[type="password"]:focus {
  border-color: #4CAF50;
  outline: none;
  box-shadow: 0 0 8px rgba(76, 175, 80, 0.3);
}

button {
  width: 100%;
  padding: 12px;
  background: #4CAF50;
  color: white;
  border: none;
  border-radius: 8px;
  font-size: 18px;
  cursor: pointer;
  transition: background 0.3s;
}

button:hover {
  background: #45a049;
}

.error {
  color: red;
  margin-top: 15px;
  font-size: 14px;
}

/* Responsive for small screens */
@media (max-width: 480px) {
  .login-container {
      width: 90%;
      padding: 30px 20px;
  }
}

.Name-photo {
  margin-left: 1%;
  margin-top: 0.2%;
}