/* Algemene instellingen */
body, html {
    margin: 0;
    padding: 0;
    height: 100%;
    font-family: Arial, sans-serif;
    background: linear-gradient(to bottom right, orange 50%, #ffffff 50%);
    display: flex;
    justify-content: center;
    align-items: center;
}


.register-container, 
.login-container {
    max-width: 500px;
    width: 100%;
    padding: 2rem;
    background-color: rgba(255, 255, 255, 0.9);
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    min-height: 400px; 
    box-sizing: border-box;
}

/* Formulieren */
.register-form, 
.login-form {
    width: 100%;
}

.register-form .form-group {
    transition: all 0.2s ease-in-out;
}

/* Formuliervelden */
.form-groupk {
    margin-bottom: 1.5rem;
}

/* Invoervelden */
input[type="text"], 
input[type="email"], 
input[type="password"], 
select {
    width: 100%;
    padding: 10px;
    border: 2px solid #343469;
    border-radius: 8px;
    font-size: 16px;
    box-sizing: border-box;
    height: 45px;
}

input:focus, 
select:focus {
    border-color: rgb(245, 130, 32);
    outline: none;
    box-shadow: 0 0 5px rgba(245, 130, 32, 0.5);
}

/* Foutmeldingen */
.x-input-error {
    min-height: 1.2em;
    display: block;
    color: red;
    font-size: 0.875em;
    margin-top: 4px;
}

/* Knoppen */
button {
    padding: 0.8rem 1.2rem;
    font-size: 1rem;
    background-color: orange;
    border: none;
    border-radius: 5px;
    color: white;
    cursor: pointer;
    transition: background-color 0.3s, transform 0.1s;
}

button:hover {
    background-color: darkorange;
    transform: scale(1.05);
}

/* Logo */
.logo {
    display: flex;
    justify-content: center;
    margin-bottom: 20px;
}

.logo img {
    width: 250px;  
    display: block;
    margin: 0 auto 20px;
}

/* Popup styling */
#dataPopup {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.7);
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

/* Inhoud van de popup */
#dataPopup .dataWrapperPopup {
    display: flex;
    flex-direction: column;
    gap: 20px;
    align-items: center;
    justify-content: center;
    background-color: white;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    width: 80%;
    max-width: 400px;
    text-align: center;
}

/* Knoppen in de popup */
#dataPopup .buttonWrapper {
    width: 100%;
    display: flex;
    justify-content: flex-end;
    gap: 0.5rem;
}

/* Scrollbar */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-thumb {
    background: #343469;
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: rgb(245, 130, 32);
}

/* Styling voor de rij met Opleiding en Klas naast elkaar */
.form-group-row {
    align-items: center;
    display: flex;
    gap: 20px;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
}

#opleiding, #klas {
    width: 100%;
    max-width: 280px;
}

.form-groupe, #klas {
    border-radius: 8px;
    font-size: 16px;
    box-sizing: border-box;
}

#klas {
    min-height: 40px;
    padding: 10px;
    border: 2px solid #343469;
    font-size: 16px;
    transform-origin: bottom;
    resize: vertical;
    overflow: auto;
}

#klas:focus {
    border-color: rgb(245, 130, 32);
    outline: none;
    box-shadow: 0 0 5px rgba(245, 130, 32, 0.5);
}
.logo img {
    width: 250px;  
    display: block;
    margin: 0 auto 20px; /* Zentereer het logo en geef het een beetje marge onderaan */

    #opleiding,
    #klas {
        max-width: 100%;
    }
}