  :root{
    --bg: #444444;
    --panel: #111214;
    --panel-2: #0f1012;
    --text: #e9e9ea;
    --muted: #b9bcc2;
    --line: rgba(255,255,255,.10);
    --accent: #000000; /* optional: Akzentfarbe */
    --radius: 16px;
  }

body{
    margin: 0;
    position: relative;
    min-height: 100vh;
    background-color: black;
}

body::before {
   content: "";
   position: fixed;
   inset: 0;
   background-image:url("../PIC_0/HG_LOGO.png");
   background-repeat: repeat;      /* wiederholen */
   background-size: 200px auto;    /* Größe anpassen */
   opacity: 0.4;                   /* Transparenz */
   z-index: -1;                    /* hinter den Inhalt */
}

.close-btn {
  position: absolute;
  padding: 2px 2px;

  width: 40px;
  height: 40px;
  border-radius: 50%;
  top: 30px;
  right: 30px;
  left: auto;
  background: orange;
  border: none;
  color: white;
  font-size: 32px;
  cursor: pointer;
  transition: transform 0.2s ease;
  z-index: 9999;
}

.close-btn:hover{
  background: rgb(226, 147, 0);
  transform: translate(2px, 2px);
}

.Passwortforgotten {
  color: white;
  text-align: right;
  font-weight: 200;
}

.Passwortforgotten:hover {
  color: rgb(171, 142, 253);
  text-decoration: underline;
  cursor: pointer;
}

.Registrieren {
  color: white;
  text-align: center;
  font-weight: 200;
  cursor: pointer;
}

.Registrieren:hover {
  color: rgb(171, 142, 253);
  text-decoration: underline;
}


.password-wrapper {
    position: relative;
    width: 100%;
}

.password-wrapper input {
    width: 100%;
    box-sizing: border-box;
    padding-right: 65px; /* Platz für das Auge */
}

.eye {
    display: none;
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);

    background: transparent;
    border: none;
    padding: 0;
    margin: 0;

    cursor: pointer;
    font-size: 18px;
    line-height: 1;
}
.sr-only {
    position: absolute;
    left: -10000px;
}

.password-wrapper button {

  background: transparent !important;
  color: black !important;
  transform: none;

}

.login-box {
  position: relative; 
  max-width: 460px;
  margin: 40px auto;
  padding: 28px;
  color:hsl(0, 0%, 100%);
  border-radius: 18px;
  box-shadow: 0 8px 28px rgba(0,0,0,.10);
  background: var(--bg);
  color: var(--text);
  font-family: "Montserrat", sans-serif;
  font-weight: 200;
  font-size: 1rem;
  line-height: 1.6;
}

.achtung {
  color: #ffffff;
  font-weight: 500;
}


.login-tabs {
  display: flex;
  gap: 8px;
  margin-bottom: 22px;
}

.login-tabs button {
  flex: 1;
  padding: 12px;
  border: 1px solid #ddd;
  background: #f6f6f6;
  cursor: pointer;
  border-radius: 10px;
  font-weight: 600;
}

.login-tabs button.active {
  background: #f28c00;
  color: white;
  border-color: #f28c00;
}


.login-panel {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.login-panel.hidden {
  display: none;
}

.login-panel input {
  padding: 12px 14px;
  border: 1px solid #ccc;
  border-radius: 9px;
  font-size: 15px;
}

.login-panel input:focus {
  border-color: #f28c00;
  outline: none;
  box-shadow: 0 0 0 3px rgba(242,140,0,.15);
}

.login-panel button {
  padding-right: 12px;
  background: #ff9500;
  color: white;
  border: none;
  border-radius: 9px;
  font-weight: 700;
  cursor: pointer;
}

.login-panel button:hover {
  background: rgb(226, 147, 0);
  transform: translate(1px, 1px);

}


.login-panel button.secondary {
  background: #555;
}

.button-row {
  display: flex;
  gap: 10px;
}

.button-row button {
  flex: 1;
}

#loginMsg,
#registerMsg {
  min-height: 20px;
  font-size: 20px;
}

.msg-ok {
  color: #1a7f37;
}

.msg-error {
  color: #ff6262;
  font-weight: 500;
  background-color: var(--muted);
}

.modal {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.6);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

.modal-content {
  background: white;
  color: red;
  padding: 25px;
  border-radius: 10px;
  min-width: 300px;
  max-width: 500px;
}

.hidden {
  display: none;
}

button{
  padding: 12px 16px;
  background: #ff9500;
  color: white;
  border: none;
  border-radius: 9px;
  font-weight: 700;
  cursor: pointer;
  }