html,
body {
    background-color: #F2F2F2;
}

body {
    font-family: "Open Sans", Arial, sans-serif;    
    margin: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    font-size: 17px;
    line-height: 27px;
}

.container {
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    padding: 30px;
    max-width: 500px;
    text-align: center;
}

h1,
h2 {
    font-size: 30px;
    line-height: 1.4em;
    color: #333;
    margin: 0.1em;
}

h2 {
    font-size: 22px;
    margin-top: 0.5em;
}

.explanatory-text,
.fine-print,
.footer{
    color: #666;
}

.footer {
	font-size:0.8em;
}

.upload-area {
    border: 2px dashed #ccc;
    border-radius: 10px;
    padding: 40px;
    cursor: pointer;
    margin-top: 20px;
}

.upload-area p {
    margin: 0;
    color: #999;
}

.upload-area:hover {
    border-color: #777;
}

input[type="file"] {
    display: none;
}

.messages {
    margin-top: 20px;
}

.info_message {
    background-color: #e7f3ff;
    border: 1px solid #b3d4fc;
    color: #31708f;
    padding: 10px;
    border-radius: 5px;
    margin-top: 10px;
    display: none;
}

.note_message {
    background-color: #fff9e6;
    border: 1px solid #ffebb3;
    color: #8a6d3b;
    padding: 10px;
    border-radius: 5px;
    margin-top: 10px;
    display: none;
}

.success_message {
    background-color: #e0f7e9;
    border: 1px solid #a3e4b9;
    color: #2c7a59;
    padding: 10px;
    border-radius: 5px;
    margin-top: 10px;
    display: none;
}

.error_message {
    background-color: #fdecea;
    border: 1px solid #f5c6cb;
    color: #a94442;
    padding: 10px;
    border-radius: 5px;
    margin-top: 10px;
}

.error-details {
    background-color: #fff;
    border: 1px solid #ccc;
    padding: 10px;
    border-radius: 5px;
    margin-top: 10px;
    color: #333;
}

input[type="email"] {
    width: calc(100% - 20px);
    padding: 10px;
    margin-top: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
}

textarea {
    font-family: Arial, sans-serif;
    width: calc(100% - 20px);
    padding: 10px;
    margin-top: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
}

button {
    background-color: #007bff;
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

button:disabled {
    background-color: #ccc;
    cursor: not-allowed;
}

button:not(:disabled):hover {
    background-color: #0056b3;
}


/* General styles */
#loading-container {
    margin-top: 1em;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s ease-in;
}

#loading {
    font-size: 20px;
    display: flex;
    align-items: center;
}

.dot {
    animation: blink 1s infinite;
}

.dot:nth-child(2) {
    animation-delay: 0.33s;
}

.dot:nth-child(3) {
    animation-delay: 0.66s;
}

@keyframes blink {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0;
    }
}