/* --- Modernes Login-Design für index.php --- */
*, *::before, *::after {
  box-sizing: border-box;
}
body {
  min-height: 100vh;
  background: linear-gradient(120deg, #eaf2fb 0%, #f5ebdc 100%);
  font-family: 'Inter', 'Segoe UI', 'Roboto', 'Arial', sans-serif;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.bg-image {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  z-index: 0;
  width: 100vw;
  height: 100vh;
  object-fit: cover;
  object-position: center center;
  filter: blur(2.5px) brightness(0.82);
  pointer-events: none;
  user-select: none;
}
.login-content-box {
  max-width: 420px;
  margin: 3.5vh auto 0 auto;
  background: rgba(255,255,255,0.97);
  border-radius: 22px;
  box-shadow: 0 8px 36px 0 rgba(44,62,80,0.16), 0 1.5px 8px 0 rgba(74,144,226,0.08);
  padding: 2.7rem 2.5rem 2.2rem 2.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  border: 1.5px solid #e1e4ea;
  z-index: 10;
  backdrop-filter: blur(2.5px);
  transition: box-shadow 0.2s, background 0.2s;
}
.login-content-box h2 {
  margin-bottom: 1.7rem;
  color: #357ab8;
  font-size: 2.1rem;
  letter-spacing: 0.5px;
  text-shadow: 0 2px 8px #357ab81a;
}
.login-content-box form {
  width: 100%;
}
.form-group {
  width: 100%;
  margin-bottom: 1.2rem;
}
.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  color: #2d3a4a;
  font-weight: 500;
}
.form-group input {
  width: 100%;
  padding: 0.7rem;
  border: 1px solid #d1d9e6;
  border-radius: 8px;
  font-size: 1rem;
  background: #f9fafc;
  transition: border 0.2s;
  box-sizing: border-box;
}
.form-group input:focus {
  border-color: #4a90e2;
  outline: none;
}
.login-btn {
  width: 100%;
  padding: 0.8rem;
  background: linear-gradient(90deg, #4a90e2 0%, #357ab8 100%);
  color: #fff;
  border: none;
  border-radius: 8px;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  margin-top: 0.5rem;
  transition: background 0.2s;
  box-sizing: border-box;
}
.login-btn:hover {
  background: linear-gradient(90deg, #357ab8 0%, #4a90e2 100%);
}
.error-message {
  color: #e74c3c;
  margin-bottom: 1rem;
  text-align: center;
  font-size: 1rem;
  background: #ffeaea;
  border: 1px solid #f5b2b2;
  border-radius: 7px;
  padding: 0.7em 1.2em;
  max-width: 350px;
}
@media (max-width: 600px) {
  body {
    align-items: stretch;
    justify-content: flex-start;
    padding: 1rem;
    box-sizing: border-box;
  }
  .login-content-box {
    max-width: 100%;
    width: 100%;
    margin: 1.5vh auto 0 auto;
    padding: 1.8rem 1.2rem 1.5rem 1.2rem;
    border-radius: 14px;
    box-sizing: border-box;
  }
  .login-content-box h2 {
    font-size: 1.6rem;
    margin-bottom: 1.2rem;
  }
  .error-message {
    max-width: 100%;
    font-size: 0.92rem;
  }
}