.createAccountContainer, .password-reset-container {
    min-width: 400px;
    width: 100%;
    max-width: 600px;
    margin: 0 auto;
    padding: 20px;
	border: 3px solid var(--secondary-color);
    background-color: var(--primary-color);
    border-radius: 20px;
	margin-top: 50px;
	position: relative;
}

.createAccountInnerContent {
    padding: 20px;
}

h2#headerText {
    text-align: left;
    font-weight: 600;
	margin-bottom: 20px;
	color: var(--secondary-color);
}

p#helloMessage {
    font-weight: 600;
    margin-bottom: 20px;
    margin-top: 20px;
}

.form-row {
    display: flex;
    flex-wrap: wrap;
    margin-bottom: 15px;
	color: var(--secondary-color);
	font-weight: 600;
}

.form-group {
    flex: 1;
    margin-right: 10px;
}



.form-group:last-child {
    margin-right: 0;
}

label {
    display: block;
    margin-bottom: 5px;
}

#salutation {
    width: 100px; /* Breite für Salutation festgelegt */
}

input[type="text"],
input[type="email"],
input[type="password"],
select {
    width: 100%!important;
    padding: 8px!important;
    border: 1px solid #ccc!important;
    border-radius: 5px!important;
    box-sizing: border-box!important;
	color: var(--primary-color)!important;
    padding: 5px!important;
    background-color: white!important;
}

input[type="email"][readonly] {
    background-color: #e9e9e9;
}

.submit-button {
    margin-left: auto;
    display: block;
    padding: 10px 20px;
    border: 2px solid var(--secondary-color);
    border-radius: 5px;
    background-color: var(--primary-color);
    color: #fff;
    cursor: pointer;
    text-align: right;
	margin-top: 20px;
	color: var(--secondary-color);
    font-weight: 700;
}

.submit-button:hover {
    background-color: var(--primary-color-50);
}


div#account-creation-message {
    color: var(--secondary-color);
}



.form-links {
    float: right;
}


.form-links a{
    padding: 3px 10px;
    color: var(--secondary-color);
    border-radius: 10px;
    font-weight: 600;
}

#login-link{
	display: none;
}

a#register-link {
    margin-right: 20px;
}



.password-reset-container h2 {
    color: var(--secondary-color);
	margin-bottom: 20px;
}


a.logoutButton {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 80px;
}


div#logoutButton {
    margin-right: auto;
}


/* Overlay-Styling */
.loadingOverlay {
    display: none; /* Overlay ist standardmäßig ausgeblendet */
    position: absolute;
    border-radius: 20px;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.4); /* Halbtransparenter schwarzer Hintergrund */
    z-index: 1000; /* Über allen anderen Inhalten */
    justify-content: center;
    align-items: center;
}

/* Spinner-Styling */
.spinner {
    border: 8px solid var(--primary-color); /* Heller Rand */
    border-top: 8px solid var(--secondary-color); /* Dunkler Rand */
    border-radius: 50%;
    width: 60px;
    height: 60px;
    animation: spin 1s linear infinite;
}

/* Spinner-Animation */
@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Klasse zum Aktivieren des Overlays */
#loadingOverlay.active {
    display: flex;
	pointer-events: none;
}



.errorMessage{
	color: red;
    font-size: 0.9em;
    margin-top: 5px;
}
#account-creation-message, #password-reset-message{
	color: var(--secondary-color);
    font-size: 0.9em;
    margin-top: 5px;
}
