/* Allgemeine Stile für die Registrierungsseite */
#register-page {
    background: #fff;
    padding: 20px;
    border-radius: 5px;
    width: 400px;
    margin: auto;
    box-shadow: 3px 3px 5px rgba(0, 0, 0, 0.1);
    font-family: Arial, sans-serif;
}

.register-headline {
    left: 0;
    text-align: left;
    padding-left: 0;
	margin-left: -20px; /* Gleicht das Padding des Hauptcontainers aus */
}

.register-headline h2{
    color: #fff;
    margin-bottom: 0%;
}

.register-headline-container {
    display: inline-block; /* Passt sich der Breite des H2-Elements an */
    background-color: rgba(0, 0, 0, 0.5);
    padding: 5px 10%; /* 5px oben/unten, 10px rechts/links */
    margin-bottom: 30px;
}

/* Formular-Stile */
#signup-form {
    display: flex;
    flex-direction: column;
}

/* Eingabefelder */
#signup-form label {
    font-weight: bold;
    display: block;
    margin: 10px 0 5px;
    color: #333;
}

#signup-form input,
#signup-form textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #0073aa;
    border-radius: 5px;
    font-size: 14px;
    box-sizing: border-box;
}

/* Fokus- und Validierungs-Stile */
#signup-form input:focus,
#signup-form textarea:focus {
    cursor: text;
    color: #000;
    border-color: #6EC1E4;
    outline: none;
    box-shadow: 0 0 5px rgba(110, 193, 228, 0.5);
}

#signup-form input:valid,
#signup-form textarea:valid {
    color: #000;
}

.password_box1,
#password_confirm {
    border: none !important;
}

#password-error{
    color: red;
    font-size: 10px;
    margin-top: 5px;
}

/* Button-Stil */
#signup-form input[type="submit"] {
    width: 100%;
    background-color: #0073aa;
    color: white;
    padding: 10px;
    font-size: 16px;
    border: none;
    border-radius: 5px;
    margin-top: 20px;
    cursor: pointer;
    transition: background 0.3s ease;
}

#signup-form input[type="submit"]:hover {
    background-color: #005b87;
}

/* Custom Logo Box */
.company-logo-container {
    background-image: url('https://ketmarket.eu/wp-content/uploads/2024/05/Logofarbig.png');
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    height: 150px;
    text-align: center;
    margin-bottom: 20px;
    border: none;
    box-shadow: none;
}

/* Layout-Anpassungen */
.layout-wrap {
    display: flex;
    flex-direction: column;
}

/* Registrierungssektionen */
.register-section {
    margin-bottom: 20px;
    padding: 15px;
    background: #fff;
    border-radius: 5px;
}

.register-section.extended-profile {
    background-color: #fff;
}

/* Passwort-Sichtbarkeitsbutton */
.info_and_toggle {
    display: flex;
    align-items: center;  /* Vertikal zentrieren */
    justify-content: center; /* Horizontal zentrieren */
    border: 1px solid #0073aa;
    border-radius: 5px;
}

.toggle {
    display: flex;
    align-items: center;
    justify-content: center; 
    width: 50px; /* Kann angepasst werden */
}

.toggle-password {
    color: #007bff;
    cursor: pointer;
    font-size: 12px;
    margin: 0%;
}

.toggle-password:hover {
    text-decoration: underline;
}

#generate-pw-button {
    background-color: rgba(0, 0, 0, 0.5);
    margin-top: 10px;
    margin-bottom: 10px;
    color: #fff;
}

.pw-text {
    max-width: 100%; /* Limits the width from the left side */
    text-align: left;
    line-height: 1.2;
}

#signup-form small {
    font-size: 12px;
    color: #666;
    margin-top: 5px;
}

.registration-messages {
    margin-bottom: 0px;
    padding-top: 20px;
}

.error-message {
    background-color: #fff;
    color: #d8000c;
    /*border-left: 5px solid #d8000c;*/
    text-align: center;
    padding: 0px;
    margin-bottom: 0px;
    font-weight: bold;
    margin: 0px;
}

.success-message {
    background-color: #fff;
    color: #4CAF50;
    /*border-left: 5px solid #4CAF50;*/
    text-align: center;
    padding: 10px;
    margin-bottom: 0px;
    font-weight: bold;
    border-radius: 5px;
}

/*Checkbox terms und privacy*/
.required-newsletter-wrapper {
  display: flex;
  flex-direction: row;           /* ← Wichtig: von links nach rechts */
  align-items: flex-start;       /* Obenbündig */
  gap: 10px;                     /* Abstand zwischen Checkbox und Text */
  padding: 15px;
  margin-top: 20px;
  font-size: 12px;
  color: #333;
  line-height: 1.5;
}

.required-newsletter-wrapper input[type="checkbox"] {
  appearance: none !important;
  -webkit-appearance: none !important;
  -moz-appearance: none !important;

  width: 18px !important;
  height: 18px !important;
  margin-top: 4px !important;

  border: 1px solid #0073aa !important;
  border-radius: 0 !important;
  background-color: #fff !important;

  cursor: pointer !important;
  position: relative !important;
  display: inline-block !important;
  box-shadow: none !important;
}

.required-newsletter-wrapper input[type="checkbox"]:checked::before {
  content: '';
  position: absolute;
  top: 1px;
  left: 6px;
  width: 8px;
  height: 14px;
  border: solid #0073aa;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

.required-newsletter-wrapper .newsletter-text {
  flex: 1;
  color: #333;
}

.required-newsletter-wrapper .newsletter-text a {
  color: #0073aa;
  text-decoration: underline;
  font-weight: normal;
  transition: color 0.3s ease;
}

.required-newsletter-wrapper .newsletter-text a:hover {
  color: #005b87;
  text-decoration: none;
}

/* CAPTCHA allgemeiner Block */
/* CAPTCHA Hauptcontainer */
.captcha-wrapper {
    background: #f9f9f9;
    padding: 15px;
    padding-bottom: 0px;
    margin-top: 20px;
    border: 1px solid #0073aa;
    border-radius: 5px;
}

/* CAPTCHA-Überschrift */
.captcha-heading {
    font-size: 18px;
    font-weight: bold;
    text-align: center;
    margin-bottom: 20px;
    color: #0073aa;
}

/* Einzelne CAPTCHA-Sektionen (Frage und Slider) */
.captcha-question,
.slider-captcha {
    margin-bottom: 20px;
}

/* Labels innerhalb CAPTCHA */
.captcha-question label,
.slider-captcha label {
    font-weight: bold;
    display: block;
    margin-bottom: 8px;
    color: #333;
}

/* Eingabefelder */
.captcha-question input[type="text"] {
    width: 100%;
    padding: 10px;
    border: 1px solid #0073aa;
    border-radius: 5px;
    font-size: 14px;
    box-sizing: border-box;
}

/* Slider */
.slider-captcha input[type="range"] {
    width: 100%;
    height: 6px;
    background: #e0e0e0;
    border-radius: 5px;
    appearance: none;
    cursor: pointer;
    margin-top: 5px;
}

/* Slider Thumb – angepasst an dein Farbschema */
.slider-captcha input[type="range"]::-webkit-slider-thumb {
    appearance: none;
    width: 20px;
    height: 20px;
    background: #0073aa;
    border-radius: 50%;
    cursor: pointer;
    border: none;
}

.slider-captcha input[type="range"]::-moz-range-thumb {
    width: 20px;
    height: 20px;
    background: #0073aa;
    border-radius: 50%;
    cursor: pointer;
    border: none;
}

/* Slider Fokus-Effekte komplett abschalten */
.slider-captcha input[type="range"]:focus {
    outline: none !important;
    border: none !important;
    box-shadow: none !important;
}

/* Slider-Message */
#slider-message {
    font-size: 13px;
    text-align: center;
    margin-top: 5px;
    color: #0073aa;
}

/* Honeypot bleibt unsichtbar */
#website {
    display: none !important;
}


/* Responsive Anpassung */
@media (max-width: 600px) {
    #register-page {
        max-width: 90%;
    }
}
