.kwk-em-account-info__header {
    padding-top: 10px;
}

.kwk-em-account-info__header-content {
    display: flex;
    align-items: center;
    gap: 16px;
}

.kwk-em-account-info__header-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--awb-custom_color_1, #2271b1);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.kwk-em-account-info__header-initials {
    font-size: 20px;
    font-weight: 600;
    color: #ffffff;
    line-height: 1;
}

.kwk-em-account-info__header-text {
    flex: 1;
}

.kwk-em-account-info__title {
    font-size: 23px !important;
    margin-bottom: 5px !important;
    font-weight: 600;
}

.kwk-em-account-info__subtitle {
    font-size: 14px;
    margin: 0 !important;
    font-weight: 400;
}

.kwk-em-account-info__content {
    padding: 15px 0;
}

.kwk-em-account-info__grid {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.kwk-em-account-info__card {
    background: #ffffff;
    padding: 12px 10px;
    display: flex;
    align-items: center;
    gap: 6px;
    border-bottom: 1px solid #e5e7eb;
    transition: all 0.2s ease;
    position: relative;
    min-height: 50px;
}

.kwk-em-account-info__card:first-child {
    border-top-left-radius: 8px;
    border-top-right-radius: 8px;
}

.kwk-em-account-info__card:last-child {
    border-bottom: none;
    border-bottom-left-radius: 8px;
    border-bottom-right-radius: 8px;
}

.kwk-em-account-info__card:hover {
    background: #f9fafb;
}

.kwk-em-account-info__icon-wrapper {
    width: 32px;
    height: 32px;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    background: #f3f4f6;
    transition: all 0.2s ease;
    position: relative;
    z-index: 1;
}

.kwk-em-account-info__card:hover .kwk-em-account-info__icon-wrapper {
    background: var(--awb-custom_color_1, #2271b1);
}

.kwk-em-account-info__icon {
    width: 16px;
    height: 16px;
    color: #4b5563;
    stroke-width: 2;
    transition: color 0.2s ease;
}

.kwk-em-account-info__card:hover .kwk-em-account-info__icon {
    color: #ffffff;
}

.kwk-em-account-info__card-content {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 4px 12px;
    flex: 1;
    min-width: 0;
}

.kwk-em-account-info__label {
    font-weight: 500;
    color: #6b7280;
    font-size: 14px;
    min-width: 112px;
    flex-shrink: 0;
}

.kwk-em-account-info__value-wrap {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
}

.kwk-em-account-info__value {
    color: #111827;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.4;
    word-break: break-word;
    width: 100%;
}

.kwk-em-account-info__edit-button {
    display: flex;
    justify-content: center;
    background: #ffffff;
    border: 1px solid #023a51;
    border-radius: 40px;
    padding: 10px 20px;
    text-decoration: none;
    color: #023a51;
    position: relative;
    transition: all 0.3s ease;
    max-width: 335px;
    width: 100%;
}

.kwk-em-account-info__edit-button:hover {
    border-color: #023a51;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    text-decoration: none;
    color: inherit;
}

.kwk-em-account-info__edit-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    position: relative;
    z-index: 1;
}

.kwk-em-account-info__edit-content svg {
    width: 18px;
    height: 18px;
    object-fit: contain;
    flex-shrink: 0;
    color: #023a51;
    transition: transform 0.3s ease;
}

.kwk-em-account-info__edit-button:hover .kwk-em-account-info__edit-content svg {
    transform: translateX(4px);
}

.kwk-em-account-info__edit-label {
    font-size: 15px;
    font-weight: 500;
    color: #111827;
    flex: 1;
    line-height: 1.4;
    text-align: left;
}

.kwk-em-account-info__button {
    display: inline-block;
    padding: 10px 20px;
    background: var(--awb-custom_color_1, #2271b1);
    color: #fff;
    text-decoration: none;
    border-radius: 6px;
    font-weight: 500;
    font-size: 14px;
    transition: background-color 0.2s ease;
}

.kwk-em-account-info__button:hover,
.kwk-em-account-info__button:focus {
    background: #135e96;
    color: #fff;
    text-decoration: none;
}

/* Responsive */
@media (max-width: 768px) {
    .kwk-em-account-info__header {
        padding: 20px;
    }

    .kwk-em-account-info__header-avatar {
        width: 48px;
        height: 48px;
    }

    .kwk-em-account-info__header-initials {
        font-size: 18px;
    }

    .kwk-em-account-info__title {
        font-size: 18px;
    }

    .kwk-em-account-info__content {
        padding: 20px;
    }

    .kwk-em-account-info__grid {
        gap: 0;
    }

    .kwk-em-account-info__card {
        padding: 10px 16px;
        min-height: 45px;
    }

    .kwk-em-account-info__icon-wrapper {
        width: 28px;
        height: 28px;
    }

    .kwk-em-account-info__icon {
        width: 14px;
        height: 14px;
    }

    .kwk-em-account-info__label {
        min-width: 90px;
        font-size: 12px;
    }

    .kwk-em-account-info__value {
        font-size: 13px;
    }

    .kwk-em-account-info__footer {
        padding: 20px;
    }

    .kwk-em-account-info__edit-button {
        padding: 24px 20px;
        min-height: 80px;
    }

    .kwk-em-account-info__edit-icon-bg {
        width: 160px;
        height: 160px;
        right: -15px;
    }

    .kwk-em-account-info__edit-label {
        font-size: 16px;
    }

    .kwk-em-account-info__edit-content svg {
        width: 22px;
        height: 22px;
    }
}

@media (max-width: 480px) {
    .kwk-em-account-info__header-content {
        flex-direction: column;
        justify-content: center;
        text-align: center;
        gap: 12px;
    }

    .kwk-em-account-info__header-avatar {
        width: 44px;
        height: 44px;
    }

    .kwk-em-account-info__header-initials {
        font-size: 16px;
    }

    .kwk-em-account-info__title {
        font-size: 16px;
    }

    .kwk-em-account-info__subtitle {
        font-size: 13px;
    }

    .kwk-em-account-info__content {
        padding: 16px;
    }

    .kwk-em-account-info__card {
        padding: 10px 14px;
        gap: 10px;
        min-height: 45px;
        flex-wrap: wrap;
    }

    .kwk-em-account-info__icon-wrapper {
        width: 26px;
        height: 26px;
    }

    .kwk-em-account-info__icon {
        width: 14px;
        height: 14px;
    }

    .kwk-em-account-info__card-content {
        flex-direction: column;
        align-items: flex-start;
        gap: 3px;
        width: 100%;
    }

    .kwk-em-account-info__label {
        min-width: auto;
        font-size: 11px;
        text-transform: uppercase;
        letter-spacing: 0.5px;
    }

    .kwk-em-account-info__value {
        font-size: 13px;
        width: 100%;
    }

    .kwk-em-account-info__footer {
        padding: 16px;
    }

    .kwk-em-account-info__edit-button {
        padding: 20px 16px;
        min-height: 75px;
    }

    .kwk-em-account-info__edit-icon-bg {
        width: 140px;
        height: 140px;
        right: -10px;
    }

    .kwk-em-account-info__edit-label {
        font-size: 15px;
    }

    .kwk-em-account-info__edit-content svg {
        width: 20px;
        height: 20px;
    }
}

/************************************************* BOUTON DOWNLOAD PDF *************************************************/

.kwk-em-download-pdf-card {
    max-width: 500px;
}

.kwk-em-download-pdf-card__link {
    display: block;
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 32px 28px;
    text-decoration: none;
    color: inherit;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
    min-height: 100px;
}

.kwk-em-download-pdf-card__link:hover {
    border-color: var(--awb-custom_color_1, #2271b1);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    text-decoration: none;
    color: inherit;
}

.kwk-em-download-pdf-card__icon-bg {
    position: absolute;
    top: 50%;
    right: -20px;
    width: 200px;
    height: 200px;
    opacity: 0.04;
    color: var(--awb-custom_color_1, #2271b1);
    pointer-events: none;
    transform: translateY(-50%) rotate(-15deg);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.kwk-em-download-pdf-card__link:hover .kwk-em-download-pdf-card__icon-bg {
    opacity: 0.08;
    transform: translateY(-50%) rotate(-10deg) scale(1.05);
}

.kwk-em-download-pdf-card__icon-bg svg {
    width: 100%;
    height: 100%;
}

.kwk-em-download-pdf-card__content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    position: relative;
    z-index: 1;
}

.kwk-em-download-pdf-card__content svg {
    width: 24px;
    height: 24px;
    object-fit: contain;
    flex-shrink: 0;
}

.kwk-em-download-pdf-card__label {
    font-size: 17px;
    font-weight: 500;
    color: #111827;
    flex: 1;
    line-height: 1.4;
}

.kwk-em-download-pdf-card__arrow {
    width: 24px;
    height: 24px;
    color: var(--awb-custom_color_1, #2271b1);
    flex-shrink: 0;
    transition: transform 0.3s ease;
}

.kwk-em-download-pdf-card__link:hover .kwk-em-download-pdf-card__arrow {
    transform: translateX(4px);
}

/* Responsive pour la carte PDF */
@media (max-width: 768px) {
    .kwk-em-download-pdf-card {
        max-width: 100%;
    }

    .kwk-em-download-pdf-card__link {
        padding: 24px 20px;
        min-height: 90px;
    }

    .kwk-em-download-pdf-card__icon-bg {
        width: 160px;
        height: 160px;
        right: -15px;
    }

    .kwk-em-download-pdf-card__label {
        font-size: 16px;
    }

    .kwk-em-download-pdf-card__content svg {
        width: 22px;
        height: 22px;
    }
}

@media (max-width: 480px) {
    .kwk-em-download-pdf-card__link {
        padding: 20px 16px;
        min-height: 80px;
    }

    .kwk-em-download-pdf-card__icon-bg {
        width: 140px;
        height: 140px;
        right: -10px;
    }

    .kwk-em-download-pdf-card__label {
        font-size: 15px;
    }

    .kwk-em-download-pdf-card__content svg {
        width: 20px;
        height: 20px;
    }
}

/************************************************* FORMULAIRE EDIT PROFILE *************************************************/

.kwk-em-form-edit-profile {
    max-width: 900px;
    width: 100%;
    margin: 0 auto;
}

.kwk-em-form__field label span {
    font-weight: 600;
    display: inline-block;
    margin-bottom: 10px;
}

.kwk-em-form__field-hint {
    display: block;
    margin: 4px 0 10px;
    font-size: 13px;
    font-weight: 400;
    color: #6b7280;
    line-height: 1.4;
}

.kwk-em-account-info__hint {
    display: block;
    flex: 0 0 100%;
    width: 100%;
    max-width: 100%;
    margin: 2px 0 0;
    font-size: 12px;
    font-weight: 400;
    color: #6b7280;
    line-height: 1.4;
    box-sizing: border-box;
}

.kwk-em-form__label-content {
    display: flex;
    align-items: center;
    gap: 8px;
}

.kwk-em-form__label-icon {
    width: 16px;
    height: 16px;
    margin-right: 5px;
    flex-shrink: 0;
    color: #111827;
}

.kwk-em-form__field input[readonly],
.kwk-em-form__field input[readonly]:focus {
    background-color: #f3f4f6;
    color: #6b7280;
    cursor: not-allowed;
    opacity: 0.7;
}

.kwk-em-form__field input[type="text"],
.kwk-em-form__field input[type="email"],
.kwk-em-form__field input[type="tel"] {
    border-radius: 10px;
    background: #ffffff
}

.kwk-em-form__field textarea {
    border-radius: 10px;
    background: #ffffff;
    padding: 10px 10px;
}

.kwk-em-form__row {
    display: flex;
    gap: 15px;
}

.kwk-em-form__row--two-columns {
    display: grid;
    grid-template-columns: 1fr 1fr;
    row-gap: 0;
    column-gap: 15px;
}

.kwk-em-form__row--address {
    display: grid;
    grid-template-columns: 1fr 1fr;
    row-gap: 0;
    column-gap: 15px;
    margin-top: 10px;
}

.kwk-em-form__field {
    margin: 0 0 20px 0;
}

.kwk-em-form__field--full-width {
    width: 100%;
}

.kwk-em-form__field--full-width textarea {
    width: 100%;
    max-width: 100%;
}

.kwk-em-form__field--address-1 {
    grid-column: 1 / -1;
    margin-bottom: 0 !important;
}

.kwk-em-form__field--address-2 {
    grid-column: 1 / -1;
    margin-bottom: 0 !important;
}

.kwk-em-form__field--postcode {
    grid-column: 1;
}

.kwk-em-form__field--city {
    grid-column: 2;
}

.kwk-em-form__section-label .kwk-em-form__label-content {
    font-size: 15px;
    font-weight: 600;
    color: #111827;
}

.kwk-em-form__field--directory-optin {
    margin-top: 24px;
    padding-top: 24px;
    border-top: 1px solid #e5e7eb;
}

.kwk-em-directory-optin {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.kwk-em-directory-optin__text {
    flex: 1;
}

.kwk-em-directory-optin__description {
    margin: 8px 0 0;
    font-size: 14px;
    font-weight: 400;
    color: #6b7280;
    line-height: 1.5;
}

.kwk-em-directory-toggle {
    position: relative;
    display: inline-flex;
    align-items: center;
    flex-shrink: 0;
    cursor: pointer;
}

.kwk-em-directory-toggle input {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.kwk-em-directory-toggle__track {
    display: inline-flex;
    align-items: center;
    width: 52px;
    height: 30px;
    padding: 3px;
    border-radius: 999px;
    background: #d1d5db;
    transition: background-color 0.2s ease;
    box-sizing: border-box;
}

.kwk-em-directory-toggle__thumb {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
    transition: transform 0.2s ease;
}

.kwk-em-directory-toggle input:checked + .kwk-em-directory-toggle__track {
    background: #111827;
}

.kwk-em-directory-toggle input:checked + .kwk-em-directory-toggle__track .kwk-em-directory-toggle__thumb {
    transform: translateX(22px);
}

.kwk-em-directory-toggle input:focus-visible + .kwk-em-directory-toggle__track {
    outline: 2px solid #111827;
    outline-offset: 2px;
}

.kwk-em-form__address-section .kwk-em-form__field label span {
    font-size: 12px;
    font-weight: 400;
    color: #6b7280;
}

/* Responsive pour le formulaire */
@media (max-width: 768px) {

    .kwk-em-form__row--two-columns,
    .kwk-em-form__row--address {
        grid-template-columns: 1fr;
    }

    .kwk-em-form__field--address-1,
    .kwk-em-form__field--address-2,
    .kwk-em-form__field--postcode,
    .kwk-em-form__field--city {
        grid-column: 1;
    }
}


/************************************************* FORMULAIRE EDIT PROFILE *************************************************/

.kwk-em-form__field.kwk-em-form__field--full-width {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.kwk-em-form__field.kwk-em-form__field--radio-pills label[style]:has(input[type="radio"]) {
    position: relative;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    white-space: nowrap;
    padding: 16px 20px;
    border: 2px solid rgba(0, 0, 0, 0.18);
    border-radius: 10px;
    background: #fff;
    cursor: pointer;
    line-height: 1.2;
    user-select: none;
    color: var(--awb-custom_color_1);
    font-size: 15px;
    width: fit-content;
    margin-bottom: 0 !important;
    font-weight: normal;
    transition: padding 160ms ease,
        border-color 160ms ease,
        box-shadow 160ms ease,
        background-color 160ms ease;
}

.kwk-em-form__field.kwk-em-form__field--radio-pills label[style] input[type="radio"] {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.kwk-em-form__field.kwk-em-form__field--radio-pills label[style]:has(input[type="radio"])::before {
    content: "✓";
    position: absolute;
    left: 18px;
    top: 50%;
    transform: translateY(-50%);
    width: 20px;
    height: 20px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 2px solid currentColor;
    font-size: 13px;
    font-weight: 700;
    opacity: 0;
    pointer-events: none;
    transition: opacity 160ms ease;
}

.kwk-em-form__field.kwk-em-form__field--radio-pills label[style]:has(input[type="radio"]:checked) {
    padding-left: 52px;
    border-width: 3px;
    border-color: currentColor;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
    background: rgba(0, 0, 0, 0.03);
}

.kwk-em-form__field.kwk-em-form__field--radio-pills label[style]:has(input[type="radio"]:checked)::before {
    opacity: 1;
}

.kwk-em-form__field.kwk-em-form__field--radio-pills label[style]:has(input[type="radio"]):hover {
    border-color: rgba(0, 0, 0, 0.35);
}

/* Focus clavier */
.kwk-em-form__field.kwk-em-form__field--radio-pills label[style]:has(input[type="radio"]:focus-visible) {
    outline: 3px solid rgba(0, 0, 0, 0.25);
    outline-offset: 3px;
}

@media (max-width: 520px) {
    .kwk-em-form__field.kwk-em-form__field--full-width {
        gap: 8px;
    }

    .kwk-em-form__field.kwk-em-form__field--radio-pills label[style]:has(input[type="radio"]) {
        padding: 14px 16px;
    }

    .kwk-em-form__field.kwk-em-form__field--radio-pills label[style]:has(input[type="radio"]:checked) {
        padding-left: 44px;
    }
}

.kwk-em-password-fields .kwk-pwd-meter {
    margin-top: 8px;
}

.kwk-em-password-fields .kwk-pwd-bar {
    height: 6px;
    background: #e5e7eb;
    border-radius: 4px;
    overflow: hidden;
}

.kwk-em-password-fields .kwk-pwd-fill {
    height: 6px;
    width: 0;
    background: #111827;
    transition: width 0.2s ease;
}

.kwk-em-password-fields .kwk-pwd-rules {
    margin: 8px 0 0;
    padding-left: 18px;
    font-size: 12px;
    line-height: 1.4;
}

.kwk-em-password-fields .kwk-pwd-match-error {
    display: none;
    margin-top: 6px;
    color: #b91c1c;
    font-size: 12px;
    font-weight: 600;
}