body {
    font-family: Arial, sans-serif;
    background-color: #f8f8f8;
    max-width: fit-content;
    margin: 0 auto;
}

.wrapper {
    margin-top: 20px;
}

header {
    text-align: center;
    margin: 20px 0;
}

header button {
    background-color: #007bff;
    color: #fff;
    cursor: pointer;
    font-size: 16px;
    font-weight: bold;
    padding: 10px 20px;
    margin: 0 10px;
    border: none;
    border-radius: 4px;
}

header button:hover {
    background-color: #0056b3;
}

header button.orange-button {
    background-color: #ff6600;
    color: #fff;
    cursor: pointer;
    font-size: 16px;
    font-weight: bold;
    padding: 10px 20px;
    margin: 0 10px;
    border: none;
    border-radius: 4px;
}

header button.orange-button:hover {
    background-color: #e65c00;
}

form {
    background-color: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    max-width: 400px;
    width: 96%;
    box-sizing: border-box;
    margin: 0 auto; /* Center the form horizontally */
}


label {
    display: block;
    margin-bottom: 8px;
    font-weight: bold;
}

input,
select,
button.form-submit {
    width: 100%;
    padding: 10px;
    margin-bottom: 15px;
    box-sizing: border-box;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
}

textarea {
    width: 100%;
    padding: 10px;
    margin-bottom: 15px;
    box-sizing: border-box;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
}

select[multiple] {
    height: auto;
}

button.form-submit {
    background-color: #007bff;
    color: #fff;
    cursor: pointer;
    font-size: 16px;
    font-weight: bold;
}

button.form-submit:hover {
    background-color: #0056b3;
}

.explanation {
    font-size: 12px;
    color: #007bff;
    margin-top: -5px;
    margin-bottom: 10px;
}

.separator {
    height: 1px;
    background-color: #ddd;
    margin: 15px 0;
}

.success-message {
    color: #28a745;
    font-weight: bold;
}

.hidden {
    display: none;
}

.main-container {
    max-width: 96%;
    margin: 0 auto;
}

.main {
    text-align: center;
    padding: 20px;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    width: 100%;
    box-sizing: border-box;
    margin: 20px 0;
}

.loader {
    display: none;
    border: 8px solid #f3f3f3;
    border-top: 8px solid #3498db;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Add this rule for default blue style for links */
a {
    color: #007bff;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}
