.rma-app,
.rma-app *,
.rma-app *::before,
.rma-app *::after,
.rma-panel,
.rma-google-button {
    box-sizing: border-box;
}

.rma-app {
    --rma-ink: #172033;
    --rma-muted: #647084;
    --rma-line: #dde4ee;
    --rma-bg: #f7f9fc;
    --rma-accent: #0f8a7a;
    --rma-accent-dark: #08685c;
    --rma-danger: #b42318;
    color: var(--rma-ink);
    font-family: inherit;
    max-width: none;
    width: 100%;
}

body:has(.rma-app) {
    overflow-x: hidden;
}

body:has(.rma-app) > header,
body:has(.rma-app) > footer,
body:has(.rma-app) .header-wrapper,
body:has(.rma-app) #header,
body:has(.rma-app) #main-menu,
body:has(.rma-app) #nav-panel,
body:has(.rma-app) .mobile-toggle,
body:has(.rma-app) #footer,
body:has(.rma-app) .footer-wrapper,
body:has(.rma-app) .porto-tooltip-wrap,
body:has(.rma-app) .header-tooltip,
.rma-hide-theme-chrome > header,
.rma-hide-theme-chrome > footer,
.rma-hide-theme-chrome .header-wrapper,
.rma-hide-theme-chrome #header,
.rma-hide-theme-chrome #main-menu,
.rma-hide-theme-chrome #nav-panel,
.rma-hide-theme-chrome .mobile-toggle,
.rma-hide-theme-chrome #footer,
.rma-hide-theme-chrome .footer-wrapper,
.rma-hide-theme-chrome .porto-tooltip-wrap,
.rma-hide-theme-chrome .header-tooltip {
    display: none !important;
}

body:has(.rma-app) #main,
body:has(.rma-app) #content,
body:has(.rma-app) .content-area,
body:has(.rma-app) .main-content,
body:has(.rma-app) .page-content,
body:has(.rma-app) .entry-content,
body:has(.rma-app) .container,
.rma-hide-theme-chrome #main,
.rma-hide-theme-chrome #content,
.rma-hide-theme-chrome .content-area,
.rma-hide-theme-chrome .main-content,
.rma-hide-theme-chrome .page-content,
.rma-hide-theme-chrome .entry-content,
.rma-hide-theme-chrome .container {
    max-width: none !important;
    width: 100% !important;
}

.rma-site-header {
    align-items: center;
    background: rgba(255, 255, 255, 0.94);
    backdrop-filter: blur(14px);
    border: 1px solid rgba(226, 232, 240, 0.92);
    border-radius: 0 0 18px 18px;
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.08);
    display: flex;
    gap: 12px;
    justify-content: space-between;
    margin: -14px -12px 16px;
    padding: 12px 14px;
    position: sticky;
    top: 0;
    z-index: 9995;
}

.rma-site-brand {
    align-items: center;
    color: #111827;
    display: flex;
    flex: 0 0 auto;
    gap: 8px;
    min-width: 0;
    text-decoration: none;
}

.rma-site-brand span {
    align-items: center;
    background: linear-gradient(135deg, #8b5cf6, #ec4899);
    border-radius: 12px;
    color: #ffffff;
    display: flex;
    flex: 0 0 34px;
    font-size: 16px;
    font-weight: 900;
    height: 34px;
    justify-content: center;
    width: 34px;
}

.rma-site-brand strong {
    color: #111827;
    display: flex;
    flex-direction: column;
    font-size: 14px;
    font-weight: 900;
    letter-spacing: 0;
    line-height: 1.1;
    white-space: nowrap;
}

.rma-site-brand strong em {
    color: #647084;
    font-size: 10px;
    font-style: normal;
    font-weight: 800;
    margin-top: 2px;
    text-transform: uppercase;
}

.rma-site-header nav {
    display: flex;
    gap: 6px;
    overflow-x: auto;
    scrollbar-width: none;
}

.rma-site-header nav::-webkit-scrollbar {
    display: none;
}

.rma-site-header nav a {
    border-radius: 999px;
    color: #647084;
    flex: 0 0 auto;
    font-size: 12px;
    font-weight: 850;
    min-height: 34px;
    padding: 9px 11px;
    text-decoration: none;
}

.rma-site-header nav a.active {
    background: #eef2ff;
    color: #4338ca;
}

.rma-site-header-seller .rma-site-brand span {
    background: linear-gradient(135deg, #0f8a7a, #22c55e);
}

.rma-site-header-seller nav a.active {
    background: #ecfdf5;
    color: #047857;
}

.rma-premium-shop .rma-site-header {
    margin: -20px -15px 20px;
}

.rma-seller-app .rma-site-header,
.rma-customer-subscriptions .rma-site-header,
.rma-login-page .rma-site-header {
    margin: 0 0 14px;
}

@media (max-width: 480px) {
    body:has(.rma-app),
    body:has(.rma-app) #main,
    body:has(.rma-app) #content,
    body:has(.rma-app) .content-area,
    body:has(.rma-app) .main-content,
    body:has(.rma-app) .page-content,
    body:has(.rma-app) .entry-content,
    body:has(.rma-app) .container,
    .rma-hide-theme-chrome,
    .rma-hide-theme-chrome #main,
    .rma-hide-theme-chrome #content,
    .rma-hide-theme-chrome .content-area,
    .rma-hide-theme-chrome .main-content,
    .rma-hide-theme-chrome .page-content,
    .rma-hide-theme-chrome .entry-content,
    .rma-hide-theme-chrome .container {
        margin-left: 0 !important;
        margin-right: 0 !important;
        padding-left: 0 !important;
        padding-right: 0 !important;
    }

    .rma-app {
        margin-left: calc(50% - 50vw);
        margin-right: calc(50% - 50vw);
        width: 100vw;
    }

    .rma-site-header {
        align-items: flex-start;
        flex-direction: column;
    }

    .rma-site-header nav {
        width: 100%;
    }

    .rma-site-header nav a {
        font-size: 11px;
        padding: 8px 10px;
    }
}

.rma-panel {
    background: #fff;
    border: 1px solid var(--rma-line);
    border-radius: 8px;
    margin: 0 auto 16px;
    max-width: 880px;
    padding: 18px;
}

.rma-panel h2,
.rma-panel h3 {
    margin: 0 0 14px;
    line-height: 1.2;
}

.rma-google-button {
    align-items: center;
    background: #fff;
    border: 1px solid #cfd6e2;
    border-radius: 8px;
    box-shadow: 0 4px 14px rgba(23, 32, 51, 0.08);
    color: #172033;
    cursor: pointer;
    display: inline-flex;
    font-size: 16px;
    font-weight: 700;
    gap: 10px;
    justify-content: center;
    min-height: 48px;
    padding: 0 18px;
    text-decoration: none;
    width: min(100%, 320px);
}

.rma-google-mark {
    align-items: center;
    border: 1px solid #dde4ee;
    border-radius: 50%;
    display: inline-flex;
    font-weight: 800;
    height: 28px;
    justify-content: center;
    width: 28px;
}

.rma-login-page {
    background: linear-gradient(180deg, #f8fafc 0%, #eef2ff 100%);
    min-height: 100vh;
    padding: 0 12px 28px;
}

.rma-auth-card {
    background: rgba(255, 255, 255, 0.96);
    border: 1px solid #e5e7eb;
    border-radius: 18px;
    box-shadow: 0 18px 45px rgba(15, 23, 42, 0.10);
    margin: 0 auto;
    max-width: 860px;
    padding: 18px;
}

.rma-auth-intro {
    margin-bottom: 16px;
}

.rma-auth-intro span {
    background: #eef2ff;
    border-radius: 999px;
    color: #4338ca;
    display: inline-flex;
    font-size: 12px;
    font-weight: 900;
    margin-bottom: 10px;
    padding: 6px 10px;
}

.rma-auth-intro h1 {
    color: #111827;
    font-size: 28px;
    font-weight: 900;
    letter-spacing: 0;
    line-height: 1.1;
    margin: 0 0 8px;
}

.rma-auth-intro p {
    color: #647084;
    font-size: 14px;
    line-height: 1.45;
    margin: 0;
}

.rma-auth-grid {
    display: grid;
    gap: 14px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.rma-auth-form {
    background: #f9fafb;
    border: 1px solid #eef2f7;
    border-radius: 16px;
    padding: 14px;
}

.rma-auth-form h2 {
    color: #111827;
    font-size: 18px;
    font-weight: 900;
    margin: 0;
}

.rma-auth-form input {
    background: #ffffff;
    border-radius: 12px;
    font-size: 16px;
    min-height: 48px;
}

.rma-auth-form .rma-primary {
    background: #111827;
    border-radius: 12px;
    width: 100%;
}

.rma-auth-divider {
    align-items: center;
    color: #94a3b8;
    display: flex;
    font-size: 12px;
    font-weight: 900;
    gap: 10px;
    margin: 16px 0;
    text-transform: uppercase;
}

.rma-auth-divider::before,
.rma-auth-divider::after {
    background: #e5e7eb;
    content: "";
    flex: 1;
    height: 1px;
}

.rma-seller-auth-page,
.rma-customer-auth-page {
    background: #f1f5f9;
    font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    margin-left: auto;
    margin-right: auto;
    min-height: 100dvh;
    overflow-x: hidden;
    padding: 0 10px 24px;
    width: 100%;
}

.rma-seller-auth-page .rma-site-header,
.rma-customer-auth-page .rma-site-header {
    margin: 0 0 10px;
}

.rma-seller-auth-shell {
    background: #ffffff;
    border: 1px solid #eef2f7;
    border-radius: 24px;
    box-shadow: 0 18px 45px rgba(15, 23, 42, 0.10);
    margin: 0 auto;
    max-width: 430px;
    min-height: calc(100dvh - 92px);
    overflow: hidden;
    padding: 28px 22px 34px;
    width: min(100%, 430px);
}

.rma-seller-auth-hero {
    margin: 0 0 22px;
}

.rma-seller-auth-icon {
    align-items: center;
    background: #eef2ff;
    border-radius: 18px;
    color: #4f46e5;
    display: flex;
    height: 54px;
    justify-content: center;
    margin-bottom: 16px;
    width: 54px;
}

.rma-seller-auth-icon svg {
    height: 28px;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 2;
    width: 28px;
}

.rma-seller-auth-hero h1 {
    color: #111827;
    font-size: 26px;
    font-weight: 900;
    letter-spacing: 0;
    line-height: 1.1;
    margin: 0 0 7px;
}

.rma-seller-auth-hero p {
    color: #647084;
    font-size: 14px;
    line-height: 1.45;
    margin: 0;
}

.rma-auth-tabs {
    background: #f3f4f6;
    border-radius: 18px;
    display: grid;
    gap: 4px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin: 0 0 22px;
    max-width: 100%;
    padding: 4px;
    width: 100%;
}

.rma-auth-tabs button {
    background: transparent;
    border: 0;
    border-radius: 14px;
    color: #647084;
    cursor: pointer;
    font-size: 14px;
    font-weight: 900;
    min-height: 44px;
    padding: 10px;
}

.rma-auth-tabs button.active {
    background: #ffffff;
    box-shadow: 0 5px 16px rgba(15, 23, 42, 0.08);
    color: #4f46e5;
}

.rma-seller-auth-forms {
    min-height: 300px;
}

.rma-seller-auth-page .rma-auth-tab-panel,
.rma-customer-auth-page .rma-auth-tab-panel {
    animation: rmaAuthFade 0.24s ease both;
    display: none;
}

.rma-seller-auth-page .rma-auth-tab-panel.active,
.rma-customer-auth-page .rma-auth-tab-panel.active {
    display: grid;
}

.rma-seller-auth-page .rma-auth-form,
.rma-customer-auth-page .rma-auth-form {
    background: transparent;
    border: 0;
    border-radius: 0;
    gap: 14px;
    padding: 0;
}

.rma-seller-auth-page .rma-auth-form label,
.rma-customer-auth-page .rma-auth-form label {
    color: #374151;
    font-size: 14px;
    font-weight: 800;
    margin: 0;
}

.rma-seller-auth-page .rma-auth-form input,
.rma-customer-auth-page .rma-auth-form input {
    border: 1px solid #e5e7eb;
    border-radius: 14px;
    box-shadow: none;
    margin-top: 7px;
    min-height: 50px;
    padding: 12px 14px;
    max-width: 100%;
    width: 100%;
}

.rma-seller-auth-page .rma-auth-form input:focus,
.rma-customer-auth-page .rma-auth-form input:focus {
    border-color: #6366f1;
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.14);
    outline: none;
}

.rma-seller-auth-page .rma-primary,
.rma-customer-auth-page .rma-primary {
    background: #4f46e5;
    border-radius: 14px;
    box-shadow: 0 14px 22px rgba(79, 70, 229, 0.14);
    min-height: 52px;
    max-width: 100%;
    overflow: hidden;
    width: 100%;
}

.rma-seller-auth-page .rma-primary:hover,
.rma-customer-auth-page .rma-primary:hover {
    background: #4338ca;
}

@keyframes rmaAuthFade {
    from {
        opacity: 0;
        transform: translateY(8px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 720px) {
    .rma-auth-grid {
        grid-template-columns: 1fr;
    }

    .rma-auth-card {
        padding: 14px;
    }

    .rma-auth-intro h1 {
        font-size: 25px;
    }

    .rma-seller-auth-page,
    .rma-customer-auth-page {
        margin-left: 0 !important;
        margin-right: 0 !important;
        padding: 0 0 18px;
        width: 100% !important;
    }

    .rma-seller-auth-shell {
        border-left: 0;
        border-radius: 0;
        border-right: 0;
        box-shadow: none;
        max-width: none;
        min-height: calc(100dvh - 136px);
        margin-left: 0;
        margin-right: 0;
        padding: 22px clamp(14px, 5vw, 22px) 34px;
        width: 100%;
    }

    .rma-seller-auth-page .rma-site-header,
    .rma-customer-auth-page .rma-site-header {
        border-left: 0;
        border-radius: 0 0 18px 18px;
        border-right: 0;
        margin-left: 0;
        margin-right: 0;
        max-width: 100vw;
        width: 100%;
    }

    .rma-seller-auth-hero h1 {
        font-size: clamp(24px, 8vw, 34px);
    }

    .rma-seller-auth-hero p {
        max-width: 100%;
    }
}

.rma-tabs {
    display: grid;
    gap: 8px;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    margin: 0 auto 16px;
    max-width: 880px;
}

.rma-tabs a {
    background: #eef3f8;
    border: 1px solid transparent;
    border-radius: 8px;
    color: var(--rma-ink);
    font-size: 14px;
    font-weight: 700;
    min-height: 42px;
    padding: 10px;
    text-align: center;
    text-decoration: none;
}

.rma-tabs a.active {
    background: #e2faf5;
    border-color: #86d8cb;
    color: var(--rma-accent-dark);
}

.rma-form {
    display: grid;
    gap: 13px;
}

.rma-form label,
.rma-radio-row {
    color: var(--rma-muted);
    display: grid;
    font-size: 13px;
    font-weight: 700;
    gap: 6px;
    margin: 0;
}

.rma-form input,
.rma-form select,
.rma-form textarea,
.rma-shop-header input {
    border: 1px solid #cfd6e2;
    border-radius: 8px;
    color: var(--rma-ink);
    font: inherit;
    min-height: 44px;
    padding: 10px 12px;
    width: 100%;
}

.rma-form textarea {
    min-height: 112px;
    resize: vertical;
}

.rma-radio-row {
    border: 1px solid var(--rma-line);
    border-radius: 8px;
    padding: 12px;
}

.rma-radio-row label {
    align-items: center;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    color: var(--rma-ink);
    display: flex;
    font-weight: 600;
    gap: 8px;
    min-height: 42px;
    padding: 9px 10px;
}

.rma-form .rma-radio-row input[type="radio"] {
    flex: 0 0 auto;
    height: 18px;
    margin: 0;
    min-height: auto;
    padding: 0;
    width: 18px;
}

.rma-radio-row label:has(input[type="radio"]:checked) {
    background: #eefaf7;
    border-color: #8bd7cb;
}

.rma-primary {
    background: var(--rma-accent);
    border: 0;
    border-radius: 8px;
    color: #fff;
    cursor: pointer;
    font: inherit;
    font-weight: 800;
    min-height: 44px;
    padding: 10px 16px;
}

.rma-primary:hover,
.rma-primary:focus {
    background: var(--rma-accent-dark);
    color: #fff;
}

.rma-primary:disabled {
    cursor: wait;
    opacity: 0.65;
}

.rma-notice {
    background: #fff8e5;
    border: 1px solid #f4d37a;
    border-radius: 8px;
    color: #604700;
    margin: 0 auto 16px;
    max-width: 880px;
    padding: 12px 14px;
}

.rma-success {
    background: #e9fbf4;
    border-color: #8fdcbc;
    color: #075c42;
}

.rma-detail-list,
.rma-stat-grid {
    display: grid;
    gap: 10px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.rma-detail-list div,
.rma-stat-grid div {
    background: var(--rma-bg);
    border: 1px solid var(--rma-line);
    border-radius: 8px;
    padding: 12px;
}

.rma-detail-list span,
.rma-stat-grid span {
    color: var(--rma-muted);
    display: block;
    font-size: 12px;
    font-weight: 700;
    margin-bottom: 3px;
}

.rma-detail-list strong,
.rma-stat-grid strong {
    color: var(--rma-ink);
    display: block;
    overflow-wrap: anywhere;
}

.rma-list {
    display: grid;
    gap: 10px;
}

.rma-list-item {
    align-items: center;
    background: var(--rma-bg);
    border: 1px solid var(--rma-line);
    border-radius: 8px;
    color: var(--rma-ink);
    display: grid;
    gap: 4px;
    padding: 12px;
    text-decoration: none;
}

.rma-list-item span {
    color: var(--rma-muted);
    font-size: 13px;
}

.rma-whatsapp,
.rma-icon-link,
.rma-product-link-logo {
    background: #16a34a;
    border-radius: 999px;
    color: #fff;
    display: inline-flex;
    font-size: 12px;
    font-weight: 800;
    justify-content: center;
    margin-top: 8px;
    padding: 7px 10px;
    text-decoration: none;
    width: fit-content;
}

.rma-product-link-logo {
    background: #172033;
}

.rma-cancel-subscription {
    background: #fff;
    border: 1px solid #efb4ad;
    border-radius: 999px;
    color: var(--rma-danger);
    cursor: pointer;
    display: inline-flex;
    font-size: 12px;
    font-weight: 800;
    justify-content: center;
    margin-top: 8px;
    padding: 7px 10px;
    width: fit-content;
}

.rma-share-product {
    background: #eff6ff;
    border: 1px solid #bfdbfe;
    border-radius: 999px;
    color: #1d4ed8;
    cursor: pointer;
    display: inline-flex;
    font-size: 12px;
    font-weight: 800;
    justify-content: center;
    margin-top: 8px;
    padding: 7px 10px;
    width: fit-content;
}

.rma-cancel-subscription:disabled {
    cursor: wait;
    opacity: 0.65;
}

.rma-subscription-actions {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.rma-product-detail-image {
    aspect-ratio: 1;
    border-radius: 8px;
    display: block;
    height: auto;
    margin: 12px 0;
    max-width: 220px;
    object-fit: cover;
    width: 100%;
}

.rma-private-box {
    background: var(--rma-bg);
    border: 1px dashed #b8c4d4;
    border-radius: 8px;
    display: grid;
    gap: 10px;
    padding: 12px;
}

.rma-search-results {
    display: grid;
    gap: 6px;
}

.rma-search-choice {
    background: #fff;
    border: 1px solid var(--rma-line);
    border-radius: 8px;
    color: var(--rma-ink);
    cursor: pointer;
    min-height: 38px;
    padding: 8px 10px;
    text-align: left;
}

.rma-selected-customers {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.rma-selected-pill {
    align-items: center;
    background: #dff7f2;
    border-radius: 999px;
    color: var(--rma-accent-dark);
    display: inline-flex;
    font-size: 13px;
    font-weight: 800;
    gap: 6px;
    padding: 6px 6px 6px 10px;
}

.rma-selected-pill button {
    background: transparent;
    border: 0;
    color: inherit;
    cursor: pointer;
    font-size: 18px;
    line-height: 1;
}

.rma-shop-header {
    margin: 0 auto 12px;
    max-width: 880px;
}

.rma-product-list {
    display: grid;
    gap: 10px;
    margin: 0 auto;
    max-width: 880px;
}

.rma-product-card {
    align-items: stretch;
    background: #fff;
    border: 1px solid var(--rma-line);
    border-radius: 8px;
    display: grid;
    gap: 10px;
    grid-template-columns: 76px minmax(0, 1fr);
    padding: 10px;
}

.rma-product-card img {
    aspect-ratio: 1;
    border-radius: 8px;
    height: 76px;
    object-fit: cover;
    width: 76px;
}

.rma-product-copy h3 {
    font-size: 16px;
    line-height: 1.25;
    margin: 0 0 4px;
}

.rma-product-copy p {
    color: var(--rma-muted);
    font-size: 13px;
    line-height: 1.35;
    margin: 0;
}

.rma-product-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 8px;
}

.rma-product-meta span {
    background: #eef3f8;
    border-radius: 999px;
    color: var(--rma-ink);
    font-size: 12px;
    font-weight: 800;
    padding: 4px 8px;
}

.rma-product-actions {
    align-items: center;
    display: flex;
    gap: 8px;
    grid-column: 1 / -1;
    justify-content: flex-end;
}

.rma-muted {
    color: var(--rma-muted);
    font-size: 13px;
}

.rma-modal {
    align-items: center;
    background: rgba(23, 32, 51, 0.45);
    bottom: 0;
    display: flex;
    justify-content: center;
    left: 0;
    padding: 18px;
    position: fixed;
    right: 0;
    top: 0;
    z-index: 99999;
}

.rma-modal[hidden] {
    display: none;
}

.rma-modal > div {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 20px 80px rgba(23, 32, 51, 0.24);
    max-width: 420px;
    padding: 22px;
    position: relative;
    width: 100%;
}

.rma-modal-close {
    background: transparent;
    border: 0;
    cursor: pointer;
    font-size: 24px;
    line-height: 1;
    position: absolute;
    right: 10px;
    top: 8px;
}

@media (max-width: 640px) {
    .rma-panel {
        padding: 14px;
    }

    .rma-tabs {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .rma-detail-list,
    .rma-stat-grid {
        grid-template-columns: 1fr;
    }

    .rma-product-card {
        grid-template-columns: 66px minmax(0, 1fr);
        padding: 9px;
    }

    .rma-product-card img {
        height: 66px;
        width: 66px;
    }

    .rma-product-actions {
        justify-content: space-between;
    }

    .rma-primary {
        min-width: 96px;
    }
}

.rma-seller-app {
    background: #f8fafc;
    color: #1f2937;
    font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    margin: 0 auto;
    min-height: 100dvh;
    padding: 0 0 88px;
    position: relative;
    width: 100%;
}

body:has(.rma-seller-app) > header,
body:has(.rma-seller-app) > footer,
body:has(.rma-seller-app) .header-wrapper,
body:has(.rma-seller-app) #header,
body:has(.rma-seller-app) #footer,
body:has(.rma-seller-app) .footer-wrapper,
body:has(.rma-seller-app) .porto-tooltip-wrap,
body:has(.rma-seller-app) .header-tooltip {
    display: none !important;
}

.rma-customer-subscriptions {
    background: #f8fafc;
    font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    min-height: 100dvh;
    padding: 0 0 86px;
}

.rma-customer-header {
    align-items: center;
    backdrop-filter: blur(12px);
    background: rgba(255, 255, 255, 0.92);
    border-bottom: 1px solid #f3f4f6;
    box-shadow: 0 4px 18px rgba(15, 23, 42, 0.04);
    display: flex;
    justify-content: space-between;
    margin: 0;
    padding: 16px 20px;
    position: sticky;
    top: 0;
    z-index: 20;
}

.rma-customer-header p {
    color: #6b7280;
    font-size: 12px;
    font-weight: 500;
    line-height: 1.2;
    margin: 4px 0 0;
}

.rma-customer-header h1 {
    color: #111827;
    font-size: 21px;
    font-weight: 800;
    letter-spacing: 0;
    line-height: 1.1;
    margin: 0;
}

.rma-customer-header-action {
    align-items: center;
    background: #f3f4f6;
    border-radius: 50%;
    color: #4b5563;
    display: flex;
    font-size: 24px;
    font-weight: 700;
    height: 40px;
    justify-content: center;
    line-height: 1;
    text-decoration: none;
    width: 40px;
}

.rma-subscription-feed {
    display: block;
    padding: 16px 14px 22px;
}

.rma-customer-subscriptions .rma-list {
    display: grid;
    gap: 14px;
}

.rma-customer-subscriptions .rma-subscription-card {
    background: #ffffff;
    border: 1px solid #f3f4f6;
    border-radius: 18px;
    box-shadow: 0 4px 20px rgba(15, 23, 42, 0.03);
    display: block;
    padding: 15px;
}

.rma-subscription-title-row {
    align-items: flex-start;
    display: flex;
    gap: 10px;
    justify-content: space-between;
    margin-bottom: 10px;
}

.rma-subscription-title-row h2 {
    color: #111827;
    font-size: 17px;
    font-weight: 800;
    letter-spacing: 0;
    line-height: 1.25;
    margin: 0;
}

.rma-status-pill {
    border-radius: 999px;
    flex: 0 0 auto;
    font-size: 11px;
    font-weight: 900;
    letter-spacing: 0.04em;
    padding: 5px 9px;
    text-transform: uppercase;
}

.rma-status-active {
    background: #d1fae5;
    color: #047857;
}

.rma-status-cancelled,
.rma-status-expired {
    background: #fee2e2;
    color: #b91c1c;
}

.rma-subscription-facts {
    display: grid;
    gap: 9px;
    margin-bottom: 12px;
}

.rma-subscription-facts div {
    align-items: flex-start;
    color: #6b7280;
    display: flex;
    font-size: 14px;
    gap: 8px;
    line-height: 1.35;
}

.rma-subscription-facts strong {
    color: #111827;
    font-weight: 700;
}

.rma-subscription-facts em {
    color: #ef4444;
    display: block;
    font-size: 12px;
    font-style: normal;
    font-weight: 600;
    margin-top: 3px;
}

.rma-fact-icon {
    align-items: center;
    color: #9ca3af;
    display: inline-flex;
    flex: 0 0 16px;
    font-size: 11px !important;
    font-weight: 900;
    height: 18px;
    justify-content: center;
    margin: 0 !important;
    width: 16px;
}

.rma-subscription-description {
    background: #f9fafb;
    border: 1px solid #f3f4f6;
    border-radius: 13px;
    margin-bottom: 14px;
    padding: 12px;
}

.rma-subscription-description p {
    color: #4b5563;
    font-size: 14px;
    line-height: 1.45;
    margin: 0;
}

.rma-customer-subscriptions .rma-subscription-actions {
    display: grid;
    gap: 8px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin-top: 0;
}

.rma-customer-subscriptions .rma-product-link-logo,
.rma-customer-subscriptions .rma-whatsapp,
.rma-customer-subscriptions .rma-share-product,
.rma-customer-subscriptions .rma-cancel-subscription {
    align-items: center;
    border-radius: 12px;
    display: flex;
    font-size: 14px;
    font-weight: 750;
    justify-content: center;
    margin: 0;
    min-height: 42px;
    padding: 10px 12px;
    width: 100%;
}

.rma-customer-subscriptions .rma-product-link-logo {
    background: #eef2ff;
    color: #4338ca;
}

.rma-customer-subscriptions .rma-share-product {
    background: #f9fafb;
    border-color: #e5e7eb;
    color: #374151;
}

.rma-customer-subscriptions .rma-whatsapp,
.rma-customer-subscriptions .rma-cancel-subscription {
    grid-column: 1 / -1;
}

.rma-customer-subscriptions .rma-whatsapp {
    background: #25d366;
    color: #ffffff;
}

.rma-customer-subscriptions .rma-cancel-subscription {
    background: #ffffff;
    border-color: #fecaca;
    color: #ef4444;
}

.rma-end-marker {
    color: #9ca3af;
    font-size: 14px;
    padding: 18px 0;
    text-align: center;
}

.rma-empty-state {
    background: #ffffff;
    border: 1px solid #f3f4f6;
    border-radius: 18px;
    box-shadow: 0 4px 20px rgba(15, 23, 42, 0.03);
    display: grid;
    gap: 8px;
    padding: 18px;
}

.rma-empty-state strong {
    color: #111827;
    font-size: 17px;
}

.rma-empty-state span {
    color: #6b7280;
    font-size: 14px;
}

.rma-customer-bottom-nav {
    background: #ffffff;
    border-top: 1px solid #e5e7eb;
    bottom: 0;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    left: 0;
    min-height: 64px;
    position: fixed;
    right: 0;
    z-index: 40;
}

.rma-customer-bottom-nav a {
    align-items: center;
    color: #9ca3af;
    display: flex;
    flex-direction: column;
    font-size: 10px;
    font-weight: 700;
    gap: 3px;
    justify-content: center;
    text-decoration: none;
}

.rma-customer-bottom-nav a.active {
    color: #4f46e5;
}

.rma-customer-bottom-nav span {
    font-size: 16px;
    font-weight: 900;
}

.rma-customer-profile .rma-profile-form {
    gap: 12px;
}

.rma-customer-profile .rma-profile-form label {
    color: #6b7280;
    font-size: 12px;
    font-weight: 800;
}

.rma-customer-profile .rma-profile-form input {
    background: #f9fafb;
    border-color: #e5e7eb;
    border-radius: 12px;
    font-size: 16px;
    min-height: 46px;
}

.rma-customer-profile .rma-profile-form .rma-primary {
    background: #111827;
    border-radius: 12px;
    margin-top: 4px;
    width: 100%;
}

.rma-premium-shop {
    background: linear-gradient(135deg, #8b5cf6 0%, #ec4899 100%);
    font-family: "Inter", -apple-system, BlinkMacSystemFont, sans-serif;
    min-height: 100vh;
    padding: 20px 15px;
}

.rma-premium-container {
    margin: 0 auto;
    max-width: 500px;
}

.rma-premium-title {
    color: #ffffff;
    margin-bottom: 25px;
    text-align: center;
}

.rma-premium-title h1 {
    font-size: 2rem;
    font-weight: 800;
    letter-spacing: 0;
    line-height: 1.15;
    margin: 0 0 8px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.rma-premium-title p {
    font-size: 1rem;
    margin: 0;
    opacity: 0.9;
}

.rma-premium-shop .rma-premium-filter {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    margin: 0 auto 25px;
    max-width: 500px;
    padding: 16px;
}

.rma-premium-shop .rma-premium-filter input {
    background: #ffffff;
    border: 1px solid rgba(139, 92, 246, 0.22);
    border-radius: 999px;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.7);
    color: #374151;
    font-size: 15px;
    font-weight: 600;
    min-height: 48px;
    outline: none;
    padding: 12px 18px;
    width: 100%;
}

.rma-premium-shop .rma-premium-filter input:focus {
    border-color: #8b5cf6;
    box-shadow: 0 0 0 4px rgba(139, 92, 246, 0.14);
}

.rma-premium-shop .product-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin: 0 auto;
    max-width: 500px;
    position: relative;
    z-index: 1;
}

.rma-premium-shop .product-card {
    animation: rmaPremiumFadeInUp 0.5s ease forwards;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 18px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    display: block;
    opacity: 0;
    padding: 20px;
    position: relative;
    transform: translateY(20px);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.rma-premium-shop .product-card:nth-child(1) { animation-delay: 0.1s; }
.rma-premium-shop .product-card:nth-child(2) { animation-delay: 0.2s; }
.rma-premium-shop .product-card:nth-child(3) { animation-delay: 0.3s; }
.rma-premium-shop .product-card:nth-child(4) { animation-delay: 0.4s; }
.rma-premium-shop .product-card:nth-child(5) { animation-delay: 0.5s; }

@keyframes rmaPremiumFadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.rma-premium-shop .product-card:hover {
    background: #ffffff;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    transform: translateY(-5px);
}

.rma-premium-shop .product-header {
    align-items: center;
    display: flex;
    gap: 15px;
    margin-bottom: 15px;
}

.rma-premium-shop .product-image {
    align-items: center;
    background: linear-gradient(45deg, #a78bfa 0%, #ec4899 100%);
    border-radius: 16px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    color: #ffffff;
    display: flex;
    flex-shrink: 0;
    font-size: 1.5rem;
    font-weight: 800;
    height: 80px;
    justify-content: center;
    object-fit: cover;
    overflow: hidden;
    transition: transform 0.3s ease;
    width: 80px;
}

.rma-premium-shop .product-card:hover .product-image {
    transform: scale(1.05) rotate(2deg);
}

.rma-premium-shop .product-title-price {
    flex: 1;
    min-width: 0;
}

.rma-premium-shop .product-rating {
    align-items: center;
    display: flex;
    gap: 8px;
    margin-bottom: 5px;
}

.rma-premium-shop .stars {
    font-size: 1rem;
    letter-spacing: 1px;
    line-height: 1;
}

.rma-premium-shop .star.full {
    color: #ffd700;
}

.rma-premium-shop .star.half {
    color: #ffd700;
}

.rma-premium-shop .rating-text {
    color: #718096;
    font-size: 0.85rem;
    font-weight: 600;
}

.rma-premium-shop .product-title {
    color: #2d3748;
    font-size: 1.2rem;
    font-weight: 800;
    line-height: 1.3;
    margin: 0 0 5px;
}

.rma-premium-shop .product-price {
    color: #8b5cf6;
    font-size: 1.5rem;
    font-weight: 900;
    line-height: 1.15;
}

.rma-premium-shop .product-slots {
    background: rgba(139, 92, 246, 0.1);
    border: 1px solid rgba(139, 92, 246, 0.2);
    border-radius: 15px;
    color: #8b5cf6;
    display: inline-block;
    font-size: 0.85rem;
    font-weight: 700;
    margin-top: 8px;
    padding: 6px 10px;
}

.rma-premium-shop .product-description {
    color: #718096;
    font-size: 0.95rem;
    line-height: 1.5;
    margin: 0 0 16px;
}

.rma-premium-shop .rma-product-meta {
    gap: 8px;
    margin: 0 0 14px;
}

.rma-premium-shop .rma-product-meta span {
    background: rgba(139, 92, 246, 0.1);
    border: 1px solid rgba(139, 92, 246, 0.2);
    border-radius: 15px;
    color: #8b5cf6;
    font-size: 0.78rem;
}

.rma-premium-shop .rma-product-actions {
    display: grid;
    gap: 10px;
    grid-template-columns: 1fr;
}

.rma-premium-shop .buy-button {
    background: linear-gradient(135deg, #8b5cf6 0%, #ec4899 100%);
    border: 0;
    border-radius: 50px;
    box-shadow: 0 5px 15px rgba(139, 92, 246, 0.3);
    color: #ffffff;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 700;
    min-height: 50px;
    overflow: hidden;
    padding: 14px 0;
    position: relative;
    transition: all 0.3s ease;
    width: 100%;
}

.rma-premium-shop .buy-button:hover {
    box-shadow: 0 8px 20px rgba(139, 92, 246, 0.4);
    transform: translateY(-2px);
}

.rma-premium-shop .rma-icon-link {
    align-items: center;
    border-radius: 50px;
    display: flex;
    justify-content: center;
    margin: 0;
    min-height: 44px;
    width: 100%;
}

.rma-premium-shop .no-products {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.1rem;
    padding: 40px 20px;
    text-align: center;
}

@media (min-width: 768px) {
    .rma-premium-shop .rma-premium-container,
    .rma-premium-shop .product-list,
    .rma-premium-shop .rma-premium-filter {
        max-width: 600px;
    }

    .rma-premium-shop .rma-premium-title h1 {
        font-size: 2.5rem;
    }

    .rma-premium-shop .product-card {
        padding: 25px;
    }

    .rma-premium-shop .product-image {
        height: 100px;
        width: 100px;
    }
}

.rma-seller-app .rma-subscriber-view {
    background: #f8fafc;
    padding: 0 14px 22px;
}

.rma-subscriber-toolbar {
    align-items: center;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid #f3f4f6;
    box-shadow: 0 4px 18px rgba(15, 23, 42, 0.04);
    display: flex;
    gap: 8px;
    margin: 0 -14px 14px;
    padding: 12px 16px;
    position: sticky;
    top: 0;
    z-index: 24;
}

.rma-subscriber-toolbar h2 {
    color: #111827;
    font-size: 18px;
    font-weight: 850;
    letter-spacing: 0;
    line-height: 1.1;
    margin: 0;
}

.rma-subscriber-toolbar p {
    color: #6b7280;
    font-size: 11px;
    font-weight: 600;
    line-height: 1.2;
    margin: 4px 0 0;
    max-width: 220px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.rma-subscriber-back {
    align-items: center;
    border-radius: 999px;
    color: #4b5563;
    display: flex;
    flex: 0 0 38px;
    font-size: 24px;
    font-weight: 400;
    height: 38px;
    justify-content: center;
    text-decoration: none;
}

.rma-subscriber-back:hover {
    background: #f3f4f6;
    color: #111827;
}

.rma-subscriber-count {
    color: #4b5563;
    font-size: 14px;
    font-weight: 750;
    margin: 0 2px 10px;
}

.rma-seller-app .rma-subscriber-list {
    background: transparent;
    border: 0;
    box-shadow: none;
    display: grid;
    gap: 12px;
    padding: 0;
}

.rma-seller-app .rma-subscriber-card {
    background: #ffffff;
    border: 1px solid #f3f4f6;
    border-radius: 18px;
    box-shadow: 0 4px 20px rgba(15, 23, 42, 0.03);
    display: block;
    padding: 15px;
}

.rma-subscriber-main {
    align-items: flex-start;
    display: flex;
    gap: 12px;
    margin-bottom: 14px;
}

.rma-subscriber-avatar {
    align-items: center;
    background: linear-gradient(135deg, #dbeafe, #e0e7ff);
    border: 1px solid #ffffff;
    border-radius: 999px;
    box-shadow: 0 3px 10px rgba(15, 23, 42, 0.08);
    color: #4338ca;
    display: flex;
    flex: 0 0 44px;
    font-size: 13px;
    font-weight: 900;
    height: 44px;
    justify-content: center;
    width: 44px;
}

.rma-subscriber-copy {
    flex: 1;
    min-width: 0;
}

.rma-subscriber-name-row {
    align-items: flex-start;
    display: flex;
    gap: 8px;
    justify-content: space-between;
}

.rma-subscriber-name-row h3 {
    color: #111827;
    font-size: 16px;
    font-weight: 850;
    letter-spacing: 0;
    line-height: 1.25;
    margin: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.rma-subscriber-name-row .rma-status-pill {
    border-radius: 6px;
    font-size: 10px;
    padding: 3px 8px;
}

.rma-subscriber-time {
    align-items: center;
    color: #374151;
    display: flex;
    font-size: 12px;
    font-weight: 700;
    gap: 6px;
    margin-top: 7px;
}

.rma-subscriber-time span {
    color: #9ca3af;
    font-size: 11px;
    font-weight: 900;
}

.rma-subscriber-stats {
    display: grid;
    gap: 12px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin-bottom: 14px;
}

.rma-subscriber-stats div {
    background: #f9fafb;
    border: 1px solid #f3f4f6;
    border-radius: 12px;
    padding: 10px;
}

.rma-subscriber-stats span {
    color: #9ca3af;
    display: block;
    font-size: 9px;
    font-weight: 900;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.rma-subscriber-stats strong {
    color: #111827;
    display: block;
    font-size: 14px;
    font-weight: 850;
    margin-top: 3px;
}

.rma-subscriber-stats div:nth-child(2) strong {
    color: #059669;
}

.rma-subscriber-details {
    background: #f9fafb;
    border: 1px solid #f3f4f6;
    border-radius: 12px;
    display: grid;
    gap: 8px;
    margin: 0 0 14px;
    padding: 12px;
}

.rma-subscriber-details[hidden] {
    display: none;
}

.rma-subscriber-details div {
    display: grid;
    gap: 2px;
}

.rma-subscriber-details span {
    color: #9ca3af;
    font-size: 9px;
    font-weight: 900;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.rma-subscriber-details strong {
    color: #111827;
    font-size: 13px;
    font-weight: 750;
    overflow-wrap: anywhere;
}

.rma-subscriber-actions {
    display: grid;
    gap: 10px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.rma-subscriber-actions button,
.rma-subscriber-actions a {
    align-items: center;
    border-radius: 12px;
    display: flex;
    font-size: 13px;
    font-weight: 800;
    justify-content: center;
    margin: 0;
    min-height: 40px;
    padding: 9px 10px;
    text-decoration: none;
    width: 100%;
}

.rma-subscriber-secondary {
    background: #f9fafb;
    border: 1px solid #e5e7eb;
    color: #374151;
}

.rma-subscriber-edit {
    background: #eef2ff;
    border: 1px solid #e0e7ff;
    color: #4338ca;
}

.rma-subscriber-actions .rma-whatsapp {
    grid-column: 1 / -1;
}

.rma-seller-products-ui {
    background: #f8fafc;
    padding: 0 14px 22px;
}

.rma-product-manage-card .rma-subscriber-avatar {
    background: linear-gradient(135deg, #fef3c7, #fed7aa);
    color: #c2410c;
}

.rma-product-manage-card .rma-view-customers-link {
    background: #111827;
    color: #ffffff;
}

@media (max-width: 480px) {
    .rma-premium-shop {
        padding: 15px 10px;
    }

    .rma-premium-shop .rma-premium-filter {
        padding: 12px;
    }

    .rma-premium-shop .product-card {
        padding: 16px;
    }
}

body:has(.rma-customer-subscriptions) .header-wrapper,
body:has(.rma-customer-subscriptions) #header,
body:has(.rma-customer-subscriptions) #footer,
body:has(.rma-customer-subscriptions) .footer-wrapper,
body:has(.rma-customer-subscriptions) .porto-tooltip-wrap,
body:has(.rma-customer-subscriptions) .header-tooltip {
    display: none !important;
}

.rma-seller-app .rma-seller-header {
    align-items: center;
    background: #ffffff;
    border-radius: 0 0 22px 22px;
    box-shadow: 0 4px 18px rgba(15, 23, 42, 0.06);
    display: flex;
    justify-content: space-between;
    margin: 0;
    padding: 42px 20px 16px;
    position: sticky;
    top: 0;
    z-index: 20;
}

.rma-seller-app .rma-seller-header span {
    color: #6b7280;
    display: block;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.2;
}

.rma-seller-app .rma-seller-header h1 {
    color: #111827;
    font-size: 26px;
    font-weight: 800;
    letter-spacing: 0;
    line-height: 1.1;
    margin: 4px 0 0;
}

.rma-seller-avatar {
    align-items: center;
    background: #dbeafe;
    border-radius: 50%;
    color: #2563eb;
    display: flex;
    font-size: 18px;
    font-weight: 900;
    height: 42px;
    justify-content: center;
    width: 42px;
}

.rma-seller-app .rma-tabs {
    background: #ffffff;
    border: 1px solid #eef2f7;
    border-radius: 0;
    bottom: 0;
    box-shadow: 0 -8px 26px rgba(15, 23, 42, 0.06);
    display: grid;
    gap: 0;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    left: 0;
    margin: 0;
    max-width: none;
    padding: 10px 14px 18px;
    position: absolute;
    right: 0;
    z-index: 30;
}

.rma-seller-app .rma-tabs a {
    align-items: center;
    background: transparent;
    border: 0;
    border-radius: 8px;
    color: #9ca3af;
    display: flex;
    flex-direction: column;
    font-size: 10px;
    font-weight: 700;
    gap: 4px;
    min-height: 50px;
    padding: 6px 3px;
}

.rma-seller-app .rma-tabs a::before {
    align-items: center;
    border-radius: 12px;
    display: flex;
    font-size: 18px;
    height: 24px;
    justify-content: center;
    line-height: 1;
    width: 24px;
}

.rma-seller-app .rma-tabs a[href*="profile"]::before {
    content: "P";
}

.rma-seller-app .rma-tabs a[href*="products"]::before {
    content: "B";
}

.rma-seller-app .rma-tabs a[href*="dashboard"]::before {
    content: "H";
}

.rma-seller-app .rma-tabs a[href*="add-product"]::before {
    content: "+";
}

.rma-seller-app .rma-tabs a.active {
    background: transparent;
    color: #2563eb;
}

.rma-seller-app .rma-panel {
    background: #f8fafc;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    margin: 0;
    max-width: none;
    padding: 22px 20px;
}

.rma-seller-app .rma-panel h2 {
    color: #111827;
    font-size: 21px;
    font-weight: 800;
    letter-spacing: 0;
}

.rma-seller-app .rma-panel h3 {
    color: #111827;
    font-size: 18px;
    font-weight: 800;
    letter-spacing: 0;
    margin: 22px 0 12px;
}

.rma-seller-app .rma-stat-grid {
    gap: 14px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin-bottom: 24px;
}

.rma-seller-app .rma-stat-grid div {
    background: #eff6ff;
    border: 1px solid #dbeafe;
    border-radius: 26px;
    min-height: 142px;
    overflow: hidden;
    padding: 20px;
    position: relative;
}

.rma-seller-app .rma-stat-grid div:nth-child(2) {
    background: #faf5ff;
    border-color: #f3e8ff;
}

.rma-seller-app .rma-stat-grid div::after {
    bottom: -20px;
    color: rgba(59, 130, 246, 0.10);
    content: "↗";
    font-size: 86px;
    font-weight: 900;
    line-height: 1;
    position: absolute;
    right: -10px;
}

.rma-seller-app .rma-stat-grid div:nth-child(2)::after {
    color: rgba(147, 51, 234, 0.10);
    content: "□";
}

.rma-seller-app .rma-stat-grid span {
    color: #2563eb;
    font-size: 12px;
    font-weight: 700;
    line-height: 1.25;
    margin: 0 0 10px;
    position: relative;
    z-index: 1;
}

.rma-seller-app .rma-stat-grid div:nth-child(2) span {
    color: #9333ea;
}

.rma-seller-app .rma-stat-grid strong {
    color: #111827;
    font-size: 34px;
    font-weight: 900;
    line-height: 1;
    position: relative;
    z-index: 1;
}

.rma-seller-app .rma-ranked-list,
.rma-seller-app .rma-seller-products .rma-list,
.rma-seller-app .rma-seller-product-detail .rma-list {
    background: #ffffff;
    border: 1px solid #f3f4f6;
    border-radius: 26px;
    box-shadow: 0 4px 20px rgba(15, 23, 42, 0.03);
    gap: 2px;
    padding: 8px;
}

.rma-seller-app .rma-ranked-list .rma-list-item {
    align-items: center;
    background: #ffffff;
    border: 0;
    border-radius: 18px;
    display: grid;
    gap: 12px;
    grid-template-columns: 42px minmax(0, 1fr) auto;
    min-height: 66px;
    padding: 12px;
}

.rma-seller-app .rma-ranked-list .rma-list-item:hover {
    background: #f9fafb;
}

.rma-rank-badge {
    align-items: center;
    background: #fff7ed;
    border: 1px solid #ffedd5;
    border-radius: 14px;
    color: #f97316;
    display: flex;
    font-size: 14px;
    font-weight: 900;
    height: 42px;
    justify-content: center;
    width: 42px;
}

.rma-seller-app .rma-ranked-list .rma-list-item:nth-child(n+2) .rma-rank-badge {
    background: #f9fafb;
    border-color: #f3f4f6;
    color: #6b7280;
}

.rma-seller-app .rma-ranked-list strong {
    color: #111827;
    font-size: 14px;
    font-weight: 800;
    line-height: 1.25;
}

.rma-sales-pill {
    background: #eff6ff;
    border-radius: 10px;
    color: #2563eb !important;
    font-size: 11px !important;
    font-weight: 900;
    padding: 6px 9px;
    white-space: nowrap;
}

.rma-seller-app .rma-seller-products .rma-list-item,
.rma-seller-app .rma-seller-product-detail .rma-list-item {
    background: #ffffff;
    border: 0;
    border-radius: 18px;
    padding: 14px;
}

.rma-seller-app .rma-form input,
.rma-seller-app .rma-form select,
.rma-seller-app .rma-form textarea {
    background: #ffffff;
    border-color: #e5e7eb;
    border-radius: 14px;
    font-size: 16px;
    min-height: 48px;
}

.rma-seller-app .rma-primary {
    background: #111827;
    border-radius: 14px;
    box-shadow: 0 10px 18px rgba(17, 24, 39, 0.16);
    min-height: 46px;
}

@media (max-width: 420px) {
    .rma-seller-app .rma-stat-grid {
        gap: 12px;
    }

    .rma-seller-app .rma-stat-grid div {
        min-height: 132px;
        padding: 16px;
    }
}
