body {
    font-family: 'Roboto', sans-serif;
    background-color: #e44c4c;
    margin: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
}

.container {
    background-color: #ffffff;
    border-radius: 20px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    padding: 40px;
    max-width: 500px;
    width: 100%;
}

.form-wrapper {
    text-align: center;
}

h2 {
    color: #e44c4c;
    margin-bottom: 30px;
    font-size: 32px;
}

.form-group {
    margin-bottom: 25px;
    text-align: left;
}

label {
    display: block;
    margin-bottom: 8px;
    color: #333;
    font-size: 18px;
}

input[type="email"],
input[type="password"],
input[type="text"],
input[type="file"],
select {
    width: calc(100% - 20px);
    padding: 15px;
    font-size: 18px;
    border: 1px solid #ddd;
    border-radius: 10px;
    box-sizing: border-box;
    margin-top: 5px;
}

.password-container {
    position: relative;
    display: flex;
    align-items: center;
}

.password-container input {
    width: 100%;
    padding-right: 45px; /* space for the eye icon */
}

.password-container i {
    position: absolute;
    right: 15px;
    cursor: pointer;
    color: #999;
    font-size: 20px;
}

input[type="checkbox"] {
    margin-right: 10px;
    transform: scale(1.5);
}

button.btn-primary {
    background-color: #ffffff;
    color: #e44c4c;
    padding: 15px 20px;
    font-size: 18px;
    border: 2px solid #e44c4c;
    border-radius: 10px;
    cursor: pointer;
    transition: background-color 0.3s ease, color 0.3s ease;
    width: 100%;
    box-sizing: border-box;
}

button.btn-primary:hover {
    background-color: #e44c4c;
    color: #ffffff;
}

button.creator-button {
    background-color: #e44c4c;
    color: #ffffff;
}

button.creator-button:hover {
    background-color: #ffffff;
    color: #e44c4c;
}

.error-message {
    color: #ffffff;
    background-color: #e44c4c;
    border-radius: 10px;
    font-size: 16px;
    padding: 10px;
    margin-top: -10px;
    margin-bottom: 20px;
    text-align: left;
}

/* Style für das Formular auf der Seite anmelden5.html */
.file-input-wrapper {
    position: relative;
    overflow: hidden;
    display: inline-block;
}

.file-input-button {
    background-color: #e44c4c;
    color: #fff;
    padding: 15px 20px;
    font-size: 18px;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    width: 100%;
    box-sizing: border-box;
    text-align: center;
}

.file-input-wrapper input[type="file"] {
    position: absolute;
    left: 0;
    top: 0;
    opacity: 0;
    height: 100%;
    width: 100%;
}
