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

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

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

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

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

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

/* 7. Button base 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;
    margin-left: 30px;
    margin-right: 50px;
    margin-top: 30px;
    margin-bottom: 40px;
    transition: all 0.2s ease;
}

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

/* 9. Privacy label styling */
.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;
}

/* 10. Checkbox base 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;
}

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

/* 12. 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);
}

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

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

/* 15. Modal styling - toevoegen aan login.css */
#pastor-modal-wrap {
    background: rgba(0, 0, 0, 0.5);
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: none;
    z-index: 1050;
    overflow-y: auto;
}

#pastor-form-wrap {
    background: #fff;
    width: 90%;
    max-width: 800px;
    margin: 30px auto;
    padding: 20px;
    border-radius: 4px;
    position: relative;
}

/* 16. Specifiek voor pastor modal */
#pastor-form {
    width: 100%;
    max-width: none;
}

#pastor-form input[type="text"],
#pastor-form input[type="email"],
#pastor-form input[type="date"],
#pastor-form select {
    width: 100%;
    padding: 15px;
    border: 1px solid #ddd;
    border-radius: 3px;
    margin-bottom: 15px;
}

/* 17. Close button voor modal */
.modal-close {
    position: absolute;
    right: 20px;
    top: 20px;
    font-size: 24px;
    color: #7ea6bd;
    cursor: pointer;
}

/* 18. Grid layout voor form fields */
.pastor-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 15px;
    margin-bottom: 20px;
}