body {
    font-family: 'SuisseIntl-Bold','SuisseIntl-Black', Arial, sans-serif;
}

.login-card.glassmorph {
  max-width: 420px;
  margin: 5% auto;
  padding: 2em;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 8px 32px rgba(0,0,0,0.3);
  color: #fff;
}

.login-card h2.login-title {
  text-align: center;
  margin-bottom: 1.5em;
}

.login-card .form-control {
  background: rgba(255,255,255,0.2);
  border: 1px solid rgba(255,255,255,0.3);
  color: #fff;
  padding: 0.8em;
  border-radius: 8px;
  margin-bottom: 1em;
}

.login-card .form-control:focus {
  outline: none;
  border-color: #4dabf7;
  background: rgba(255,255,255,0.3);
}

.login-card .btn-login {
  background: linear-gradient(135deg, #4dabf7, #1e90ff);
  color: #fff;
  border: none;
  padding: 0.8em;
  border-radius: 8px;
  font-size: 1em;
  cursor: pointer;
  transition: transform 0.2s, background 0.3s;
}

.login-card .btn-login:hover {
  transform: scale(1.03);
  background: linear-gradient(135deg, #1e90ff, #4dabf7);
}

.login-card .login-links {
  display: flex;
  justify-content: space-between;
  margin-top: 1em;
  font-size: 1em;
}

.login-card .login-links a {
  color: #aad4ff;
  text-decoration: none;
}

.login-card .login-links a:hover {
  text-decoration: underline;
}

/* Honeypot – hidden for humans */
.honeypot {
  position: absolute !important;
  left: -9999px !important;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form-text.text-muted {
  font-size: 0.85em;
  color: rgba(255,255,255,0.75);
  display: block;
  margin-top: 4px;
}

.password-rules {
  list-style: none;
  padding: 0;
  margin: 6px 0 0;
  font-size: 0.85em;
  color: rgba(255,255,255,0.7);
}

.password-rules li {
  margin-bottom: 3px;
  padding-left: 20px;
  position: relative;
}

.password-rules li::before {
  content: "✖";
  position: absolute;
  left: 0;
  color: #e74c3c;
}

.password-rules li.valid::before {
  content: "✔";
  color: #2ecc71;
}

.glass-login-box {
  background: rgba(255,255,255,0.1);
  border-radius: 16px;
  padding: 2em;
  box-shadow: 0 8px 32px rgba(0,0,0,0.37);
  backdrop-filter: blur(8px);
  color: #fff;
  max-width: 400px;
  margin: 2em auto;
}

.glass-login-box.logged-in {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.user-log-icon {
  font-size: 1.7em;
}

.login-title {
  margin-bottom: 1em;
}

.user-log-info {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: .6em;
  margin-bottom: 1em;
}

.user-icon-container {
    top: 18px;
    right: 14px;
  }
/* User Icon Wrapper */
.user-icon {
  position: relative;
  display: inline-block;
  cursor: pointer;
}

/* Bild im Icon */
.user-icon img {
  width: 50px;
  height: 50px;
  border-radius: 50%;       /* rund nur auf Bild */
  object-fit: cover;
  transition: transform 0.25s ease, box-shadow 0.3s ease;
}
@media (max-width: 767.98px) {
  .user-icon-container {
    top: 18px;
    right: 14px;
  }
  .user-icon img {
  width: 35px;
  height: 35px;
  border-radius: 50%;       /* rund nur auf Bild */
  object-fit: cover;
  transition: transform 0.25s ease, box-shadow 0.3s ease;
}
}
/* Hover Effekt fürs Bild */
.user-icon img:hover {
  transform: scale(1.12);
  box-shadow: 0 0 15px rgba(77,163,255,0.8);
}

/* Pulse Effekt wenn eingeloggt */
.user-icon.logged-in img {
  animation: pulseGlower 2s infinite;
}

@keyframes pulseGlower {
  0%   { box-shadow: 0 0 0px rgba(77,163,255,0.6); }
  50%  { box-shadow: 0 0 10px rgba(77,163,255,1); }
  100% { box-shadow: 0 0 0px rgba(77,163,255,0.6); }
}

/* Dropdown smooth */
.user-dropdown {
  visibility: hidden;
  opacity: 0;
  position: absolute;
  top: 3.2rem;
  right: 0;
  z-index: 20;
  background: rgba(20,20,40,0.9);
  backdrop-filter: blur(12px);
  border-radius: 10px;
  padding: 0.7em 1em;
  box-shadow: 0 8px 24px rgba(0,0,0,0.5);
  transform: translateY(-10px);
  transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s;
  pointer-events: none;
}

/* Dropdown sichtbar bei Hover/Fokus */
.user-icon.logged-in:hover .user-dropdown,
.user-icon.logged-in:focus-within .user-dropdown {
  visibility: visible;
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}
/* Dropdown Items */
.user-dropdown a,
.user-dropdown button {
  display: block;
  color: #fff;
  text-decoration: none;
  padding: 0.5em 0;
  background: none;
  border: none;
  cursor: pointer;
  font-size: 0.95rem;
  text-align: left;
  transition: color 0.2s;
}

/* Hover Farben */
.user-dropdown a:hover {
  color: #4da3ff;
}

/* Standardfarbe für Logout */
.user-dropdown button,
.user-dropdown input[type="submit"].btn-logout,
.user-dropdown input[type="submit"] {
  display: block;
  width: 100%;
  text-align: left;
  background: none !important;
  border: none !important;
  border-radius: 0;
  font-weight: normal;
  color: #ff6b6b !important;
  font-size: 0.95rem;
  cursor: pointer;
  transition: color 0.3s ease;
  padding: 0.5em 0;
}

/* Hover */
.user-dropdown button:hover,
.user-dropdown input[type="submit"].btn-logout:hover,
.user-dropdown input[type="submit"]:hover {
  color: #ff3b3b !important;
}
/* -------------------------------
   Fix: com_users Seiten (Login, Register etc.)
   sollen NICHT alles kleiner machen
--------------------------------- */
body.com_users {
  font-size: inherit !important;
  line-height: inherit !important;
}

/* Container normalisieren */
body.com_users #sp-main-body,
body.com_users .container {
  max-width: 100% !important;
  font-size: inherit !important;
  line-height: inherit !important;
}

/* Menü + Footer normal halten */
body.com_users .footer,
body.com_users .burger-menu,
body.com_users nav {
  font-size: inherit !important;
  line-height: inherit !important;
}

