/* ==========================================================================
   🧱 Basis-Stile
   ========================================================================== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Inter', sans-serif;
  background-color: #fff;
  margin: 0;
  line-height: 1.5;
}

/* ==========================================================================
   📦 Container & Layout
   ========================================================================== */
.login-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 1000px;
  margin: 0 auto;
  padding: 60px 20px 80px;
  min-height: 100vh;
}

/* ==========================================================================
   🧭 Header
   ========================================================================== */
.header-wrapper {
  position: relative;
  width: 100%;
  max-width: 900px;
  margin: 0 auto 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.logo-text {
  font-size: 22px;
  font-weight: 600;
  text-align: center;
}

.header-icon {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  font-size: 24px;
  width: 32px;
  height: 32px;
  text-align: center;
  line-height: 32px;
  background: none;
  border: none;
  cursor: pointer;
  color: #000;
}

.left-icon {
  left: 0;
}

.right-icon {
  right: 0;
}

/* ==========================================================================
   🏷️ Titel
   ========================================================================== */
.login-title {
  font-size: 28px;
  font-weight: 700;
  text-align: center;
  margin-bottom: 30px;
}

/* ==========================================================================
   📋 Formularstruktur
   ========================================================================== */
.login-form {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 25px;
  width: 100%;
}

/* ==========================================================================
   🔘 Buttons – Gemeinsame Eigenschaften
   ========================================================================== */
.login-button,
.emergency-button,
.logout-button {
  width: 100%;
  max-width: 900px;
  font-size: 32px;
  font-weight: 700;
  text-align: center;
  transition: all 0.2s ease;
  cursor: pointer;
}

/* ==========================================================================
   🔵 Login Button
   ========================================================================== */
.login-button {
  display: block;
  padding: 28px 40px;
  border-radius: 40px;
  background-color: #31f;
  color: #fff;
  font-family: 'Inter', sans-serif;
  text-decoration: none;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

.login-button:hover {
  background-color: #1e1ee6;
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.2);
}

.login-button:active {
  transform: scale(0.97);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2) inset;
}

/* ==========================================================================
   🔴 Emergency Button
   ========================================================================== */
.button-wrapper {
  width: 100%;
  display: flex;
  justify-content: center;
  margin-top: 60px;
}

.emergency-button {
  padding: 22px 30px;
  border-radius: 30px;
  background-color: #f00;
  color: #fff;
  border: none;
}

.emergency-button:hover {
  background-color: #cc0000;
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.2);
}

.emergency-button:active {
  transform: scale(0.97);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2) inset;
}

/* ==========================================================================
   ⚫ Logout Button
   ========================================================================== */
.logout-button {
  padding: 22px 30px;
  border-radius: 50px;
  background-color: #000;
  color: #fff;
  font-family: 'Inter', sans-serif;
  border: none;
}

.logout-button:hover {
  background-color: #222;
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.2);
}

.logout-button:active {
  transform: scale(0.97);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2) inset;
}

/* ==========================================================================
   📝 Formularfelder / Texteingabe
   ========================================================================== */
.textarea-box {
  width: 100%;
  max-width: 900px;
  min-height: 240px;
  background-color: #ddd;
  border: none;
  border-radius: 40px;
  padding: 24px;
  font-size: 20px;
  font-style: italic;
  resize: vertical;
}

.info-text {
  margin-top: 20px;
  font-size: 20px;
  text-align: center;
  max-width: 600px;
}

/* ==========================================================================
   📱 Responsive Styles
   ========================================================================== */
@media (max-width: 991px) {
  .login-title {
    font-size: 24px;
  }

  .login-button,
  .emergency-button,
  .logout-button {
    font-size: 24px;
    padding: 24px 20px;
  }

  .logo-text {
    font-size: 20px;
  }

  .textarea-box,
  .info-text {
    font-size: 18px;
  }
}

@media (max-width: 640px) {
  .login-button,
  .emergency-button,
  .logout-button {
    font-size: 20px;
    padding: 20px 16px;
  }

  .header-wrapper {
    height: 48px;
  }

  .header-icon {
    font-size: 22px;
    width: 28px;
    height: 28px;
    line-height: 28px;
  }

  .logo-text {
    font-size: 20px;
  }

  .textarea-box {
    padding: 20px;
    border-radius: 30px;
  }
}
