/* Shared Design Tokens */
:root {
    --rep-surface: #f8f9fa;
    --rep-surface-low: #f3f4f5;
    --rep-white: #ffffff;
    --rep-ink: #191c1d;
    --rep-muted: #44474c;
    --rep-muted-soft: #74777d;
    --rep-outline: #c4c6cc;
    --rep-primary: #000000;
    --rep-primary-deep: #0f1c2c;
    --rep-accent: #908172;
    --rep-shadow-xl: 0 32px 64px -12px rgba(15, 23, 42, 0.18);
    --rep-shadow-soft: 0 18px 48px -24px rgba(15, 23, 42, 0.22);
    --rep-auth-image: url("../images/dashboard-auth-hero.jpg");
    --rep-type-xs: 0.72rem;
    --rep-type-sm: 0.82rem;
    --rep-type-body: 0.94rem;
    --rep-type-body-lg: 1rem;
    --rep-type-heading-sm: 1.15rem;
    --rep-type-heading-md: 1.35rem;
    --rep-type-heading-lg: clamp(1.45rem, 1.8vw, 1.75rem);
    --rep-type-display: clamp(1.65rem, 2.4vw, 2.1rem);
    --rep-type-metric: clamp(1.65rem, 2.2vw, 2.05rem);
    --rep-type-control: 0.78rem;
}

/* Dashboard Wrapper */
.rep-dashboard-wrapper {
    display: flex;
    flex-wrap: wrap;
    background: #ffffff;
    border-radius: 18px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    font-family: "Manrope", var(--e-global-typography-primary-font-family, sans-serif);
    font-size: var(--rep-type-body);
    line-height: 1.55;
    color: #333;
    overflow: hidden;
    margin: 20px 0;
}

.rep-auth-shell,
.rep-registration-shell {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 0.94fr) minmax(0, 1.06fr);
    width: min(100%, 1280px);
    margin: 32px auto;
    background: var(--rep-white);
    border-radius: 18px;
    overflow: hidden;
    box-shadow: var(--rep-shadow-xl);
    font-family: "Manrope", sans-serif;
    font-size: var(--rep-type-body);
    line-height: 1.55;
    color: var(--rep-ink);
}

.rep-auth-card,
.rep-registration-form-wrap,
.rep-registration-hero {
    min-width: 0;
}

.rep-auth-card-login,
.rep-registration-form-wrap {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: clamp(32px, 5vw, 72px);
    background: linear-gradient(180deg, #ffffff 0%, #f3f4f5 100%);
}

.rep-registration-form-wrap {
    padding: clamp(24px, 4vw, 48px);
}

.rep-auth-card-cta,
.rep-registration-hero {
    position: relative;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding: clamp(32px, 5vw, 72px);
    min-height: 620px;
    color: #ffffff;
    isolation: isolate;
    overflow: hidden;
}

.rep-auth-card-cta::before,
.rep-registration-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(180deg, rgba(9, 16, 24, 0.08) 0%, rgba(9, 16, 24, 0.22) 34%, rgba(15, 28, 44, 0.86) 100%),
        var(--rep-auth-image);
    background-position: center;
    background-size: cover;
    transition: transform 1s ease;
    z-index: -2;
}

.rep-auth-card-cta::after,
.rep-registration-hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 18% 20%, rgba(255, 255, 255, 0.3), transparent 32%),
        linear-gradient(180deg, rgba(15, 28, 44, 0) 0%, rgba(15, 28, 44, 0.12) 48%, rgba(15, 28, 44, 0.48) 100%);
    z-index: -1;
}

.rep-auth-card-cta:hover::before,
.rep-registration-hero:hover::before {
    transform: scale(1.05);
}

.rep-auth-brand {
    margin-bottom: clamp(32px, 6vw, 72px);
    font-family: "Noto Serif", Georgia, serif;
    font-size: var(--rep-type-body);
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--rep-ink);
}

.rep-auth-kicker {
    display: inline-flex;
    align-items: center;
    margin-bottom: 16px;
    padding: 7px 12px;
    border-radius: 999px;
    background: rgba(144, 129, 114, 0.12);
    border: 1px solid rgba(144, 129, 114, 0.18);
    color: #6f5d48;
    font-size: var(--rep-type-xs);
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.rep-auth-kicker-light {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.24);
    color: rgba(240, 241, 242, 0.92);
}

.rep-auth-intro,
.rep-auth-cta-content,
.rep-registration-hero-copy {
    width: 100%;
    max-width: 430px;
    position: relative;
    z-index: 1;
}

.rep-auth-intro h2,
.rep-registration-hero h2,
.rep-registration-card-head h3,
.rep-auth-card-cta h3 {
    margin: 0 0 16px;
    font-family: "Noto Serif", Georgia, serif;
    font-weight: 500;
    line-height: 1.12;
    letter-spacing: 0;
}

.rep-auth-intro h2 {
    font-size: var(--rep-type-display);
    color: var(--rep-ink);
}

.rep-auth-card-cta h3,
.rep-registration-hero h2 {
    font-size: var(--rep-type-heading-lg);
    color: #ffffff;
}

.rep-registration-card-head h3 {
    font-size: var(--rep-type-heading-md);
    color: var(--rep-ink);
}

.rep-auth-intro p,
.rep-registration-card-head p,
.rep-auth-card-cta p,
.rep-registration-hero p {
    margin: 0;
    font-size: var(--rep-type-body);
    line-height: 1.65;
}

.rep-auth-intro p,
.rep-registration-card-head p {
    color: var(--rep-muted);
}

.rep-auth-card-cta p,
.rep-registration-hero p {
    color: rgba(240, 241, 242, 0.88);
}

.rep-auth-form-wrap {
    width: 100%;
    max-width: 430px;
    margin-top: 40px;
}

.rep-auth-form {
    display: grid;
    gap: 24px;
}

.rep-auth-field,
.rep-auth-remember,
.rep-auth-submit {
    margin: 0;
}

.rep-auth-form label,
.rep-registration-card .rep-form-group label {
    display: block;
    margin-bottom: 10px;
    font-size: var(--rep-type-xs);
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--rep-muted);
}

.rep-auth-field-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 12px;
}

.rep-auth-field-head label {
    margin: 0;
}

.rep-auth-forgot {
    display: inline-flex;
    width: fit-content;
    margin-top: 10px;
    color: #6f5d48;
    font-size: var(--rep-type-xs);
    font-weight: 700;
    letter-spacing: 0.12em;
    text-decoration: none;
    text-transform: uppercase;
    transition: color 0.2s ease;
}

.rep-auth-forgot:hover {
    color: var(--rep-primary);
}

.rep-auth-form input[type="text"],
.rep-auth-form input[type="password"] {
    width: 100%;
    padding: 0 0 16px;
    border: 0;
    border-bottom: 1px solid var(--rep-outline);
    border-radius: 0;
    background: transparent;
    color: var(--rep-ink);
    font-size: var(--rep-type-body);
    line-height: 1.5;
    box-shadow: none;
}

.rep-auth-feedback {
    margin: 0 0 6px;
    padding: 12px 14px;
    border-radius: 10px;
    font-size: var(--rep-type-sm);
    line-height: 1.5;
}

.rep-auth-feedback-error {
    border: 1px solid #f3c3bd;
    background: #fff3f1;
    color: #8b2b1f;
}

.rep-auth-form input[type="text"]::placeholder,
.rep-auth-form input[type="password"]::placeholder,
.rep-registration-card .rep-form-group input::placeholder {
    color: var(--rep-muted-soft);
}

.rep-auth-form input[type="text"]:focus,
.rep-auth-form input[type="password"]:focus {
    outline: none;
    border-color: var(--rep-primary);
}

.rep-auth-remember label {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin: 0;
    font-size: var(--rep-type-sm);
    font-weight: 500;
    letter-spacing: 0;
    text-transform: none;
    color: var(--rep-muted);
}

.rep-auth-remember input[type="checkbox"] {
    width: 16px;
    height: 16px;
    accent-color: var(--rep-primary);
}

.rep-auth-submit {
    margin-top: 8px;
}

.rep-auth-submit button,
.rep-btn-hero-primary,
.rep-btn-hero-secondary,
.rep-registration-card .rep-btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 54px;
    padding: 16px 22px;
    border-radius: 8px;
    border: 1px solid transparent;
    font-family: "Manrope", sans-serif;
    font-size: var(--rep-type-control);
    font-weight: 700;
    letter-spacing: 0.14em;
    text-decoration: none;
    text-transform: uppercase;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.rep-auth-submit button,
.rep-registration-card .rep-btn-primary {
    background: var(--rep-primary) !important;
    color: #ffffff !important;
    border-color: var(--rep-primary) !important;
    cursor: pointer;
}

.rep-btn-hero-primary {
    background: #ffffff !important;
    color: var(--rep-primary) !important;
    border-color: #ffffff !important;
}

.rep-btn-hero-secondary {
    background: rgba(255, 255, 255, 0.12) !important;
    color: #ffffff !important;
    border-color: rgba(255, 255, 255, 0.36) !important;
    backdrop-filter: blur(12px);
}

.rep-auth-cta-actions .rep-btn-hero-primary,
.rep-auth-cta-actions .rep-btn-hero-primary:visited,
.rep-auth-cta-actions .rep-btn-hero-primary:hover,
.rep-auth-cta-actions .rep-btn-hero-primary:focus {
    color: var(--rep-primary) !important;
}

.rep-auth-cta-actions .rep-btn-hero-secondary,
.rep-auth-cta-actions .rep-btn-hero-secondary:visited,
.rep-auth-cta-actions .rep-btn-hero-secondary:hover,
.rep-auth-cta-actions .rep-btn-hero-secondary:focus {
    color: #ffffff !important;
    opacity: 1;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.25);
}

.rep-auth-submit button:hover,
.rep-btn-hero-primary:hover,
.rep-btn-hero-secondary:hover,
.rep-registration-card .rep-btn-primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 18px 40px -22px rgba(15, 23, 42, 0.55);
}

.rep-auth-cta-actions {
    display: grid;
    gap: 14px;
    margin-top: 32px;
}

.rep-registration-hero-copy {
    position: relative;
    z-index: 1;
}

.rep-registration-benefits {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 28px;
}

.rep-registration-benefits span {
    display: inline-flex;
    align-items: center;
    min-height: 42px;
    padding: 10px 16px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.18);
    color: #ffffff;
    font-size: var(--rep-type-control);
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    backdrop-filter: blur(12px);
}

.rep-registration-card {
    width: min(100%, 620px);
    margin: auto;
    padding: clamp(28px, 4vw, 52px);
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid rgba(196, 198, 204, 0.65);
    border-radius: 18px;
    box-shadow: var(--rep-shadow-soft);
    backdrop-filter: blur(18px);
}

.rep-registration-card-head {
    margin-bottom: 30px;
}

.rep-form-row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.rep-registration-card .rep-form-group {
    margin-bottom: 22px;
}

.rep-registration-card .rep-form-group input[type="text"],
.rep-registration-card .rep-form-group input[type="number"],
.rep-registration-card .rep-form-group input[type="email"],
.rep-registration-card .rep-form-group input[type="password"],
.rep-registration-card .rep-form-group textarea,
.rep-registration-card .rep-select {
    width: 100%;
    padding: 0 0 16px;
    border: 0;
    border-bottom: 1px solid var(--rep-outline);
    border-radius: 0;
    background: transparent;
    color: var(--rep-ink);
    font-size: var(--rep-type-body);
    transition: border-color 0.2s ease;
    box-shadow: none;
}

.rep-registration-card .rep-form-group textarea {
    min-height: 120px;
    padding-top: 12px;
    resize: vertical;
}

.rep-registration-card .rep-form-group input:focus,
.rep-registration-card .rep-form-group textarea:focus,
.rep-registration-card .rep-select:focus {
    outline: none;
    border-color: var(--rep-primary);
}

.rep-registration-card .rep-select {
    appearance: none;
    background-image:
        linear-gradient(45deg, transparent 50%, var(--rep-muted) 50%),
        linear-gradient(135deg, var(--rep-muted) 50%, transparent 50%);
    background-position:
        calc(100% - 18px) calc(50% - 3px),
        calc(100% - 12px) calc(50% - 3px);
    background-repeat: no-repeat;
    background-size: 6px 6px;
    padding-right: 36px;
}

.rep-seller-panel {
    margin-bottom: 22px;
    padding: 22px;
    border: 1px solid rgba(15, 28, 44, 0.1);
    border-radius: 14px;
    background: rgba(15, 28, 44, 0.03);
}

.rep-registration-status {
    min-height: 24px;
    margin-top: 18px;
    color: var(--rep-muted);
    font-size: var(--rep-type-body);
}

.rep-registration-login-link {
    margin: 22px 0 0;
    color: var(--rep-muted);
    font-size: var(--rep-type-body);
}

.rep-registration-login-link a {
    color: var(--rep-primary);
    font-weight: 700;
    text-decoration: none;
}

.rep-registration-login-link a:hover {
    text-decoration: underline;
}

/* Sidebar */
.rep-sidebar {
    width: 250px;
    background: #f8fafc; /* Very light slate */
    border-right: 1px solid #e2e8f0;
    padding: 20px 0;
}

.rep-sidebar ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.rep-sidebar li {
    margin: 0;
}

.rep-sidebar a {
    display: block;
    padding: 15px 25px;
    color: #475569;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.2s ease;
    border-left: 3px solid transparent;
}

.rep-sidebar a:hover {
    background: #f1f5f9;
    color: #0f172a;
}

.rep-sidebar a.active {
    background: #ffffff;
    color: #2563eb; /* Primary blue */
    border-left-color: #2563eb;
    font-weight: 600;
}

/* Content Area */
.rep-content-area {
    flex: 1;
    padding: 30px 40px;
    min-height: 400px;
}

.rep-content-area h2 {
    margin-top: 0;
    font-size: var(--rep-type-heading-md);
    color: #0f172a;
    border-bottom: 2px solid #f1f5f9;
    padding-bottom: 10px;
    margin-bottom: 25px;
}

/* Profile Elements */
.rep-profile-header {
    background: #f8fafc;
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 30px;
}

.rep-profile-header h3 {
    margin: 0 0 5px 0;
    display: flex;
    align-items: center;
    gap: 10px;
}

.rep-verified-badge {
    background: #10b981; /* Emerald green */
    color: #fff;
    font-size: var(--rep-type-xs);
    padding: 3px 8px;
    border-radius: 12px;
    font-weight: bold;
}

.rep-inline-verified-badge,
.entry-title .rep-inline-verified-badge,
.elementor-heading-title .rep-inline-verified-badge,
.elementor-post__title .rep-inline-verified-badge {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 6px !important;
    width: auto !important;
    min-width: 0 !important;
    max-width: 100% !important;
    height: auto !important;
    min-height: 22px !important;
    margin: 0 0 0 10px !important;
    padding: 4px 9px !important;
    border: 1px solid rgba(26, 137, 83, 0.22) !important;
    border-radius: 999px !important;
    background: #e8f8ef !important;
    color: #0f6b45 !important;
    box-shadow: none !important;
    text-shadow: none !important;
    vertical-align: middle !important;
    white-space: nowrap !important;
    font-family: "Manrope", Arial, sans-serif !important;
    font-size: 11px !important;
    font-style: normal !important;
    font-weight: 700 !important;
    letter-spacing: 0 !important;
    line-height: 1 !important;
    text-transform: none !important;
    transform: none !important;
}

.rep-inline-verified-badge__icon {
    position: relative !important;
    display: inline-flex !important;
    flex: 0 0 14px !important;
    width: 14px !important;
    height: 14px !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 999px !important;
    background: #16894f !important;
    box-shadow: none !important;
}

.rep-inline-verified-badge__icon::after {
    content: "" !important;
    position: absolute !important;
    left: 5px !important;
    top: 2px !important;
    width: 4px !important;
    height: 8px !important;
    border: solid #ffffff !important;
    border-width: 0 2px 2px 0 !important;
    transform: rotate(45deg) !important;
}

.rep-inline-verified-badge__label {
    display: inline-flex !important;
    align-items: center !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    background: transparent !important;
    color: inherit !important;
    box-shadow: none !important;
    font: inherit !important;
    line-height: 1 !important;
}

/* Metric Cards */
.rep-metric-cards {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
}

.rep-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    padding: 20px;
    border-radius: 8px;
    flex: 1;
    box-shadow: 0 2px 4px rgba(0,0,0,0.02);
}

.rep-card h4 {
    margin: 0 0 10px 0;
    color: #64748b;
    font-size: var(--rep-type-xs);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.rep-large-num {
    font-size: var(--rep-type-metric);
    font-weight: 700;
    color: #0f172a;
    margin: 0;
}

.rep-packages-section h3 {
    margin-bottom: 18px;
}

.rep-package-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 18px;
}

.rep-package-card {
    border: 1px solid #dbeafe;
    background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
    border-radius: 10px;
    padding: 20px;
}

.rep-package-card h4 {
    margin: 0 0 8px;
    color: #0f172a;
}

.rep-package-price {
    font-size: var(--rep-type-heading-lg);
    font-weight: 700;
    margin: 0 0 10px;
    color: #1d4ed8;
}

.rep-package-meta {
    margin: 0 0 8px;
    color: #475569;
}

/* Forms */
.rep-form-group {
    margin-bottom: 20px;
}

.rep-form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: #334155;
}

.rep-help-text {
    display: block;
    margin-top: 6px;
    color: #64748b;
    font-size: var(--rep-type-sm);
}

.rep-form-step {
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    padding: 20px;
    margin-bottom: 18px;
    background: #ffffff;
}

.rep-form-step h3 {
    margin-top: 8px;
    margin-bottom: 18px;
    color: #0f172a;
}

.rep-step-label {
    display: inline-block;
    font-size: var(--rep-type-xs);
    letter-spacing: 0.08em;
    text-transform: uppercase;
    font-weight: 700;
    color: #2563eb;
}

.rep-form-group input[type="text"],
.rep-form-group input[type="number"],
.rep-form-group input[type="email"],
.rep-form-group input[type="password"],
.rep-form-group textarea,
.rep-select {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #cbd5e1;
    border-radius: 6px;
    background: #fff;
    color: #333;
    font-size: var(--rep-type-body);
    transition: border-color 0.2s;
}

.rep-form-group .wp-editor-wrap {
    border: 1px solid #cbd5e1;
    border-radius: 10px;
    overflow: hidden;
    background: #fff;
}

.rep-form-group .mce-top-part,
.rep-form-group .quicktags-toolbar {
    border-bottom: 1px solid #e2e8f0;
}

.rep-form-group input:focus,
.rep-form-group textarea:focus,
.rep-select:focus {
    outline: none;
    border-color: #2563eb;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

/* Buttons */
.rep-btn {
    display: inline-block;
    padding: 12px 24px;
    background: #2563eb;
    color: #fff;
    border: none;
    border-radius: 6px;
    font-size: var(--rep-type-control);
    font-weight: 500;
    cursor: pointer;
    transition: background 0.2s;
    text-decoration: none;
}

.rep-btn:hover {
    background: #1d4ed8;
}

.rep-btn-full {
    width: 100%;
    text-align: center;
}

.rep-btn-secondary {
    background: #475569;
}

.rep-btn-secondary:hover {
    background: #334155;
}

.rep-btn-danger {
    background: #ef4444;
}

.rep-btn-danger:hover {
    background: #dc2626;
}

/* Tables */
.rep-table {
    width: 100%;
    border-collapse: collapse;
}

.rep-table th, .rep-table td {
    padding: 15px;
    text-align: left;
    border-bottom: 1px solid #e2e8f0;
}

.rep-table th {
    font-weight: 600;
    color: #475569;
    background: #f8fafc;
}

.rep-table td a {
    color: #2563eb;
    text-decoration: none;
    font-weight: 500;
}

.rep-table td a:hover {
    text-decoration: underline;
}

/* Alerts */
.rep-alert {
    padding: 15px;
    border-radius: 6px;
    margin-bottom: 20px;
}

.rep-alert-warning {
    background: #fffbeb;
    color: #b45309;
    border: 1px solid #fde68a;
}

.rep-referral-link-box {
    margin-top: 20px;
    padding: 18px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
}

.rep-referral-link-box input {
    width: 100%;
    padding: 10px 12px;
    border-radius: 6px;
    border: 1px solid #cbd5e1;
    margin-top: 6px;
}

#rep-map {
    height: 280px;
    width: 100%;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    margin-bottom: 10px;
    overflow: hidden;
    background: #f8fafc;
}

.rep-map-fallback {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    padding: 16px;
    text-align: center;
    color: #475569;
    font-size: var(--rep-type-sm);
}

/* Premium Logged-In Dashboard */
.rep-dashboard-shell {
    position: relative;
    box-sizing: border-box;
    width: calc(100vw - clamp(20px, 4vw, 56px));
    max-width: none;
    margin: 32px 0;
    left: 50%;
    transform: translateX(-50%);
    padding: clamp(16px, 2vw, 28px);
    border-radius: 28px;
    background:
        radial-gradient(circle at top left, rgba(214, 228, 249, 0.92), transparent 34%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.96) 0%, rgba(243, 244, 245, 0.98) 100%);
    box-shadow: var(--rep-shadow-xl);
    overflow: hidden;
    font-family: "Manrope", sans-serif;
    font-size: var(--rep-type-body);
    line-height: 1.55;
}

.rep-dashboard-shell::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 88% 14%, rgba(186, 200, 220, 0.6), transparent 24%),
        radial-gradient(circle at 8% 85%, rgba(144, 129, 114, 0.12), transparent 22%);
    pointer-events: none;
}

.rep-dashboard-shell::after {
    content: "";
    position: absolute;
    inset: auto -10% -22% auto;
    width: 54%;
    aspect-ratio: 1;
    background:
        linear-gradient(180deg, rgba(15, 28, 44, 0.04), rgba(15, 28, 44, 0.18)),
        var(--rep-auth-image);
    background-size: cover;
    background-position: center;
    opacity: 0.08;
    border-radius: 999px;
    filter: blur(4px);
    pointer-events: none;
}

.rep-dashboard-wrapper {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(250px, 280px) minmax(0, 1fr);
    align-items: stretch;
    width: 100%;
    max-width: 100%;
    background: rgba(255, 255, 255, 0.78);
    border: 1px solid rgba(255, 255, 255, 0.72);
    border-radius: 24px;
    box-shadow: 0 24px 64px -34px rgba(15, 23, 42, 0.3);
    backdrop-filter: blur(18px);
    color: var(--rep-ink);
    overflow: hidden;
    margin: 0;
}

.rep-sidebar {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 24px;
    width: auto;
    padding: 30px 24px;
    background:
        linear-gradient(180deg, rgba(15, 28, 44, 0.96) 0%, rgba(39, 56, 78, 0.92) 100%);
    border-right: 0;
    color: #ffffff;
}

.rep-sidebar::after {
    content: "";
    position: absolute;
    inset: auto -30% -15% auto;
    width: 220px;
    height: 220px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.16), transparent 70%);
    pointer-events: none;
}

.rep-sidebar-brand,
.rep-sidebar-account,
.rep-sidebar ul {
    position: relative;
    z-index: 1;
}

.rep-sidebar-kicker {
    display: inline-flex;
    align-items: center;
    margin-bottom: 14px;
    padding: 7px 12px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.14);
    color: rgba(240, 241, 242, 0.88);
    font-size: var(--rep-type-xs);
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.rep-sidebar-brand h2 {
    margin: 0 0 12px;
    font-family: "Noto Serif", Georgia, serif;
    font-size: var(--rep-type-heading-lg);
    font-weight: 500;
    line-height: 1.12;
    letter-spacing: 0;
    color: #ffffff;
}

.rep-sidebar-brand p {
    margin: 0;
    color: rgba(240, 241, 242, 0.72);
    font-size: var(--rep-type-body);
    line-height: 1.7;
}

.rep-sidebar-account {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(12px);
}

.rep-sidebar-avatar {
    display: inline-grid;
    place-items: center;
    width: 50px;
    height: 50px;
    border-radius: 999px;
    background: linear-gradient(135deg, #6f5d48 0%, #bac8dc 100%);
    color: #ffffff;
    font-family: "Noto Serif", Georgia, serif;
    font-size: var(--rep-type-heading-sm);
    font-weight: 600;
    letter-spacing: 0.06em;
    box-shadow: 0 10px 28px -18px rgba(0, 0, 0, 0.7);
}

.rep-sidebar-account-copy strong,
.rep-sidebar-account-copy span {
    display: block;
}

.rep-sidebar-account-copy strong {
    color: #ffffff;
    font-size: var(--rep-type-body);
    font-weight: 700;
    line-height: 1.35;
}

.rep-sidebar-account-copy span {
    margin-top: 4px;
    color: rgba(240, 241, 242, 0.72);
    font-size: var(--rep-type-sm);
    line-height: 1.4;
}

.rep-sidebar ul {
    display: flex;
    flex-direction: column;
    gap: 10px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.rep-sidebar li {
    margin: 0;
}

.rep-sidebar a,
.rep-sidebar a:visited {
    display: flex;
    align-items: center;
    min-height: 52px;
    padding: 14px 18px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.03);
    color: rgba(240, 241, 242, 0.82);
    text-decoration: none;
    font-size: var(--rep-type-body);
    font-weight: 600;
    line-height: 1.4;
    transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.rep-sidebar a:hover,
.rep-sidebar a:focus {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.18);
    color: #ffffff;
    transform: translateX(2px);
}

.rep-sidebar a.active,
.rep-sidebar a.active:visited,
.rep-sidebar a.active:hover,
.rep-sidebar a.active:focus {
    background: #ffffff;
    border-color: #ffffff;
    color: var(--rep-primary-deep);
    box-shadow: 0 18px 36px -28px rgba(0, 0, 0, 0.7);
}

.rep-content-area {
    min-width: 0;
    width: 100%;
    padding: clamp(26px, 3vw, 42px);
    min-height: 680px;
    background: transparent;
}

.rep-dashboard-hero {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1.45fr) minmax(260px, 0.95fr);
    gap: 18px;
    padding: clamp(24px, 3vw, 32px);
    margin-bottom: 28px;
    border-radius: 24px;
    background: linear-gradient(135deg, rgba(15, 28, 44, 0.98) 0%, rgba(58, 72, 89, 0.9) 100%);
    color: #ffffff;
    overflow: hidden;
    box-shadow: 0 28px 60px -34px rgba(15, 23, 42, 0.75);
}

.rep-dashboard-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(15, 28, 44, 0.78) 0%, rgba(15, 28, 44, 0.18) 72%),
        var(--rep-auth-image);
    background-size: cover;
    background-position: center;
    opacity: 0.16;
    pointer-events: none;
}

.rep-dashboard-hero-copy,
.rep-dashboard-hero-meta {
    position: relative;
    z-index: 1;
}

.rep-dashboard-hero .rep-auth-kicker {
    margin-bottom: 16px;
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.18);
    color: rgba(240, 241, 242, 0.92);
}

.rep-dashboard-hero h1 {
    margin: 0 0 14px;
    font-family: "Noto Serif", Georgia, serif;
    font-size: var(--rep-type-display);
    font-weight: 500;
    line-height: 1.08;
    letter-spacing: 0;
    color: #ffffff;
}

.rep-dashboard-hero p {
    margin: 0;
    max-width: 660px;
    color: rgba(240, 241, 242, 0.86);
    font-size: var(--rep-type-body);
    line-height: 1.75;
}

.rep-dashboard-hero-meta {
    display: grid;
    gap: 12px;
    align-content: end;
}

.rep-dashboard-chip {
    padding: 16px 18px;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.09);
    border: 1px solid rgba(255, 255, 255, 0.14);
    backdrop-filter: blur(12px);
}

.rep-dashboard-chip span,
.rep-dashboard-chip strong {
    display: block;
}

.rep-dashboard-chip span {
    margin-bottom: 7px;
    color: rgba(240, 241, 242, 0.7);
    font-size: var(--rep-type-xs);
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.rep-dashboard-chip strong {
    color: #ffffff;
    font-size: var(--rep-type-body-lg);
    font-weight: 700;
    line-height: 1.4;
}

.rep-tab-content {
    padding: clamp(22px, 2.5vw, 30px);
    border: 1px solid rgba(196, 198, 204, 0.5);
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.88);
    box-shadow: 0 20px 48px -34px rgba(15, 23, 42, 0.36);
}

.rep-content-area h2 {
    margin: 0 0 24px;
    padding: 0;
    border: 0;
    font-family: "Noto Serif", Georgia, serif;
    font-size: var(--rep-type-heading-lg);
    font-weight: 500;
    line-height: 1.15;
    letter-spacing: 0;
    color: var(--rep-primary-deep);
}

.rep-profile-header {
    padding: 24px 26px;
    margin-bottom: 28px;
    border: 1px solid rgba(196, 198, 204, 0.5);
    border-radius: 20px;
    background: linear-gradient(180deg, #ffffff 0%, #f5f6f7 100%);
    box-shadow: 0 24px 52px -36px rgba(15, 23, 42, 0.4);
}

.rep-profile-header h3 {
    margin: 0 0 10px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    font-family: "Noto Serif", Georgia, serif;
    font-size: var(--rep-type-heading-md);
    font-weight: 500;
    color: var(--rep-primary-deep);
}

.rep-profile-header p {
    margin: 0 0 8px;
    color: var(--rep-muted);
    font-size: var(--rep-type-body);
    line-height: 1.7;
}

.rep-verified-badge {
    display: inline-flex;
    align-items: center;
    min-height: 30px;
    padding: 6px 12px;
    border-radius: 999px;
    background: #dff4ea;
    color: #0f6b45;
    font-size: var(--rep-type-xs);
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.rep-metric-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 18px;
    margin-bottom: 28px;
}

.rep-card {
    padding: 22px;
    border: 1px solid rgba(196, 198, 204, 0.48);
    border-radius: 18px;
    background: linear-gradient(180deg, #ffffff 0%, #f8f9fa 100%);
    box-shadow: 0 20px 46px -34px rgba(15, 23, 42, 0.42);
}

.rep-card h4 {
    margin: 0 0 12px;
    color: #6f5d48;
    font-size: var(--rep-type-xs);
    font-weight: 800;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.rep-large-num {
    margin: 0;
    font-family: "Noto Serif", Georgia, serif;
    font-size: var(--rep-type-metric);
    font-weight: 500;
    line-height: 1;
    color: var(--rep-primary-deep);
}

.rep-quota-addon {
    display: grid;
    gap: 12px;
    margin-top: 18px;
    padding-top: 16px;
    border-top: 1px solid rgba(196, 198, 204, 0.48);
}

.rep-quota-addon p {
    margin: 0;
    color: var(--rep-muted);
    font-size: var(--rep-type-sm);
    line-height: 1.55;
}

.rep-upgrade-section {
    margin-top: 28px;
}

.rep-upgrade-seller-type-field {
    max-width: 360px;
}

.rep-packages-section h3,
.rep-referral-link-box h4 {
    margin: 0 0 18px;
    font-family: "Noto Serif", Georgia, serif;
    font-size: var(--rep-type-heading-md);
    font-weight: 500;
    line-height: 1.2;
    color: var(--rep-primary-deep);
}

.rep-package-grid {
    gap: 18px;
}

.rep-package-card {
    border: 1px solid rgba(196, 198, 204, 0.48);
    background: linear-gradient(180deg, #ffffff 0%, #f5f6f7 100%);
    border-radius: 18px;
    padding: 22px;
    box-shadow: 0 20px 46px -34px rgba(15, 23, 42, 0.42);
}

.rep-package-card h4 {
    margin: 0 0 10px;
    color: var(--rep-primary-deep);
    font-family: "Noto Serif", Georgia, serif;
    font-size: var(--rep-type-heading-sm);
    font-weight: 500;
}

.rep-package-price {
    margin: 0 0 12px;
    color: var(--rep-primary-deep);
    font-family: "Noto Serif", Georgia, serif;
    font-size: var(--rep-type-heading-lg);
    font-weight: 500;
}

.rep-package-meta {
    margin: 0 0 10px;
    color: var(--rep-muted);
    font-size: var(--rep-type-body);
    line-height: 1.65;
}

.rep-form {
    display: grid;
    gap: 0;
}

.rep-form-step {
    padding: 26px;
    margin-bottom: 20px;
    border: 1px solid rgba(196, 198, 204, 0.48);
    border-radius: 20px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.96) 0%, rgba(247, 248, 249, 0.95) 100%);
    box-shadow: 0 24px 52px -38px rgba(15, 23, 42, 0.42);
}

.rep-form-step h3 {
    margin: 16px 0 20px;
    color: var(--rep-primary-deep);
    font-family: "Noto Serif", Georgia, serif;
    font-size: var(--rep-type-heading-md);
    font-weight: 500;
    line-height: 1.2;
}

.rep-step-label {
    display: inline-flex;
    align-items: center;
    min-height: 34px;
    padding: 7px 13px;
    border-radius: 999px;
    background: rgba(15, 28, 44, 0.05);
    border: 1px solid rgba(15, 28, 44, 0.08);
    color: #3a4859;
    font-size: var(--rep-type-xs);
    font-weight: 800;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.rep-form-group {
    margin-bottom: 22px;
}

.rep-form-group label {
    display: block;
    margin-bottom: 10px;
    color: var(--rep-muted);
    font-size: var(--rep-type-xs);
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.rep-help-text {
    display: block;
    margin-top: 8px;
    color: var(--rep-muted);
    font-size: var(--rep-type-sm);
    line-height: 1.6;
}

.rep-form-group input[type="text"],
.rep-form-group input[type="number"],
.rep-form-group input[type="email"],
.rep-form-group input[type="password"],
.rep-form-group textarea,
.rep-select {
    width: 100%;
    min-height: 58px;
    padding: 16px 18px;
    border: 1px solid rgba(196, 198, 204, 0.9);
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.94);
    color: var(--rep-ink);
    font-size: var(--rep-type-body);
    line-height: 1.6;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.7);
}

.rep-form-group textarea:not(.wp-editor-area) {
    min-height: 118px;
    padding-top: 16px;
    resize: vertical;
}

.rep-select {
    appearance: none;
    background-image:
        linear-gradient(45deg, transparent 50%, var(--rep-muted) 50%),
        linear-gradient(135deg, var(--rep-muted) 50%, transparent 50%);
    background-position:
        calc(100% - 20px) calc(50% - 3px),
        calc(100% - 14px) calc(50% - 3px);
    background-repeat: no-repeat;
    background-size: 6px 6px;
    padding-right: 40px;
}

.rep-form-group input:focus,
.rep-form-group textarea:focus,
.rep-select:focus {
    outline: none;
    border-color: rgba(15, 28, 44, 0.58);
    box-shadow: 0 0 0 4px rgba(15, 28, 44, 0.06);
    background: #ffffff;
}

.rep-form-group .wp-editor-wrap {
    border: 1px solid rgba(196, 198, 204, 0.9);
    border-radius: 18px;
    overflow: hidden;
    background: #ffffff;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.7);
}

.rep-form-group .wp-editor-tools {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 12px;
    padding: 16px 16px 0;
    background: linear-gradient(180deg, #ffffff 0%, #fafafa 100%);
}

.rep-form-group .wp-editor-tabs {
    float: none !important;
    display: inline-flex;
    gap: 10px;
    margin: 0 !important;
    padding: 0 !important;
}

.rep-form-group .wp-editor-tabs .wp-switch-editor,
.rep-form-group .wp-editor-tabs .wp-switch-editor:visited,
.rep-form-group .wp-editor-tabs .wp-switch-editor:hover,
.rep-form-group .wp-editor-tabs .wp-switch-editor:focus {
    float: none !important;
    min-width: 104px;
    height: 42px;
    margin: 0 !important;
    padding: 0 18px !important;
    border: 1px solid rgba(196, 198, 204, 0.92) !important;
    border-bottom: 0 !important;
    border-radius: 16px 16px 0 0 !important;
    background: rgba(255, 255, 255, 0.94) !important;
    color: var(--rep-primary-deep) !important;
    font-family: "Manrope", sans-serif !important;
    font-size: var(--rep-type-xs) !important;
    font-weight: 800 !important;
    letter-spacing: 0.14em !important;
    text-transform: uppercase !important;
    line-height: 40px !important;
    text-decoration: none !important;
    box-shadow: none !important;
    transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.rep-form-group .tmce-active .switch-tmce,
.rep-form-group .html-active .switch-html,
.rep-form-group .tmce-active .switch-tmce:hover,
.rep-form-group .html-active .switch-html:hover,
.rep-form-group .tmce-active .switch-tmce:focus,
.rep-form-group .html-active .switch-html:focus {
    background: var(--rep-primary-deep) !important;
    border-color: var(--rep-primary-deep) !important;
    color: #ffffff !important;
}

.rep-form-group .mce-top-part,
.rep-form-group .quicktags-toolbar {
    border-bottom: 1px solid rgba(196, 198, 204, 0.72);
    background: #f8f9fa;
}

.rep-form-group .quicktags-toolbar {
    display: none !important;
    flex-wrap: wrap;
    gap: 8px;
    padding: 12px 14px !important;
}

.rep-form-group .wp-editor-wrap.html-active .quicktags-toolbar {
    display: flex !important;
}

.rep-form-group .wp-editor-wrap.html-active .mce-top-part {
    display: none !important;
}

.rep-form-group .wp-editor-wrap.tmce-active .mce-top-part {
    display: block !important;
}

.rep-form-group .quicktags-toolbar input,
.rep-form-group .quicktags-toolbar .ed_button {
    min-height: 36px;
    margin: 0 !important;
    padding: 8px 12px !important;
    border: 1px solid rgba(196, 198, 204, 0.9) !important;
    border-radius: 10px !important;
    background: #ffffff !important;
    color: var(--rep-primary-deep) !important;
    font-size: var(--rep-type-xs) !important;
    font-weight: 700 !important;
    line-height: 1.2 !important;
    box-shadow: none !important;
}

.rep-form-group .quicktags-toolbar input:hover,
.rep-form-group .quicktags-toolbar .ed_button:hover,
.rep-form-group .quicktags-toolbar input:focus,
.rep-form-group .quicktags-toolbar .ed_button:focus {
    background: #f3f4f5 !important;
    border-color: rgba(15, 28, 44, 0.18) !important;
    color: var(--rep-primary-deep) !important;
}

.rep-form-group .mce-toolbar .mce-btn {
    border: 1px solid transparent !important;
    border-radius: 10px !important;
    background: transparent !important;
    box-shadow: none !important;
}

.rep-form-group .mce-toolbar .mce-btn button {
    padding: 6px !important;
    color: var(--rep-primary-deep) !important;
}

.rep-form-group .mce-toolbar .mce-btn:hover,
.rep-form-group .mce-toolbar .mce-btn.mce-active,
.rep-form-group .mce-toolbar .mce-btn:focus-within {
    border-color: rgba(196, 198, 204, 0.9) !important;
    background: #ffffff !important;
}

.rep-form-group textarea.wp-editor-area {
    min-height: 480px !important;
    padding: 18px !important;
    color: var(--rep-ink);
    line-height: 1.75;
}

.rep-form-group .mce-edit-area iframe {
    min-height: 480px !important;
    height: 480px !important;
}

.rep-form-group .mce-statusbar {
    border-top: 1px solid rgba(196, 198, 204, 0.72) !important;
}

.rep-panel-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 24px;
}

.rep-panel-head-copy {
    min-width: 0;
}

.rep-panel-note {
    margin: 8px 0 0;
    color: var(--rep-muted);
    font-size: var(--rep-type-body);
    line-height: 1.6;
}

.rep-upload-field {
    display: grid;
    gap: 14px;
}

.rep-upload-input {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}

.rep-upload-dropzone {
    display: grid;
    gap: 8px;
    padding: 18px 20px;
    border: 1px dashed rgba(15, 28, 44, 0.22);
    border-radius: 18px;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.96) 0%, rgba(243, 244, 245, 0.96) 100%);
    cursor: pointer;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease, background 0.2s ease;
}

.rep-upload-dropzone:hover {
    border-color: rgba(15, 28, 44, 0.36);
    box-shadow: 0 20px 40px -30px rgba(15, 23, 42, 0.35);
    transform: translateY(-1px);
}

.rep-upload-input:focus + .rep-upload-dropzone {
    border-color: rgba(15, 28, 44, 0.58);
    box-shadow: 0 0 0 4px rgba(15, 28, 44, 0.06);
}

.rep-upload-kicker,
.rep-upload-subtitle {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    min-height: 28px;
    padding: 5px 10px;
    border-radius: 999px;
    background: rgba(15, 28, 44, 0.05);
    color: #3a4859;
    font-size: var(--rep-type-xs);
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.rep-upload-dropzone strong {
    color: var(--rep-primary-deep);
    font-family: "Manrope", sans-serif;
    font-size: var(--rep-type-body-lg);
    font-weight: 700;
    line-height: 1.35;
    letter-spacing: 0.01em;
    text-transform: none;
}

.rep-upload-meta {
    color: var(--rep-muted);
    font-size: var(--rep-type-sm);
    font-weight: 500;
    line-height: 1.6;
}

.rep-upload-existing,
.rep-upload-selected {
    display: grid;
    gap: 10px;
}

.rep-image-preview-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.rep-image-preview-item {
    display: grid;
    gap: 6px;
    width: 92px;
    padding: 6px;
    border: 1px solid rgba(196, 198, 204, 0.65);
    border-radius: 12px;
    background: #ffffff;
    box-shadow: 0 18px 34px -30px rgba(15, 23, 42, 0.3);
}

.rep-image-preview-item img {
    width: 100%;
    aspect-ratio: 1 / 1;
    border-radius: 8px;
    object-fit: cover;
    background: #f3f4f5;
}

.rep-image-preview-item span {
    color: var(--rep-muted);
    font-size: var(--rep-type-xs);
    font-weight: 500;
    line-height: 1.35;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.rep-image-preview-item-existing {
    width: 82px;
    padding: 5px;
}

.rep-image-preview-item-existing span {
    display: none;
}

.rep-table-actions {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
    min-width: 150px;
}

.rep-listing-verification-status {
    display: inline-flex;
    align-items: center;
    min-height: 28px;
    padding: 5px 10px;
    border-radius: 999px;
    font-family: "Manrope", sans-serif !important;
    font-size: var(--rep-type-xs) !important;
    font-weight: 800 !important;
    letter-spacing: 0.12em !important;
    line-height: 1 !important;
    text-transform: uppercase !important;
    white-space: nowrap;
}

.rep-listing-verification-verified {
    background: #dff4ea;
    color: #0f6b45;
}

.rep-listing-verification-requested {
    background: #fff4d8;
    color: #8b5a11;
}

.rep-listing-verification-pending {
    background: #f2f4f7;
    color: #475569;
}

.rep-verification-feedback {
    width: 100%;
    color: var(--rep-muted) !important;
    font-family: "Manrope", sans-serif !important;
    font-size: var(--rep-type-xs) !important;
    font-weight: 600 !important;
    line-height: 1.45 !important;
}

.rep-dashboard-wrapper .rep-btn,
.rep-dashboard-wrapper .rep-btn:visited,
.rep-dashboard-wrapper .rep-btn:hover,
.rep-dashboard-wrapper .rep-btn:focus {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 34px;
    padding: 0 12px;
    border: 1px solid transparent !important;
    border-radius: 10px !important;
    background: var(--rep-primary) !important;
    color: #ffffff !important;
    font-family: "Manrope", sans-serif;
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    line-height: 1;
    text-decoration: none !important;
    text-transform: uppercase;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
    box-shadow: none;
}

.rep-dashboard-wrapper .rep-btn:hover,
.rep-dashboard-wrapper .rep-btn:focus {
    background: var(--rep-primary-deep) !important;
    box-shadow: 0 12px 24px -20px rgba(15, 23, 42, 0.65);
    transform: translateY(-1px);
}

.rep-dashboard-wrapper .rep-btn-secondary,
.rep-dashboard-wrapper .rep-btn-secondary:visited {
    background: #ffffff !important;
    border-color: rgba(196, 198, 204, 0.92) !important;
    color: var(--rep-primary-deep) !important;
}

.rep-dashboard-wrapper .rep-btn-secondary:hover,
.rep-dashboard-wrapper .rep-btn-secondary:focus {
    background: #f3f4f5 !important;
    border-color: rgba(15, 28, 44, 0.14) !important;
    color: var(--rep-primary-deep) !important;
}

.rep-dashboard-wrapper .rep-btn-danger,
.rep-dashboard-wrapper .rep-btn-danger:visited {
    background: #7f1d1d !important;
    color: #ffffff !important;
}

.rep-dashboard-wrapper .rep-btn-danger:hover,
.rep-dashboard-wrapper .rep-btn-danger:focus {
    background: #991b1b !important;
}

.rep-dashboard-wrapper .rep-btn-buy,
.rep-dashboard-wrapper .rep-btn-buy-addon {
    width: 100%;
    margin-top: 8px;
}

.rep-table-actions .rep-btn,
.rep-table-actions .rep-btn:visited,
.rep-table-actions .rep-btn:hover,
.rep-table-actions .rep-btn:focus {
    width: 100%;
    min-height: 31px !important;
    padding: 0 10px !important;
    border-radius: 9px !important;
    font-size: 0.64rem !important;
    letter-spacing: 0.08em !important;
    justify-content: flex-start !important;
    gap: 7px;
    white-space: nowrap;
}

.rep-btn-icon {
    position: relative;
    display: inline-block;
    flex: 0 0 14px;
    width: 14px;
    height: 14px;
    color: currentColor;
}

.rep-btn-icon-edit::before {
    content: "";
    position: absolute;
    left: 1px;
    top: 6px;
    width: 12px;
    height: 3px;
    border: 1.5px solid currentColor;
    border-radius: 3px;
    transform: rotate(-35deg);
}

.rep-btn-icon-view::before {
    content: "";
    position: absolute;
    left: 0;
    top: 3px;
    width: 14px;
    height: 8px;
    border: 1.5px solid currentColor;
    border-radius: 999px;
}

.rep-btn-icon-view::after {
    content: "";
    position: absolute;
    left: 5px;
    top: 5px;
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: currentColor;
}

.rep-btn-icon-verify::before {
    content: "";
    position: absolute;
    left: 3px;
    top: 1px;
    width: 6px;
    height: 10px;
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    transform: rotate(42deg);
}

.rep-btn-icon-delete::before,
.rep-btn-icon-delete::after {
    content: "";
    position: absolute;
    left: 1px;
    top: 6px;
    width: 12px;
    height: 2px;
    border-radius: 999px;
    background: currentColor;
}

.rep-btn-icon-delete::before {
    transform: rotate(45deg);
}

.rep-btn-icon-delete::after {
    transform: rotate(-45deg);
}

.rep-btn-label {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
}

.rep-table-scroll {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
    border-radius: 18px;
}

.rep-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    border: 1px solid rgba(196, 198, 204, 0.48);
    border-radius: 18px;
    overflow: hidden;
    background: #ffffff;
    box-shadow: 0 20px 46px -34px rgba(15, 23, 42, 0.42);
}

.rep-listings-table {
    table-layout: fixed;
}

.rep-table th,
.rep-table td {
    padding: 16px 18px;
    text-align: left;
    border-bottom: 1px solid rgba(226, 232, 240, 0.85);
    vertical-align: top;
}

.rep-table th {
    color: var(--rep-muted);
    background: #f5f6f7;
    font-size: var(--rep-type-xs);
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.rep-table td {
    color: var(--rep-ink);
    background: rgba(255, 255, 255, 0.96);
    font-size: var(--rep-type-body);
    line-height: 1.6;
    overflow-wrap: anywhere;
}

.rep-listings-table th:nth-child(1),
.rep-listings-table td:nth-child(1) {
    width: 30%;
}

.rep-listings-table th:nth-child(2),
.rep-listings-table td:nth-child(2) {
    width: 15%;
}

.rep-listings-table th:nth-child(3),
.rep-listings-table td:nth-child(3) {
    width: 12%;
}

.rep-listings-table th:nth-child(4),
.rep-listings-table td:nth-child(4) {
    width: 19%;
}

.rep-listings-table th:nth-child(5),
.rep-listings-table td:nth-child(5) {
    width: 24%;
}

.rep-table tr:last-child td {
    border-bottom: 0;
}

.rep-table td a,
.rep-table td a:visited {
    color: var(--rep-primary-deep);
    font-weight: 700;
    text-decoration: none;
}

.rep-table td a:hover,
.rep-table td a:focus {
    text-decoration: underline;
}

.rep-purchase-order {
    display: block;
    margin-top: 4px;
    color: var(--rep-muted);
    font-size: var(--rep-type-small);
    font-weight: 500;
}

.rep-dashboard-wrapper .rep-btn-invoice,
.rep-dashboard-wrapper .rep-btn-invoice:visited {
    width: max-content;
    color: var(--rep-primary-deep);
}

.rep-empty-state {
    padding: 22px;
    border: 1px dashed rgba(19, 41, 104, 0.22);
    border-radius: 16px;
    background: #f8fafc;
    color: var(--rep-muted);
}

.rep-empty-state p {
    margin: 0;
}

.rep-alert {
    padding: 18px 20px;
    border-radius: 16px;
    margin-bottom: 22px;
}

.rep-alert-warning {
    background: linear-gradient(180deg, #fff8e8 0%, #fff4d8 100%);
    color: #8b5a11;
    border: 1px solid #f3d7a4;
}

.rep-referral-link-box {
    margin-top: 24px;
    padding: 24px;
    border: 1px solid rgba(196, 198, 204, 0.48);
    border-radius: 20px;
    background: linear-gradient(180deg, #ffffff 0%, #f5f6f7 100%);
    box-shadow: 0 20px 46px -34px rgba(15, 23, 42, 0.42);
}

.rep-referral-link-box p {
    margin: 12px 0 0;
    color: var(--rep-muted);
    font-size: var(--rep-type-body);
    line-height: 1.7;
}

.rep-referral-link-box input {
    width: 100%;
    min-height: 54px;
    padding: 14px 16px;
    border: 1px solid rgba(196, 198, 204, 0.9);
    border-radius: 14px;
    background: #ffffff;
    color: var(--rep-ink);
    margin-top: 6px;
}

#rep-map {
    height: 320px;
    width: 100%;
    border: 1px solid rgba(196, 198, 204, 0.9);
    border-radius: 18px;
    margin-bottom: 12px;
    overflow: hidden;
    background: #f8fafc;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.7);
}

/* Scoped guard against theme/template typography and button overrides. */
.rep-auth-shell,
.rep-registration-shell,
.rep-dashboard-shell {
    font-family: "Manrope", var(--e-global-typography-primary-font-family, sans-serif) !important;
    font-size: var(--rep-type-body) !important;
    line-height: 1.55 !important;
}

.rep-auth-shell *,
.rep-registration-shell *,
.rep-dashboard-shell * {
    box-sizing: border-box;
}

.rep-auth-shell h1,
.rep-auth-shell h2,
.rep-auth-shell h3,
.rep-registration-shell h1,
.rep-registration-shell h2,
.rep-registration-shell h3,
.rep-dashboard-shell h1,
.rep-dashboard-shell h2,
.rep-dashboard-shell h3,
.rep-dashboard-shell h4 {
    letter-spacing: 0 !important;
}

.rep-auth-shell p,
.rep-registration-shell p,
.rep-dashboard-shell p,
.rep-auth-shell label,
.rep-registration-shell label,
.rep-dashboard-shell label,
.rep-auth-shell input,
.rep-registration-shell input,
.rep-dashboard-shell input,
.rep-auth-shell textarea,
.rep-registration-shell textarea,
.rep-dashboard-shell textarea,
.rep-registration-shell select,
.rep-dashboard-shell select {
    font-family: "Manrope", sans-serif !important;
}

.rep-auth-submit button,
.rep-auth-submit button:hover,
.rep-auth-submit button:focus,
.rep-btn-hero-primary,
.rep-btn-hero-primary:visited,
.rep-btn-hero-primary:hover,
.rep-btn-hero-primary:focus,
.rep-btn-hero-secondary,
.rep-btn-hero-secondary:visited,
.rep-btn-hero-secondary:hover,
.rep-btn-hero-secondary:focus,
.rep-registration-card .rep-btn-primary,
.rep-registration-card .rep-btn-primary:hover,
.rep-registration-card .rep-btn-primary:focus,
.rep-dashboard-wrapper .rep-btn,
.rep-dashboard-wrapper .rep-btn:visited,
.rep-dashboard-wrapper .rep-btn:hover,
.rep-dashboard-wrapper .rep-btn:focus {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-family: "Manrope", sans-serif !important;
    min-height: 34px !important;
    padding: 0 12px !important;
    border-radius: 10px !important;
    font-size: 0.68rem !important;
    font-weight: 800 !important;
    letter-spacing: 0.08em !important;
    line-height: 1 !important;
    text-decoration: none !important;
    text-transform: uppercase !important;
    cursor: pointer;
}

.rep-table-actions .rep-btn,
.rep-table-actions .rep-btn:visited,
.rep-table-actions .rep-btn:hover,
.rep-table-actions .rep-btn:focus {
    width: 100% !important;
    min-height: 31px !important;
    padding: 0 10px !important;
    border-radius: 9px !important;
    font-size: 0.64rem !important;
    letter-spacing: 0.08em !important;
    justify-content: flex-start !important;
    gap: 7px !important;
    white-space: nowrap !important;
}

.rep-auth-form input[type="text"],
.rep-auth-form input[type="password"] {
    border: 0 !important;
    border-bottom: 1px solid var(--rep-outline) !important;
    border-radius: 0 !important;
    background: transparent !important;
    color: var(--rep-ink) !important;
    font-size: var(--rep-type-body) !important;
    line-height: 1.5 !important;
    box-shadow: none !important;
}

.rep-registration-card .rep-form-group input[type="text"],
.rep-registration-card .rep-form-group input[type="number"],
.rep-registration-card .rep-form-group input[type="email"],
.rep-registration-card .rep-form-group input[type="password"],
.rep-registration-card .rep-form-group textarea,
.rep-registration-card .rep-select {
    border: 0 !important;
    border-bottom: 1px solid var(--rep-outline) !important;
    border-radius: 0 !important;
    background-color: transparent !important;
    color: var(--rep-ink) !important;
    font-size: var(--rep-type-body) !important;
    box-shadow: none !important;
}

.rep-dashboard-shell .rep-form-group input[type="text"],
.rep-dashboard-shell .rep-form-group input[type="number"],
.rep-dashboard-shell .rep-form-group input[type="email"],
.rep-dashboard-shell .rep-form-group input[type="password"],
.rep-dashboard-shell .rep-form-group textarea,
.rep-dashboard-shell .rep-select,
.rep-dashboard-shell .rep-referral-link-box input {
    color: var(--rep-ink) !important;
    font-family: "Manrope", sans-serif !important;
    font-size: var(--rep-type-body) !important;
    line-height: 1.6 !important;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.7) !important;
}

.rep-auth-shell .rep-auth-intro h2,
.rep-dashboard-shell .rep-dashboard-hero h1 {
    font-family: "Noto Serif", Georgia, serif !important;
    font-size: var(--rep-type-display) !important;
    font-weight: 500 !important;
    line-height: 1.1 !important;
}

.rep-auth-shell .rep-auth-card-cta h3,
.rep-registration-shell .rep-registration-hero h2,
.rep-dashboard-shell .rep-content-area h2,
.rep-dashboard-shell .rep-sidebar-brand h2,
.rep-dashboard-shell .rep-package-price {
    font-family: "Noto Serif", Georgia, serif !important;
    font-size: var(--rep-type-heading-lg) !important;
    font-weight: 500 !important;
    line-height: 1.15 !important;
}

.rep-registration-shell .rep-registration-card-head h3,
.rep-dashboard-shell .rep-profile-header h3,
.rep-dashboard-shell .rep-form-step h3,
.rep-dashboard-shell .rep-packages-section h3,
.rep-dashboard-shell .rep-referral-link-box h4 {
    font-family: "Noto Serif", Georgia, serif !important;
    font-size: var(--rep-type-heading-md) !important;
    font-weight: 500 !important;
    line-height: 1.2 !important;
}

.rep-auth-shell .rep-auth-intro p,
.rep-auth-shell .rep-auth-card-cta p,
.rep-registration-shell .rep-registration-card-head p,
.rep-registration-shell .rep-registration-hero p,
.rep-dashboard-shell .rep-dashboard-hero p,
.rep-dashboard-shell .rep-profile-header p,
.rep-dashboard-shell .rep-package-meta,
.rep-dashboard-shell .rep-table td {
    font-size: var(--rep-type-body) !important;
    line-height: 1.65 !important;
}

.rep-auth-shell .rep-auth-kicker,
.rep-registration-shell .rep-auth-kicker,
.rep-dashboard-shell .rep-auth-kicker,
.rep-dashboard-shell .rep-step-label,
.rep-dashboard-shell .rep-table th,
.rep-dashboard-shell .rep-form-group label,
.rep-auth-shell .rep-auth-form label,
.rep-registration-shell .rep-form-group label {
    font-family: "Manrope", sans-serif !important;
    font-size: var(--rep-type-xs) !important;
    font-weight: 800 !important;
    letter-spacing: 0.14em !important;
    line-height: 1.2 !important;
    text-transform: uppercase !important;
}

.rep-dashboard-shell .rep-sidebar a,
.rep-dashboard-shell .rep-sidebar a:visited {
    color: rgba(240, 241, 242, 0.82) !important;
    font-size: var(--rep-type-body) !important;
    text-decoration: none !important;
}

.rep-dashboard-shell .rep-sidebar a.active,
.rep-dashboard-shell .rep-sidebar a.active:visited,
.rep-dashboard-shell .rep-sidebar a.active:hover,
.rep-dashboard-shell .rep-sidebar a.active:focus {
    color: var(--rep-primary-deep) !important;
}

.rep-auth-shell-combined {
    grid-template-columns: minmax(0, 580px) minmax(0, 460px) !important;
    align-items: stretch !important;
    width: min(100%, 1040px) !important;
    min-height: 660px !important;
    background: #ffffff !important;
    border: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
}

.rep-auth-visual {
    width: 100% !important;
    min-height: 660px !important;
    background-image: var(--rep-auth-image) !important;
    background-position: center !important;
    background-size: cover !important;
}

.rep-auth-panel {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    align-self: stretch !important;
    width: 100% !important;
    min-width: 0 !important;
    min-height: 660px !important;
    max-height: none !important;
    margin: 0 !important;
    padding: clamp(28px, 4vw, 56px) !important;
    overflow: visible !important;
    border: 1px solid rgba(196, 198, 204, 0.48) !important;
    border-left: 0 !important;
    border-radius: 0 !important;
    background: #ffffff !important;
    box-shadow: none !important;
}

.rep-auth-tabs {
    display: flex !important;
    align-items: stretch !important;
    justify-content: stretch !important;
    width: min(100%, 430px) !important;
    min-height: 52px !important;
    overflow: hidden !important;
    border: 1px solid rgba(196, 198, 204, 0.72) !important;
    border-bottom: 0 !important;
    border-radius: 8px 8px 0 0 !important;
    background: #ffffff !important;
}

.rep-auth-tab,
.rep-auth-switch-copy button {
    appearance: none !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    color: var(--rep-muted-soft) !important;
    font-family: "Manrope", sans-serif !important;
    font-size: var(--rep-type-sm) !important;
    font-weight: 800 !important;
    letter-spacing: 0 !important;
    line-height: 1 !important;
    text-transform: uppercase !important;
    cursor: pointer;
}

.rep-auth-shell-combined .rep-auth-tabs > button.rep-auth-tab,
.rep-auth-shell-combined .rep-auth-tabs > button.rep-auth-tab[type="button"] {
    position: relative !important;
    display: flex !important;
    flex: 0 0 50% !important;
    align-items: center !important;
    justify-content: center !important;
    justify-self: auto !important;
    align-self: stretch !important;
    width: 50% !important;
    min-width: 0 !important;
    max-width: 50% !important;
    min-height: 52px !important;
    padding: 0 16px !important;
    margin: 0 !important;
    text-align: center !important;
    white-space: nowrap !important;
}

.rep-auth-tab::after {
    content: "";
    position: absolute;
    right: 0;
    bottom: -1px;
    left: 0;
    height: 2px;
    background: transparent;
}

.rep-auth-tab.is-active {
    background: #ffffff !important;
    color: #1f5c4a !important;
}

.rep-auth-tab.is-active::after {
    background: #1f5c4a;
}

.rep-auth-tab-panel {
    width: min(100%, 430px) !important;
    max-height: calc(660px - 112px);
    padding: 24px 28px 28px !important;
    overflow-y: auto;
    border: 1px solid rgba(196, 198, 204, 0.72) !important;
    border-radius: 0 0 8px 8px !important;
    background: #ffffff !important;
    box-shadow: 0 22px 48px -34px rgba(15, 23, 42, 0.55) !important;
}

.rep-auth-tab-panel[hidden] {
    display: none;
}

.rep-auth-shell-combined .rep-auth-form {
    gap: 14px;
}

.rep-auth-shell-combined .rep-form-row {
    gap: 14px;
}

.rep-auth-shell-combined .rep-auth-field {
    display: block;
}

.rep-auth-shell-combined .rep-auth-form label {
    margin-bottom: 7px;
    color: #2f3437;
    font-size: 0.65rem !important;
    letter-spacing: 0 !important;
}

.rep-auth-shell-combined .rep-auth-form input[type="text"],
.rep-auth-shell-combined .rep-auth-form input[type="email"],
.rep-auth-shell-combined .rep-auth-form input[type="password"],
.rep-auth-shell-combined .rep-auth-form .rep-select {
    width: 100%;
    min-height: 36px;
    padding: 7px 10px;
    border: 1px solid rgba(196, 198, 204, 0.9) !important;
    border-radius: 5px !important;
    background: #ffffff !important;
    color: var(--rep-ink) !important;
    font-size: var(--rep-type-sm) !important;
    line-height: 1.35 !important;
    box-shadow: none !important;
}

.rep-auth-shell-combined .rep-auth-form .rep-select {
    appearance: auto;
}

.rep-auth-shell-combined .rep-auth-forgot {
    margin-top: 8px;
    color: #2f3437;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0;
    text-transform: none;
}

.rep-auth-shell-combined .rep-auth-remember label {
    gap: 8px;
    color: #2f3437;
    font-size: 0.72rem !important;
    font-weight: 800 !important;
    letter-spacing: 0 !important;
    text-transform: uppercase !important;
}

.rep-auth-shell-combined .rep-auth-submit {
    margin-top: 6px;
}

.rep-auth-shell-combined .rep-auth-submit button,
.rep-auth-shell-combined .rep-auth-submit button:hover,
.rep-auth-shell-combined .rep-auth-submit button:focus {
    min-height: 38px !important;
    padding: 0 18px !important;
    border-radius: 6px !important;
    background: #1f6b57 !important;
    border-color: #1f6b57 !important;
    color: #ffffff !important;
    font-size: 0.72rem !important;
    letter-spacing: 0 !important;
}

.rep-auth-switch-copy {
    margin: 0;
    color: #2f3437;
    font-size: var(--rep-type-sm);
    font-weight: 600;
    text-align: center;
}

.rep-auth-switch-copy button {
    padding: 0;
    color: #1f5c4a;
    text-decoration: underline;
    text-transform: none;
}

.rep-auth-shell-combined .rep-registration-status {
    min-height: 20px;
    margin-top: 0;
    font-size: var(--rep-type-sm);
}

.rep-registration-success {
    color: #147647;
}

.rep-registration-error {
    color: #b42318;
}

@media (max-width: 1200px) {
    .rep-dashboard-hero {
        grid-template-columns: 1fr;
    }

    .rep-dashboard-hero-meta {
        grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    }
}

/* Responsive */
@media (max-width: 980px) {
    .rep-auth-shell,
    .rep-registration-shell {
        grid-template-columns: 1fr !important;
    }

    .rep-auth-shell-combined {
        min-height: 0 !important;
    }

    .rep-auth-visual {
        min-height: 360px !important;
    }

    .rep-auth-panel {
        width: 100% !important;
        min-height: auto !important;
        max-height: none !important;
        padding: 30px 18px !important;
        border-left: 1px solid rgba(196, 198, 204, 0.48) !important;
    }

    .rep-auth-card-cta,
    .rep-registration-hero {
        min-height: 460px;
    }
}

@media (max-width: 768px) {
    .rep-auth-shell,
    .rep-registration-shell,
    .rep-form-row {
        grid-template-columns: 1fr;
    }

    .rep-auth-shell,
    .rep-registration-shell {
        margin: 24px auto;
        border-radius: 16px;
    }

    .rep-auth-shell-combined {
        display: block !important;
        width: min(100% - 24px, 430px) !important;
        margin: 28px auto !important;
        border-radius: 10px !important;
        overflow: visible !important;
    }

    .rep-auth-shell-combined .rep-auth-visual {
        display: none !important;
    }

    .rep-auth-card-login,
    .rep-registration-form-wrap,
    .rep-auth-card-cta,
    .rep-registration-hero {
        padding: 28px 22px;
    }

    .rep-auth-form-wrap,
    .rep-auth-intro,
    .rep-auth-cta-content,
    .rep-registration-hero-copy {
        max-width: none;
    }

    .rep-auth-brand {
        margin-bottom: 32px;
        font-size: var(--rep-type-body);
        letter-spacing: 0.18em;
    }

    .rep-auth-field-head {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }

    .rep-auth-visual {
        min-height: 300px !important;
    }

    .rep-auth-panel {
        width: 100% !important;
        margin: 0 !important;
        min-height: 0 !important;
        padding: 0 !important;
        border: 0 !important;
        background: transparent !important;
    }

    .rep-auth-tabs,
    .rep-auth-tab-panel {
        width: 100% !important;
    }

    .rep-auth-tab-panel {
        max-height: none;
        padding: 20px 18px 22px !important;
    }

    .rep-dashboard-wrapper {
        flex-direction: column;
    }
    
    .rep-sidebar {
        width: 100%;
        border-right: none;
        border-bottom: 1px solid #e2e8f0;
    }
    
    .rep-sidebar ul {
        display: flex;
        overflow-x: auto;
    }
    
    .rep-sidebar a {
        white-space: nowrap;
        border-left: none;
        border-bottom: 3px solid transparent;
    }

    .rep-sidebar a.active {
        border-bottom-color: #2563eb;
    }

    .rep-metric-cards {
        flex-direction: column;
    }

    .rep-content-area {
        padding: 20px;
    }
}

@media (max-width: 980px) {
    .rep-dashboard-shell {
        width: calc(100vw - 24px);
        margin: 24px 0;
        padding: 14px;
        border-radius: 22px;
    }

    .rep-dashboard-wrapper {
        grid-template-columns: 1fr;
    }

    .rep-sidebar {
        padding: 24px 20px;
    }

    .rep-sidebar ul {
        flex-direction: row;
        flex-wrap: wrap;
    }

    .rep-sidebar li {
        flex: 1 1 180px;
    }

    .rep-sidebar a,
    .rep-sidebar a:visited {
        justify-content: center;
        text-align: center;
    }

    .rep-content-area {
        padding: 22px;
    }
}

@media (max-width: 768px) {
    .rep-dashboard-shell {
        width: calc(100vw - 16px);
        margin: 18px 0;
        padding: 12px;
        border-radius: 18px;
    }

    .rep-dashboard-hero {
        padding: 22px;
        border-radius: 20px;
        margin-bottom: 20px;
    }

    .rep-tab-content,
    .rep-form-step,
    .rep-profile-header,
    .rep-referral-link-box {
        padding: 20px;
        border-radius: 16px;
    }

    .rep-sidebar-account {
        padding: 14px;
    }

    .rep-sidebar li {
        flex: 1 1 100%;
    }

    .rep-content-area h2 {
        margin-bottom: 20px;
        font-size: var(--rep-type-heading-lg);
    }

    .rep-table-scroll {
        overflow-x: auto;
    }

    .rep-table {
        display: table;
        min-width: 680px;
        white-space: normal;
    }

    .rep-form-group .wp-editor-tools {
        flex-direction: column;
        align-items: stretch;
        padding: 14px 12px 0;
    }

    .rep-form-group .wp-editor-tabs {
        justify-content: flex-start;
    }

    .rep-form-group .wp-editor-tabs .wp-switch-editor,
    .rep-form-group .wp-editor-tabs .wp-switch-editor:visited,
    .rep-form-group .wp-editor-tabs .wp-switch-editor:hover,
    .rep-form-group .wp-editor-tabs .wp-switch-editor:focus {
        min-width: 0;
        flex: 1 1 auto;
        padding: 0 14px !important;
    }

    .rep-form-group textarea.wp-editor-area {
        min-height: 420px !important;
    }

    .rep-form-group .mce-edit-area iframe {
        min-height: 420px !important;
        height: 420px !important;
    }

    .rep-panel-head {
        flex-direction: column;
        align-items: stretch;
    }

    .rep-upload-dropzone {
        padding: 16px 18px;
    }

    .rep-upload-dropzone strong {
        font-size: var(--rep-type-body);
    }

    .rep-image-preview-grid {
        gap: 8px;
    }
}
