 * {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body, html {
  height: 100%;
  font-family: Arial, sans-serif;
}

.container {
  display: flex;
  flex-direction: row;
  height: 100vh;
  width: 100%;
  position: relative;
}

.left-panel {
  width: 33.33%;
  background-color: #f4f4f4;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  position: relative;
  padding: 20px;
}

.left-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  max-width: 320px;
}

.left-content img {
  width: 160px;
  margin-bottom: 20px;
}

.left-content h1 {
  font-size: 28px;
  margin-bottom: 30px;
}

.form-group {
  width: 100%;
  text-align: left;
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-weight: bold;
  margin-bottom: 5px;
}

.form-group input {
  width: 100%;
  padding: 14px;
  font-size: 18px;
  border: 1px solid #ccc;
  border-radius: 4px;
}

.button {
  padding: 10px 20px;
  font-size: 16px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  margin-top: 10px;
}

.login-button {
  background-color: #4CAF50;
  color: white;
}

.login-button:hover {
  background-color: #45a049;
}

.forgot-button {
  background-color: #FFD700;
  color: black;
}

.forgot-button:hover {
  background-color: #e6c200;
}

.register-button {
  background-color: #FF0000;
  color: white;
}

.register-button:hover {
  background-color: #cc0000;
}

.bottom-left {
  position: absolute;
  bottom: 10px;
  left: 20px;
}

.bottom-right {
  position: absolute;
  bottom: 10px;
  right: 20px;
}

.right-panel {
  width: 66.66%;
  background: url('../../png/Bild_2025-07-13_154524935.png') no-repeat center center;
  background-size: cover;
  position: relative;
}

.footer {
  position: absolute;
  bottom: 10px;
  right: 10px;
  font-size: 12px;
  color: #888;
}

/* Overlay für Popups */
.overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.3);
  display: none;
  z-index: 500;
}

/* Popup-Fenster */
.popup {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background-color: white;
  border: 1px solid #ccc;
  border-radius: 8px;
  padding: 20px;
  width: 300px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.3);
  display: none;
  z-index: 1000;
  text-align: center;
}

.popup h3 {
  font-size: 16px;
  margin-bottom: 10px;
}

.confirm-button {
  background-color: #4CAF50;
  color: white;
  padding: 8px 16px;
  font-size: 14px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
}

.confirm-button:hover {
  background-color: #45a049;
}

/* Neu für Mobile geräte /* 

/* =========================
   VERIFY POPUP (15s) - Add-on
   ========================= */

.popup {
  /* Falls deine .popup schon positioniert ist, kannst du die nächsten
     4 Zeilen weglassen. Ich lasse sie drin, damit es sicher zentriert ist. */
  position: fixed;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);

  /* Visuell */
  max-width: min(520px, 92vw);
  width: 520px;
  border-radius: 14px;
  box-shadow: 0 16px 50px rgba(0,0,0,0.20);

  /* Animation: Startzustand */
  opacity: 0;
  transform: translate(-50%, -50%) scale(0.96);
  transition: opacity .18s ease, transform .18s ease;
}

.popup.is-open {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}

.overlay {
  /* Overlay weich einblenden */
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.45);
  backdrop-filter: blur(1px);
  opacity: 0;
  transition: opacity .18s ease;
  z-index: 9998;
}

.overlay.is-open {
  opacity: 1;
}

.popup {
  z-index: 9999;
  border: 1px solid rgba(0,0,0,0.08);
  background: #fff;
}

/* Header-Optik im Popup */
.popup h3 {
  margin: 0 0 10px 0;
  font-size: 18px;
  line-height: 1.2;
}

/* Nachricht */
#loginErrorMessage {
  font-size: 14.5px;
  line-height: 1.45;
}

/* Status-Farben (linker Farbstreifen + Header-Farbe) */
.popup.status-success {
  border-left: 8px solid #28a745;
}
.popup.status-success h3 {
  color: #155724;
}

.popup.status-info {
  border-left: 8px solid #0b6fa4;
}
.popup.status-info h3 {
  color: #0b6fa4;
}

.popup.status-warn {
  border-left: 8px solid #d39e00;
}
.popup.status-warn h3 {
  color: #856404;
}

.popup.status-error {
  border-left: 8px solid #dc3545;
}
.popup.status-error h3 {
  color: #721c24;
}

/* Optional: Button etwas "popupiger" */
.popup .confirm-button {
  margin-top: 6px;
}
