/**
 * WC Reorder — My Account Redesign
 * Primary: #1769db | Hover: #1258c2
 * High specificity to override Flatsome theme
 * @version 2.1.1
 */

/* ══════════════════════════════════════════════════════
   RESET — force full width on My Account content
   ══════════════════════════════════════════════════════ */

.woocommerce-MyAccount-content {
    max-width: 100% !important;
    width: 100% !important;
}

/* ══════════════════════════════════════════════════════
   SHARED COMPONENTS
   ══════════════════════════════════════════════════════ */

body .wcr-back-link {
    display: inline-flex !important;
    align-items: center !important;
    gap: 6px !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    color: #1769db !important;
    text-decoration: none !important;
    margin-bottom: 24px !important;
    padding: 8px 0 !important;
}
body .wcr-back-link:hover { color: #1258c2 !important; }
body .wcr-back-link svg { flex-shrink: 0; }

/* Buttons */
body .wcr-btn {
    display: inline-flex !important;
    align-items: center !important;
    gap: 6px !important;
    padding: 9px 18px !important;
    border-radius: 10px !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    text-decoration: none !important;
    cursor: pointer !important;
    transition: background 0.15s ease, box-shadow 0.15s ease, transform 0.15s ease !important;
    line-height: 1.2 !important;
    white-space: nowrap !important;
    border: none !important;
    box-shadow: none !important;
}
body .wcr-btn__icon { flex-shrink: 0; }

body .wcr-btn--primary {
    background: #1769db !important;
    color: #fff !important;
}
body .wcr-btn--primary:hover {
    background: #1258c2 !important;
    box-shadow: 0 2px 8px rgba(23, 105, 219, 0.35) !important;
    color: #fff !important;
    transform: translateY(-1px);
}

body .wcr-btn--secondary {
    background: transparent !important;
    color: #4b5563 !important;
    border: 1px solid #d1d5db !important;
}
body .wcr-btn--secondary:hover {
    background: #f9fafb !important;
    border-color: #9ca3af !important;
    color: #1f2937 !important;
}

body .wcr-btn--pay {
    background: #059669 !important;
    color: #fff !important;
}
body .wcr-btn--pay:hover {
    background: #047857 !important;
    color: #fff !important;
}

body .wcr-btn--track {
    background: transparent !important;
    color: #0ea5e9 !important;
    border: 1px solid #bae6fd !important;
}
body .wcr-btn--track:hover {
    background: #f0f9ff !important;
    border-color: #7dd3fc !important;
    color: #0284c7 !important;
}

/* NF-e — inline discreto na row de ações, alinhado à direita */
body .wcr-btn-nfe {
    display: inline-flex !important;
    align-items: center !important;
    gap: 5px !important;
    font-size: 12px !important;
    font-weight: 600 !important;
    color: #6b7280 !important;
    text-decoration: none !important;
    margin-left: auto !important;
    padding: 6px 12px !important;
    border-radius: 8px !important;
    transition: color 0.15s ease, background 0.15s ease !important;
}
body .wcr-btn-nfe:hover { color: #1769db !important; background: #f0f7ff !important; }

/* ══════════════════════════════════════════════════════
   ORDERS
   ══════════════════════════════════════════════════════ */

body .wcr-orders {
    display: flex !important;
    flex-direction: column !important;
    gap: 16px !important;
}

body .wcr-card {
    background: #fff !important;
    border: 1px solid #e5e7eb !important;
    border-radius: 14px !important;
    padding: 20px !important;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06) !important;
    transition: box-shadow 0.2s ease, transform 0.2s ease !important;
}
body .wcr-card:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1) !important;
    transform: translateY(-1px);
}

body .wcr-card__header {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 12px !important;
    margin-bottom: 12px !important;
}
body .wcr-card__number {
    font-weight: 700 !important;
    font-size: 15px !important;
    color: #1f2937 !important;
    text-decoration: none !important;
}
body .wcr-card__number:hover { color: #1769db !important; }

body .wcr-badge {
    display: inline-block !important;
    padding: 3px 10px !important;
    border-radius: 20px !important;
    font-size: 12px !important;
    font-weight: 600 !important;
    line-height: 1.4 !important;
    white-space: nowrap !important;
}
body .wcr-badge--completed { background: #dcfce7 !important; color: #166534 !important; }
body .wcr-badge--processing { background: #dbeafe !important; color: #1e40af !important; }
body .wcr-badge--on-hold, body .wcr-badge--pending { background: #fef9c3 !important; color: #854d0e !important; }
body .wcr-badge--cancelled, body .wcr-badge--failed { background: #fee2e2 !important; color: #991b1b !important; }
body .wcr-badge--refunded { background: #f3e8ff !important; color: #6b21a8 !important; }

body .wcr-card__meta {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 12px !important;
    margin-bottom: 14px !important;
    font-size: 13px !important;
    color: #6b7280 !important;
}
body .wcr-card__total { font-weight: 600 !important; color: #374151 !important; }
body .wcr-card__total small { font-weight: 400 !important; color: #9ca3af !important; margin-left: 4px; }

body .wcr-card__items {
    display: flex !important;
    align-items: center !important;
    gap: 10px !important;
    flex-wrap: wrap !important;
    margin-bottom: 16px !important;
    padding-top: 14px !important;
    border-top: 1px solid #f3f4f6 !important;
}
body .wcr-item { display: flex; align-items: center; gap: 8px; max-width: 200px; }
body .wcr-item__img {
    flex-shrink: 0; width: 40px; height: 40px; border-radius: 8px;
    overflow: hidden; display: flex; align-items: center; justify-content: center;
}
body .wcr-item__img img { width: 40px; height: 40px; object-fit: cover; border-radius: 8px; }
body .wcr-item__img--placeholder { background: #f3f4f6; color: #9ca3af; }
body .wcr-item__name { font-size: 13px; color: #4b5563; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
body .wcr-item__more { font-size: 12px; color: #9ca3af; font-weight: 500; }

body .wcr-card__actions {
    display: flex !important;
    align-items: center !important;
    gap: 10px !important;
    flex-wrap: wrap !important;
    padding-top: 16px !important;
    border-top: 1px solid #f3f4f6 !important;
}

body .wcr-empty {
    display: flex; flex-direction: column; align-items: center; justify-content: center;
    padding: 60px 20px; text-align: center;
}
body .wcr-empty__icon { color: #d1d5db; margin-bottom: 16px; }
body .wcr-empty__text { font-size: 15px; color: #6b7280; margin: 0 0 20px; }

body .woocommerce-pagination { display: flex; justify-content: center; gap: 10px; margin-top: 20px; }

/* ══════════════════════════════════════════════════════
   DASHBOARD
   ══════════════════════════════════════════════════════ */

body .wcr-dash-greeting {
    font-size: 28px !important;
    color: #1f2937 !important;
    margin: 0 0 16px !important;
    font-weight: 400 !important;
    line-height: 1.3 !important;
}
body .wcr-dash-greeting strong { font-weight: 700 !important; }

body .wcr-dash-banner {
    background: linear-gradient(135deg, #ebf3fc 0%, #f0f7ff 100%) !important;
    border: 1px solid #c7ddf5 !important;
    border-radius: 14px !important;
    padding: 20px 24px !important;
    font-size: 15px !important;
    font-family: inherit !important;
    color: #1e3a5f !important;
    line-height: 1.6 !important;
    margin-bottom: 28px !important;
}
body .wcr-dash-banner strong { font-weight: 700 !important; color: #1769db !important; }

body .wcr-dash-grid {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 16px !important;
}

body .wcr-dash-card {
    display: flex !important;
    flex-direction: column !important;
    gap: 6px !important;
    background: #fff !important;
    border: 1px solid #e5e7eb !important;
    border-radius: 14px !important;
    padding: 24px !important;
    text-decoration: none !important;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06) !important;
    transition: box-shadow 0.2s ease, transform 0.2s ease, border-color 0.2s ease !important;
}
body .wcr-dash-card:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1) !important;
    transform: translateY(-2px);
    border-color: #1769db !important;
}
body .wcr-dash-card__icon { color: #1769db !important; flex-shrink: 0; margin-bottom: 4px; }
body .wcr-dash-card__title { font-size: 16px !important; font-weight: 700 !important; color: #1f2937 !important; }
body .wcr-dash-card__desc { font-size: 13px !important; color: #6b7280 !important; line-height: 1.4 !important; }

/* ══════════════════════════════════════════════════════
   ADDRESSES
   ══════════════════════════════════════════════════════ */

body .wcr-addr-grid {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 16px !important;
    margin-bottom: 16px !important;
}

body .wcr-addr-card {
    background: #fff !important;
    border: 1px solid #e5e7eb !important;
    border-radius: 14px !important;
    padding: 20px !important;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06) !important;
}
body .wcr-addr-card:hover { box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1) !important; }
body .wcr-addr-card__header { display: flex !important; align-items: flex-start !important; gap: 8px !important; margin-bottom: 14px !important; }
body .wcr-addr-card__icon { color: #1769db !important; flex-shrink: 0; margin-top: 2px; }
body .wcr-addr-card__title { font-size: 15px !important; font-weight: 700 !important; color: #1f2937 !important; margin: 0 !important; }
body .wcr-addr-card__nickname {
    display: inline-block !important; font-size: 11px !important; font-weight: 600 !important;
    color: #1769db !important; background: #ebf3fc !important; padding: 2px 8px !important; border-radius: 10px !important; margin-top: 4px !important;
}
body .wcr-addr-card__body { margin-bottom: 16px !important; padding-bottom: 16px !important; border-bottom: 1px solid #f3f4f6 !important; }
body .wcr-addr-card__body address { font-style: normal !important; font-size: 14px !important; line-height: 1.6 !important; color: #4b5563 !important; }
body .wcr-addr-card__empty { font-size: 14px !important; color: #9ca3af !important; margin: 0 !important; }
body .wcr-addr-card__actions { display: flex !important; }

/* ══════════════════════════════════════════════════════
   FORMS (edit-address + edit-account)
   ══════════════════════════════════════════════════════ */

body .wcr-account-card {
    background: #fff !important;
    border: 1px solid #e5e7eb !important;
    border-radius: 14px !important;
    padding: 24px !important;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06) !important;
}
body .wcr-account-card__title {
    font-size: 16px !important; font-weight: 700 !important; color: #1f2937 !important;
    margin: 0 0 20px !important; padding-bottom: 12px !important; border-bottom: 1px solid #f3f4f6 !important;
}
body .wcr-account-card__body { display: flex !important; flex-direction: column !important; gap: 16px !important; }

body .wcr-account-row { display: grid !important; grid-template-columns: repeat(2, 1fr) !important; gap: 16px !important; }
body .wcr-account-field { display: flex !important; flex-direction: column !important; gap: 6px !important; }

body .wcr-account-field label { font-size: 13px !important; font-weight: 600 !important; color: #374151 !important; }

body .wcr-account-field input[type="text"],
body .wcr-account-field input[type="email"],
body .wcr-account-field input[type="password"] {
    width: 100% !important; padding: 10px 14px !important; font-size: 14px !important; color: #1f2937 !important;
    background: #f9fafb !important; border: 1px solid #e5e7eb !important; border-radius: 10px !important;
    outline: none !important; box-sizing: border-box !important;
}
body .wcr-account-field input:focus {
    border-color: #1769db !important;
    box-shadow: 0 0 0 3px rgba(23, 105, 219, 0.12) !important;
    background: #fff !important;
}
body .wcr-account-field__hint { font-size: 12px !important; color: #9ca3af !important; font-style: italic !important; }

body .wcr-form-actions { margin-top: 20px !important; }

/* Address form fields */
body .wcr-account-card .woocommerce-address-fields__field-wrapper { display: flex !important; flex-direction: column !important; gap: 12px !important; }
body .wcr-account-card .woocommerce-address-fields__field-wrapper p { margin: 0 !important; }
body .wcr-account-card .woocommerce-address-fields__field-wrapper label {
    display: block !important; font-size: 13px !important; font-weight: 600 !important; color: #374151 !important; margin-bottom: 6px !important;
}
body .wcr-account-card .woocommerce-address-fields__field-wrapper input[type="text"],
body .wcr-account-card .woocommerce-address-fields__field-wrapper input[type="email"],
body .wcr-account-card .woocommerce-address-fields__field-wrapper input[type="tel"],
body .wcr-account-card .woocommerce-address-fields__field-wrapper select {
    width: 100% !important; padding: 10px 14px !important; font-size: 14px !important; color: #1f2937 !important;
    background: #f9fafb !important; border: 1px solid #e5e7eb !important; border-radius: 10px !important;
    outline: none !important; box-sizing: border-box !important;
}
body .wcr-account-card .woocommerce-address-fields__field-wrapper input:focus,
body .wcr-account-card .woocommerce-address-fields__field-wrapper select:focus {
    border-color: #1769db !important; box-shadow: 0 0 0 3px rgba(23, 105, 219, 0.12) !important; background: #fff !important;
}

body .wcr-nickname-field { margin-bottom: 16px !important; padding-bottom: 16px !important; border-bottom: 1px solid #f3f4f6 !important; }
body .wcr-nickname-field label { display: block !important; font-size: 13px !important; font-weight: 600 !important; color: #374151 !important; margin-bottom: 6px !important; }
body .wcr-nickname-field input {
    width: 100% !important; max-width: 300px !important; padding: 10px 14px !important; font-size: 14px !important;
    color: #1f2937 !important; background: #f9fafb !important; border: 1px solid #e5e7eb !important; border-radius: 10px !important;
    outline: none !important; box-sizing: border-box !important;
}
body .wcr-nickname-field input:focus {
    border-color: #1769db !important; box-shadow: 0 0 0 3px rgba(23, 105, 219, 0.12) !important; background: #fff !important;
}

body .wcr-cep-loading {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24'%3E%3Cpath fill='%231769db' d='M12 2a10 10 0 1 0 10 10A10 10 0 0 0 12 2zm0 18a8 8 0 1 1 8-8 8 8 0 0 1-8 8z' opacity='.3'/%3E%3Cpath fill='%231769db' d='M20 12h2A10 10 0 0 0 12 2v2a8 8 0 0 1 8 8z'%3E%3CanimateTransform attributeName='transform' dur='.8s' from='0 12 12' repeatCount='indefinite' to='360 12 12' type='rotate'/%3E%3C/path%3E%3C/svg%3E") !important;
    background-repeat: no-repeat !important;
    background-position: right 12px center !important;
    background-size: 18px !important;
    padding-right: 40px !important;
}

/* ══════════════════════════════════════════════════════
   VIEW ORDER
   ══════════════════════════════════════════════════════ */

body .wcr-vo-header {
    background: #fff !important; border: 1px solid #e5e7eb !important; border-radius: 14px !important;
    padding: 20px !important; box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06) !important; margin-bottom: 16px !important;
}
body .wcr-vo-header__top { display: flex !important; align-items: center !important; justify-content: space-between !important; gap: 12px !important; margin-bottom: 8px !important; }
body .wcr-vo-header__title { font-size: 18px !important; font-weight: 700 !important; color: #1f2937 !important; margin: 0 !important; }
body .wcr-vo-header__meta { display: flex !important; align-items: center !important; gap: 16px !important; font-size: 13px !important; color: #6b7280 !important; margin-bottom: 16px !important; }
body .wcr-vo-header__actions { display: flex !important; align-items: center !important; gap: 10px !important; flex-wrap: wrap !important; padding-top: 16px !important; border-top: 1px solid #f3f4f6 !important; }

body .wcr-vo-card {
    background: #fff !important; border: 1px solid #e5e7eb !important; border-radius: 14px !important;
    padding: 20px !important; box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06) !important; margin-bottom: 16px !important;
}
body .wcr-vo-card__title { font-size: 15px !important; font-weight: 700 !important; color: #1f2937 !important; margin: 0 0 16px !important; padding-bottom: 10px !important; border-bottom: 1px solid #f3f4f6 !important; }

body .wcr-vo-items { display: flex !important; flex-direction: column !important; gap: 12px !important; margin-bottom: 16px !important; }
body .wcr-vo-item { display: flex !important; align-items: center !important; gap: 12px !important; padding-bottom: 12px !important; border-bottom: 1px solid #f9fafb !important; }
body .wcr-vo-item:last-child { border-bottom: none !important; padding-bottom: 0 !important; }
body .wcr-vo-item__thumb { flex-shrink: 0; width: 50px; height: 50px; border-radius: 10px; overflow: hidden; }
body .wcr-vo-item__thumb img { width: 50px; height: 50px; object-fit: cover; border-radius: 10px; }
body .wcr-vo-item__info { flex: 1; min-width: 0; }
body .wcr-vo-item__name { display: block !important; font-size: 14px !important; font-weight: 600 !important; color: #1f2937 !important; }
body .wcr-vo-item__name a { color: #1f2937 !important; text-decoration: none !important; }
body .wcr-vo-item__name a:hover { color: #1769db !important; }
body .wcr-vo-item__qty { font-size: 12px !important; color: #9ca3af !important; }
body .wcr-vo-item__total { font-size: 14px !important; font-weight: 600 !important; color: #374151 !important; white-space: nowrap; }

body .wcr-vo-totals { padding-top: 16px !important; border-top: 1px solid #e5e7eb !important; }
body .wcr-vo-totals__row { display: flex !important; justify-content: space-between !important; align-items: center !important; padding: 6px 0 !important; font-size: 14px !important; }
body .wcr-vo-totals__label { color: #6b7280 !important; }
body .wcr-vo-totals__value { font-weight: 600 !important; color: #374151 !important; }
body .wcr-vo-totals__row.order_total { padding-top: 10px !important; margin-top: 6px !important; border-top: 1px solid #e5e7eb !important; font-size: 16px !important; }
body .wcr-vo-totals__row.order_total .wcr-vo-totals__value { color: #1f2937 !important; font-weight: 700 !important; }

body .wcr-vo-contact { font-size: 13px !important; color: #6b7280 !important; margin: 4px 0 0 !important; }

body .wcr-vo-notes { display: flex !important; flex-direction: column !important; gap: 12px !important; }
body .wcr-vo-note { padding: 12px !important; background: #f9fafb !important; border-radius: 10px !important; border-left: 3px solid #1769db !important; }
body .wcr-vo-note__date { display: block !important; font-size: 11px !important; font-weight: 600 !important; color: #9ca3af !important; margin-bottom: 4px !important; }
body .wcr-vo-note__text { font-size: 14px !important; color: #4b5563 !important; line-height: 1.5 !important; }
body .wcr-vo-note__text p { margin: 0 !important; }

/* ══════════════════════════════════════════════════════
   YITH POINTS — harmony
   ══════════════════════════════════════════════════════ */

.yith-ywpar-wrapper .ywpar-points-rewards-card,
.yith-ywpar-wrapper .ywpar-card {
    border-radius: 14px !important;
    border: 1px solid #e5e7eb !important;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06) !important;
}

/* ══════════════════════════════════════════════════════
   ADDRESS MODAL
   ══════════════════════════════════════════════════════ */

body .wcr-modal-overlay {
    display: none;
    position: fixed !important;
    inset: 0 !important;
    z-index: 999999 !important;
    background: rgba(0, 0, 0, 0.5) !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 20px !important;
}
body .wcr-modal-overlay.wcr-modal--open { display: flex !important; }

body .wcr-modal {
    background: #fff !important;
    border-radius: 16px !important;
    width: 100% !important;
    max-width: 600px !important;
    max-height: 85vh !important;
    overflow-y: auto !important;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2) !important;
    padding: 28px !important;
    position: relative !important;
}

body .wcr-modal__header {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    margin-bottom: 20px !important;
    padding-bottom: 14px !important;
    border-bottom: 1px solid #f3f4f6 !important;
}
body .wcr-modal__title {
    font-size: 18px !important;
    font-weight: 700 !important;
    color: #1f2937 !important;
    margin: 0 !important;
}
body .wcr-modal__close {
    width: 36px !important;
    height: 36px !important;
    border-radius: 10px !important;
    border: none !important;
    background: #f3f4f6 !important;
    color: #6b7280 !important;
    cursor: pointer !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    transition: background 0.15s ease !important;
    padding: 0 !important;
    line-height: 1 !important;
}
body .wcr-modal__close:hover { background: #e5e7eb !important; color: #1f2937 !important; }

body .wcr-modal .wcr-nickname-field { margin-bottom: 16px !important; padding-bottom: 16px !important; border-bottom: 1px solid #f3f4f6 !important; }

body .wcr-modal .woocommerce-address-fields__field-wrapper { display: flex !important; flex-direction: column !important; gap: 12px !important; }
body .wcr-modal .woocommerce-address-fields__field-wrapper p { margin: 0 !important; }
body .wcr-modal .woocommerce-address-fields__field-wrapper label {
    display: block !important; font-size: 13px !important; font-weight: 600 !important; color: #374151 !important; margin-bottom: 6px !important;
}
body .wcr-modal .woocommerce-address-fields__field-wrapper .optional,
body .wcr-modal .woocommerce-address-fields__field-wrapper .required { font-weight: 400 !important; color: #9ca3af !important; }
body .wcr-modal .woocommerce-address-fields__field-wrapper input[type="text"],
body .wcr-modal .woocommerce-address-fields__field-wrapper input[type="email"],
body .wcr-modal .woocommerce-address-fields__field-wrapper input[type="tel"],
body .wcr-modal .woocommerce-address-fields__field-wrapper select {
    width: 100% !important; padding: 10px 14px !important; font-size: 14px !important; color: #1f2937 !important;
    background: #f9fafb !important; border: 1px solid #e5e7eb !important; border-radius: 10px !important;
    outline: none !important; box-sizing: border-box !important;
}
body .wcr-modal .woocommerce-address-fields__field-wrapper input:focus,
body .wcr-modal .woocommerce-address-fields__field-wrapper select:focus {
    border-color: #1769db !important; box-shadow: 0 0 0 3px rgba(23, 105, 219, 0.12) !important; background: #fff !important;
}

body .wcr-modal .wcr-form-actions {
    margin-top: 20px !important;
    padding-top: 16px !important;
    border-top: 1px solid #f3f4f6 !important;
    display: flex !important;
    gap: 10px !important;
}

/* ══════════════════════════════════════════════════════
   AVATAR
   ══════════════════════════════════════════════════════ */

/* Dashboard greeting with avatar */
body .wcr-dash-hello {
    display: flex !important;
    align-items: center !important;
    gap: 16px !important;
    margin-bottom: 16px !important;
}
body .wcr-dash-hello .wcr-dash-greeting { margin: 0 !important; }

body .wcr-dash-avatar {
    flex-shrink: 0 !important;
    position: relative !important;
}
body .wcr-dash-avatar img,
body .wcr-dash-avatar .avatar {
    width: 56px !important;
    height: 56px !important;
    border-radius: 50% !important;
    object-fit: cover !important;
    border: 2px solid #e5e7eb !important;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.08) !important;
    display: block !important;
}

/* Empty avatar — dashed border + overlay button */
body .wcr-dash-avatar--empty img {
    opacity: 0.4 !important;
    filter: grayscale(1) !important;
}
body .wcr-dash-avatar-upload {
    position: absolute !important;
    inset: 0 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    background: rgba(23, 105, 219, 0.08) !important;
    border: 2px dashed #1769db !important;
    border-radius: 50% !important;
    cursor: pointer !important;
    color: #1769db !important;
    transition: background 0.15s ease !important;
}
body .wcr-dash-avatar-upload:hover {
    background: rgba(23, 105, 219, 0.15) !important;
}

/* "Adicionar foto" text link */
body .wcr-dash-add-photo {
    display: inline-block !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    color: #1769db !important;
    cursor: pointer !important;
    margin-top: 2px !important;
}
body .wcr-dash-add-photo:hover {
    color: #1258c2 !important;
    text-decoration: underline !important;
}

/* Edit account avatar card */
body .wcr-avatar-card { margin-bottom: 16px !important; }

body .wcr-avatar-section {
    display: flex !important;
    align-items: center !important;
    gap: 20px !important;
}

body .wcr-avatar-preview-wrap {
    flex-shrink: 0 !important;
}
body .wcr-avatar-img {
    width: 80px !important;
    height: 80px !important;
    border-radius: 50% !important;
    object-fit: cover !important;
    border: 2px solid #e5e7eb !important;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.08) !important;
    display: block !important;
}

body .wcr-avatar-controls {
    display: flex !important;
    flex-wrap: wrap !important;
    align-items: center !important;
    gap: 8px !important;
}

body .wcr-avatar-upload-label {
    cursor: pointer !important;
}

body .wcr-avatar-remove-btn {
    color: #dc2626 !important;
    border-color: #fecaca !important;
}
body .wcr-avatar-remove-btn:hover {
    background: #fef2f2 !important;
    color: #b91c1c !important;
    border-color: #fca5a5 !important;
}

body .wcr-avatar-hint {
    width: 100% !important;
    font-size: 12px !important;
    color: #9ca3af !important;
    margin: 0 !important;
}

body .wcr-avatar-status {
    font-size: 13px !important;
    font-weight: 500 !important;
}
body .wcr-avatar-status--success { color: #16a34a !important; }
body .wcr-avatar-status--error { color: #dc2626 !important; }
body .wcr-avatar-status--loading { color: #1769db !important; }

/* ══════════════════════════════════════════════════════
   RESPONSIVE
   ══════════════════════════════════════════════════════ */

@media (max-width: 600px) {
    body .wcr-addr-grid { grid-template-columns: 1fr !important; }
    body .wcr-account-row { grid-template-columns: 1fr !important; }
}

@media (max-width: 480px) {
    body .wcr-card { padding: 16px !important; padding-bottom: 44px !important; }
    body .wcr-card__header { flex-wrap: wrap; }
    body .wcr-card__meta { flex-direction: column !important; align-items: flex-start !important; gap: 4px !important; }
    body .wcr-card__actions { flex-direction: column !important; }
    body .wcr-card__actions .wcr-btn { width: 100% !important; justify-content: center !important; }
    body .wcr-item { max-width: 160px; }
    body .wcr-dash-card { padding: 16px !important; }
    body .wcr-dash-card__icon svg { width: 20px; height: 20px; }
    body .wcr-account-card { padding: 16px !important; }
    body .wcr-addr-card { padding: 16px !important; }
    body .wcr-vo-header, body .wcr-vo-card { padding: 16px !important; }
    body .wcr-modal { padding: 20px !important; max-height: 90vh !important; }
}
