/* ============================================================
   Receiteria — Perfil Público do Usuário
   Design System: Poppins, paleta warm, 8pt grid, mobile-first
   ============================================================ */

/* --- Design Tokens --- */

:root {
    --rc-hero-bg: #FBF7F1;
    --rc-hero-pad: 24px;
    --rc-avatar-size: 64px;
    --rc-avatar-size-sm: 48px;
    --rc-avatar-border: 2px solid #E2D7C6;
    --rc-name-size: 24px;
    --rc-name-size-sm: 20px;
    --rc-name-weight: 800;
    --rc-name-color: #53240C;
    --rc-meta-color: #7A6450;
    --rc-stat-color: #5C4333;
    --rc-stat-bold: #53240C;
    --rc-accent: #F53E28;
    --rc-badge-size: 36px;
    --rc-badge-size-sm: 32px;
    --rc-radius-sm: 8px;
    --rc-radius-md: 12px;
    --rc-radius-pill: 20px;
    --rc-separator-color: #C4B8A9;
}

/* Visually hidden but accessible — keeps element in the rendering tree */
.rc-sr-only {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
}

.rc-profile {
    font-family: 'Poppins', sans-serif;
    color: #53240C;
    line-height: 1.5;
}

/* Focus visible — acessibilidade por teclado */

.rc-profile a:focus-visible,
.rc-profile button:focus-visible,
.rc-filter-pill:focus-visible,
.rc-fav-action:focus-visible,
.rc-profile-tab:focus-visible {
    outline: 2px solid var(--rc-accent);
    outline-offset: 2px;
    border-radius: 4px;
}

/* ------ Hero Section ------ */

.rc-profile-hero {
    background: var(--rc-hero-bg);
    padding: var(--rc-hero-pad) 0;
}

.rc-profile-hero--private {
    padding: 48px 0;
    text-align: center;
}

.rc-profile-hero__inner {
    display: flex;
    align-items: center;
    gap: 16px;
}

.rc-profile-hero__bio {
    flex: 1;
    min-width: 0;
}

.rc-profile-hero__badges {
    flex-shrink: 0;
    display: flex;
    align-items: center;
}

.rc-profile-hero__headline {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.rc-profile-avatar {
    width: var(--rc-avatar-size);
    height: var(--rc-avatar-size);
    border-radius: 50%;
    border: var(--rc-avatar-border);
    object-fit: cover;
    background: #F7EFE4;
    flex-shrink: 0;
    transition: transform 0.2s ease;
}

.rc-profile-avatar:hover {
    transform: scale(1.04);
}

.rc-profile-name {
    font-size: var(--rc-name-size);
    font-weight: var(--rc-name-weight);
    color: var(--rc-name-color);
    margin: 0;
    line-height: 1.2;
}

/* Meta line: level tag + membro desde */

.rc-profile-hero__meta {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 4px 0 0;
    flex-wrap: wrap;
}

.rc-profile-level-tag {
    display: inline-block;
    font-size: 12px;
    font-weight: 600;
    color: #703416;
    background: #F0E6D8;
    padding: 2px 10px;
    border-radius: 10px;
    white-space: nowrap;
}

.rc-profile-since {
    font-size: 13px;
    font-weight: 400;
    color: var(--rc-meta-color);
    margin: 0;
}

.rc-profile-hero__sep {
    color: var(--rc-separator-color);
    font-weight: 400;
    font-size: 13px;
    line-height: 1;
    user-select: none;
}

.rc-profile-private-msg {
    font-size: 16px;
    color: #6F5B4A;
    margin-top: 16px;
}

/* Stats — texto inline, sem pills */

.rc-profile-hero__stats {
    font-size: 14px;
    color: var(--rc-stat-color);
    margin: 8px 0 0;
    line-height: 1.5;
}

.rc-profile-hero__stats strong {
    font-weight: 700;
    color: var(--rc-stat-bold);
}

/* Edit profile link — ghost text */

.rc-profile-edit-link {
    display: inline-flex;
    align-items: center;
    font-size: 13px;
    color: var(--rc-accent);
    text-decoration: none;
    font-weight: 500;
    border: none;
    background: none;
    padding: 2px 0;
    transition: opacity 0.2s;
    white-space: nowrap;
    flex-shrink: 0;
    opacity: 0.85;
}

.rc-profile-edit-link:hover {
    opacity: 1;
    text-decoration: underline;
    text-underline-offset: 3px;
    color: var(--rc-accent);
    background: none;
}

/* Atalho pro wp-admin user-edit — visível só pra quem pode editar. */
.rc-profile-admin-edit {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    color: #6b7280;
    background: #f3f4f6;
    border: 1px solid #e5e7eb;
    padding: 6px 14px;
    border-radius: 999px;
    text-decoration: none;
    margin-left: 6px;
    transition: all 0.2s;
}
.rc-profile-admin-edit:hover {
    color: #111827;
    background: #e5e7eb;
    border-color: #d1d5db;
    text-decoration: none;
}

/* ------ Hero badges — ícones circulares compactos ------ */

.rc-hero-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.rc-hero-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: var(--rc-badge-size);
    height: var(--rc-badge-size);
    background: #fff;
    border: 1px solid #F0E6D8;
    border-radius: 50%;
    text-decoration: none !important;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    cursor: help;
}

.rc-hero-badge:hover {
    transform: scale(1.12);
    box-shadow: 0 2px 10px rgba(0, 0, 0, .1);
    text-decoration: none !important;
}

.rc-hero-badge svg {
    display: block;
}

/* Mobile: hero empilha verticalmente */

@media (max-width: 767px) {
    .rc-profile-hero__inner {
        flex-direction: column;
        text-align: center;
        gap: 8px;
    }

    .rc-profile-hero__bio {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .rc-profile-hero__headline {
        justify-content: center;
    }

    .rc-profile-avatar {
        width: var(--rc-avatar-size-sm);
        height: var(--rc-avatar-size-sm);
    }

    .rc-profile-name {
        font-size: var(--rc-name-size-sm);
    }

    .rc-profile-hero__meta {
        justify-content: center;
    }

    .rc-profile-hero__stats {
        font-size: 13px;
        text-align: center;
    }

    .rc-profile-hero__badges {
        margin-top: 4px;
    }

    .rc-hero-badges {
        justify-content: center;
    }

    .rc-hero-badge {
        width: var(--rc-badge-size-sm);
        height: var(--rc-badge-size-sm);
    }
}

/* Tablet: badges wrap com gap menor */

@media (min-width: 768px) and (max-width: 1024px) {
    .rc-profile-hero__inner {
        gap: 16px;
    }

    .rc-hero-badges {
        gap: 5px;
    }

    .rc-hero-badge {
        width: 32px;
        height: 32px;
    }
}

/* ------ Tabs ------ */

.rc-profile-tabs {
    background: #fff;
    border-bottom: 1px solid #E2D7C6;
    position: sticky;
    top: 0;
    z-index: 50;
}

.rc-profile-tabs__inner {
    display: flex;
    gap: 0;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    scroll-snap-type: x proximity;
}

.rc-profile-tabs__inner::-webkit-scrollbar {
    display: none;
}

.rc-profile-tab {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 10px 16px;
    font-size: 14px;
    font-weight: 500;
    scroll-snap-align: start;
    color: #6F5B4A;
    text-decoration: none;
    border-bottom: 2px solid transparent;
    white-space: nowrap;
    transition: color 0.2s, border-color 0.2s;
}

.rc-profile-tab:hover {
    color: #53240C;
}

.rc-profile-tab--active {
    color: #F53E28;
    border-bottom-color: #F53E28;
    font-weight: 600;
}

.rc-profile-tab__count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 20px;
    height: 20px;
    padding: 0 6px;
    font-size: 11px;
    font-weight: 600;
    line-height: 1;
    border-radius: 10px;
    background: rgba(112, 52, 22, 0.08);
    color: #6F5B4A;
}

.rc-profile-tab--active .rc-profile-tab__count {
    background: rgba(245, 62, 40, 0.1);
    color: #F53E28;
}

/* ------ Content ------ */

.rc-profile-content {
    padding-top: 24px;
    padding-bottom: 48px;
    min-height: 300px;
}

/* Section */

.rc-profile-section {
    margin-bottom: 32px;
}

.rc-profile-section__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 16px;
    flex-wrap: wrap;
    gap: 8px;
}

.rc-profile-section__title {
    font-size: 18px;
    font-weight: 700;
    color: #53240C;
    margin: 0;
    text-transform: lowercase;
}

.rc-profile-section__count {
    font-size: 14px;
    color: #7D614F;
}

.rc-profile-section__link {
    font-size: 14px;
    font-weight: 500;
    color: #F53E28;
    text-decoration: none;
}

.rc-profile-section__link:hover {
    text-decoration: underline;
}

/* Notices / empty */

.rc-profile-notice {
    font-size: 14px;
    color: #7D614F;
    background: #FBF7F1;
    padding: 12px 16px;
    border-radius: 8px;
    margin-bottom: 16px;
    border-left: 3px solid #e8a87c;
}

.rc-profile-notice a {
    color: #F53E28;
    font-weight: 500;
}

.rc-profile-empty {
    font-size: 15px;
    color: #7D614F;
    text-align: center;
    padding: 40px 20px;
}

/* ------ Review Cards ------ */

.rc-review-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
}

.rc-review-card {
    display: flex;
    gap: 14px;
    background: #fff;
    border-radius: 12px;
    padding: 16px;
    box-shadow: 0 1px 4px rgba(0,0,0,0.06);
    transition: box-shadow 0.2s, transform 0.2s;
}

.rc-review-card:hover {
    box-shadow: 0 4px 16px rgba(0,0,0,0.1);
    transform: translateY(-1px);
}

.rc-review-card__thumb {
    flex-shrink: 0;
}

.rc-review-card__thumb img {
    width: 80px;
    height: 80px;
    border-radius: 10px;
    object-fit: cover;
    display: block;
}

.rc-review-card__body {
    flex: 1;
    min-width: 0;
}

.rc-review-card__recipe {
    font-size: 15px;
    font-weight: 600;
    color: #53240C;
    text-decoration: none;
    display: block;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.rc-review-card__recipe:hover {
    color: #F53E28;
}

.rc-review-card__stars {
    font-size: 14px;
    color: #F53E28;
    letter-spacing: 1px;
    margin: 2px 0 4px;
}

.rc-review-card__text {
    font-size: 14px;
    color: #703416;
    margin: 0 0 6px;
    line-height: 1.5;
}

.rc-review-card__has-photo {
    font-size: 13px;
}

.rc-review-card__meta {
    display: flex;
    gap: 12px;
    font-size: 13px;
    color: #7D614F;
}

.rc-review-card__helpful {
    color: #36eb98;
    font-weight: 500;
}

/* ------ Filters ------ */

.rc-reviews-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 20px;
    align-items: center;
}

.rc-reviews-filters__stars,
.rc-reviews-filters__order {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.rc-filter-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 7px 14px 7px 14px;
    font-size: 14px;
    font-weight: 500;
    font-family: inherit;
    border: 1px solid transparent;
    border-radius: 20px;
    background: #F7EFE4;
    color: #703416;
    text-decoration: none;
    cursor: pointer;
    transition: background 0.2s, color 0.2s, border-color 0.2s, box-shadow 0.2s;
    white-space: nowrap;
    line-height: 1.4;
}

.rc-filter-pill:hover {
    background: #EDE5D9;
    color: #53240C;
    border-color: #E2D7C6;
}

.rc-filter-pill--active {
    background: #F53E28;
    color: #fff;
    border-color: #F53E28;
    box-shadow: 0 1px 4px rgba(245, 62, 40, 0.2);
}

.rc-filter-pill--active:hover {
    background: #d4331f;
    color: #fff;
    border-color: #d4331f;
}

.rc-filter-pill__count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 22px;
    height: 22px;
    padding: 0 6px;
    font-size: 12px;
    font-weight: 600;
    line-height: 1;
    border-radius: 11px;
    background: rgba(112, 52, 22, 0.12);
    color: #703416;
}

.rc-filter-pill--active .rc-filter-pill__count {
    background: rgba(255, 255, 255, 0.25);
    color: #fff;
}

/* ------ Pagination ------ */

.rc-pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin-top: 24px;
    padding: 16px 0;
}

.rc-pagination__link {
    font-size: 14px;
    font-weight: 500;
    color: #F53E28;
    text-decoration: none;
    padding: 8px 16px;
    border: 1px solid #F53E28;
    border-radius: 20px;
    transition: background 0.2s, color 0.2s;
}

.rc-pagination__link:hover {
    background: #F53E28;
    color: #fff;
}

.rc-pagination__info {
    font-size: 14px;
    color: #7D614F;
}

/* ------ Favorites Grid ------ */

.rc-favorites-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

/* --- Card de favorito: estrutura vertical --- */

.rc-fav-card {
    display: flex;
    flex-direction: column;
    border-radius: 10px;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.06);
    transition: box-shadow 0.2s, transform 0.2s;
    position: relative;
}

.rc-fav-card:hover {
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
    transform: translateY(-2px);
}

.rc-fav-card__image {
    display: block;
    position: relative;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: #F7EFE4;
}

.rc-fav-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}

.rc-fav-card:hover .rc-fav-card__image img {
    transform: scale(1.04);
}

.rc-fav-card__image .rating {
    color: #fff;
}

.rc-fav-card__body {
    padding: 10px 12px 10px;
    flex: 1;
}

.rc-fav-card__title {
    font-family: 'Poppins', sans-serif;
    font-size: 14px;
    font-weight: 600;
    color: #F53E28;
    line-height: 1.3;
    text-decoration: none;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.rc-fav-card__title:hover {
    color: #d4331f;
}

/* ------ Responsive ------ */

@media (min-width: 576px) {
    .rc-review-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 767px) {
    .rc-profile-tab {
        padding: 10px 14px;
        font-size: 13px;
    }

    .rc-review-card__thumb img {
        width: 60px;
        height: 60px;
    }
}

/* ------ Dashboard (ProfilePress My Account) ------ */

.rc-dashboard-reviews,
.rc-dashboard-privacy {
    font-family: 'Poppins', sans-serif;
    color: #53240C;
}

.rc-dashboard-empty {
    color: #7D614F;
    padding: 20px 0;
}

.rc-dashboard-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
}

.rc-dashboard-table th {
    text-align: left;
    font-weight: 600;
    color: #703416;
    padding: 10px 12px;
    border-bottom: 2px solid #E2D7C6;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.rc-dashboard-table td {
    padding: 10px 12px;
    border-bottom: 1px solid #F7EFE4;
    vertical-align: middle;
}

.rc-dashboard-table a {
    color: #53240C;
    text-decoration: none;
    font-weight: 500;
}

.rc-dashboard-table a:hover {
    color: #F53E28;
}

.rc-dashboard-stars {
    color: #F53E28;
    letter-spacing: 1px;
    font-size: 14px;
}

.rc-status {
    display: inline-block;
    padding: 3px 10px;
    border-radius: 12px;
    font-size: 13px;
    font-weight: 500;
}

.rc-status--published {
    background: #d4edda;
    color: #155724;
}

.rc-status--pending {
    background: #fff3cd;
    color: #856404;
}

.rc-dashboard-link {
    margin-top: 16px;
}

.rc-dashboard-link a {
    color: #F53E28;
    font-weight: 500;
    font-size: 14px;
    text-decoration: none;
}

/* Toggle switch iOS-style */

.rc-privacy-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
    max-width: 520px;
}

.rc-toggle-label {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    cursor: pointer;
}

.rc-toggle-label input[type="checkbox"] {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.rc-toggle-switch {
    flex-shrink: 0;
    width: 48px;
    height: 26px;
    background: #E2D7C6;
    border-radius: 13px;
    position: relative;
    transition: background 0.25s;
    margin-top: 2px;
}

.rc-toggle-switch::after {
    content: '';
    position: absolute;
    top: 3px;
    left: 3px;
    width: 20px;
    height: 20px;
    background: #fff;
    border-radius: 50%;
    transition: transform 0.25s;
    box-shadow: 0 1px 3px rgba(0,0,0,0.15);
}

.rc-toggle-label input:checked + .rc-toggle-switch {
    background: #F53E28;
}

.rc-toggle-label input:checked + .rc-toggle-switch::after {
    transform: translateX(22px);
}

.rc-toggle-text {
    font-size: 14px;
    color: #53240C;
    line-height: 1.4;
}

.rc-toggle-text strong {
    font-weight: 600;
}

.rc-toggle-text small {
    font-size: 13px;
    color: #7D614F;
}

.rc-toggle-text a {
    color: #F53E28;
    word-break: break-all;
}

.rc-btn {
    display: inline-block;
    padding: 10px 28px;
    font-size: 14px;
    font-weight: 600;
    border-radius: 25px;
    border: none;
    cursor: pointer;
    font-family: 'Poppins', sans-serif;
    transition: background 0.2s, transform 0.1s;
}

.rc-btn:active {
    transform: scale(0.97);
}

.rc-btn--primary {
    background: #F53E28;
    color: #fff !important;
    text-decoration: none !important;
}

.rc-btn--primary:hover {
    background: #d63520;
}

.rc-btn--primary:disabled {
    background: #E2D7C6;
    cursor: not-allowed;
}

/* Feedback messages */

.rc-msg {
    padding: 12px 16px;
    border-radius: 8px;
    font-size: 14px;
    margin-top: 12px;
}

.rc-msg--success {
    background: #d4edda;
    color: #155724;
}

.rc-msg--error {
    background: #f8d7da;
    color: #721c24;
}

/* Badge tooltip */

.rc-badge-tooltip {
    position: absolute;
    bottom: calc(100% + 8px);
    left: 50%;
    transform: translateX(-50%);
    background: #53240C;
    color: #fff;
    font-size: 13px;
    font-weight: 500;
    padding: 6px 12px;
    border-radius: 6px;
    white-space: nowrap;
    pointer-events: none;
    z-index: 100;
}

.rc-badge-tooltip::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    border: 5px solid transparent;
    border-top-color: #53240C;
}

/* Dashboard responsive */

@media (max-width: 575px) {
    .rc-dashboard-table th:nth-child(4),
    .rc-dashboard-table td:nth-child(4) {
        display: none;
    }

    .rc-dashboard-table {
        font-size: 14px;
    }
}

/* ============================================================
   Favoritos — Filtros, Remoção e Carregar Mais
   ============================================================ */

/* Chips de filtro */

.rc-fav-filters {
    position: relative;
    display: flex;
    flex-wrap: nowrap;
    gap: 8px;
    margin-bottom: 16px;
    align-items: center;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    scroll-snap-type: x proximity;
    padding-bottom: 4px;
    -webkit-mask-image: linear-gradient(to right, #000 90%, transparent 100%);
    mask-image: linear-gradient(to right, #000 90%, transparent 100%);
}

.rc-fav-filters::-webkit-scrollbar {
    display: none;
}

.rc-fav-filters .rc-filter-pill {
    flex-shrink: 0;
    scroll-snap-align: start;
}

.rc-fav-chip--hidden {
    display: inline-flex !important;
}

.rc-fav-chip-expand {
    display: none !important;
}

/* Barra de ações do card favorito */

.rc-fav-actions {
    display: flex;
    border-top: 1px solid #F0EAE0;
    overflow: hidden;
}

.rc-fav-action {
    flex: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    min-height: 44px;
    padding: 8px;
    background: transparent;
    border: none;
    border-right: 1px solid #F0EAE0;
    font-family: 'Poppins', sans-serif;
    font-size: 13px;
    font-weight: 500;
    color: #6F5B4A;
    cursor: pointer;
    transition: background 0.2s, color 0.2s;
    line-height: 1;
}

.rc-fav-action:last-of-type {
    border-right: none;
}

.rc-fav-action i {
    font-size: 13px;
    line-height: 1;
}

.rc-fav-action:hover {
    background: #FBF7F1;
    color: #53240C;
}

.rc-fav-action--cooked.rc-fav-action--active {
    color: #1fa368;
    background: #f0fdf6;
}

.rc-fav-action--cooked.rc-fav-action--active i {
    color: #36eb98;
}

.rc-fav-action--cooked.rc-fav-action--active:hover {
    background: #e2fbee;
}

.rc-fav-action--remove:hover {
    color: #D32F2F;
    background: #FFF5F4;
}

.rc-fav-action--remove:hover i {
    color: #D32F2F;
}

.rc-fav-action--busy {
    opacity: 0.5 !important;
    pointer-events: none;
}

/* Confirmação inline — dentro da barra de ações */

.rc-fav-confirm {
    display: none;
    width: 100%;
    background: #fff;
    padding: 0 12px;
    min-height: 44px;
    white-space: nowrap;
    font-size: 13px;
    font-weight: 500;
    color: #703416;
    text-align: center;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.rc-fav-confirm span {
    margin-right: 6px;
}

.rc-fav-confirm-yes {
    background: #F53E28;
    color: #fff;
    border: none;
    font-size: 13px;
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    padding: 4px 14px;
    border-radius: 12px;
    cursor: pointer;
    margin-right: 4px;
    transition: background 0.2s;
}

.rc-fav-confirm-yes:hover {
    background: #d63520;
}

.rc-fav-confirm-no {
    background: none;
    border: 1px solid #E2D7C6;
    color: #7D614F;
    font-size: 13px;
    font-family: 'Poppins', sans-serif;
    font-weight: 500;
    padding: 3px 12px;
    border-radius: 12px;
    cursor: pointer;
    transition: border-color 0.2s;
}

.rc-fav-confirm-no:hover {
    border-color: #7D614F;
}

/* Animação de remoção */

.rc-fav-card--removing {
    opacity: 0;
    transform: scale(0.92);
    transition: opacity 0.3s ease, transform 0.3s ease;
    pointer-events: none;
}

/* Paginação oculta */

.rc-fav-card--paged {
    display: none !important;
}

/* Resumo: grid usa mesma base */

.rc-favorites-grid--summary {
    grid-template-columns: repeat(4, 1fr);
}

@media (max-width: 991px) {
    .rc-favorites-grid--summary {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 575px) {
    .rc-favorites-grid--summary {
        grid-template-columns: 1fr;
    }
}

/* Carregar mais */

.rc-fav-load-more-wrap {
    text-align: center;
    margin-top: 24px;
}

.rc-btn--outline {
    background: transparent;
    color: #F53E28;
    border: 2px solid #F53E28;
}

.rc-btn--outline:hover {
    background: #F53E28;
    color: #fff;
}

/* Mobile: favoritos */

@media (max-width: 575px) {
    .rc-favorites-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .rc-fav-card__body {
        padding: 8px 12px 8px;
    }

}

@media (min-width: 576px) and (max-width: 991px) {
    .rc-favorites-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* ===================================================================
   MINHA CONTA — Redesign Completo (Receiteria Design System)
   Layout: Header compacto + Nav pills horizontal + Conteúdo full-width
   =================================================================== */

#profilepress-myaccount-wrapper {
    font-family: 'Poppins', sans-serif;
    font-size: 15px;
    color: #53240C;
}

/* --- Layout: eliminar sidebar, empilhar tudo --- */

#profilepress-myaccount-wrapper .profilepress-myaccount-row {
    flex-direction: column !important;
    gap: 0 !important;
}

#profilepress-myaccount-wrapper .profilepress-myaccount-col-sm-3 {
    flex: 0 0 100% !important;
    max-width: 100% !important;
    padding: 0 !important;
    margin-bottom: 0 !important;
}

#profilepress-myaccount-wrapper .profilepress-myaccount-avatar-wrap {
    display: none !important;
}

/* ------ Aba Conquistas ------ */

.rc-conquistas {
    padding-bottom: 32px;
}

.rc-conquistas-header {
    background: #FBF7F1;
    border: 1px solid #F7EFE4;
    border-radius: 12px;
    padding: 20px 24px;
    margin-bottom: 32px;
}

.rc-conquistas-level {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.rc-conquistas-level__tag {
    font-size: 14px;
    font-weight: 700;
    color: #F53E28;
    background: rgba(245, 62, 40, .08);
    padding: 4px 12px;
    border-radius: 20px;
}

.rc-conquistas-level__count {
    font-size: 14px;
    font-weight: 500;
    color: #6F5B4A;
}

.rc-conquistas-level__next {
    font-size: 13px;
    color: #7D614F;
    margin-top: 8px;
}

.rc-conquistas-section {
    margin-bottom: 32px;
}

.rc-conquistas-section__title {
    font-family: 'Poppins', sans-serif;
    font-size: 18px;
    font-weight: 600;
    color: #53240C;
    margin: 0 0 16px;
}

.rc-conquistas-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}

.rc-conquista-card {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    background: #fff;
    border: 1px solid #F7EFE4;
    border-radius: 12px;
    padding: 16px;
    transition: box-shadow 0.2s, border-color 0.2s;
    position: relative;
}

/* ── EARNED STATE ── */

.rc-conquista-card--earned {
    background: #FEFCF9;
    border-color: #E8DDD0;
    border-left: 4px solid var(--rc-earned-color, #F53E28);
}

.rc-conquista-card--earned:hover {
    box-shadow: 0 2px 12px rgba(0, 0, 0, .06);
}

.rc-conquista-card__icon {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    display: grid;
    place-items: center;
    background: #FBF7F1;
    border-radius: 50%;
    position: relative;
}

.rc-conquista-card--earned .rc-conquista-card__icon {
    background: #FFF5F0;
    box-shadow: 0 2px 8px rgba(245, 62, 40, 0.1);
}

.rc-conquista-card__check {
    position: absolute;
    bottom: -2px;
    right: -2px;
    width: 18px;
    height: 18px;
    background: #36eb98;
    border-radius: 50%;
    display: grid;
    place-items: center;
    border: 2px solid #FEFCF9;
}

.rc-conquista-card__check svg {
    display: block;
}

.rc-conquista-card__icon svg {
    display: block;
}

.rc-conquista-card__info {
    flex: 1;
    min-width: 0;
}

.rc-conquista-card__name {
    font-family: 'Poppins', sans-serif;
    font-size: 15px;
    font-weight: 600;
    color: #53240C;
    margin: 0 0 4px;
    line-height: 1.3;
}

.rc-conquista-card--earned .rc-conquista-card__name {
    color: #53240C;
}

.rc-conquista-card__desc {
    font-size: 13px;
    font-weight: 400;
    color: #7D614F;
    line-height: 1.4;
    margin: 0;
}

.rc-conquista-card__status {
    display: inline-block;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 2px 8px;
    border-radius: 8px;
    margin-top: 6px;
}

.rc-conquista-card__status--earned {
    background: #f0fdf6;
    color: #1a8f5c;
}

/* ── LOCKED STATE ── */

.rc-conquista-card--locked {
    border-style: dashed;
    border-color: #E8E0D6;
    background: #FCFAF8;
}

.rc-conquista-card--locked .rc-conquista-card__icon {
    background: #F3EDE5;
    opacity: 0.45;
}

.rc-conquista-card--locked .rc-conquista-card__name {
    color: #B0A090;
}

.rc-conquista-card--locked .rc-conquista-card__desc {
    color: #C0B4A4;
}

/* ── Progress bar (owner only) ── */

.rc-conquista-card__bar-wrap {
    margin-top: 8px;
    height: 6px;
    background: #EDE6DC;
    border-radius: 3px;
    overflow: hidden;
}

.rc-conquista-card__bar {
    height: 100%;
    background: #F53E28;
    border-radius: 3px;
    transition: width 0.3s ease;
}

.rc-conquista-card__percent {
    display: inline-block;
    font-size: 11px;
    font-weight: 600;
    color: #F53E28;
    margin-top: 4px;
}

/* ── CLOSE TO UNLOCK STATE (>= 60%) ── */

.rc-conquista-card--close {
    border-color: #e8a87c;
    border-style: solid;
    border-width: 2px;
    background: linear-gradient(135deg, #FFFAF5 0%, #FFF7EE 100%);
}

.rc-conquista-card--close .rc-conquista-card__icon {
    opacity: 0.9;
    background: #FFF0E0;
}

.rc-conquista-card--close .rc-conquista-card__name {
    color: #703416;
}

.rc-conquista-card--close .rc-conquista-card__desc {
    color: #8B6F5C;
}

.rc-conquista-card--close .rc-conquista-card__bar {
    background: #e67e22;
}

.rc-conquista-card--close .rc-conquista-card__percent {
    color: #e67e22;
    font-weight: 700;
}

.rc-conquista-card__teaser {
    font-size: 13px;
    font-weight: 600;
    color: #c0392b;
    line-height: 1.4;
    margin: 6px 0 0;
    padding: 6px 10px;
    background: rgba(245, 62, 40, 0.06);
    border-radius: 6px;
}

.rc-conquista-card__teaser strong {
    font-weight: 700;
}

/* Empty state */

.rc-conquistas-empty {
    text-align: center;
    padding: 48px 24px;
    color: #A89888;
    font-size: 15px;
}

/* --- Toast de conquista desbloqueada --- */

.rc-toast--badge {
    background: #FBF7F1;
    color: #53240C;
    border: 1px solid #E2D7C6;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 20px;
    max-width: 360px;
    pointer-events: auto;
}

.rc-toast--badge .rc-toast-badge__icon {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    display: grid;
    place-items: center;
    background: #fff;
    border-radius: 50%;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.rc-toast--badge .rc-toast-badge__text {
    flex: 1;
    min-width: 0;
}

.rc-toast--badge .rc-toast-badge__title {
    font-size: 12px;
    font-weight: 500;
    color: #7D614F;
    margin: 0 0 2px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.rc-toast--badge .rc-toast-badge__name {
    font-size: 15px;
    font-weight: 700;
    color: #53240C;
    margin: 0;
    line-height: 1.3;
}

.rc-toast--badge .rc-toast-badge__desc {
    font-size: 13px;
    color: #7D614F;
    margin: 2px 0 0;
    line-height: 1.4;
}

.rc-toast--badge .rc-toast-badge__link {
    font-size: 13px;
    font-weight: 500;
    color: #F53E28;
    text-decoration: none;
    margin-top: 4px;
    display: inline-block;
}

.rc-toast--badge .rc-toast-badge__link:hover {
    text-decoration: underline;
}

/* Mobile */

@media (max-width: 767px) {
    .rc-conquistas-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .rc-conquistas-header {
        padding: 16px;
    }

    .rc-conquista-card {
        padding: 14px;
    }

    .rc-toast--badge {
        max-width: 100%;
    }
}

/* --- Página Minha Conta: layout full-width --- */

.rc-myac-page {
    width: 100%;
}

.rc-profile-hero--myac {
    margin-bottom: 0;
    border-radius: 0;
    width: 100%;
}

.rc-myac-page #profilepress-myaccount-wrapper {
    max-width: 100% !important;
    padding: 0 !important;
    margin: 0 !important;
}

.rc-myac-page #profilepress-myaccount-wrapper > .profilepress-myaccount-row {
    max-width: 740px !important;
    margin: 0 auto !important;
    margin-right: auto !important;
    margin-left: auto !important;
    padding: 24px 24px 0 !important;
    box-sizing: border-box !important;
}

.rc-myac-page #profilepress-myaccount-wrapper .profilepress-myaccount-content {
    max-width: 100% !important;
    flex: 0 0 100% !important;
    padding: 0 !important;
}

.rc-myac-header__logout {
    font-size: 13px;
    font-weight: 500;
    color: #6F5B4A;
    text-decoration: none !important;
    padding: 4px 14px;
    border: 1px solid #E2D7C6;
    border-radius: 16px;
    transition: color 0.2s, border-color 0.2s;
    flex-shrink: 0;
    white-space: nowrap;
}

.rc-myac-header__logout:hover {
    color: #F53E28 !important;
    border-color: #F53E28;
    text-decoration: none !important;
}

/* --- Navegação por pills horizontais --- */

#profilepress-myaccount-wrapper .profilepress-myaccount-nav {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: wrap !important;
    justify-content: center !important;
    gap: 8px !important;
    background: transparent !important;
    border: none !important;
    border-radius: 0 !important;
    padding: 16px 0 !important;
    border-bottom: 1px solid #E2D7C6 !important;
    margin-bottom: 24px !important;
    overflow: visible !important;
}

#profilepress-myaccount-wrapper .ppmyac-dashboard-item {
    font-family: 'Poppins', sans-serif !important;
    font-size: 14px !important;
    font-weight: 500 !important;
    color: #703416 !important;
    background: #F7EFE4 !important;
    border: none !important;
    border-radius: 25px !important;
    padding: 8px 20px !important;
    margin-bottom: 0 !important;
    width: auto !important;
    display: inline-flex !important;
    align-items: center !important;
    white-space: nowrap !important;
    transition: background 0.2s, color 0.2s !important;
    box-shadow: none !important;
    text-decoration: none !important;
}

#profilepress-myaccount-wrapper .ppmyac-dashboard-item:first-child {
    border-radius: 25px !important;
}

#profilepress-myaccount-wrapper .ppmyac-dashboard-item:last-child {
    border-radius: 25px !important;
}

#profilepress-myaccount-wrapper .ppmyac-dashboard-item:hover {
    background: #E2D7C6 !important;
    color: #53240C !important;
}

#profilepress-myaccount-wrapper .ppmyac-dashboard-item.isactive {
    background: #F53E28 !important;
    color: #fff !important;
    border-color: transparent !important;
}

#profilepress-myaccount-wrapper .ppmyac-dashboard-item.isactive .ppmyac-icons {
    color: #fff !important;
}

#profilepress-myaccount-wrapper .ppmyac-icons {
    display: none !important;
}

/* --- Área de conteúdo — full-width, centrado --- */

#profilepress-myaccount-wrapper .profilepress-myaccount-content {
    flex: 0 0 100% !important;
    max-width: 100% !important;
    padding: 0 !important;
    padding-top: 0 !important;
}

#profilepress-myaccount-wrapper .profilepress-myaccount-content h2,
#profilepress-myaccount-wrapper .profilepress-myaccount-content h3 {
    font-family: 'Poppins', sans-serif !important;
    font-size: 1.3em !important;
    font-weight: 600 !important;
    color: #53240C !important;
    margin-bottom: 0.8em !important;
}

#profilepress-myaccount-wrapper .profilepress-myaccount-content p {
    color: #703416;
    line-height: 1.6;
}

#profilepress-myaccount-wrapper .profilepress-myaccount-content a {
    color: #F53E28;
    text-decoration: none;
}

#profilepress-myaccount-wrapper .profilepress-myaccount-content a:hover {
    text-decoration: underline;
}

/* --- Formulário de edição: layout melhorado --- */

#profilepress-myaccount-wrapper .profilepress-myaccount-form-wrap {
    max-width: 100% !important;
}

#profilepress-myaccount-wrapper .profilepress-myaccount-form-wrap.rc-edit-form {
    max-width: 640px !important;
    margin: 0 auto !important;
}

#profilepress-myaccount-wrapper .profilepress-myaccount-form-field {
    margin-bottom: 16px !important;
}

#profilepress-myaccount-wrapper .profilepress-myaccount-form-field label {
    font-family: 'Poppins', sans-serif;
    font-size: 14px;
    font-weight: 600;
    color: #703416;
    margin-bottom: 6px;
    display: block;
}

#profilepress-myaccount-wrapper .profilepress-myaccount-form-control,
#profilepress-myaccount-wrapper .profilepress-myaccount-form-field select {
    font-family: 'Poppins', sans-serif !important;
    font-size: 14px !important;
    border: 1px solid #E2D7C6 !important;
    border-radius: 8px !important;
    padding: 10px 14px !important;
    background: #fff !important;
    color: #53240C !important;
    transition: border-color 0.2s, box-shadow 0.2s !important;
    width: 100% !important;
    box-sizing: border-box !important;
}

#profilepress-myaccount-wrapper .profilepress-myaccount-form-field select {
    height: auto !important;
    min-height: 44px !important;
    line-height: 1.4 !important;
    padding-right: 32px !important;
    appearance: menulist !important;
    -webkit-appearance: menulist !important;
}

#profilepress-myaccount-wrapper .profilepress-myaccount-form-control:focus,
#profilepress-myaccount-wrapper .profilepress-myaccount-form-field select:focus {
    border-color: #F53E28 !important;
    outline: none !important;
    box-shadow: 0 0 0 3px rgba(245, 62, 40, 0.1) !important;
}

#profilepress-myaccount-wrapper .profilepress-myaccount-form-field textarea.profilepress-myaccount-form-control {
    min-height: 100px;
    resize: vertical;
}

#profilepress-myaccount-wrapper input[type="submit"],
#profilepress-myaccount-wrapper button[type="submit"],
#profilepress-myaccount-wrapper .profilepress-myaccount-form-field input[type="submit"] {
    font-family: 'Poppins', sans-serif !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    background: #F53E28 !important;
    color: #fff !important;
    border: none !important;
    border-radius: 8px !important;
    padding: 12px 32px !important;
    cursor: pointer !important;
    transition: background 0.2s !important;
}

#profilepress-myaccount-wrapper input[type="submit"]:hover,
#profilepress-myaccount-wrapper button[type="submit"]:hover,
#profilepress-myaccount-wrapper .profilepress-myaccount-form-field input[type="submit"]:hover {
    background: #d4331f !important;
}

/* --- Mensagem de sucesso/erro do formulário --- */

.profilepress-edit-profile-status {
    font-family: 'Poppins', sans-serif !important;
    font-size: 14px !important;
    padding: 12px 16px !important;
    border-radius: 8px !important;
    margin-bottom: 20px !important;
    line-height: 1.5 !important;
}

.profilepress-edit-profile-status.success {
    background: #F0F9F0 !important;
    color: #2E7D32 !important;
    border: 1px solid #C8E6C9 !important;
}

/* --- Seções do formulário --- */

.rc-edit-section {
    margin-bottom: 28px;
    padding-bottom: 24px;
    border-bottom: 1px solid #F7EFE4;
}

.rc-edit-section__title {
    font-family: 'Poppins', sans-serif !important;
    font-size: 16px !important;
    font-weight: 600 !important;
    color: #53240C !important;
    margin: 0 0 20px !important;
}

/* --- Duas colunas side-by-side --- */

.rc-edit-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

/* --- Avatar: preview + ações lado a lado --- */

.rc-edit-avatar-section {
    display: flex !important;
    align-items: center !important;
    gap: 24px !important;
    padding: 20px !important;
    background: #FBF7F1 !important;
    border-radius: 12px !important;
    border-bottom: none !important;
}

.rc-edit-avatar-preview img {
    width: 88px !important;
    height: 88px !important;
    max-width: 88px !important;
    border-radius: 50% !important;
    object-fit: cover !important;
    border: 3px solid #E2D7C6 !important;
    display: block !important;
}

.rc-edit-avatar-actions {
    flex: 1;
    min-width: 0;
}

.rc-edit-avatar-label {
    font-family: 'Poppins', sans-serif;
    font-size: 14px;
    font-weight: 600;
    color: #53240C;
    margin: 0 0 2px;
}

.rc-edit-avatar-hint {
    font-size: 13px;
    color: #7D614F;
    margin: 0 0 12px;
}

.rc-edit-avatar-buttons {
    display: flex;
    align-items: center;
    gap: 12px;
}

.rc-avatar-upload-btn {
    display: inline-block !important;
    cursor: pointer !important;
    font-family: 'Poppins', sans-serif !important;
    font-size: 14px !important;
    font-weight: 500 !important;
    padding: 8px 18px !important;
    border-radius: 8px !important;
    border: 1px solid #E2D7C6 !important;
    background: #fff !important;
    color: #703416 !important;
    transition: border-color 0.2s, color 0.2s !important;
}

.rc-avatar-upload-btn:hover {
    border-color: #F53E28 !important;
    color: #F53E28 !important;
}

.rc-avatar-upload-btn--busy {
    opacity: 0.6 !important;
    cursor: wait !important;
    pointer-events: none !important;
}

.rc-avatar-filename {
    font-family: 'Poppins', sans-serif;
    font-size: 13px;
    color: #2E7D32;
    max-width: 180px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.rc-avatar-filename:empty {
    display: none;
}

.rc-edit-avatar-buttons .ppmyac-remove-avatar {
    font-family: 'Poppins', sans-serif !important;
    font-size: 13px !important;
    color: #7D614F !important;
    background: none !important;
    border: none !important;
    cursor: pointer !important;
    padding: 4px 0 !important;
    text-decoration: underline !important;
}

.rc-edit-avatar-buttons .ppmyac-remove-avatar:hover {
    color: #F53E28 !important;
}

/* Esconder campos antigos de avatar/cover do ProfilePress */
#profilepress-myaccount-wrapper .profilepress-myaccount-form-field.edit-profile-avatar,
#profilepress-myaccount-wrapper .profilepress-myaccount-form-field.delete-avatar,
#profilepress-myaccount-wrapper .profilepress-myaccount-form-field.pp-cover-image,
#profilepress-myaccount-wrapper .profilepress-myaccount-form-field.pp-user-cover-image {
    display: none !important;
}

/* --- Seção de privacidade --- */

.rc-edit-privacy-section {
    margin-top: 4px;
    padding-top: 0;
    padding-bottom: 24px;
    margin-bottom: 24px;
    border-top: none;
    border-bottom: 1px solid #F7EFE4;
}

.rc-edit-privacy-section .rc-edit-section__title {
    margin-bottom: 16px !important;
}

.rc-edit-privacy-section .rc-toggle-label {
    margin-bottom: 16px;
}

/* Esconder título H2 "Configurações da Conta" (redundante) */
#profilepress-myaccount-wrapper .profilepress-myaccount-edit-profile > h2 {
    display: none !important;
}

.rc-privacy-saved {
    font-size: 13px;
    color: #2E7D32;
    margin-left: 8px;
    opacity: 0;
    transition: opacity 0.3s;
}

.rc-privacy-saved--visible {
    opacity: 1;
}

/* --- Alertas --- */

#profilepress-myaccount-wrapper .profilepress-myaccount-alert {
    font-family: 'Poppins', sans-serif;
    font-size: 14px;
    border-radius: 8px;
    padding: 12px 16px;
    margin-bottom: 20px;
}

#profilepress-myaccount-wrapper .profilepress-myaccount-alert.pp-alert-success {
    background: #E8F5E9;
    color: #2E7D32;
    border: 1px solid #C8E6C9;
}

#profilepress-myaccount-wrapper .profilepress-myaccount-alert.pp-alert-danger {
    background: #FFEBEE;
    color: #C62828;
    border: 1px solid #FFCDD2;
}

/* --- Indicador de força de senha --- */

#profilepress-myaccount-wrapper #pp-pass-strength-result,
.rc-pass-strength {
    font-family: 'Poppins', sans-serif !important;
    font-size: 14px !important;
    font-weight: 500 !important;
    padding: 10px 14px !important;
    border-radius: 8px !important;
    text-align: center !important;
    background: #F5F0E8 !important;
    color: #7D614F !important;
    transition: background 0.3s, color 0.3s !important;
}

#profilepress-myaccount-wrapper #pp-pass-strength-result.short,
.rc-pass-strength.short {
    background: #FDECEA !important;
    color: #C62828 !important;
}

#profilepress-myaccount-wrapper #pp-pass-strength-result.bad,
.rc-pass-strength.bad {
    background: #FFF3E0 !important;
    color: #E65100 !important;
}

#profilepress-myaccount-wrapper #pp-pass-strength-result.good,
.rc-pass-strength.good {
    background: #E8F5E9 !important;
    color: #2E7D32 !important;
}

#profilepress-myaccount-wrapper #pp-pass-strength-result.strong,
.rc-pass-strength.strong {
    background: #E0F2F1 !important;
    color: #00695C !important;
}

/* --- Sub-menus (edit profile sub-tabs) --- */

#profilepress-myaccount-wrapper .profilepress-myaccount-submenus-wrap {
    margin-bottom: 24px;
}

#profilepress-myaccount-wrapper .profilepress-myaccount-submenu-item {
    font-family: 'Poppins', sans-serif;
    font-size: 14px;
    font-weight: 500;
    color: #703416;
    text-decoration: none;
    padding: 7px 16px;
    border-radius: 20px;
    transition: background 0.2s, color 0.2s;
}

#profilepress-myaccount-wrapper .profilepress-myaccount-submenu-item:hover {
    background: #F7EFE4;
}

#profilepress-myaccount-wrapper .profilepress-myaccount-submenu-item.ppsubmenu-active {
    background: #F53E28;
    color: #fff;
}

/* --- Danger zone (Excluir Conta) --- */

.rc-danger-zone {
    background: #FFF5F5;
    border: 1px solid #FFCDD2;
    border-radius: 12px;
    padding: 28px;
    width: 100%;
    box-sizing: border-box;
    margin-bottom: 30px;
}

.rc-danger-zone__header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
}

.rc-danger-zone__header h2 {
    font-size: 1.2em !important;
    color: #C62828 !important;
    margin: 0 !important;
    line-height: 1 !important;
}

.rc-danger-zone__icon {
    font-size: 18px;
    color: #C62828;
    line-height: 1;
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.rc-danger-zone p {
    font-size: 14px;
    color: #703416;
    margin-bottom: 20px;
    line-height: 1.6;
}

.rc-btn--danger {
    font-family: 'Poppins', sans-serif !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    background: #C62828 !important;
    color: #fff !important;
    border: none !important;
    border-radius: 8px !important;
    padding: 12px 24px !important;
    cursor: pointer !important;
    transition: background 0.2s !important;
}

.rc-btn--danger:hover {
    background: #9B1B1B !important;
}

/* ===================================================================
   MEDALHAS (grade no dashboard — mantido para render_medal_grid)
   =================================================================== */

/* --- Grade de medalhas --- */

.rc-medal-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(80px, 1fr));
    gap: 12px;
}

.rc-medal {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    text-align: center;
    cursor: help;
    position: relative;
}

.rc-medal__icon {
    position: relative;
    width: 56px;
    height: 56px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: #fff;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.rc-medal--earned .rc-medal__icon {
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
}

.rc-medal--earned:hover .rc-medal__icon {
    transform: scale(1.12);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.14);
}

.rc-medal--locked .rc-medal__icon {
    background: #F7EFE4;
    opacity: 0.5;
}

.rc-medal__lock {
    position: absolute;
    bottom: -2px;
    right: -2px;
    font-size: 10px;
    color: #C4B8A9;
    background: #fff;
    border-radius: 50%;
    width: 18px;
    height: 18px;
    display: grid;
    place-items: center;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.1);
}

.rc-medal__name {
    font-size: 13px;
    font-weight: 500;
    color: #703416;
    line-height: 1.3;
    max-width: 100px;
}

.rc-medal--locked .rc-medal__name {
    color: #C4B8A9;
}

.rc-medal--special .rc-medal__icon {
    border: 2px dashed #E2D7C6;
}

.rc-medal .rc-badge-tooltip {
    bottom: calc(100% + 4px);
    left: 50%;
    transform: translateX(-50%);
    white-space: normal;
    max-width: 200px;
    text-align: center;
}

/* --- Toast de feedback --- */

.rc-toast {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 10000;
    padding: 12px 20px;
    border-radius: 8px;
    font-family: 'Poppins', sans-serif;
    font-size: 14px;
    font-weight: 500;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
    transform: translateY(-20px);
    opacity: 0;
    transition: transform 0.3s ease, opacity 0.3s ease;
    pointer-events: none;
}

.rc-toast--visible {
    transform: translateY(0);
    opacity: 1;
}

.rc-toast--success {
    background: #E8F5E9;
    color: #2E7D32;
    border: 1px solid #C8E6C9;
}

.rc-toast--error {
    background: #FFEBEE;
    color: #C62828;
    border: 1px solid #FFCDD2;
}

/* ===================================================================
   RESPONSIVO — Minha Conta
   =================================================================== */

@media (max-width: 767px) {
    #profilepress-myaccount-wrapper .profilepress-myaccount-nav {
        flex-wrap: nowrap;
        justify-content: flex-start;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        padding: 12px 0;
    }

    #profilepress-myaccount-wrapper .profilepress-myaccount-nav::-webkit-scrollbar {
        display: none;
    }

    #profilepress-myaccount-wrapper .ppmyac-dashboard-item {
        flex-shrink: 0;
        font-size: 14px !important;
        padding: 8px 16px;
    }

    #profilepress-myaccount-wrapper .profilepress-myaccount-content {
        padding: 0;
    }

    .rc-medal-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 10px;
    }

    .rc-medal__icon {
        width: 48px;
        height: 48px;
    }

    .rc-medal__name {
        font-size: 12px;
        max-width: 80px;
    }

    .rc-danger-zone {
        padding: 20px 16px;
    }

    .rc-toast {
        top: auto;
        bottom: 20px;
        right: 16px;
        left: 16px;
    }

    .rc-edit-row {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .rc-edit-avatar-section {
        flex-direction: column !important;
        text-align: center !important;
        gap: 16px !important;
        padding: 16px !important;
    }

    .rc-edit-avatar-buttons {
        justify-content: center;
    }

    .rc-edit-avatar-label,
    .rc-edit-avatar-hint {
        text-align: center;
    }

    .rc-myac-page #profilepress-myaccount-wrapper > .profilepress-myaccount-row {
        padding: 16px 16px 0 !important;
    }
}
