
div#login_register_form {
    min-height: 300px;
}

p.response.error {
    background: rgba(240,10,10,0.3);
    border-color: #be0e0e;
    color: #953a3a;
}

p.response.success {
    background: rgba(10, 240, 22, 0.3);
    border-color: #0ebe1a;
    color: #24722e;
}

p.response {
    padding: 0.25em;
    border: 2px solid;
    margin: 1em 0;
    font-size: 0.9em;
    font-weight: bold;
    border-radius: 5px;
    text-align: center;
    color: #000;
    line-height: 1.7;
}

.login-form-wrapper {
    padding: 2em 2em 2em 18em;
    background-image: url("https://wissen.alex-fischer-duesseldorf.de/wp-content/uploads/2024/02/af_register_form_bg.png");
    background-size: cover;
    min-height: 560px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

div#login_register_form {
    font-family: 'Open Sans';
    font-size: 0.9em;
}

div#login_register_form input {
    border: 1px solid #939393;
    color: #686868;
    outline: none !important;
}

/* input[type="submit"] {
    width: 100%;
    background: #DC3131;
    color: white !important;
    font-size: 1.1em;
    font-family: 'Francois One';
    border: 0px !important;
} */

#login_form input[type="submit"] {
    width: 100%;
    background: #DC3131;
    color: white !important;
    font-size: 1.1em;
    font-family: 'Francois One';
    border: 0px !important;
    transition: 0.5s ease-out;
    position: relative;
}

#login_form input[type="submit"]:disabled {
    background: #B3B3B3;
    opacity: 0.5;
    cursor: wait;
}


@keyframes button-spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}



a.create-new-account {
    color: #2984C6 !important;
}

p.new-account-wrapper {
    font-weight: bold;
    font-size: 0.9em;
    text-align: center;
}

a.forgot-password {
    color: #767676;
}

input:disabled {
    cursor: wait;
    opacity: 0.5s;
}


.registration-step-one,
.verification-step-two,
.phone-verification-step-three,
.complete-account-setup-step-four,
.final-step-form,
.phone-verification-invalid-code,
.password-reset-form {
    padding: 4em;
}

.centered {
    text-align: center;
}


.field-group {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1.5em;
    gap: 1em;
}

.form-description {
    font-weight: bold;
    flex-basis: 25%;
    max-width: 25%;
    text-align: right;
    line-height: 1.2;
    gap: 1em;
}

.form-description p {
    margin: 0;
}

.register-field {
    position: relative;
    display: flex;
    gap: 1em;
    flex-grow: 1;
    flex-basis: 70%; /* Angepasst, um die Gesamtbreite zu berücksichtigen */
}

.register-field input[type="text"],
.register-field input[type="email"],
.register-field input[type="password"] {
    flex-grow: 1;
}


.toggle-password {
    position: absolute;
    cursor: pointer;
    right: 10px;
    top: 6px;
    z-index: 10; /* Höherer z-Index, damit die Schaltfläche über dem Eingabefeld liegt */
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Media Query für mobile und Tablet-Geräte */
@media (max-width: 1024px) {
    .toggle-password {
        width: 30px; /* Erhöhe die Breite des Klickbereichs */
        height: 30px; /* Erhöhe die Höhe des Klickbereichs */
    }
    .toggle-password i {
        font-size: 1.5em;
    }
}

/* Anpassung für Bildschirme mit geringerer Breite */
@media (max-width: 768px) {
    .form-description {
        flex-basis: 100%;
        max-width: 100%;
    }

    .register-field {
        flex-direction: column;
    }

    .register-field input[type="text"],
    .register-field input[type="email"],
    .register-field input[type="password"] {
        flex-grow: 0;
        width: 100%;
    }
}

form#registration_form_step_one {
    margin: 3.5em 0em;
}


/* Passwortstärkeanzeige */
.password-requirements {
    font-size: 0.9em;
    margin: 0.5em 0em 0.5em 0em;
}

.password-requirements p {
    margin: 0em 0em;
}

p.not-valid {
    color: #CD1515;
}

p.not-valid::before {
    content: "\f057";
    font-family: 'Font Awesome 5 Free';
    color: #CD1515;
    margin-right: 8px;
    display: inline-block;
}

p.valid {
    color: #168c16;
}

p.valid::before {
    content: "\f058";
    font-family: 'Font Awesome 5 Free';
    color: #168c16;
    margin-right: 8px;
    display: inline-block;
}

.countdown {
    font-size: 1.1em;
    margin: 2em 0em;
    font-style: italic;
}

.resend-code-button {

}

span.remain-counter {
    font-weight: bold;
}


/* Verifizierungscode erneut senden */
.resend-code-button{
    font-size: 0.9em;
    font-family: 'Francois One', sans-serif;
    border: none;
    padding: 10px 20px;
    cursor: pointer;
    background-color: #ffffff;
    color: #000000;
    border-radius: 25px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2); 
    transition: all 0.3s ease;
    margin: auto;
}

.resend-code-button:hover {
    background-color: #f2f2f2 !important;
    color: #000000 !important;
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
}

.verification-code-inputs {
    display: flex;
    justify-content: space-evenly;
    margin: 2em 0em;
}



/* Deaktivierter Button für erneutes Senden des Verifizierungscodes */
button#resend_code:disabled {
    cursor: not-allowed;
    opacity: 0.5;
    transition: 0.5s;
}

.verification-code-inputs .single-digit-input {
    width: 40px; /* Breite der Eingabefelder */
    height: 50px; /* Höhe der Eingabefelder */
    margin: 0 5px; /* Abstand zwischen den Eingabefeldern */
    border: 1px solid #ccc; /* Rahmenfarbe */
    border-radius: 5px; /* Leicht abgerundete Ecken */
    text-align: center; /* Text zentrieren */
    font-size: 1.5em; /* Größere Schrift für leichteres Lesen der Zahlen */
    padding: 5px; /* Innenabstand */
    box-shadow: 0 3px 6px rgba(0,0,0,0.1); /* Leichter Schatten für Tiefe */
    transition: border-color 0.3s ease-in-out; /* Animation für Rahmenfarbe */
}

.verification-code-inputs .single-digit-input:focus {
    border-color: #333; /* Rahmenfarbe beim Fokussieren des Eingabefelds */
    outline: none; /* Standardmäßigen Browser-Fokus entfernen */
    box-shadow: 0 0 5px rgba(0,0,0,0.2); /* Stärkerer Schatten beim Fokus */
}

.account-created-confirmation {
    padding: 3em 18em 3em 3em;
    background-image: url(https://wissen.alex-fischer-duesseldorf.de/wp-content/uploads/2024/02/background-confirm.png);
    background-size: contain;
    background-repeat: no-repeat;
    background-position: right;
}

.account-created-confirmation h3 {
    color: #4DA95B;
}

.account-created-confirmation button {
    background-color: #e53e30;
    color: white;
    font-size: 1em;
    padding: 0.5em 2em;
    border: none; 
    border-radius: 20px; 
    cursor: pointer; 
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    text-align: center; 
    display: inline-block; 
    transition: background-color 0.3s, box-shadow 0.3s; /* Weiche Übergänge für Farbe und Schatten */
    text-decoration: none; 
}

.account-created-confirmation button:hover {
    background-color: #c53229; 
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3); 
}


.register-list-field {
    display: flex;
    gap: 1em;
    flex-grow: 1;
    flex-basis: 70%;
    flex-direction: column;
    flex-wrap: wrap;
    justify-content: space-around;
    align-items: flex-start;
}

.field-group-row {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    margin-bottom: 2.5em;
    gap: 1em;
}

p.data-protection-info {
    font-size: 0.8em;
    line-height: 1.5;
    margin-top: 1em;
    text-align: justify;
}

.iti.iti--allow-dropdown.iti--separate-dial-code {
    width: 100%;
}

.iti__selected-dial-code {
    margin-left: 9px;
}

.email-field {
    display: flex;
    flex-direction: column;
    position: relative;
}

.email-validation-response {
    font-size: 0.9em;
    margin: 0px;
    margin-top: -8px;
    line-height: 1.8;
    text-align: justify;
}

.email-validation-response.email-available {
    color: green;
}

.email-validation-response.email-not-available {
    color: rgb(163, 8, 8);
}

/* Progress Bar */
.progress-container {
    width: 100%;
    background-color: #eee;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.2);
}

.progress-bar {
    height: 20px;
    background-color: #d9534f;
    width: 0;
    transition: width 0.4s ease-in-out;
}

.progress-step {
    text-align: left;
    color: #666;
    font-weight: normal;
    margin-top: 1em;
}

.progress-wrapper {
    margin: 2em 0em;
}

/* Anpassung für Next / Previous Buttons */

.form-navigation {
    display: flex;
    justify-content: space-between; /* Sorgt dafür, dass die Buttons am Anfang und Ende der Navigation sind */
    margin: 20px 0; /* Stellen Sie hier den gewünschten Abstand ein */
}

.form-navigation .back,
.form-navigation .show-login-form {
    background-color: #ffffff;
    color: #000000;
    border: 2px solid #cccccc;
    padding: 10px 20px;
    border-radius: 20px;
    font-size: 16px;
    transition: all 0.3s ease;
}

.form-navigation .next {
    background-color: #d9534f;
    color: #ffffff;
    border: none;
    padding: 10px 20px;
    border-radius: 20px;
    font-size: 16px;
    transition: all 0.3s ease;
    width: auto;
    margin: 0px;
}

.form-navigation button:hover {
    opacity: 0.8; /* Leichtes Aufhellen beim Hovern */
    box-shadow: 0 2px 5px rgba(0,0,0,0.2); /* Schatten für einen "Schweben"-Effekt */
}

.form-navigation button:active {
    transform: scale(0.98); /* Button wird beim Klicken leicht kleiner */
}

.secondary {
    background-color: #ffffff;
    color: #000000;
    border: 2px solid #cccccc;
    padding: 10px 20px;
    border-radius: 20px;
    font-size: 16px;
    transition: all 0.3s ease;
}

.secondary button:hover {
    opacity: 0.8; /* Leichtes Aufhellen beim Hovern */
    box-shadow: 0 2px 5px rgba(0,0,0,0.2); /* Schatten für einen "Schweben"-Effekt */
}

.secondary button:active {
    transform: scale(0.98); /* Button wird beim Klicken leicht kleiner */
}

.phone-number-input {
    position: relative;
}

/* E-Mail Validation beim Registrieren */
@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.validation-spinner {
    position: absolute;
    right: 10px;
    top: 13px;
    animation: spin 2s linear infinite;
    display: none;
}


.phone-validation-response {
    margin: 1em 0em !important;
}

/* Main Spinner Loading */
.view-loading-spinner {
    display: flex;
    align-content: center;
    justify-content: center;
    padding: 8em;
}

.view-loading-spinner .spinner {
    font-size: 3em;
    color: grey;
    cursor: wait;
}

/* intlTelInput */
.iti__country-list {
    background: white;
}

#phone_number {
    padding-left: 85px !important;
}

/* Erhöht den Klickbereich der Landesvorwahl über dem Input auf Mobile.
   Verhindert, dass das Eingabefeld die Flagge überlagert. */
.iti__flag-container,
.iti__selected-flag {
    z-index: 5;
}

button.primary.next:disabled {
    cursor: not-allowed;
    opacity: 0.5;
}


/* Media Query für Geräte mit einer Bildschirmbreite von weniger als 640px */
@media (max-width: 640px) {
    .registration-step-one,
    .verification-step-two,
    .phone-verification-step-three,
    .complete-account-setup-step-four,
    .final-step-form,
    .phone-verification-invalid-code,
    .password-reset-form {
        padding: 1em;
    }

    .field-group {
        display: flex;
        align-items: flex-start;
        justify-content: flex-start;
        margin-bottom: 1.5em;
        gap: 1em;
        flex-direction: column;
        align-content: flex-start;
    }

    .register-field {
        position: relative;
        display: flex;
        width: 100%;
        gap: 1em;
        flex-grow: 1;
        flex-basis: 100%;
    }

    .form-description {
        flex-basis: 100%;
        text-align: left;
        line-height: 1.5;
    }

    .field-group-row {
        flex-direction: column;
    }

    .account-created-confirmation {
        padding: 1em;
        background: white;
        background-image: none;
    }

    .account-created-confirmation button {
        width: 100%;
    }

    .login-form-wrapper {
        padding: 1em;
        background-color:white;
        background-image: none;
        min-height: auto;
    }

    .centered {
        text-align: left;
    }

    .registration-step-one h2 {
        font-size: 1.5em;
    }

    form#registration_form_step_one {
        margin: 0em;
    }

    .account-created-confirmation h3 {
        color: #4DA95B;
        font-size: 1.5em;
    }
}

button.reset_password,
button.change_password {
    width: 100%;
    background: #DC3131;
    color: white !important;
    font-size: 1.1em;
    font-family: 'Francois One';
    border: 0px !important;
    margin: 1em 0em 2em 0em;
}

button.reset_password:disabled,
button.change_password:disabled {
    opacity: 0.5;
    cursor: wait;
}


/* Error Message */
.error-container {
    padding: 3em;
    width: 100%;
}

.error-icon {
    font-size: 50px;
    color: #757575;
}
.error-message {
    color: #757575;
    margin: 20px 0;
}
.reload-button {
    padding: 10px 20px;
    margin-top: 20px;
    border: none;
    background-color: #e0e0e0;
    cursor: pointer;
}
.reload-button:hover {
    background-color: #d5d5d5;
}

.password-reset {
    position: relative;
}

span.additional-info {
    color: #bc2525;
    text-decoration: underline;
}


p.response a {
    text-decoration: underline;
    color: unset;
}