.rcw-withdrawal-wrapper {
    max-width: 760px;
    margin: 32px auto;
    padding: 28px;
    border: 1px solid #e5e7eb;
    border-radius: 14px;
    background: #fff;
}

.rcw-withdrawal-wrapper h2 {
    margin-top: 0;
    margin-bottom: 12px;
}

.rcw-withdrawal-form .rcw-field {
    margin-bottom: 18px;
}

.rcw-withdrawal-form label {
    display: block;
    font-weight: 600;
    margin-bottom: 7px;
}

.rcw-withdrawal-form label span {
    color: #b91c1c;
}

.rcw-withdrawal-form input[type="text"],
.rcw-withdrawal-form input[type="email"],
.rcw-withdrawal-form textarea {
    width: 100%;
    border: 1px solid #d1d5db;
    border-radius: 10px;
    padding: 12px 14px;
    box-sizing: border-box;
}

.rcw-checkbox label {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-weight: 500;
}

.rcw-checkbox input {
    margin-top: 4px;
}

.rcw-submit-button,
.rcw-withdrawal-button {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    border-radius: 10px !important;
    padding: 12px 18px !important;
    font-weight: 700 !important;
}

.rcw-alert {
    max-width: 760px;
    margin: 24px auto;
    padding: 14px 18px;
    border-radius: 10px;
}

.rcw-alert-success {
    background: #ecfdf5;
    border: 1px solid #a7f3d0;
}

.rcw-order-withdrawal {
    margin: 24px 0;
}

.rcw-footer-link {
    text-align: center;
    padding: 12px;
    font-size: 14px;
}

.rcw-alert-warning,
.rcw-product-notice.rcw-alert-warning {
    background: #fffbeb;
    border: 1px solid #fcd34d;
}

.rcw-alert-info,
.rcw-product-notice.rcw-alert-info {
    background: #eff6ff;
    border: 1px solid #bfdbfe;
}

.rcw-product-notice {
    margin: 16px 0;
    padding: 14px 16px;
    border-radius: 10px;
    font-size: 14px;
}

.rcw-cart-withdrawal-notice ul {
    margin: 8px 0 0 18px;
}

.rcw-intro-text,
.rcw-after-form-text {
    font-size: 15px;
    line-height: 1.65;
    color: #374151;
}

.rcw-intro-text {
    margin-bottom: 22px;
    padding: 18px;
    background: #f9fafb;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
}

.rcw-after-form-text {
    margin-top: 20px;
    padding-top: 16px;
    border-top: 1px solid #e5e7eb;
}

/* My Account menu item: Retragere contract
   WooCommerce generează automat clasa bazată pe endpoint:
   .woocommerce-MyAccount-navigation-link--retragere-contract
*/
.woocommerce-MyAccount-navigation ul li.woocommerce-MyAccount-navigation-link--retragere-contract {
    margin-top: 8px;
}

.woocommerce-MyAccount-navigation ul li.woocommerce-MyAccount-navigation-link--retragere-contract a {
    position: relative;
    display: flex;
    align-items: center;
    gap: 8px;
    border: 1px solid #dbeafe;
    border-left: 4px solid #2563eb;
    border-radius: 10px;
    background: #eff6ff;
    color: #1d4ed8;
    font-weight: 700;
    transition: background-color .2s ease, color .2s ease, border-color .2s ease;
}

.woocommerce-MyAccount-navigation ul li.woocommerce-MyAccount-navigation-link--retragere-contract a::before {
    content: "↩";
    display: inline-flex;
    width: 22px;
    height: 22px;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    background: #dbeafe;
    color: #1d4ed8;
    font-size: 14px;
    line-height: 1;
    flex: 0 0 auto;
}

.woocommerce-MyAccount-navigation ul li.woocommerce-MyAccount-navigation-link--retragere-contract.is-active a,
.woocommerce-MyAccount-navigation ul li.woocommerce-MyAccount-navigation-link--retragere-contract a:hover,
.woocommerce-MyAccount-navigation ul li.woocommerce-MyAccount-navigation-link--retragere-contract a:focus {
    background: #dbeafe;
    border-color: #93c5fd;
    color: #1e40af;
}
