body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    margin: 0;
    padding: 20px;
    background-color: #f0f2f5; /* Lichte achtergrond */
    color: #333; /* Donkere tekst voor contrast */
    box-sizing: border-box;
    padding-bottom: 80px; /* Ruimte voor de footer */
}

.main-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: flex-start; /* Lijn de items aan de bovenkant uit */
    gap: 40px;
}

.tool-container {
    background-color: #ffffff;
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    text-align: center;
    width: 380px;
}

h1 {
    margin-top: 0;
    margin-bottom: 30px;
    font-size: 2.2em;
    color: #1952ff;
}

.input-group {
    margin-bottom: 20px;
    text-align: left;
}

label {
    display: block;
    margin-bottom: 8px;
    font-size: 0.95em;
    color: #555;
}

input[type="tel"],
select {
    width: 100%;
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 8px;
    background-color: #f9f9f9;
    color: #333;
    font-size: 1.1em;
    box-sizing: border-box;
    transition: border-color 0.2s;
}

input[type="tel"]:focus,
select:focus {
    border-color: #1952ff;
    outline: none;
}

select {
    font-family: 'Segoe UI Emoji', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

button {
    width: 100%;
    padding: 14px;
    border: none;
    border-radius: 8px;
    background-color: #1952ff;
    color: #fff;
    font-size: 1.3em;
    cursor: pointer;
    transition: background-color 0.3s, transform 0.1s;
    margin-top: 15px;
    font-weight: 600;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

button:hover {
    background-color: #1545cc;
    transform: translateY(-1px);
}

button:active {
    transform: translateY(0);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
}

.result {
    margin-top: 30px;
    background-color: #e0f2ff;
    padding: 18px;
    border-radius: 10px;
    word-wrap: break-word;
    border: 1px solid #b3e0ff;
}

.result h2 {
    margin: 0 0 12px 0;
    color: #1952ff;
    font-size: 1.3em;
}

.result p {
    margin: 0;
    font-size: 1.6em;
    font-weight: bold;
    color: #333;
}

.result a {
    color: #007bff;
    text-decoration: none;
    font-size: 0.9em;
}

.result a:hover {
    text-decoration: underline;
}

.vc-button {
    margin-top: 25px;
    background-color: #28a745;
    border: none;
    border-radius: 8px;
    color: white;
    cursor: pointer;
    font-size: 1.2em;
    padding: 12px;
    transition: background-color 0.3s, transform 0.1s;
    width: 100%;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    font-weight: 600;
}

.vc-button:hover {
    background-color: #218838;
    transform: translateY(-1px);
}

.vc-button:active {
    transform: translateY(0);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
}

.success-message {
    color: #28a745;
    background: #e9f7ef;
    padding: 10px;
    border-radius: 8px;
    margin-bottom: 20px;
    border: 1px solid #c3e6cb;
}

.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.6);
}

.modal-content {
    background-color: #ffffff;
    margin: 15% auto;
    padding: 30px;
    border: 1px solid #ddd;
    width: 80%;
    max-width: 500px;
    border-radius: 15px;
    position: relative;
    text-align: left;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.modal-content h2 {
    margin-top: 0;
    color: #1952ff;
    font-size: 1.8em;
}

.modal-content p {
    color: #555;
    margin-bottom: 20px;
}

.close-btn {
    color: #888;
    float: right;
    font-size: 32px;
    font-weight: bold;
    line-height: 1;
    transition: color 0.2s;
}

.close-btn:hover,
.close-btn:focus {
    color: #333;
    text-decoration: none;
    cursor: pointer;
}

.modal-content textarea {
    width: 100%;
    padding: 12px;
    box-sizing: border-box;
    border-radius: 8px;
    background-color: #f9f9f9;
    color: #333;
    border: 1px solid #ccc;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-size: 1em;
    margin-top: 10px;
    resize: vertical;
    min-height: 100px;
}

#modalSendBtn {
    margin-top: 25px;
    width: 100%;
    padding: 14px;
    border: none;
    border-radius: 8px;
    background-color: #1952ff;
    color: #fff;
    font-size: 1.3em;
    cursor: pointer;
    transition: background-color 0.3s, opacity 0.3s, transform 0.1s;
    font-weight: 600;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

#modalSendBtn:disabled {
    background-color: #b0c4de;
    cursor: not-allowed;
    opacity: 0.7;
    transform: translateY(0);
    box-shadow: none;
}

#modalSendBtn:disabled:hover {
    background-color: #b0c4de;
    transform: translateY(0);
}

/* Stijlen voor de Uitleg-Box */
.explanation-box {
    text-align: left;
    width: 320px;
    align-self: flex-start;
}

.explanation-box h1 {
    font-size: 1.8em;
}

.explanation-box p {
    line-height: 1.6;
    color: #555;
    margin-bottom: 25px;
    font-size: 1em;
}

.explanation-box ul {
    list-style-type: none;
    padding-left: 0;
    margin: 0;
}

.explanation-box ul li {
    margin-bottom: 20px;
    line-height: 1.5;
    color: #333;
}

.explanation-box ul li strong {
    color: #1952ff;
    display: block;
    margin-bottom: 4px;
    font-size: 1.1em;
}

.explanation-box ul li span {
    color: #555;
    font-size: 0.95em;
}

.explanation-box code {
    background-color: #e9ecef;
    padding: 2px 5px;
    border-radius: 4px;
    font-family: monospace;
    color: #333;
}

/* Footer Stijlen */
.site-footer {
    position: fixed;
    left: 0;
    bottom: 0;
    width: 100%;
    text-align: center;
    padding: 10px 0;
    height: 60px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.footer-logo {
    max-height: 40px;
    width: auto;
}

.main-container a {
    color: #1952ff; 
    text-decoration: none; 
}

.main-container a:hover {
    text-decoration: underline;
}
