body {
    font-family: 'Arial', sans-serif;
    margin: 0;
    padding: 0;
    color: #333;
}

header {
    padding: 20px;
    text-align: center;
    font-size: 1.8em;
    font-weight: bold;
    text-transform: uppercase;
}

form {
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    max-width: 400px;
    margin: 20px auto;
    border: 2px solid;
}

form label {
    font-weight: bold;
    display: block;
    margin-bottom: 5px;
}

form input {
    width: calc(100% - 16px); /* Vermindert de breedte met 16px voor padding */
    padding: 8px;
    margin-bottom: 15px;
    border: 1px solid #ccc;
    border-radius: 4px;
}

form button {
    font-weight: bold;
    border: none;
    padding: 10px 15px;
    border-radius: 4px;
    cursor: pointer;
    text-transform: uppercase;
    transition: background 0.3s;
}

.theme-switcher {
    text-align: center;
    margin-bottom: 20px;
}

.theme-switcher button {
    margin: 0 5px;
    padding: 10px 15px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    text-transform: uppercase;
    font-weight: bold;
    transition: background 0.3s;
}

.result-container {
    margin-top: 20px;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    max-width: 600px;
    margin: 20px auto;
    border: 2px solid;
}

.result-container h2 {
    text-align: center;
    padding: 10px;
    border-radius: 4px;
}

.info {
    text-align: center;
    font-size: 1.1em;
    font-weight: bold;
    margin-bottom: 10px;
}

table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 10px;
}

table th, table td {
    border: 1px solid #ccc;
    padding: 10px;
    text-align: center;
}

footer {
    text-align: center;
    padding: 10px;
    margin-top: 20px;
    font-size: 0.9em;
}

/* Default theme: DeWalt */
body.theme-dewalt {
    background-color: #ffcc00;
    color: #000;
}

body.theme-dewalt header {
    background-color: #ffcc00;
    color: #000;
}

body.theme-dewalt form, 
body.theme-dewalt .result-container {
    border-color: #000;
}

body.theme-dewalt form button,
body.theme-dewalt .theme-switcher button {
    background-color: #000;
    color: #ffcc00;
}

body.theme-dewalt form button:hover,
body.theme-dewalt .theme-switcher button:hover {
    background-color: #333;
}

/* Milwaukee theme */
body.theme-milwaukee {
    background-color: #d11124;
    color: #fff;
}

body.theme-milwaukee header {
    background-color: #d11124;
    color: #fff;
}

body.theme-milwaukee form, 
body.theme-milwaukee .result-container {
    border-color: #7a000c;
}

body.theme-milwaukee form button,
body.theme-milwaukee .theme-switcher button {
    background-color: #7a000c;
    color: #fff;
}

body.theme-milwaukee form button:hover,
body.theme-milwaukee .theme-switcher button:hover {
    background-color: #a30010;
}

/* Makita theme */
body.theme-makita {
    background-color: #005f56;
    color: #fff;
}

body.theme-makita header {
    background-color: #005f56;
    color: #fff;
}

body.theme-makita form, 
body.theme-makita .result-container {
    border-color: #004743;
}

body.theme-makita form button,
body.theme-makita .theme-switcher button {
    background-color: #004743;
    color: #fff;
}

body.theme-makita form button:hover,
body.theme-makita .theme-switcher button:hover {
    background-color: #006f64;
}
form button {
    display: block;
    margin: 0 auto;  /* Zorgt ervoor dat de knop in het midden staat */
}
