/* Grundlegende Stilregelungen */
body {
  margin: 0;
  font-family: 'Roboto', Arial, sans-serif;
  min-height: 100vh;
  background-color: #f5f5f5;
  display: flex;
  flex-direction: column;
}

/* Container, der alles umschließt */
.auth-container {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  position: relative;
}

.container {
  text-align: center;
  padding: 30px;
  background-color: rgba(255, 255, 255, 0.95);
  border-radius: 8px;
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.2);
  width: 90%;
  max-width: 400px;
  position: relative;
  z-index: 1;
}

/* Logo oben */
.logo-container {
  margin-bottom: 20px;
}

.logo-image {
  max-width: 200px;
  width: 200px;
  height: auto;
}

/* Login-Formular Styling */
#login-prompt {
  margin-bottom: 20px;
  color: #555;
  font-size: 18px;
}

/* Hintergrundbild nur für Desktop-Geräte (breiter als 768px) */
@media (min-width: 768px) {
  body {
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    background-repeat: no-repeat;
  }
}

.footer {
  margin-top: 20px;
  text-align: center;
  font-size: 0.8em;
  color: #fff;
  text-shadow: 0 0 3px rgba(0, 0, 0, 0.5);
  position: absolute;
  bottom: 10px;
  width: 100%;
}

/* Unsplash Attribution verstecken auf mobilen Geräten */
.unsplash-attribution {
  margin-top: 5px;
  font-size: 0.8em;
}

@media (max-width: 767px) {
  .unsplash-attribution {
    display: none;
  }
  
  .footer {
    color: #777;
    text-shadow: none;
  }
}

/* SVG-Icon-Größen */
.svg-inline--fa {
  width: 24px;
  height: 24px;
}

.email-icon .svg-inline--fa {
  width: 36px;
  height: 36px;
  margin-bottom: 10px;
}

.email-info .svg-inline--fa {
  width: 14px;
  height: 14px;
  vertical-align: middle;
  margin-right: 5px;
}

.other-email-button .svg-inline--fa {
  width: 14px;
  height: 14px;
  vertical-align: middle;
  margin-right: 5px;
}

.camper-bold {
  font-family: 'Bambino-Bold ☞', sans-serif;
  font-weight: bold;
}

.blick-light {
  font-family: 'Bambino-Light ☞', sans-serif;
  font-weight: 300;
}

.unsplash-attribution a {
  color: #fff;
  text-decoration: underline;
}

#redirect-container {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  position: relative;
}

/* === FROM index.html <style> BLOCK START === */
h1 {
  font-size: 1.8em;
  margin-bottom: 10px;
  color: #343a40;
}
.camper-bold { font-weight: bold; color: #f56d00; } /* Orange für Camper */
.blick-light { font-weight: normal; color: #6c757d; } /* Grau für Blick */

p {
  color: #6c757d;
  margin-bottom: 20px;
}

.form-group {
  margin-bottom: 20px;
  text-align: left;
}

input[type="email"] {
  width: 100%;
  padding: 10px;
  border: 1px solid #ced4da;
  border-radius: 4px;
  box-sizing: border-box;
}

.error-message {
  color: #dc3545;
  font-size: 0.9em;
  margin-top: 5px;
  display: none; /* Standardmäßig ausblenden */
}

button {
  width: 100%;
  padding: 10px;
  background-color: #007bff; /* Standard-Blau */
  color: white;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-size: 1em;
  position: relative;
  transition: background-color 0.3s ease;
}
#login-button {
    background-color: #f56d00; /* Orange für Login */
}
#login-button:hover {
    background-color: #d45a00;
}

/* Styles für Code-Eingabe Buttons anpassen */
#code-submit-button {
    background-color: #f56d00; /* Orange wie Login-Button */
    color: white;
}
#code-submit-button:hover {
    background-color: #d45a00; /* Dunkleres Orange für Hover */
}

#resend-code-button { 
    background-color: transparent; /* Outline-Stil */
    color: #f56d00; /* Orange Text */
    border: 1px solid #f56d00; /* Orange Border */
}
#resend-code-button:hover {
    background-color: #f56d00; /* Orange Hintergrund beim Hover */
    color: white; /* Weißer Text beim Hover */
}

#resend-code-button svg {
    color: inherit; /* Icon erbt die Textfarbe */
}

button .spinner {
  border: 2px solid #f3f3f3;
  border-top: 2px solid #f56d00; /* Orange Spinner */
  border-radius: 50%;
  width: 16px;
  height: 16px;
  animation: spin 1s linear infinite;
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  display: none;
}

button.loading span {
  opacity: 0.6;
}

button.loading .spinner {
  display: block;
}

.email-confirmation {
  display: none;
  text-align: center;
  padding: 20px;
  border-radius: 4px;
  background-color: #d4edda;
  border: 1px solid #c3e6cb;
}

.email-confirmation h3 {
  margin-top: 0;
  color: #155724;
  font-size: 1.3em;
}

.email-confirmation p {
  color: #155724;
  margin-bottom: 10px;
}

.email-info {
  font-size: 0.9em;
  color: #6c757d;
  margin-top: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.email-info svg {
  margin-right: 5px;
  color: #f56d00; /* Orange Icon */
  flex-shrink: 0;
}

/* Styling für die 6-stellige Code-Eingabe */
.code-input-container {
    display: flex;
    gap: 8px;
    justify-content: center;
    margin-bottom: 15px;
}

.form-group .code-digit-input {
    width: 40px;
    height: 50px;
    text-align: center;
    font-size: 18px;
    font-weight: bold;
    border: 2px solid #ced4da;
    border-radius: 6px;
    background-color: #fff;
    transition: border-color 0.2s ease;
}

/* Entfernt Pfeile bei number inputs in Webkit-Browsern */
.form-group .code-digit-input::-webkit-outer-spin-button,
.form-group .code-digit-input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.form-group .code-digit-input:focus {
    outline: none;
    border-color: #f56d00; /* Orange Focus */
    box-shadow: 0 0 0 2px rgba(245, 109, 0, 0.2);
}

.code-entry-box {
    margin-top: 20px;
}

.footer {
  position: fixed;
  bottom: 10px;
  left: 0;
  right: 0;
  text-align: center;
  font-size: 0.8em;
  color: #fff;
  text-shadow: 0 0 3px rgba(0, 0, 0, 0.5);
  z-index: 10;
}

/* Add to Home Screen Button Styling */
.adhs-container .adhs-modal .adhs-button.adhs-button-install {
    background-color: #f56d00 !important; /* Orange */
    color: white !important;
}

.adhs-container .adhs-modal .adhs-button.adhs-button-install:hover {
    background-color: #d45a00 !important; /* Dunkleres Orange */
}

.adhs-container .adhs-modal .adhs-button.adhs-button-cancel {
    background-color: transparent !important;
    color: #f56d00 !important; /* Orange Text */
    border: 1px solid #f56d00 !important; /* Orange Border */
}

.adhs-container .adhs-modal .adhs-button.adhs-button-cancel:hover {
    background-color: #f56d00 !important; /* Orange Hintergrund */
    color: white !important; /* Weißer Text */
}

@keyframes spin {
  0% { transform: translateY(-50%) rotate(0deg); }
  100% { transform: translateY(-50%) rotate(360deg); }
}
/* === FROM index.html <style> BLOCK END === */ 