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

.modal-content {
    background-color: #fefefe;
    margin: 5% auto;
    padding: 5rem;
    border: 1px solid #888;
    width: 90%;
    border-radius: 5px;
    position: relative;
    max-height: 90vh;
    max-width: 70vw;
    overflow-y: auto;
}

@media screen and (max-width: 700px) {
    .modal-content {
        max-width: none;
        width: 95%;
        padding: 2rem;
        margin: 10% auto;
    }
}

.close {
    position: absolute;
    right: 20px;
    top: 10px;
    color: #aaa;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
}

.close:hover {
    color: black;
}

.form-group {
    margin-bottom: 15px;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
}

.form-group input[type="file"] {
    width: 100%;
    padding: 8px;
    border: 1px solid #ddd;
    border-radius: 4px;
}

.alert {
    padding: 15px;
    margin-bottom: 20px;
    border: 1px solid transparent;
    border-radius: 4px;
}

.alert-success {
    color: #155724;
    background-color: #d4edda;
    border-color: #c3e6cb;
}

.alert-danger {
    color: #721c24;
    background-color: #f8d7da;
    border-color: #f5c6cb;
}

.btn:disabled {
    opacity: 0.65;
    cursor: not-allowed;
}

body.no-scroll {
    overflow: hidden;
}

/* Styles pour centrer le reCAPTCHA et le bouton */
#candidatureForm .g-recaptcha {
    display: flex;
    justify-content: center;
    margin: 20px 0;
}

#candidatureForm button[type="submit"] {
    display: block;
    margin: 20px auto;
    min-width: 200px;
} 