.eratgo-va-shell,
.eratgo-va-shell * {
    box-sizing: border-box;
}

body.eratgo-affiliate-viewport {
    margin: 0 !important;
    padding: 0 !important;
    overflow-x: hidden;
    background: #f8fafc;
}

body.eratgo-affiliate-viewport #wpadminbar,
body.eratgo-affiliate-viewport header,
body.eratgo-affiliate-viewport nav,
body.eratgo-affiliate-viewport .navbar,
body.eratgo-affiliate-viewport .nav,
body.eratgo-affiliate-viewport .menu,
body.eratgo-affiliate-viewport .site-header,
body.eratgo-affiliate-viewport .site-nav,
body.eratgo-affiliate-viewport .main-navigation,
body.eratgo-affiliate-viewport #site-navigation,
body.eratgo-affiliate-viewport .top-bar,
body.eratgo-affiliate-viewport [role="navigation"],
body.eratgo-affiliate-viewport .header {
    display: none !important;
}

body.eratgo-affiliate-viewport .eratgo-auth-page {
    max-width: none;
    width: 100vw;
    min-height: 100vh;
    margin: 0;
    padding: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
}

body.eratgo-affiliate-viewport .eratgo-auth-grid {
    width: min(1100px, 100%);
}

body.eratgo-affiliate-viewport .eratgo-dash {
    width: 100vw;
    min-height: 100vh;
    overflow-x: hidden;
}

.eratgo-dash-nav-item-logout svg {
    width: 16px;
    height: 16px;
}

.eratgo-dash-section {
    display: none;
}

.eratgo-dash-section.is-active {
    display: block;
}

.eratgo-vendor-products-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.eratgo-dash-btn {
    border-radius: 10px;
    border: 1px solid #e2e8f0;
    background: #10b981;
    color: #ffffff;
    padding: 10px 14px;
    font-weight: 800;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.eratgo-dash-btn:hover {
    background: #059669;
}

.eratgo-dash-btn svg {
    width: 18px;
    height: 18px;
}

.eratgo-dash-btn--primary {
    background: linear-gradient(135deg, #10b981, #059669);
    border-color: transparent;
    box-shadow: 0 10px 18px -12px rgba(16, 185, 129, 0.9);
}

.eratgo-dash-btn--primary:hover {
    background: linear-gradient(135deg, #059669, #047857);
}

.eratgo-dash-btn.is-secondary {
    background: #ffffff;
    color: #0f172a;
}

.eratgo-dash-btn.is-secondary:hover {
    background: #f8fafc;
}

.eratgo-dash-btn.is-danger {
    background: #ef4444;
    border-color: #ef4444;
}

.eratgo-dash-btn.is-danger:hover {
    background: #dc2626;
    border-color: #dc2626;
}

.eratgo-vendor-muted {
    font-size: 12px;
    font-weight: 700;
    color: #94a3b8;
    margin-top: 4px;
}

.eratgo-vendor-form label {
    display: block;
    font-size: 12px;
    font-weight: 800;
    color: #334155;
    margin-bottom: 6px;
}

.eratgo-vendor-form input,
.eratgo-vendor-form select,
.eratgo-vendor-form textarea {
    width: 100%;
    border: 1px solid #cbd5e1;
    border-radius: 14px;
    padding: 10px 12px;
    font-size: 13px;
    font-weight: 600;
    color: #0f172a;
    background: #ffffff;
}

.eratgo-vendor-form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 12px;
}

.eratgo-vendor-form-actions {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 12px;
}

.eratgo-vendor-status {
    font-size: 13px;
    font-weight: 700;
    color: #475569;
}

@media (max-width: 900px) {
    .eratgo-vendor-form-grid {
        grid-template-columns: 1fr;
    }
}

.eratgo-modal-wrap {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.5);
    z-index: 100000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 22px;
}

.eratgo-modal {
    width: min(860px, 100%);
    max-height: min(86vh, 820px);
    background: #ffffff;
    border-radius: 18px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 20px 60px -10px rgba(0, 0, 0, 0.2);
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.eratgo-modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 18px;
    border-bottom: 1px solid #e2e8f0;
    background: linear-gradient(180deg, #f0fdf4, #ffffff);
}

.eratgo-modal-header h3 {
    margin: 0;
    font-size: 14px;
    font-weight: 900;
    color: #0f172a;
}

.eratgo-modal-close {
    border: 1px solid #e2e8f0;
    background: #ffffff;
    border-radius: 12px;
    padding: 6px 10px;
    cursor: pointer;
}

.eratgo-modal-body {
    padding: 16px 18px 6px;
    overflow: auto;
}

.eratgo-modal-footer {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 10px;
    padding: 14px 18px;
    border-top: 1px solid #e2e8f0;
    background: #f8fafc;
}

.eratgo-modal-footer .eratgo-btn {
    min-width: 120px;
}

.eratgo-form-row {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-bottom: 12px;
}

.eratgo-form-row label {
    font-size: 12px;
    font-weight: 800;
    color: #334155;
}

.eratgo-form-row input,
.eratgo-form-row select,
.eratgo-form-row textarea {
    border: 1px solid #cbd5e1;
    border-radius: 14px;
    padding: 10px 12px;
    font-size: 13px;
    font-weight: 600;
    color: #0f172a;
    background: #ffffff;
}

.eratgo-form-row input[type="file"] {
    padding: 10px 12px;
    border-style: dashed;
    background: #f8fafc;
}

.eratgo-form-row input:focus,
.eratgo-form-row select:focus,
.eratgo-form-row textarea:focus {
    outline: none;
    border-color: #10b981;
    box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.18);
}

.eratgo-form-row-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.eratgo-upload-preview {
    margin-top: 10px;
    border-radius: 14px;
    border: 1px dashed #cbd5e1;
    background: #f8fafc;
    padding: 10px;
}

.eratgo-upload-preview img {
    width: 100%;
    max-height: 180px;
    object-fit: cover;
    border-radius: 12px;
    display: block;
}

.eratgo-upload-link {
    margin-top: 8px;
    display: inline-flex;
    font-size: 13px;
    font-weight: 800;
    color: #047857;
    text-decoration: underline;
}

.eratgo-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 14px;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    border: 1px solid #e2e8f0;
}

.eratgo-btn-primary {
    background: #10b981;
    border-color: #10b981;
    color: #ffffff;
}

.eratgo-btn-primary:hover {
    background: #059669;
    border-color: #059669;
}

.eratgo-btn-secondary {
    background: #ffffff;
    color: #0f172a;
}

.eratgo-btn-secondary:hover {
    background: #f8fafc;
}

@media (max-width: 680px) {
    .eratgo-modal-wrap {
        padding: 12px;
    }

    .eratgo-modal {
        max-height: 92vh;
        border-radius: 16px;
    }

    .eratgo-modal-header {
        padding: 14px 14px;
    }

    .eratgo-modal-body {
        padding: 14px 14px 6px;
    }

    .eratgo-modal-footer {
        padding: 12px 14px;
        justify-content: stretch;
    }

    .eratgo-modal-footer .eratgo-btn {
        flex: 1;
    }

    .eratgo-form-row-grid {
        grid-template-columns: 1fr;
    }
}

.eratgo-auth-page {
    max-width: 1100px;
    margin: 0 auto;
    padding: 10px 0;
}

.eratgo-auth-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    align-items: stretch;
}

.eratgo-auth-aside {
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: linear-gradient(135deg, #065f46 0%, #047857 50%, #10b981 100%);
    box-shadow: 0 40px 100px -55px rgba(2, 6, 23, 0.4);
    padding: 26px;
    color: #ffffff;
    overflow: hidden;
    position: relative;
}

.eratgo-auth-aside:before {
    content: "";
    position: absolute;
    top: -160px;
    right: -140px;
    width: 420px;
    height: 420px;
    background: rgba(255, 255, 255, 0.15);
    filter: blur(90px);
    border-radius: 999px;
}

.eratgo-auth-pill {
    position: relative;
    display: inline-flex;
    padding: 6px 10px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.18);
    border: 1px solid rgba(255, 255, 255, 0.25);
    color: #d1fae5;
    font-size: 10px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.10em;
    margin: 0 0 14px;
}

.eratgo-auth-aside h3 {
    position: relative;
    margin: 0 0 10px;
    font-size: 30px;
    line-height: 1.1;
    font-weight: 900;
}

.eratgo-auth-aside-text {
    position: relative;
    margin: 0 0 18px;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 700;
    font-size: 14px;
    line-height: 1.5;
}

.eratgo-auth-steps {
    position: relative;
    display: grid;
    gap: 10px;
}

.eratgo-auth-step {
    display: flex;
    gap: 10px;
    align-items: center;
    padding: 10px 12px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.18);
    color: #fff;
    font-weight: 800;
    font-size: 13px;
}

.eratgo-auth-step-dot {
    width: 24px;
    height: 24px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.35);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 900;
    font-size: 12px;
    color: #d1fae5;
}

.eratgo-va-shell {
    font-family: inherit;
    line-height: 1.35;
}

.eratgo-va-shell {
    max-width: 920px !important;
    margin: 0 auto !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 24px !important;
    background: #ffffff !important;
    box-shadow: 0 4px 20px -2px rgba(0, 0, 0, 0.08) !important;
    overflow: hidden !important;
}

.eratgo-va-header {
    padding: 24px !important;
    border-bottom: 1px solid #e2e8f0 !important;
    background: linear-gradient(180deg, #f0fdf4, #f8fafc) !important;
}

.eratgo-va-header h2 {
    margin: 0 !important;
    font-size: 30px !important;
    line-height: 1.15 !important;
    color: #0f172a !important;
}

.eratgo-va-header p {
    margin: 8px 0 0 !important;
    color: #64748b !important;
    font-weight: 600 !important;
}

.eratgo-va-badge {
    display: inline-flex;
    padding: 6px 10px;
    border-radius: 999px;
    background: #ecfdf5;
    border: 1px solid #d1fae5;
    color: #047857;
    font-size: 10px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 12px !important;
}

.eratgo-va-tabs {
    display: grid !important;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    margin: 20px !important;
    background: #f1f5f9 !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 14px !important;
    padding: 5px !important;
}

.eratgo-va-tabs button {
    border: 0 !important;
    background: transparent !important;
    border-radius: 10px !important;
    padding: 10px 12px !important;
    font-weight: 800 !important;
    color: #64748b !important;
    cursor: pointer !important;
    appearance: none;
}

.eratgo-va-tabs button.is-active {
    background: #10b981;
    color: #ffffff;
}

.eratgo-va-form {
    margin: 0 20px 20px !important;
    padding: 4px 0 0 !important;
}

.eratgo-va-form.is-hidden {
    display: none;
}

.eratgo-va-form label {
    display: block !important;
    margin-bottom: 12px !important;
    font-size: 12px !important;
    font-weight: 800 !important;
    color: #334155 !important;
}

.eratgo-va-form input[type="text"],
.eratgo-va-form input[type="email"],
.eratgo-va-form input[type="password"] {
    width: 100% !important;
    max-width: 100% !important;
    border-radius: 14px !important;
    border: 1px solid #cbd5e1 !important;
    padding: 10px 12px !important;
    margin-top: 5px !important;
    color: #0f172a !important;
    font-weight: 600 !important;
    background: #ffffff !important;
    box-shadow: none !important;
}

.eratgo-va-form select {
    width: 100% !important;
    max-width: 100% !important;
    border-radius: 14px !important;
    border: 1px solid #cbd5e1 !important;
    padding: 10px 12px !important;
    margin-top: 5px !important;
    color: #0f172a !important;
    font-weight: 600 !important;
    background: #ffffff !important;
    box-shadow: none !important;
}

.eratgo-va-form select:focus {
    outline: none;
    border-color: #10b981;
    box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.18);
}

.eratgo-va-form input:focus {
    outline: none;
    border-color: #10b981;
    box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.18);
}

.eratgo-va-checkbox {
    display: flex !important;
    align-items: center;
    gap: 8px;
    font-size: 13px !important;
    font-weight: 700 !important;
    color: #475569 !important;
}

.eratgo-va-checkbox input {
    margin: 0;
}

.eratgo-va-help {
    margin: 10px 0 0;
    font-size: 13px;
    font-weight: 800;
}

.eratgo-va-help a {
    color: #047857;
    text-decoration: underline;
}

.eratgo-va-grid {
    display: grid !important;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.eratgo-va-form button[type="submit"] {
    width: 100% !important;
    border: 1px solid #10b981 !important;
    background: #10b981 !important;
    color: #fff !important;
    border-radius: 14px !important;
    padding: 12px 14px !important;
    font-size: 16px !important;
    font-weight: 800 !important;
    cursor: pointer !important;
    appearance: none;
}

.eratgo-va-form button[type="submit"]:hover {
    background: #059669;
    border-color: #059669;
}

.eratgo-va-status {
    min-height: 18px;
    margin: 10px 0 0;
    color: #64748b;
    font-size: 12px;
    font-weight: 700;
}

.eratgo-va-status.is-error {
    color: #dc2626;
}

.eratgo-va-status.is-success {
    color: #059669;
}

/* ==============================
    DASHBOARD - PANEL AFILIADO
    Estilo EratGo Admin
    ============================== */

.eratgo-dash {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
    background: #f0f2f5;
    min-height: 100vh;
    color: #1e293b;
}

.eratgo-dash-container {
    display: flex;
    min-height: calc(100vh - 80px);
}

.eratgo-dash-sidebar {
    width: 240px;
    background: #1e293b;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    flex-shrink: 0;
}

.eratgo-dash-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 20px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.eratgo-dash-logo svg {
    width: 28px;
    height: 28px;
    color: #10b981;
}

.eratgo-dash-logo span {
    color: #ffffff;
    font-size: 18px;
    font-weight: 700;
}

.eratgo-dash-nav {
    flex: 1;
    padding: 16px 12px;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.eratgo-dash-nav-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 14px;
    border: none;
    border-radius: 10px;
    background: transparent;
    color: #94a3b8;
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
    text-align: left;
    width: 100%;
    transition: all 0.2s ease;
    text-decoration: none;
}

.eratgo-dash-nav-item:hover,
.eratgo-dash-nav-item.is-active {
    background: rgba(255,255,255,0.05);
    color: #e2e8f0;
}

.eratgo-dash-nav-item.is-active {
    background: #10b981;
}

.eratgo-dash-nav-item svg {
    width: 20px;
    height: 20px;
}

.eratgo-dash-sidebar-footer {
    padding: 12px;
    border-top: 1px solid rgba(255,255,255,0.1);
}

.eratgo-dash-nav-item-logout {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 14px;
    border-radius: 10px;
    background: transparent;
    color: #64748b;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.2s ease;
}

.eratgo-dash-nav-item-logout:hover {
    background: rgba(255,255,255,0.05);
    color: #e2e8f0;
}

.eratgo-dash-main {
    flex: 1;
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.eratgo-dash-header-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 24px;
    background: #ffffff;
    border-bottom: 1px solid #e2e8f0;
    flex-wrap: wrap;
    gap: 12px;
}

.eratgo-dash-breadcrumb {
    display: flex;
    align-items: center;
    gap: 10px;
}

.eratgo-sidebar-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
    background: #ffffff;
    cursor: pointer;
    color: #0f172a;
}

.eratgo-sidebar-toggle:hover {
    background: #f8fafc;
}

.eratgo-sidebar-toggle svg {
    width: 18px;
    height: 18px;
}

.eratgo-dash.is-collapsed .eratgo-dash-sidebar {
    width: 74px;
}

.eratgo-dash.is-collapsed .eratgo-dash-logo span {
    display: none;
}

.eratgo-dash.is-collapsed .eratgo-dash-nav-item,
.eratgo-dash.is-collapsed .eratgo-dash-nav-item-logout {
    justify-content: center;
    padding: 12px;
}

.eratgo-dash.is-collapsed .eratgo-dash-nav-item svg,
.eratgo-dash.is-collapsed .eratgo-dash-nav-item-logout svg {
    margin: 0;
}

.eratgo-dash.is-collapsed .eratgo-dash-nav-item {
    gap: 0;
}

.eratgo-dash.is-collapsed .eratgo-dash-nav-item::after,
.eratgo-dash.is-collapsed .eratgo-dash-nav-item-logout::after {
    content: "";
}

.eratgo-dash.is-collapsed .eratgo-dash-nav-item,
.eratgo-dash.is-collapsed .eratgo-dash-nav-item-logout {
    font-size: 0;
}

.eratgo-vendor-thumb {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
    object-fit: cover;
    background: #f8fafc;
    display: block;
}

.eratgo-vendor-thumb--empty,
.eratgo-vendor-file--empty {
    color: #94a3b8;
    font-weight: 800;
}

.eratgo-vendor-file {
    display: inline-flex;
    padding: 6px 10px;
    border-radius: 10px;
    border: 1px solid #e2e8f0;
    background: #ffffff;
    font-size: 12px;
    font-weight: 900;
    color: #047857;
    text-decoration: none;
}

.eratgo-vendor-file:hover {
    background: #f0fdf4;
    border-color: #86efac;
}

.eratgo-dash-breadcrumb svg {
    color: #10b981;
    font-size: 24px;
}

.eratgo-dash-breadcrumb h2 {
    margin: 0;
    font-size: 20px;
    font-weight: 700;
    color: #1e293b;
}

.eratgo-dash-header-actions {
    display: flex;
    gap: 10px;
    align-items: center;
}

.eratgo-dash-content-area {
    flex: 1;
    padding: 24px;
    overflow-y: auto;
}

/* TOP HEADER */
.eratgo-dash-top {
    background: #ffffff;
    border-bottom: 1px solid #e2e8f0;
}

.eratgo-dash-top-inner {
    max-width: 100%;
    padding: 20px 24px;
}

.eratgo-dash-top-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px;
}

.eratgo-dash-top-left {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.eratgo-dash-pill {
    display: inline-flex;
    padding: 5px 12px;
    border-radius: 999px;
    background: #ecfdf5;
    border: 1px solid #d1fae5;
    color: #047857;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    width: fit-content;
}

.eratgo-dash-top-left h1 {
    margin: 0;
    font-size: 24px;
    font-weight: 700;
    color: #0f172a;
}

.eratgo-dash-sub {
    margin: 0;
    color: #64748b;
    font-size: 14px;
    font-weight: 500;
}

.eratgo-dash-actions {
    display: flex;
    gap: 10px;
}

.eratgo-dash-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 10px 16px;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    border: 1px solid #e2e8f0;
    background: #ffffff;
    color: #475569;
    transition: all 0.2s ease;
    text-decoration: none;
}

.eratgo-dash-btn:hover {
    border-color: #10b981;
    color: #10b981;
}

.eratgo-dash-btn-primary {
    background: #10b981;
    border-color: #10b981;
    color: #ffffff;
}

.eratgo-dash-btn-primary:hover {
    background: #059669;
    border-color: #059669;
    color: #ffffff;
}

/* RETIROS */
.eratgo-withdraw-row {
    padding-bottom: 14px;
    border-bottom: 2px solid #f1f5f9;
    display: flex;
    align-items: center;
    gap: 10px;
}

.eratgo-dash-card h2 svg {
    color: #10b981;
}

.eratgo-dash-text {
    margin: 0 0 12px;
    color: #64748b;
    font-weight: 500;
    font-size: 14px;
}

.eratgo-dash-text strong {
    color: #1e293b;
}

.eratgo-dash-hint {
    margin: 12px 0 0;
    color: #94a3b8;
    font-weight: 500;
    font-size: 13px;
}

.eratgo-dash-hint span {
    color: #10b981;
    font-weight: 700;
}

.eratgo-dash-metrics {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
}

.eratgo-dash-metric {
    border-radius: 12px;
    border: 1px solid #f1f5f9;
    background: linear-gradient(135deg, #f8fafc, #ffffff);
    padding: 16px;
    text-align: center;
    transition: all 0.2s ease;
}

.eratgo-dash-metric:hover {
    border-color: #10b981;
    box-shadow: 0 2px 8px rgba(16, 185, 129, 0.1);
}

.eratgo-dash-metric p {
    margin: 0 0 8px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #64748b;
}

.eratgo-dash-metric strong {
    display: block;
    font-size: 22px;
    font-weight: 800;
    color: #0f172a;
}

.eratgo-dash-card-wide {
    grid-column: 1 / -1;
}

.eratgo-dash-ref {
    display: flex;
    gap: 10px;
    align-items: center;
}

.eratgo-dash-ref input {
    flex: 1;
    border-radius: 10px;
    border: 2px solid #e2e8f0;
    background: #f8fafc;
    color: #475569;
    padding: 12px 14px;
    font-weight: 600;
    font-size: 14px;
    transition: border-color 0.2s ease;
}

.eratgo-dash-ref input:focus {
    outline: none;
    border-color: #10b981;
    background: #ffffff;
}

.eratgo-dash-copy {
    border-radius: 10px;
    border: none;
    background: linear-gradient(135deg, #10b981, #059669);
    color: #ffffff;
    padding: 12px 18px;
    font-weight: 700;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 0 2px 8px rgba(16, 185, 129, 0.3);
}

.eratgo-dash-copy:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.4);
}

.eratgo-dash-copy:active {
    transform: translateY(0);
}

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

/* CARDS */
.eratgo-dash-card {
    border-radius: 12px;
    border: 1px solid #e2e8f0;
    background: #ffffff;
    padding: 20px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.eratgo-dash-card h2 {
    margin: 0 0 16px;
    font-size: 15px;
    font-weight: 700;
    color: #0f172a;
    padding-bottom: 12px;
    border-bottom: 1px solid #f1f5f9;
    display: flex;
    align-items: center;
    gap: 8px;
}

.eratgo-dash-text {
    margin: 0 0 8px;
    color: #64748b;
    font-weight: 500;
    font-size: 14px;
}

.eratgo-dash-hint {
    margin: 8px 0 0;
    color: #94a3b8;
    font-weight: 500;
    font-size: 12px;
}

.eratgo-dash-hint span {
    color: #15803d;
    font-weight: 600;
}

/* METRICAS */
.eratgo-dash-metrics {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
}

.eratgo-dash-metric {
    border-radius: 10px;
    border: 1px solid #f1f5f9;
    background: #f8fafc;
    padding: 14px;
}

.eratgo-dash-metric p {
    margin: 0 0 6px;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #64748b;
}

.eratgo-dash-metric strong {
    display: block;
    font-size: 20px;
    font-weight: 700;
    color: #0f172a;
}

/* CARD ANCHO */
.eratgo-dash-card-wide {
    grid-column: 1 / -1;
}

/* LINK DE REFERIDO */
.eratgo-dash-ref {
    display: flex;
    gap: 8px;
    align-items: center;
}

.eratgo-dash-ref input {
    flex: 1;
    border-radius: 8px;
    border: 1px solid #e2e8f0;
    background: #f8fafc;
    color: #475569;
    padding: 10px 12px;
    font-weight: 500;
    font-size: 13px;
}

.eratgo-dash-copy {
    border-radius: 8px;
    border: none;
    background: #15803d;
    color: #ffffff;
    padding: 10px 14px;
    font-weight: 600;
    font-size: 13px;
    cursor: pointer;
    transition: background 0.2s ease;
}

.eratgo-dash-copy:hover {
    background: #166534;
}

/* RETIROS */
.eratgo-withdraw-row {
    display: flex;
    gap: 10px;
    align-items: flex-end;
    margin-top: 14px;
    flex-wrap: wrap;
}

.eratgo-withdraw-field {
    display: flex;
    flex-direction: column;
    gap: 4px;
    flex: 1;
    min-width: 140px;
}

.eratgo-withdraw-field label {
    font-size: 12px;
    font-weight: 600;
    color: #475569;
}

.eratgo-withdraw-field select,
.eratgo-withdraw-field input {
    border-radius: 8px;
    border: 1px solid #e2e8f0;
    background: #ffffff;
    color: #1e293b;
    padding: 10px 12px;
    font-weight: 500;
    font-size: 14px;
    transition: border-color 0.2s ease;
}

.eratgo-withdraw-field select:focus,
.eratgo-withdraw-field input:focus {
    outline: none;
    border-color: #15803d;
    box-shadow: 0 0 0 3px rgba(21, 128, 61, 0.1);
}

.eratgo-withdraw-btn {
    border-radius: 8px;
    border: none;
    background: #15803d;
    color: #ffffff;
    padding: 10px 16px;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    transition: background 0.2s ease;
    white-space: nowrap;
}

.eratgo-withdraw-btn:hover:not(:disabled) {
    background: #166534;
}

.eratgo-withdraw-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.eratgo-withdraw-hint {
    margin: 10px 0 0;
    color: #94a3b8;
    font-weight: 500;
    font-size: 12px;
}

.eratgo-withdraw-status {
    margin: 10px 0 0;
    font-weight: 600;
    font-size: 13px;
    color: #475569;
}

.eratgo-withdraw-status.is-error {
    color: #dc2626;
}

.eratgo-withdraw-status.is-ok,
.eratgo-withdraw-status.is-success {
    color: #15803d;
}

/* PERFIL */
.eratgo-profile-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    margin-bottom: 14px;
}

.eratgo-profile-form button[type="submit"] {
    margin-top: 8px;
}

/* NOTIFICACIONES */
.eratgo-vendor-notifs {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.eratgo-vendor-notif {
    border-radius: 8px;
    border: 1px solid #f1f5f9;
    background: #f8fafc;
    padding: 12px;
}

.eratgo-vendor-notif strong {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: #1e293b;
}

.eratgo-vendor-notif span {
    display: block;
    margin-top: 2px;
    font-size: 11px;
    font-weight: 500;
    color: #94a3b8;
}

.eratgo-vendor-notif p {
    margin: 6px 0 0;
    font-size: 13px;
    font-weight: 500;
    color: #64748b;
}

/* TABLAS */
.eratgo-dash-table {
    overflow: hidden;
    border-radius: 10px;
    border: 1px solid #e2e8f0;
    background: #ffffff;
}

.eratgo-dash-table table {
    width: 100%;
    border-collapse: collapse;
    min-width: 600px;
}

.eratgo-dash-table th,
.eratgo-dash-table td {
    padding: 12px 14px;
    text-align: left;
    border-bottom: 1px solid #f1f5f9;
    color: #475569;
    font-weight: 500;
    font-size: 13px;
}

.eratgo-dash-table th {
    color: #64748b;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    background: #f8fafc;
    border-bottom: 1px solid #e2e8f0;
}

.eratgo-dash-table tbody tr:last-child td {
    border-bottom: none;
}

.eratgo-dash-table tbody tr:hover td {
    background: #f8fafc;
}

/* BADGES DE ESTADO */
.eratgo-status {
    display: inline-flex;
    align-items: center;
    padding: 4px 10px;
    border-radius: 6px;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    border: 1px solid;
}

.eratgo-status-pending {
    background: #fefce8;
    border-color: #fde047;
    color: #a16207;
}

.eratgo-status-approved {
    background: #f0fdf4;
    border-color: #86efac;
    color: #15803d;
}

.eratgo-status-paid {
    background: #eff6ff;
    border-color: #bfdbfe;
    color: #1d4ed8;
}

/* SELECTORES */
.eratgo-withdraw-field select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%2364748b' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    padding-right: 32px;
}

/* ==============================
   RESPONSIVE
   ============================== */

@media (max-width: 1024px) {
    .eratgo-dash-metrics {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .eratgo-dash-container {
        padding: 16px;
    }

    .eratgo-dash-grid {
        grid-template-columns: 1fr;
    }

    .eratgo-dash-card-wide {
        grid-column: auto;
    }

    .eratgo-dash-top-inner h1 {
        font-size: 22px;
    }

    .eratgo-withdraw-row {
        flex-direction: column;
    }

    .eratgo-withdraw-field {
        width: 100%;
    }

    .eratgo-profile-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .eratgo-dash-top-inner {
        padding: 16px;
    }

    .eratgo-dash-container {
        padding: 12px;
    }

    .eratgo-dash-card {
        padding: 16px;
    }

    .eratgo-dash-card h2 {
        font-size: 14px;
    }

    .eratgo-dash-metric strong {
        font-size: 18px;
    }

    .eratgo-dash-metrics {
        grid-template-columns: 1fr;
    }

    .eratgo-dash-ref {
        flex-direction: column;
    }

    .eratgo-dash-ref input {
        width: 100%;
    }
}
