* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: Arial, sans-serif;
    background-image: url("../../fotos/background2Gstboek.jpg");
    background-size: cover;
    background-position: center;
}

.registerCard {
    background-color: rgb(36, 36, 36);
    border: 1px solid rgb(55, 55, 55);
    border-radius: 16px;
    padding: 40px 36px;
    width: 100%;
    max-width: 420px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.registerLogo {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 4px;
}

.registerLogoIcon {
    width: 44px;
    height: 44px;
    background-image: url("../../fotos/JerryKatBastiaan.webp");
    background-size: cover;
    background-position: center;
    border-radius: 50%;
}

.registerLogoName {
    color: rgb(170, 170, 170);
    font-size: 1.4rem;
    font-weight: bold;
}

.registerTitle {
    color: white;
    font-size: 1.5rem;
    font-weight: bold;
}

.registerSubtitle {
    color: rgb(120, 120, 120);
    font-size: 0.9rem;
    margin-top: 2px;
}

.registerError {
    background-color: rgb(80, 30, 30);
    border: 1px solid rgb(130, 60, 60);
    color: rgb(255, 120, 120);
    border-radius: 8px;
    padding: 10px 14px;
    font-size: 0.88em;
}

.formGroup {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.formGroup label {
    color: rgb(170, 170, 170);
    font-size: 0.9em;
}

.formGroup input[type="text"],
.formGroup input[type="password"],
.formGroup input[type="email"] {
    background-color: rgb(27, 27, 27);
    border: 1px solid rgb(60, 60, 60);
    border-radius: 8px;
    color: white;
    font-size: 0.95em;
    padding: 10px 12px;
    transition: border-color 0.2s;
    outline: none;
    font-family: Arial, sans-serif;
}

.formGroup input:focus {
    border-color: rgb(110, 110, 110);
}

.formGroup input::placeholder {
    color: rgb(80, 80, 80);
}

.fileUploadLabel {
    display: flex;
    align-items: center;
    gap: 10px;
    background-color: rgb(27, 27, 27);
    border: 1px solid rgb(60, 60, 60);
    border-radius: 8px;
    padding: 10px 12px;
    cursor: pointer;
    transition: border-color 0.2s;
}

.fileUploadLabel:hover {
    border-color: rgb(110, 110, 110);
}

.fileUploadLabel span {
    color: rgb(120, 120, 120);
    font-size: 0.88em;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.fileUploadLabel .fileIcon {
    color: rgb(150, 150, 150);
    font-size: 1.1em;
    flex-shrink: 0;
}

.avatarPreview {
    display: none;
    align-items: center;
    gap: 12px;
    margin-top: 4px;
}

.avatarPreview img {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid rgb(70, 70, 70);
}

.avatarPreview .removeAvatar {
    background-color: rgb(80, 30, 30);
    color: rgb(255, 120, 120);
    border: none;
    border-radius: 6px;
    padding: 4px 10px;
    font-size: 0.82em;
    cursor: pointer;
}

.avatarPreview .removeAvatar:hover {
    background-color: rgb(110, 40, 40);
}

.registerBtn {
    background-color: rgb(60, 60, 60);
    color: white;
    border: none;
    border-radius: 8px;
    padding: 11px;
    font-size: 1em;
    cursor: pointer;
    transition: background-color 0.2s;
    width: 100%;
    margin-top: 4px;
}

.registerBtn:hover {
    background-color: rgb(90, 90, 90);
}

.registerFooter {
    text-align: center;
    color: rgb(120, 120, 120);
    font-size: 0.88em;
}

.registerFooter a {
    color: rgb(170, 170, 170);
    text-decoration: none;
}

.registerFooter a:hover {
    color: white;
}




