/* 1. Body basis styling */
body {
    background-color: #9f9da7;
    font-size: 1.2rem;
    font-family: "Open Sans", sans-serif;
    color: #2b3e51;
}

/* 2. Heading styling */
h2 {
    font-weight: 300;
    text-align: center;
}

/* 3. Paragraph styling */
p {
    position: relative;
}

/* 4. Input en select basis styling */
input, select {
    display: block;
    box-sizing: border-box;
    width: 100%;
    outline: none;
    height: 60px;
    line-height: 60px;
    border-radius: 4px;
    font-size: 16px;
}

/* 5. Login form container */
#login-form-wrap {
   background-color: #ffffff;
   position: absolute;
   top: 50%;
   left: 50%;
   transform: translate(-50%, -50%);
   width: 500px;
   text-align: center;
   padding: 20px 0 0 0;
   border-radius: 4px;
   box-shadow: 0px 30px 50px 0px rgba(0, 0, 0, 0.2);
}

/* 6. Login form padding */
#login-form {
    padding: 0 48px;  /* Verkleind van 60px naar 48px (20% minder) */
}

/* 7. Input velden specifieke styling */
input[type="text"], 
input[type="password"],
input[type="email"],
select {
    width: 100%;
    padding: 0 10px;
    margin: 0;
    color: #8a8b8e;
    border: 1px solid #c2c0ca;
    font-style: normal;
    font-size: 16px;
    appearance: none;
    position: relative;
    display: inline-block;
    background: none;
}

/* 8. Speciale styling voor select */
select {
    background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='12'><path d='M0,0l6,6l6,-6z' fill='%238a8b8e'/></svg>") no-repeat right 10px center #fff;
    padding-right: 30px;
    line-height: normal;
}

/* 9. Submit button styling */
input[type="submit"] {
    border: none;
    display: block;
    background-color: #7ea6bd;
    color: #fff;
    font-weight: bold;
    text-transform: uppercase;
    cursor: pointer;
    font-size: 18px;
    position: relative;
    display: inline-block;
    cursor: pointer;
    text-align: center;
    transition: all 0.2s ease;
}

/* 10. Submit hover effect */
input[type="submit"]:hover {
    background-color: #1d526e;
}

/* 11. Button styling */
.button {
    border: none;
    outline: none;
    display: inline-block;
    width: 85%;
    height: 60px;
    line-height: 60px;
    background-color: #7ea6bd;
    color: #fff;
    font-weight: bold;
    text-transform: uppercase;
    cursor: pointer;
    font-size: 16px;
    position: relative;
    text-align: center;
    border-radius: 4px;
    text-decoration: none; /* Verwijdert de onderstreping van links */
    margin-left: 30px;
    margin-top: 30px;
    margin-bottom: 40px;
    transition: all 0.2s ease;
}

/* 12. Button hover effect */
.button:hover {
    background-color: #1d526e;
}

/* 13. Login links styling */
.login-links {
    margin: 15px 0;
    font-size: 0.9em;
}

/* 14. Link styling */
.login-links a {
    color: #7ea6bd;
    text-decoration: none;
    margin: 0 10px;
}

/* 15. Link hover effect */
.login-links a:hover {
    color: #1d526e;
    text-decoration: underline;
}

/* 16. Divider styling */
.divider {
    color: #ccc;
}

/* 17. Error styling */
.error {
    color: #cc1e2b;
    background-color: #fce4e4;
    padding: 10px;
    margin: 10px 0;
    border-radius: 4px;
    font-size: 14px;
}

/* 18. Errors container */
.errors {
    padding: 0 48px;
}

/* 19. Success message */
.success {
    color: #0C0;
    background-color: #e4fce4;
    padding: 20px;
    margin: 20px 0;
    border-radius: 4px;
    font-size: 14px;
}

/* 20. Success button styling */
.success a.button {
    display: inline-block;
    margin-top: 20px;
    padding: 12px 24px;
    background-color: #7ea6bd;
    color: #fff;
    text-decoration: none;
    border-radius: 4px;
    font-weight: bold;
    text-transform: uppercase;
    font-size: 14px;
    transition: all 0.2s ease;
}

/* 21. Success button hover */
.success a.button:hover {
    background-color: #1d526e;
}

/* 22. Create account wrap */
#create-account-wrap {
    background-color: #eeedf1;
    color: #8a8b8e;
    font-size: 18px;
    width: 100%;
    padding: 10px 0;
    border-radius: 0 0 4px 4px;
}

/* 23. Privacy label container */
.privacy-label {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    font-size: 12px;
    font-family: 'Lato', sans-serif;
    color: #666;
    line-height: 1.4;
    margin: 10px 0;
    font-style: italic;
}

/* 24. Checkbox styling */
.privacy-label input[type="checkbox"] {
    appearance: none;
    -webkit-appearance: none;
    width: 16px;
    height: 16px;
    border: 1px solid #ddd;
    border-radius: 3px;
    outline: none;
    cursor: pointer;
    position: relative;
    margin-top: 2px;
    background: white;
}

/* 25. Checkbox checked state */
.privacy-label input[type="checkbox"]:checked {
    background-color: #4CAF50;
    border-color: #4CAF50;
}

/* 26. Checkbox checkmark */
.privacy-label input[type="checkbox"]:checked:after {
    content: '';
    position: absolute;
    left: 5px;
    top: 2px;
    width: 4px;
    height: 8px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

/* 27. Checkbox hover state */
.privacy-label input[type="checkbox"]:hover {
    border-color: #4CAF50;
}

/* 28. Privacy label text */
.privacy-label span {
    flex: 1;
    padding-top: 2px;
}

/* 29. Media query voor responsive design */
@media (max-width: 768px) {
    #login-form-wrap {
        transform: translate(-50%, -50%) scale(4);
    }
}