.bp-my-account-widget {
    max-width: 980px;
    margin: 40px auto 80px;
}

.bp-my-account-title h2 {
    margin: 0 0 20px;
    font-size: 26px;
    font-weight: 700;
}

.bp-my-account-wrapper {
    border: 1px solid #eeeeee;
    box-sizing: border-box;
    box-shadow: 0 18px 40px rgba(0,0,0,0.06);
}

/* Navigation My Account */
.bp-my-account-wrapper .woocommerce-MyAccount-navigation {
    margin-bottom: 24px;
    border-bottom: 1px solid #eeeeee;
}

.bp-my-account-wrapper .woocommerce-MyAccount-navigation ul {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    padding: 0;
    margin: 0 0 12px;
}

.bp-my-account-wrapper .woocommerce-MyAccount-navigation li {
    margin: 0;
}

.bp-my-account-wrapper .woocommerce-MyAccount-navigation a {
    display: inline-block;
    padding: 8px 14px;
    border-radius: 999px;
    font-size: 14px;
    color: #555555;
    background: transparent;
    text-decoration: none;
    transition: all 0.2s ease;
}

.bp-my-account-wrapper .woocommerce-MyAccount-content {
    padding: 24px 24px 28px;
    background: #fafafa;
    border-radius: 12px;
}

/* Formulaires centrés */
.bp-my-account-wrapper form.woocommerce-form,
.bp-my-account-wrapper form.login,
.bp-my-account-wrapper form.register {
    max-width: 480px;
    margin: 0 auto;
}

.bp-my-account-wrapper form .form-row {
    margin-bottom: 16px;
}

.bp-my-account-wrapper form .form-row label {
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 6px;
    display: block;
}

.bp-my-account-wrapper form .form-row input.input-text,
.bp-my-account-wrapper form .form-row textarea,
.bp-my-account-wrapper form .form-row select {
    width: 100%;
    border-radius: 999px;
    border: 1px solid #dddddd;
    padding: 10px 14px;
    font-size: 14px;
    box-shadow: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    background-color: #ffffff;
}

.bp-my-account-wrapper form .form-row input.input-text:focus,
.bp-my-account-wrapper form .form-row textarea:focus,
.bp-my-account-wrapper form .form-row select:focus {
    border-color: #111111;
    box-shadow: 0 0 0 1px #11111110;
}

/* Boutons WooCommerce */
.bp-my-account-wrapper button.button,
.bp-my-account-wrapper a.button,
.bp-my-account-wrapper .woocommerce-button {
    border-radius: 999px;
    padding: 10px 26px;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    background: #111111;
    border: none;
    color: #ffffff;
    transition: background 0.2s ease, transform 0.1s ease, box-shadow 0.2s ease;
}

.bp-my-account-wrapper button.button:hover,
.bp-my-account-wrapper a.button:hover,
.bp-my-account-wrapper .woocommerce-button:hover {
    background: #000000;
    transform: translateY(-1px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

/* Messages WooCommerce */
.bp-my-account-wrapper .woocommerce-message,
.bp-my-account-wrapper .woocommerce-error,
.bp-my-account-wrapper .woocommerce-info {
    border-radius: 12px;
    padding: 12px 16px;
    font-size: 14px;
}

@media (max-width: 767px) {
    .bp-my-account-widget {
        margin: 20px auto 40px;
    }
}
