body.rsy-client {
    background: #f4f7fb;
}
body.rsy-client .rsy-footer,
body.rsy-client .rsy-clientbar,
body.rsy-client #rsy-floating-promo {
    display: none !important;
}
body.rsy-client .rsy-sticky-stack {
    display: block !important;
    position: sticky;
    top: 0;
    z-index: 80;
}
body.rsy-client #main-body {
    background: #f4f7fb;
    margin-left: 248px;
    padding-top: 28px;
    min-height: calc(100vh - 112px);
}
body.rsy-client #main-body > .container {
    max-width: 1240px;
    padding: 8px 28px 56px;
}
body.rsy-client #main-body .col-lg-4.col-xl-3,
body.rsy-client #main-body .sidebar {
    display: none !important;
}
body.rsy-client #main-body .col-lg-8,
body.rsy-client #main-body .col-xl-9,
body.rsy-client #main-body .primary-content {
    flex: 0 0 100%;
    max-width: 100%;
    width: 100%;
}

.rsy-app-side {
    position: fixed;
    top: 112px;
    left: 0;
    bottom: 0;
    width: 248px;
    background: #fff;
    border-right: 1px solid #e7eef6;
    z-index: 40;
    display: flex;
    flex-direction: column;
    padding: 8px 12px 10px;
    overflow: hidden;
}
.rsy-app-label {
    margin: 4px 10px 2px;
    color: #94a3b8;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
}
.rsy-app-nav a {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #1e293b !important;
    text-decoration: none;
    border-radius: 10px;
    padding: 5px 10px;
    font-weight: 650;
    font-size: 13.5px;
    line-height: 1.3;
}
.rsy-app-nav a.rsy-app-buy {
    background: #2563eb;
    color: #fff !important;
    margin: 4px 0 8px;
}
.rsy-app-nav a.rsy-app-buy i,
.rsy-app-nav a.rsy-app-buy span {
    color: #fff !important;
}
.rsy-app-nav a.rsy-app-buy:hover {
    background: #1d4ed8;
    color: #fff !important;
}
.rsy-app-nav a i {
    width: 16px;
    text-align: center;
    color: #64748b;
}
.rsy-app-nav a b {
    margin-left: auto;
    background: #eef2ff;
    color: #3730a3;
    border-radius: 999px;
    min-width: 22px;
    text-align: center;
    font-size: 12px;
    padding: 1px 6px;
}
.rsy-app-nav a.is-on,
.rsy-app-nav a:hover {
    background: #f3f6fb;
    color: #1d4ed8;
}
.rsy-app-nav a.is-on i,
.rsy-app-nav a:hover i { color: #1d4ed8; }
.rsy-app-support {
    margin-top: 8px;
    background: #f8fafc;
    border: 1px solid #e7eef6;
    border-radius: 12px;
    padding: 8px 10px;
}
.rsy-app-support strong,
.rsy-app-support a { display: block; }
.rsy-app-support strong { font-size: 13px; }
.rsy-app-support a { color: #64748b; font-size: 13px; text-decoration: none; margin-top: 2px; }
.rsy-app-support-btn {
    margin-top: 10px !important;
    background: #fff;
    border: 1px solid #dbe3ee;
    border-radius: 10px;
    text-align: center;
    padding: 8px 10px;
    color: #1e293b !important;
    font-weight: 700;
}

.rsy-app-burger {
    display: none;
    position: fixed;
    top: 122px;
    left: 14px;
    z-index: 45;
    border: 1px solid #e2e8f0;
    background: #fff;
    width: 40px;
    height: 40px;
    border-radius: 10px;
}
.rsy-side-bonus {
    display: block;
    margin: 8px 0 0;
    padding: 8px 10px;
    border-radius: 12px;
    background: linear-gradient(145deg, #1d4ed8, #0f172a);
    color: #fff !important;
    text-decoration: none;
}
.rsy-side-bonus strong,
.rsy-side-bonus span { display: block; color: #fff !important; }
.rsy-side-bonus strong { font-size: 16px; }
.rsy-side-bonus span { margin-top: 4px; font-size: 12px; line-height: 1.45; color: #dbeafe !important; }
.rsy-side-user {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 8px;
    color: #0f172a !important;
    text-decoration: none;
    font-weight: 700;
}
.rsy-side-user span {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #2563eb;
    color: #fff !important;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
}
.rsy-side-user em { font-style: normal; font-size: 13px; }
.rsy-side-out {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 8px;
    color: #64748b !important;
    text-decoration: none;
    font-size: 13px;
    font-weight: 700;
}
.rsy-app-mask { display: none; }

.rsy-bonus-banner {
    display: flex;
    align-items: center;
    gap: 16px;
    margin: 0 0 18px;
    padding: 18px 20px;
    border-radius: 18px;
    background: linear-gradient(110deg, #1d4ed8 0%, #0f172a 72%);
    color: #fff !important;
    text-decoration: none;
    box-shadow: 0 12px 28px rgba(29, 78, 216, .22);
}
.rsy-bonus-banner strong,
.rsy-bonus-banner span,
.rsy-bonus-banner em { color: #fff; }
.rsy-bonus-banner strong { display: block; font-size: 18px; }
.rsy-bonus-banner span { display: block; margin-top: 4px; color: #dbeafe; font-size: 14px; }
.rsy-bonus-mark {
    width: 64px;
    height: 64px;
    border-radius: 16px;
    background: #fff;
    color: #1d4ed8;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    font-weight: 800;
    flex: 0 0 auto;
}
.rsy-bonus-banner em {
    margin-left: auto;
    background: #fff;
    color: #1d4ed8 !important;
    border-radius: 12px;
    padding: 10px 16px;
    font-style: normal;
    font-weight: 800;
    white-space: nowrap;
}
.rsy-domain-title { margin: 28px 0 14px !important; }
.rsy-domain-actions { display: flex; flex-wrap: wrap; gap: 10px; margin: 0 0 8px; }
.rsy-domain-actions a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #fff;
    border: 1px solid #dbe3ee;
    color: #1e293b !important;
    border-radius: 12px;
    padding: 12px 14px;
    font-weight: 700;
    text-decoration: none;
}
.rsy-domain-actions a:hover { border-color: #2563eb; color: #1d4ed8 !important; }
body.rsy-client .primary-content { padding-top: 8px; }
body.rsy-client .dataTables_wrapper { margin-top: 12px; }
body.rsy-client .tab-content { margin-top: 12px; }
.rsy-funds-bonus {
    display: flex;
    gap: 16px;
    align-items: center;
    background: linear-gradient(110deg, #1d4ed8, #0f172a);
    color: #fff;
    border-radius: 18px;
    padding: 18px 20px;
    margin: 0 0 18px;
    height: auto;
    overflow: visible;
}
.rsy-funds-bonus > div { flex: 1; min-width: 0; }
.rsy-funds-bonus strong { display: block; font-size: 18px; line-height: 1.3; color: #fff; }
.rsy-funds-bonus p {
    margin: 6px 0 0;
    color: #dbeafe;
    line-height: 1.5;
    white-space: normal;
    overflow: visible;
    height: auto;
    max-height: none;
}
.rsy-funds-bonus b {
    flex: 0 0 72px;
    font-size: 26px;
    line-height: 1;
    background: #fff;
    color: #1d4ed8;
    border-radius: 14px;
    text-align: center;
    padding: 16px 8px;
}
body.rsy-client .rsy-addfunds-input-wrap {
    display: flex !important;
    align-items: center;
    gap: 10px;
    background: #fff;
    border: 1px solid #dbe3ee;
    border-radius: 14px;
    padding: 0 14px;
    position: relative;
}
body.rsy-client .rsy-addfunds-input-prefix,
body.rsy-client .rsy-addfunds-input-suffix {
    position: static !important;
    left: auto !important;
    right: auto !important;
    flex: 0 0 auto;
}
body.rsy-client .rsy-addfunds-input {
    flex: 1;
    min-width: 0;
    border: 0 !important;
    box-shadow: none !important;
    background: transparent !important;
    padding: 14px 0 !important;
    height: auto;
}
.rsy-funds-preview { margin-top: 8px; color: #1d4ed8; font-weight: 700; }

.rsy-dash-head h1 { font-size: 26px; font-weight: 750; letter-spacing: -.03em; color: #0f172a; }
.rsy-dash-stats {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
    margin-bottom: 16px;
}
.rsy-dash-stats a {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 4px 12px;
    background: #fff;
    border: 1px solid #e7eef6;
    border-radius: 16px;
    padding: 16px 16px 14px;
    text-decoration: none;
    min-height: 108px;
    box-shadow: 0 1px 2px rgba(15, 23, 42, .03);
}
.rsy-dash-stats i {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    background: #eff6ff;
    color: #1d4ed8;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
}
.rsy-dash-stats i.rsy-i-indigo { background: #eef2ff; color: #3730a3; }
.rsy-dash-stats i.rsy-i-teal { background: #ecfeff; color: #0e7490; }
.rsy-dash-stats i.rsy-i-amber { background: #fff7ed; color: #c2410c; }
.rsy-dash-stats i.rsy-i-rose { background: #fff1f2; color: #be123c; }
.rsy-app-nav a i.rsy-i-blue { color: #2563eb; }
.rsy-app-nav a i.rsy-i-indigo { color: #4338ca; }
.rsy-app-nav a i.rsy-i-teal { color: #0f766e; }
.rsy-app-nav a i.rsy-i-amber { color: #b45309; }
.rsy-app-nav a i.rsy-i-rose { color: #be123c; }
.rsy-app-nav a i.rsy-i-green { color: #047857; }
.rsy-app-nav a i.rsy-i-slate { color: #334155; }
.rsy-dash-stats strong { font-size: 26px; line-height: 1; color: #0f172a; margin-left: auto; }
.rsy-dash-stats span { flex: 1 0 100%; font-weight: 700; color: #334155; }
.rsy-dash-stats small { color: #94a3b8; }
.rsy-dash-grid { display: grid; grid-template-columns: minmax(0, 1.65fr) minmax(280px, .78fr); gap: 14px; align-items: start; }
.rsy-dash-card {
    background: #fff;
    border: 1px solid #e7eef6;
    border-radius: 16px;
    padding: 8px 18px 14px;
    margin-bottom: 14px;
    box-shadow: 0 1px 2px rgba(15, 23, 42, .03);
}
.rsy-dash-card header { display: flex; justify-content: space-between; align-items: center; padding: 12px 0; }
.rsy-dash-card h2 { margin: 0; font-size: 16px; font-weight: 750; color: #0f172a; }
.rsy-dash-card header a { color: #2563eb; font-size: 13px; font-weight: 700; text-decoration: none; }
.rsy-dash-table {
    border-top: 1px solid #e2e8f0;
}
.rsy-dash-headrow,
.rsy-dash-row {
    display: grid;
    grid-template-columns: minmax(160px, 1.5fr) 100px 120px 110px 88px;
    gap: 12px;
    align-items: center;
}
.rsy-dash-headrow {
    padding: 10px 2px;
    border-bottom: 1px solid #e2e8f0;
    color: #64748b;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .04em;
    text-transform: uppercase;
}
.rsy-dash-row {
    padding: 14px 2px;
    border-bottom: 1px solid #e2e8f0;
    background: transparent;
}
.rsy-dash-table .rsy-dash-row:last-child { border-bottom: 0; }
.rsy-dash-table .rsy-dash-row:hover { background: #f8fafc; }
.rsy-dash-row strong, .rsy-dash-row small { display: block; }
.rsy-dash-row small { color: #64748b; font-size: 12px; margin-top: 2px; }
.rsy-dash-due { color: #334155; font-size: 13px; font-weight: 650; }
.rsy-dash-due em { display: none; font-style: normal; }
.rsy-dash-due strong { color: #0f172a; font-size: 13px; font-weight: 650; }
.rsy-dash-status { justify-self: start; border-radius: 999px; padding: 4px 10px; font-size: 12px; font-weight: 700; background: #eef2ff; color: #3730a3; }
.rsy-dash-status-active { background: #ecfdf3; color: #15803d; }
.rsy-dash-status-pending { background: #fff7ed; color: #c2410c; }
.rsy-dash-status-suspended { background: #fef2f2; color: #b91c1c; }
.rsy-dash-manage {
    border: 1px solid #e2e8f0;
    border-radius: 9px;
    padding: 6px 12px;
    font-weight: 700;
    color: #1e293b;
    text-decoration: none;
    background: #fff;
}
.rsy-dash-empty, .rsy-dash-lead { color: #64748b; }
.rsy-dash-news, .rsy-dash-tickets { list-style: none; margin: 0; padding: 0; }
.rsy-dash-news li, .rsy-dash-tickets li { padding: 11px 0; border-top: 1px solid #f1f5f9; }
.rsy-dash-news a, .rsy-dash-tickets a { color: #0f172a; font-weight: 650; text-decoration: none; }
.rsy-dash-news time, .rsy-dash-tickets span { display: block; color: #94a3b8; font-size: 12px; margin-top: 2px; }
.rsy-dash-domain { display: flex; gap: 8px; }
.rsy-dash-domain input { flex: 1; border: 1px solid #e2e8f0; border-radius: 10px; padding: 10px 12px; }
.rsy-dash-domain button { background: #2563eb; color: #fff; border: 0; border-radius: 10px; padding: 10px 14px; font-weight: 700; }
.rsy-dash-tlds { display: flex; gap: 8px; margin-top: 10px; }
.rsy-dash-tlds a { background: #eff6ff; color: #1d4ed8; text-decoration: none; border-radius: 8px; padding: 6px 10px; font-weight: 700; font-size: 13px; }
.rsy-dash-crumb { color: #94a3b8; font-size: 13px; margin-bottom: 8px; }
.rsy-dash-head { display: flex; justify-content: space-between; gap: 16px; align-items: flex-start; margin-bottom: 16px; }
.rsy-dash-head p { margin: 0; color: #64748b; }
.rsy-dash-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.rsy-dash-btn {
    display: inline-flex; align-items: center; gap: 8px;
    background: #fff; border: 1px solid #e2e8f0; color: #1e293b;
    border-radius: 12px; padding: 10px 14px; font-weight: 700; text-decoration: none;
}
.rsy-dash-btn span { color: #2563eb; }
.rsy-dash-btn-primary,
.rsy-dash-btn-primary:hover { background: #2563eb !important; border-color: #2563eb !important; color: #fff !important; }

.rsy-paytr-box, .rsy-eft-box, .rsy-checkout-pay {
    background: #fff; border: 1px solid #e6edf5; border-radius: 14px; padding: 16px; margin: 16px 0;
}
.rsy-paytr-title, .rsy-eft-note { color: #64748b; }
.rsy-eft-box h3 { margin: 0 0 10px; font-size: 18px; }

@media (max-width: 1100px) {
    .rsy-dash-stats, .rsy-dash-grid, .rsy-dash-head { display: block; }
    .rsy-dash-stats a { margin-bottom: 10px; }
    .rsy-dash-headrow { display: none; }
    .rsy-dash-row { display: block; border-bottom: 1px solid #e2e8f0; }
    .rsy-dash-row > * { margin-top: 6px; }
    .rsy-dash-due em { display: block; color: #94a3b8; font-size: 11px; font-weight: 600; }
}
@media (max-width: 860px) {
    body.rsy-client #main-body { margin-left: 0; padding-top: 64px; }
    .rsy-app-burger { display: inline-flex; align-items: center; justify-content: center; }
    .rsy-app-side { top: 0; transform: translateX(-105%); transition: transform .2s ease; z-index: 60; }
    body.rsy-app-open .rsy-app-side { transform: none; }
    body.rsy-app-open .rsy-app-mask { display: block; position: fixed; inset: 0; background: rgba(15,23,42,.35); z-index: 55; }
    .rsy-bonus-banner { display: block; }
    .rsy-bonus-banner em { display: inline-block; margin: 12px 0 0; }
}
