body {
    background-color: #f4f4f9;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    margin: 0;
    font-family: Arial, sans-serif;
}

.container {
    width: 100%;
    max-width: 395px;
    text-align: center;
}

form {
    background-color: #fff;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    max-width: 395px;
    text-align: center;
    padding: 1.7em 2em;
    margin-top: 20px;
}

h4 {
    color: #2F2F2F;
}

.btn-primary {
    background-color: #4F65F7;
    border-color: #5c6bc0;
    color: white;
    border: none;
    padding: 0.75em;
    border-radius: 4px;
    cursor: pointer;
    width: 100%;
    margin-top: 1em;
}

.btn-primary:hover {
    background-color: #3f51b5;
    border-color: #3f51b5;
}

.btn-secondary {
    background-color: #6c757d;
    border-color: #6c757d;
    color: white;
    border: none;
    padding: 0.5em;
    border-radius: 4px;
    cursor: pointer;
    margin-left: 10px;
}

.btn-secondary:hover {
    background-color: #5a6268;
    border-color: #545b62;
}

.form-text {
    margin-bottom: 1em;
}

.file-input {
    margin: 0 0 1em 0;
    text-align: left;
}

.custom-file-input {
    display: none;
}

.custom-file {
    display: block;
    border: 1px solid #ccc;
    border-radius: 4px;
    background-color: #fff;
    text-align: center;
    width: 100%;
}

.custom-file-label {
    padding: 0.5em;
    width: 100%;
    display: inline-block;
    overflow-wrap: break-word;
    box-sizing: border-box;
    cursor: pointer;
}

.captcha {
    display: flex;
    align-items: center;
    margin-bottom: 1em;
}

.captcha img {
    margin-right: 10px;
}

.captcha input {
    padding: 0.5em;
    border: 1px solid #ccc;
    border-radius: 4px;
    width: 100%;
    height: 45px;
}

.hint {
    margin-bottom: 20px;
    color: #999;
    text-align: center;
}

.reload {
    font-size: 1.5em;
    color: #999;
    text-decoration: none;
    margin-left: 10px;
}

#refreshCaptcha,
.reload:hover {
    color: #333;
    cursor: pointer;
}

.alert-container {
    margin-bottom: 1em;
    text-align: left;
}

.alert {
    padding: 0.75em 1em;
    border-radius: 4px;
    margin-bottom: 1em;
}

.alert-error {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

#fileDropArea {
    border: 2px dashed #ccc;
    text-align: center;
    transition: background-color 0.3s;
}

#fileDropArea.drag-over {
    background-color: #f1f1f1;
}