body {
    font-family: Arial, sans-serif;
    background-color: #f4f4f4;
    padding: 2rem;
    margin: 0;
}

.lk-site-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 2rem;
    position: fixed;
    top: 0;
    left: 0;
    background-color: #f4f4f4;
    z-index: 1000;
}

.lk-site-header img {
    height: 40px;
}

.lk-site-header h1 {
    font-size: 1.5rem;
    margin: 0;
    color: #000000;
    font-family: "Arial Rounded MT Bold", "Arial Rounded", Arial, sans-serif;
}

.lk-form-container {
    max-width: 500px;
    margin: 180px auto 0;
    background: white;
    padding: 4rem 2rem 2rem;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    position: relative;
}

.lk-info-boxes {
    position: absolute;
    top: 10%;
    left: 50%;
    transform: translateX(-50%);
    width: 150%;
    max-width: 1000px;
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    padding: 0;
    box-sizing: border-box;
    z-index: 2;
}

.lk-info-box {
    flex: 1;
    background-color: #f8f9fa;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 1rem;
    text-align: center;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
}

.lk-info-box a {
    color: #000000;
    text-decoration: none;
}

.lk-info-box a:hover {
    text-decoration: underline;
    color: #e40046;
}

.lk-info-icon svg {
    width: 32px;
    height: 32px;
    fill: #e40046;
    margin-bottom: 0.3rem;
}

.lk-form-container h2 {
    margin-top: 1rem;
    margin-bottom: 1rem;
    text-align: center;
}

label {
    display: block;
    margin-top: 1rem;
    font-weight: bold;
    text-align: left;
}

.required::after {
    content: " *";
    color: red;
}

input[type="text"],
input[type="email"],
input[type="tel"],
input[type="url"],
textarea {
    width: 100%;
    padding: 0.8rem;
    margin-top: 0.5rem;
    border: 1px solid #ccc;
    border-radius: 5px;
    box-sizing: border-box;
}

.lk-row-fields {
    display: flex;
    justify-content: space-between;
    gap: 4%;
}

.lk-row-fields .lk-input-group {
    width: 48%;
}

textarea {
    resize: vertical;
}

button {
    margin-top: 1.5rem;
    background-color: #e40046;
    color: white;
    border: none;
    padding: 0.8rem 1.5rem;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1rem;
    display: block;
}

button:hover {
    background-color: #bf0039;
}

.lk-toggle-button {
    background: none;
    border: none;
    color: #000;
    font-size: 1rem;
    padding: 0;
    margin-top: 1.5rem;
    cursor: pointer;
    text-align: left;
}

.lk-toggle-button:hover {
    text-decoration: underline;
    background: none;
}

.lk-info-obligatoire {
    margin-top: 1rem;
    font-size: 0.9rem;
    color: red;
    text-align: left;
}

.lk-message-flash {
    background-color: #e40046;
    color: #ffffff;
    padding: 1rem;
    border: 1px solid #e40046;
    border-radius: 5px;
    margin-bottom: 1rem;
    text-align: center;
}

.lk-message-flash a {
    color: #ffffff;
    text-decoration: underline;
    font-weight: bold;
}

.lk-message-flash a:hover {
    color: #ffe6ec;
}

.lk-error-flash {
    background-color: #fff0f0;
    color: #e40046;
    border: 1px solid #e40046;
    padding: 0.8rem;
    border-radius: 5px;
    margin-top: 1rem;
    font-size: 0.95rem;
    text-align: center;
}

/* Bloc captcha reCAPTCHA responsive */
.lk-recaptcha-block {
    margin: 2rem 0 1rem;
    display: flex;
    justify-content: center;
    overflow: hidden;
}

.g-recaptcha {
    transform: scale(0.88);
    transform-origin: top left;
    width: 100%;
    max-width: 100%;
}

.lk-bottom-links {
    margin: 3rem auto 1rem;
    max-width: 500px;
    text-align: center;
    font-size: 0.9rem;
    color: #555;
    line-height: 1.6;
    padding: 0 1rem;
}

.lk-bottom-links a {
    color: #e40046;
    text-decoration: none;
}

.lk-bottom-links a:hover {
    text-decoration: underline;
}

.lk-bottom-links span {
    display: block;
    margin-top: 0.5rem;
}

.lk-rgpd-note {
    font-size: 0.85rem;
    color: #555;
    margin-top: 0.5rem;
    margin-bottom: 1rem;
    text-align: left;
    line-height: 1.4;
}

.lk-rgpd-note a {
    color: #e40046;
    text-decoration: none;
    font-weight: bold;
}

.lk-rgpd-note a:hover {
    text-decoration: underline;
}

.lk-rgpd-note input[type="checkbox"] {
    margin-right: 0.5rem;
    transform: scale(1.1);
    vertical-align: middle;
}



/* Responsive design */
@media (max-width: 1025px) {
    .lk-site-header {
        width: 100%;
        padding: 1rem 1.5rem;
        gap: 0.8rem;
        display: flex;
        align-items: center;
        justify-content: flex-start;
        z-index: 999;
    }

    .lk-form-container {
        margin: 100px auto 0 auto;
        padding: 2rem 1.5rem;
    }

    .lk-row-fields {
        flex-direction: column;
        gap: 1rem;
    }

    .lk-row-fields .lk-input-group {
        width: 100%;
    }

    button {
        width: 100%;
    }

    .lk-info-boxes {
        position: static;
        transform: none;
        flex-direction: column;
        width: 100%;
        max-width: 500px;
        margin: 2rem auto 0;
        padding: 0 1rem;
    }
}

/*Extra petit écran : captcha encore plus réduit */
@media (max-width: 375px) {
    .g-recaptcha {
        transform: scale(0.75);
    }
}