/* =========================================================
   ROKETMEDIA V54 — CLEAN LANDING BUILD
   ========================================================= */
/* =========================================================    ROKETMEDIA V54 — MALAYSIA PLATFORM    ========================================================= */ .rm54 {
    --p:#6d4aff;
    --pd:#5532e8;
    --ink:#17151f;
    --muted:#747485;
    --line:#e8e4f2;
    --soft:#f5f2ff;
    background:#fff;
    color:var(--ink);
    overflow:hidden
}
.rm54 *,.rm54-login * {
    box-sizing:border-box
}
.rm54-shell {
    width:min(1120px,calc(100% - 40px));
    max-width:1120px;
    margin-left:auto;
    margin-right:auto
}
.rm54-hero {
    position:relative;
    padding:55px 0 30px;
    background:radial-gradient(circle at 82% 15%,rgba(109,74,255,.18),transparent 32%),radial-gradient(circle at 10% 40%,rgba(109,74,255,.08),transparent 25%),linear-gradient(135deg,#fff 35%,#faf8ff 100%)
}
.rm54-grid {
    display:grid;
    grid-template-columns:1fr .9fr;
    gap:40px;
    align-items:center
}
.rm54-kicker {
    display:flex;
    align-items:center;
    gap:9px;
    color:var(--p);
    font-size:10px;
    font-weight:900;
    letter-spacing:1.35px
}
.rm54-kicker i {
    width:7px;
    height:7px;
    border-radius:50%;
    background:var(--p);
    box-shadow:0 0 0 6px rgba(109,74,255,.1)
}
.rm54-copy h1 {
    margin:17px 0 0;
    font-size:clamp(45px,5.3vw,70px);
    line-height:.98;
    letter-spacing:-3.2px;
    font-weight:900
}
.rm54-copy h1 span {
    display:block;
    color:var(--p)
}
.rm54-copy>p {
    max-width:560px;
    margin:20px 0 0;
    color:#6f6e7a;
    font-size:15px;
    line-height:1.65
}
.rm54-actions {
    display:flex;
    gap:10px;
    margin-top:24px
}
.rm54-primary,.rm54-secondary {
    min-height:48px;
    display:inline-flex;
    align-items:center;
    justify-content:center;
    gap:14px;
    padding:11px 22px;
    border-radius:13px;
    font-size:13px;
    font-weight:850;
    text-decoration:none!important;
    cursor:pointer
}
.rm54-primary {
    border:1px solid var(--p);
    background:linear-gradient(135deg,#724cff,#5b34ef);
    color:#fff!important;
    box-shadow:0 12px 28px rgba(109,74,255,.22)
}
.rm54-secondary {
    border:1px solid #ded9e9;
    background:#fff;
    color:var(--ink)
}
.rm54-trust {
    display:flex;
    gap:22px;
    margin-top:14px;
    color:#5f5d69;
    font-size:10px;
    font-weight:700
}
.rm54-trust span:first-letter {
    color:var(--p)
}
.rm54-visual {
    position:relative;
    min-height:360px
}
.rm54-sky {
    position:absolute;
    inset:28px 0 auto;
    text-align:center;
    color:rgba(109,74,255,.06);
    font-size:180px;
    font-weight:950;
    letter-spacing:-15px
}
.rm54-phone {
    position:absolute;
    z-index:2;
    right:60px;
    top:3px;
    width:235px;
    height:350px;
    padding:13px 12px 10px;
    border:7px solid #21183f;
    border-radius:36px;
    background:#fff;
    box-shadow:0 30px 70px rgba(67,43,145,.25);
    transform:rotate(5deg)
}
.rm54-phone:before {
    content:"";
    position:absolute;
    top:5px;
    left:50%;
    width:74px;
    height:15px;
    transform:translateX(-50%);
    border-radius:0 0 12px 12px;
    background:#21183f
}
.rm54-phone-top {
    display:flex;
    justify-content:space-between;
    align-items:center;
    margin-top:13px;
    padding:5px 3px;
    font-size:9px
}
.rm54-phone-top span {
    color:var(--p);
    font-size:13px
}
.rm54-phone-banner {
    display:flex;
    flex-direction:column;
    gap:2px;
    margin:5px 0 8px;
    padding:12px;
    border-radius:11px;
    background:linear-gradient(135deg,#714cff,#5a31e9);
    color:#fff
}
.rm54-phone-banner small {
    font-size:6px;
    letter-spacing:.7px
}
.rm54-phone-banner b {
    font-size:11px
}
.rm54-phone-tabs {
    display:grid;
    grid-template-columns:repeat(4,1fr);
    gap:5px;
    margin-bottom:7px
}
.rm54-phone-tabs span {
    display:flex;
    height:30px;
    align-items:center;
    justify-content:center;
    border-radius:8px;
    background:#f5f3fa;
    font-size:7px;
    font-weight:900
}
.rm54-phone-row {
    display:flex;
    align-items:center;
    gap:7px;
    margin-bottom:5px;
    padding:7px;
    border:1px solid #eeeaf5;
    border-radius:9px
}
.rm54-phone-row i {
    width:25px;
    height:25px;
    display:flex;
    align-items:center;
    justify-content:center;
    border-radius:7px;
    background:#f1edff;
    color:var(--p);
    font-style:normal
}
.rm54-phone-row div {
    min-width:0;
    flex:1
}
.rm54-phone-row b,.rm54-phone-row small {
    display:block;
    white-space:nowrap;
    overflow:hidden;
    text-overflow:ellipsis
}
.rm54-phone-row b {
    font-size:6.7px
}
.rm54-phone-row small {
    margin-top:2px;
    color:#9994a5;
    font-size:5.5px
}
.rm54-phone-row em {
    color:var(--p);
    font-style:normal
}
.rm54-phone-nav {
    position:absolute;
    left:12px;
    right:12px;
    bottom:8px;
    display:flex;
    justify-content:space-around;
    padding-top:7px;
    border-top:1px solid #eeeaf5;
    color:#807b8e;
    font-size:9px
}
.rm54-orbit {
    position:absolute;
    z-index:3;
    width:48px;
    height:48px;
    display:flex;
    align-items:center;
    justify-content:center;
    border-radius:14px;
    color:#fff;
    font-size:12px;
    font-weight:900;
    box-shadow:0 15px 30px rgba(30,20,80,.22)
}
.rm54-orbit.o1 {
    left:20px;
    top:115px;
    background:#111
}
.rm54-orbit.o2 {
    left:55px;
    bottom:48px;
    background:linear-gradient(135deg,#ff4b72,#7a42ff)
}
.rm54-orbit.o3 {
    right:8px;
    top:105px;
    background:#1877f2
}
.rm54-orbit.o4 {
    right:20px;
    bottom:60px;
    background:#229ed9
}
.rm54-live {
    position:relative;
    z-index:4;
    margin-top:8px;
    padding:15px 20px 13px;
    border:1px solid rgba(109,74,255,.16);
    border-radius:20px;
    background:rgba(255,255,255,.9);
    box-shadow:0 22px 55px rgba(46,33,99,.09);
    backdrop-filter:blur(12px)
}
.rm54-livehead {
    display:flex;
    justify-content:space-between;
    align-items:center;
    padding-bottom:10px;
    border-bottom:1px solid var(--line)
}
.rm54-livehead span {
    display:flex;
    align-items:center;
    gap:7px;
    font-size:9px;
    font-weight:900;
    letter-spacing:1px
}
.rm54-livehead i {
    width:7px;
    height:7px;
    border-radius:50%;
    background:#29c57c;
    box-shadow:0 0 0 5px rgba(41,197,124,.11)
}
.rm54-livehead small {
    color:#9894a3;
    font-size:9px
}
.rm54-stats {
    display:grid;
    grid-template-columns:repeat(3,1fr);
    padding:13px 0
}
.rm54-stats div {
    padding:0 22px;
    border-right:1px solid var(--line)
}
.rm54-stats div:first-child {
    padding-left:0
}
.rm54-stats div:last-child {
    border:0
}
.rm54-stats b {
    display:block;
    font-size:22px;
    line-height:1;
    font-weight:900
}
.rm54-stats span {
    display:block;
    margin-top:5px;
    color:#96919f;
    font-size:7px;
    font-weight:800;
    letter-spacing:.8px
}
.rm54-platforms {
    display:grid;
    grid-template-columns:repeat(6,1fr);
    gap:8px;
    padding:10px;
    border-radius:14px;
    background:#faf9fd
}
.rm54-platforms>span {
    display:flex;
    flex-direction:column;
    align-items:center;
    gap:5px;
    color:#686572;
    font-size:7px
}
.rm54-platforms b {
    width:34px;
    height:34px;
    display:flex;
    align-items:center;
    justify-content:center;
    border:1px solid #e7e3ef;
    border-radius:10px;
    background:#fff;
    color:#292630;
    font-size:10px;
    box-shadow:0 5px 12px rgba(30,20,60,.04)
}
.rm54-services {
    padding:48px 0 30px;
    background:linear-gradient(180deg,#fff,#fcfbff)
}
.rm54-heading {
    display:grid;
    grid-template-columns:1fr .9fr;
    gap:70px;
    align-items:end
}
.rm54-heading span,.rm54-minihead span,.rm54-benefit-title span,.rm54-cta span {
    color:var(--p);
    font-size:9px;
    font-weight:900;
    letter-spacing:1.3px
}
.rm54-heading h2,.rm54-minihead h2,.rm54-benefit-title h2 {
    margin:7px 0 0;
    font-size:31px;
    line-height:1.05;
    letter-spacing:-1.4px;
    font-weight:900
}
.rm54-heading p {
    margin:0;
    color:var(--muted);
    font-size:12px;
    line-height:1.65
}
.rm54-servicegrid {
    display:grid;
    grid-template-columns:repeat(4,1fr);
    gap:10px;
    margin-top:20px
}
.rm54-servicegrid article {
    padding:17px;
    border:1px solid var(--line);
    border-radius:17px;
    background:#fff;
    box-shadow:0 10px 28px rgba(42,30,88,.04)
}
.rm54-servicegrid i {
    width:38px;
    height:38px;
    display:flex;
    align-items:center;
    justify-content:center;
    border-radius:11px;
    background:var(--soft);
    color:var(--p);
    font-style:normal;
    font-size:18px
}
.rm54-servicegrid h3 {
    margin:13px 0 5px;
    font-size:14px
}
.rm54-servicegrid p {
    margin:0;
    color:var(--muted);
    font-size:10px;
    line-height:1.5
}
.rm54-benefits {
    display:grid;
    grid-template-columns:1.5fr repeat(3,1fr);
    gap:0;
    margin-top:13px;
    padding:22px 25px;
    border:1px solid var(--line);
    border-radius:19px;
    background:linear-gradient(135deg,#fff,#f8f5ff)
}
.rm54-benefit-title h2 {
    font-size:23px
}
.rm54-benefits>div:not(:first-child) {
    display:flex;
    flex-direction:column;
    justify-content:center;
    padding:0 20px;
    border-left:1px solid var(--line)
}
.rm54-benefits b {
    font-size:11px
}
.rm54-benefits small {
    margin-top:5px;
    color:var(--muted);
    font-size:9px;
    line-height:1.5
}
.rm54-steps,.rm54-faq {
    margin-top:13px;
    padding:22px 25px;
    border:1px solid var(--line);
    border-radius:19px;
    background:#fff
}
.rm54-minihead h2 {
    font-size:25px
}
.rm54-stepgrid {
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:12px;
    margin-top:16px
}
.rm54-stepgrid article {
    display:flex;
    align-items:center;
    gap:12px;
    padding:14px;
    border-radius:14px;
    background:#faf8ff
}
.rm54-stepgrid article>b {
    width:30px;
    height:30px;
    display:flex;
    align-items:center;
    justify-content:center;
    flex:0 0 30px;
    border-radius:9px;
    background:#eee8ff;
    color:var(--p)
}
.rm54-stepgrid strong,.rm54-stepgrid small {
    display:block
}
.rm54-stepgrid strong {
    font-size:11px
}
.rm54-stepgrid small {
    margin-top:3px;
    color:var(--muted);
    font-size:8.5px;
    line-height:1.45
}
.rm54-faq {
    display:grid;
    grid-template-columns:.55fr 1.45fr;
    gap:45px
}
.rm54-faqlist {
    border-top:1px solid var(--line)
}
.rm54-faq details {
    border-bottom:1px solid var(--line)
}
.rm54-faq summary {
    list-style:none;
    display:flex;
    justify-content:space-between;
    align-items:center;
    padding:13px 2px;
    font-size:11px;
    font-weight:800;
    cursor:pointer
}
.rm54-faq summary::-webkit-details-marker {
    display:none
}
.rm54-faq summary b {
    color:var(--p);
    font-size:17px;
    font-weight:400
}
.rm54-faq details[open] summary b {
    transform:rotate(45deg)
}
.rm54-faq details p {
    margin:-3px 25px 13px 2px;
    color:var(--muted);
    font-size:9.5px;
    line-height:1.6
}
.rm54-cta {
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:25px;
    margin-top:13px;
    padding:22px 25px;
    border:1px solid #ded6ff;
    border-radius:19px;
    background:radial-gradient(circle at 80% 50%,rgba(109,74,255,.14),transparent 30%),linear-gradient(135deg,#f7f3ff,#fff)
}
.rm54-cta h2 {
    margin:5px 0 3px;
    font-size:21px;
    font-weight:900
}
.rm54-cta p {
    margin:0;
    color:var(--muted);
    font-size:9.5px
}
.rm54-cta a {
    min-width:145px;
    padding:12px 18px;
    border-radius:12px;
    background:var(--p);
    color:#fff!important;
    text-align:center;
    font-size:11px;
    font-weight:850;
    text-decoration:none!important
}
.rm54-footer {
    padding:15px 0;
    border-top:1px solid var(--line);
    background:#faf9fc;
    color:#898592;
    font-size:9px;
    text-align:center
}
.rm54-footer i {
    margin:0 8px;
    color:#b4afbc;
    font-style:normal
}
.rm54-login {
    position:fixed;
    inset:0;
    z-index:100500;
    display:flex;
    align-items:flex-end;
    justify-content:center;
    padding:20px;
    opacity:0;
    visibility:hidden;
    pointer-events:none;
    transition:.2s
}
.rm54-login.is-open {
    opacity:1;
    visibility:visible;
    pointer-events:auto
}
.rm54-backdrop {
    position:absolute;
    inset:0;
    border:0;
    background:rgba(17,13,28,.55);
    backdrop-filter:blur(5px)
}
.rm54-sheet {
    position:relative;
    z-index:1;
    width:100%;
    max-width:460px;
    padding:27px;
    border:1px solid var(--line);
    border-radius:24px;
    background:#fff;
    box-shadow:0 35px 90px rgba(10,8,18,.25)
}
.rm54-close {
    position:absolute;
    right:17px;
    top:17px;
    width:32px;
    height:32px;
    border:1px solid #ece8f1;
    border-radius:50%;
    background:#faf9fc;
    font-size:19px
}
.rm54-sheet h2 {
    margin:0;
    font-size:22px;
    font-weight:900
}
.rm54-sheet>p {
    margin:5px 0 22px;
    color:#898592;
    font-size:11px
}
.rm54-login .form-group {
    margin-bottom:15px
}
.rm54-login label {
    margin-bottom:6px;
    font-size:11px;
    font-weight:800
}
.rm54-label {
    display:flex;
    justify-content:space-between
}
.rm54-label a,.rm54-signup a {
    color:var(--p);
    font-size:10px;
    font-weight:800
}
.rm54-input {
    height:46px!important;
    border:1px solid #e2ddea!important;
    border-radius:12px!important;
    box-shadow:none!important
}
.rm54-submit {
    width:100%;
    border:0
}
.rm54-or {
    display:flex;
    align-items:center;
    gap:10px;
    margin:17px 0;
    color:#aaa;
    font-size:9px
}
.rm54-or:before,.rm54-or:after {
    content:"";
    height:1px;
    flex:1;
    background:#ece8f1
}
.rm54-signup {
    margin-top:16px;
    text-align:center;
    color:#8c8793;
    font-size:10px
}
.rm54-modal-open {
    overflow:hidden!important
}
.rm54-auth {
    padding:20px
}
@media(max-width:767px) {
    .rm54-shell {
        width:100%;
        padding-left:18px;
        padding-right:18px
    }
    .rm54-hero {
        padding:48px 0 22px
    }
    .rm54-grid {
        display:block
    }
    .rm54-kicker {
        font-size:8.5px
    }
    .rm54-copy h1 {
        margin-top:14px;
        font-size:42px;
        letter-spacing:-2.2px
    }
    .rm54-copy>p {
        margin-top:16px;
        font-size:12px
    }
    .rm54-actions {
        margin-top:20px
    }
    .rm54-primary,.rm54-secondary {
        min-height:45px;
        padding:10px 17px;
        font-size:11px
    }
    .rm54-trust {
        gap:14px;
        font-size:8.5px
    }
    .rm54-visual {
        min-height:285px;
        margin-top:14px
    }
    .rm54-sky {
        top:55px;
        font-size:115px
    }
    .rm54-phone {
        right:50%;
        top:5px;
        width:178px;
        height:267px;
        padding:9px;
        border-width:5px;
        border-radius:28px;
        transform:translateX(50%) rotate(4deg)
    }
    .rm54-phone:before {
        width:56px;
        height:11px
    }
    .rm54-phone-top {
        margin-top:10px;
        font-size:7px
    }
    .rm54-phone-banner {
        padding:8px
    }
    .rm54-phone-banner small {
        font-size:5px
    }
    .rm54-phone-banner b {
        font-size:8px
    }
    .rm54-phone-tabs span {
        height:22px;
        font-size:5.5px
    }
    .rm54-phone-row {
        gap:5px;
        margin-bottom:3px;
        padding:4px
    }
    .rm54-phone-row i {
        width:18px;
        height:18px;
        font-size:8px
    }
    .rm54-phone-row b {
        font-size:5.2px
    }
    .rm54-phone-row small {
        font-size:4.5px
    }
    .rm54-phone-nav {
        font-size:7px
    }
    .rm54-orbit {
        width:38px;
        height:38px;
        border-radius:11px;
        font-size:9px
    }
    .rm54-orbit.o1 {
        left:12%;
        top:72px
    }
    .rm54-orbit.o2 {
        left:15%;
        bottom:35px
    }
    .rm54-orbit.o3 {
        right:12%;
        top:80px
    }
    .rm54-orbit.o4 {
        right:15%;
        bottom:34px
    }
    .rm54-live {
        margin-top:4px;
        padding:14px;
        border-radius:18px
    }
    .rm54-stats div {
        padding:0 9px
    }
    .rm54-stats b {
        font-size:17px
    }
    .rm54-stats span {
        font-size:6.5px
    }
    .rm54-platforms {
        gap:5px;
        padding:8px 4px
    }
    .rm54-platforms b {
        width:29px;
        height:29px;
        font-size:8px
    }
    .rm54-platforms>span {
        font-size:6px
    }
    .rm54-services {
        padding:37px 0 23px
    }
    .rm54-heading {
        display:block
    }
    .rm54-heading h2 {
        font-size:27px
    }
    .rm54-heading p {
        margin-top:12px;
        font-size:10.5px
    }
    .rm54-servicegrid {
        grid-template-columns:1fr 1fr;
        gap:8px
    }
    .rm54-servicegrid article {
        padding:14px
    }
    .rm54-servicegrid h3 {
        font-size:12px
    }
    .rm54-servicegrid p {
        font-size:9px
    }
    .rm54-benefits {
        grid-template-columns:1fr;
        margin-top:10px;
        padding:19px
    }
    .rm54-benefit-title {
        padding-bottom:10px
    }
    .rm54-benefit-title h2 {
        font-size:21px
    }
    .rm54-benefits>div:not(:first-child) {
        padding:11px 0;
        border-left:0;
        border-top:1px solid var(--line)
    }
    .rm54-steps,.rm54-faq {
        margin-top:10px;
        padding:19px
    }
    .rm54-minihead h2 {
        font-size:22px
    }
    .rm54-stepgrid {
        display:block
    }
    .rm54-stepgrid article {
        margin-top:7px
    }
    .rm54-faq {
        display:block
    }
    .rm54-faqlist {
        margin-top:14px
    }
    .rm54-faq summary {
        font-size:10.5px
    }
    .rm54-cta {
        margin-top:10px;
        padding:19px;
        align-items:flex-end
    }
    .rm54-cta h2 {
        font-size:18px
    }
    .rm54-cta p {
        display:none
    }
    .rm54-cta a {
        min-width:112px;
        padding:11px 10px;
        font-size:9.5px
    }
    .rm54-footer {
        padding:12px 18px;
        font-size:7.5px;
        line-height:1.6
    }
    .rm54-footer i {
        margin:0 4px
    }
    .rm54-login {
        padding:0
    }
    .rm54-sheet {
        padding:24px 18px;
        border-radius:23px 23px 0 0
    }
}
@media(max-width:380px) {
    .rm54-copy h1 {
        font-size:38px
    }
    .rm54-visual {
        min-height:270px
    }
    .rm54-phone {
        width:168px;
        height:252px
    }
    .rm54-orbit.o1 {
        left:7%
    }
    .rm54-orbit.o3 {
        right:7%
    }
    .rm54-live {
        padding:12px
    }
    .rm54-stats b {
        font-size:15px
    }
    .rm54-platforms b {
        width:27px;
        height:27px
    }
    .rm54-cta {
        display:block
    }
    .rm54-cta a {
        display:inline-block;
        margin-top:12px
    }
}

/* V54 explicit login/captcha controls */
.rm54-captcha {
    margin-top: 12px;
}
.rm54-close-login {
    appearance: none;
    border: 0;
    background: transparent;
    color: #747485;
    cursor: pointer;
    font: inherit;
}
.rm54-open-login {
    cursor: pointer;
}
.rm54-count {
    font-variant-numeric: tabular-nums;
}


/* EXISTING ROKETMEDIA GLOBAL / DASHBOARD / SIDEBAR CSS — PRESERVED */
/* =========================================
   RoketMedia Custom UI
   Theme: Modern Malaysia
   Version: V18 — Compact Order Guide Terms
   ========================================= */

:root {
  --rm-primary: #6d4aff;
  --rm-primary-dark: #5635e8;
  --rm-primary-soft: #f1edff;
  --rm-bg: #f6f7fb;
  --rm-surface: #ffffff;
  --rm-text: #171a23;
  --rm-muted: #72798b;
  --rm-border: #e8eaf0;
  --rm-radius: 14px;
}

body {
  background: var(--rm-bg);
  color: var(--rm-text);
}


/* =========================================
   NAVBAR
   ========================================= */

.navbar.navbar-default {
  background: rgba(255, 255, 255, 0.96);
  border: none;
  border-bottom: 1px solid var(--rm-border);
  border-radius: 0;
  margin-bottom: 0;
  min-height: 70px;
  box-shadow: 0 6px 24px rgba(20, 24, 40, 0.06);
}

.navbar.navbar-default .container,
.navbar.navbar-default .container-fluid {
  min-height: 70px;
}

.navbar-default .navbar-brand {
  height: 70px;
  display: flex;
  align-items: center;
  padding-top: 12px;
  padding-bottom: 12px;
  color: var(--rm-text);
  font-size: 22px;
  font-weight: 800;
}

.navbar-default .navbar-brand:hover,
.navbar-default .navbar-brand:focus {
  color: var(--rm-primary);
}

.navbar-default .navbar-brand img {
  display: block;
  max-height: 46px;
  width: auto;
}

.navbar-default .navbar-nav > li > a {
  color: #555d6e;
  font-weight: 600;
  padding-top: 25px;
  padding-bottom: 25px;
  transition: color 0.2s ease, background 0.2s ease;
}

.navbar-default .navbar-nav > li > a:hover,
.navbar-default .navbar-nav > li > a:focus {
  color: var(--rm-primary);
  background: transparent;
}

.navbar-default .navbar-nav > .active > a,
.navbar-default .navbar-nav > .active > a:hover,
.navbar-default .navbar-nav > .active > a:focus {
  color: var(--rm-primary);
  background: rgba(109, 74, 255, 0.08);
}

.navbar-default .navbar-icon {
  margin-right: 5px;
}

.navbar-default .badge {
  background: var(--rm-primary);
  color: #fff;
  border-radius: 999px;
  padding: 7px 11px;
  font-weight: 700;
}

.navbar-default .dropdown-menu {
  border: 1px solid var(--rm-border);
  border-radius: 14px;
  padding: 8px;
  box-shadow: 0 14px 35px rgba(20, 24, 40, 0.12);
}

.navbar-default .dropdown-menu > li > a {
  border-radius: 9px;
  padding: 9px 12px;
}

.navbar-default .dropdown-menu > li > a:hover,
.navbar-default .dropdown-menu > li > a:focus {
  background: var(--rm-primary-soft);
  color: var(--rm-primary);
}

.navbar-default .navbar-toggle {
  margin-top: 16px;
  margin-bottom: 16px;
  border: 1px solid var(--rm-border);
  border-radius: 12px;
  background: #fff;
  padding: 10px;
}

.navbar-default .navbar-toggle:hover,
.navbar-default .navbar-toggle:focus {
  background: var(--rm-primary-soft);
  border-color: #ded7ff;
}

.navbar-default .navbar-toggle .icon-bar {
  background-color: var(--rm-primary);
  width: 22px;
  height: 2px;
}


/* =========================================
   NEW ORDER
   ========================================= */

.rm-page {
  padding: 20px 0 40px;
}

.rm-hero {
  background: linear-gradient(135deg, #6d4aff, #8b5cff);
  border-radius: 24px;
  padding: 28px;
  color: #fff;
  margin-bottom: 22px;
  box-shadow: 0 20px 45px rgba(109, 74, 255, 0.25);
}

.rm-badge {
  display: inline-block;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.18);
  margin-bottom: 14px;
  font-size: 13px;
  font-weight: 600;
}

.rm-hero h1 {
  margin: 0 0 10px;
  font-size: 34px;
  font-weight: 800;
  color: #fff;
}

.rm-hero p {
  margin: 0;
  font-size: 15px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.9);
}

.rm-info {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 18px;
}

.rm-info div {
  background: rgba(255, 255, 255, 0.12);
  padding: 10px 14px;
  border-radius: 12px;
  font-size: 13px;
  color: #fff;
}

.rm-card {
  background: var(--rm-surface);
  border: 1px solid var(--rm-border);
  border-radius: 22px;
  padding: 24px;
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.06);
  margin-bottom: 20px;
}

.rm-card .form-group {
  margin-bottom: 20px;
}

.rm-card .control-label,
.rm-card label {
  color: var(--rm-text);
  font-weight: 600;
  margin-bottom: 8px;
}

.rm-card .form-control {
  width: 100%;
  height: 48px;
  border-radius: 14px;
  border: 1px solid var(--rm-border);
  background: #fff;
  color: var(--rm-text);
  box-shadow: none;
  padding-left: 14px;
  padding-right: 14px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.rm-card .form-control:focus {
  border-color: var(--rm-primary);
  box-shadow: 0 0 0 4px rgba(109, 74, 255, 0.12);
  outline: none;
}

.rm-card .input-wrapper {
  position: relative;
}

.rm-search-btn {
  position: absolute;
  top: 50%;
  left: 12px;
  transform: translateY(-50%);
  z-index: 2;
  padding: 0;
  border: none;
  background: transparent;
  color: var(--rm-muted);
}

.rm-card #template-input {
  padding-left: 40px;
}

.rm-description {
  background: #f7f8fc;
  border: 1px solid var(--rm-border);
  border-radius: 14px;
  padding: 16px;
  color: var(--rm-text);
  line-height: 1.6;
}

#fields .form-group {
  margin-bottom: 20px;
}

.rm-price {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 15px;
  padding: 18px;
  background: #f7f8fc;
  border: 1px solid var(--rm-border);
  border-radius: 16px;
  margin: 20px 0;
  font-size: 16px;
}

.rm-price span {
  color: var(--rm-muted);
  font-weight: 600;
}

.rm-price strong {
  color: var(--rm-primary);
  font-size: 26px;
  font-weight: 800;
}

.rm-checkbox {
  margin-top: 18px;
}

.rm-checkbox label {
  font-weight: 400;
  line-height: 1.6;
}

.rm-checkbox input {
  margin-right: 6px;
}

.rm-checkbox a {
  color: var(--rm-primary);
  font-weight: 600;
}

.rm-btn {
  width: 100%;
  min-height: 50px;
  border: none;
  background: var(--rm-primary);
  color: #fff;
  padding: 15px 18px;
  border-radius: 16px;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.2s ease,
              transform 0.2s ease,
              box-shadow 0.2s ease;
}

.rm-btn:hover,
.rm-btn:focus {
  background: var(--rm-primary-dark);
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 10px 25px rgba(109, 74, 255, 0.22);
  outline: none;
}

.rm-card .alert {
  border-radius: 14px;
  border: none;
  padding: 15px 18px;
}

.rm-card .alert-success {
  background: #ecfdf3;
  color: #18794e;
}

.rm-card .alert-danger {
  background: #fff1f2;
  color: #b42318;
}

.rm-note {
  background: #eef4ff;
  line-height: 1.7;
}


/* =========================================
   SERVICES PAGE V4
   Matches current services.twig
   ========================================= */

.rm-services-page {
  padding: 28px 0 45px;
  overflow-x: hidden;
}


/* Header */

.rm-services-header {
  margin-bottom: 22px;
}

.rm-services-eyebrow {
  display: block;
  margin-bottom: 7px;
  color: var(--rm-primary);
  font-size: 11px;
  line-height: 1.2;
  font-weight: 800;
  letter-spacing: 1.6px;
  text-transform: uppercase;
}

.rm-services-header h1 {
  margin: 0 0 8px;
  color: var(--rm-text);
  font-size: 36px;
  line-height: 1.15;
  font-weight: 800;
}

.rm-services-header p {
  margin: 0;
  max-width: 650px;
  color: var(--rm-muted);
  font-size: 15px;
  line-height: 1.6;
}


/* Filter / Search */

.rm-services-tools {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
  padding: 16px;
  background: #fff;
  border: 1px solid var(--rm-border);
  border-radius: 18px;
  box-shadow: 0 10px 30px rgba(20, 24, 40, 0.05);
}

.rm-services-filter {
  flex: 0 0 auto;
}

.rm-filter-btn {
  min-height: 48px;
  padding: 10px 16px;
  border: 1px solid var(--rm-primary);
  border-radius: 13px;
  background: var(--rm-primary);
  color: #fff;
  font-weight: 700;
  box-shadow: none;
}

.rm-filter-btn:hover,
.rm-filter-btn:focus,
.rm-filter-btn:active,
.rm-filter-btn:active:hover {
  background: var(--rm-primary-dark);
  border-color: var(--rm-primary-dark);
  color: #fff;
  outline: none;
}

.rm-filter-btn .caret {
  margin-left: 8px;
}

.rm-filter-menu {
  min-width: 280px;
  max-height: 420px;
  overflow-y: auto;
  padding: 8px;
  border: 1px solid var(--rm-border);
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 16px 40px rgba(20, 24, 40, 0.14);
}

.rm-filter-menu > li > a {
  padding: 10px 12px;
  border-radius: 9px;
  color: var(--rm-text);
  white-space: normal;
}

.rm-filter-menu > li > a:hover,
.rm-filter-menu > li > a:focus {
  background: var(--rm-primary-soft);
  color: var(--rm-primary);
}

.rm-services-currency {
  flex: 0 0 auto;
}

.rm-currency-btn {
  min-height: 48px;
  padding: 10px 14px;
  border: 1px solid var(--rm-border);
  border-radius: 13px;
  background: #fff;
  color: var(--rm-text);
  font-weight: 700;
}

.rm-services-search {
  position: relative;
  flex: 1 1 auto;
  min-width: 0;
}

.rm-services-search > .fa-search {
  position: absolute;
  left: 15px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  color: var(--rm-muted);
  pointer-events: none;
}

.rm-services-search .form-control {
  width: 100%;
  height: 48px;
  padding-left: 42px;
  padding-right: 44px;
  border: 1px solid var(--rm-border);
  border-radius: 13px;
  background: #fff;
  color: var(--rm-text);
  box-shadow: none;
}

.rm-services-search .form-control:focus {
  border-color: var(--rm-primary);
  box-shadow: 0 0 0 4px rgba(109, 74, 255, 0.1);
  outline: none;
}

/* Hide duplicate physical search button.
   Search input remains functional through panel JS. */

.rm-services-search > button {
  position: absolute;
  right: 0;
  top: 0;
  width: 44px;
  height: 48px;
  border: 0;
  background: transparent;
  color: transparent;
  opacity: 0;
}


/* Services List */

.rm-services-list {
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--rm-border);
  border-radius: 22px;
  box-shadow: 0 12px 35px rgba(20, 24, 40, 0.06);
}

.rm-services-list-head {
  padding: 22px 24px;
  border-bottom: 1px solid var(--rm-border);
}

.rm-services-list-head h2 {
  margin: 0;
  color: var(--rm-text);
  font-size: 24px;
  line-height: 1.25;
  font-weight: 800;
}


/* =========================================
   SERVICES DESKTOP TABLE
   ========================================= */

.rm-services-desktop {
  display: block;
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.rm-services-desktop table {
  width: 100%;
  min-width: 760px;
  margin: 0;
  background: #fff;
}

.rm-services-desktop table > thead > tr > th {
  padding: 15px 14px;
  border-bottom: 1px solid var(--rm-border);
  background: #fafaff;
  color: var(--rm-muted);
  font-size: 12px;
  font-weight: 700;
  vertical-align: middle;
}

.rm-services-desktop table > tbody > tr > td {
  padding: 15px 14px;
  border-top: 1px solid #f0f1f5;
  color: var(--rm-text);
  vertical-align: middle;
}

.rm-services-desktop .rm-category-row > td {
  padding: 13px 16px;
  background: var(--rm-primary-soft);
  color: var(--rm-primary-dark);
  border-top: none;
}

.rm-category-icon {
  display: inline-block !important;
  width: 24px !important;
  height: 24px !important;
  max-width: 24px !important;
  max-height: 24px !important;
  object-fit: contain !important;
  margin-right: 7px;
  vertical-align: middle;
}

.rm-category-emoji {
  display: inline-block;
  margin-right: 6px;
}

.rm-service-row {
  transition: background 0.15s ease;
}

.rm-service-row:hover {
  background: #fafaff;
}

.rm-service-favorite {
  width: 42px;
  text-align: center;
}

.rm-service-id {
  color: var(--rm-muted) !important;
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
}

.rm-service-name {
  min-width: 260px;
  font-weight: 600;
  line-height: 1.5;
}

.rm-service-rate {
  color: var(--rm-primary) !important;
  font-weight: 800;
  white-space: nowrap;
}

.rm-details-cell {
  text-align: right;
}

.rm-details-btn {
  padding: 7px 11px;
  border: 1px solid #ded7ff;
  border-radius: 9px;
  background: var(--rm-primary-soft);
  color: var(--rm-primary);
  font-weight: 700;
}

.rm-details-btn:hover,
.rm-details-btn:focus {
  background: var(--rm-primary);
  border-color: var(--rm-primary);
  color: #fff;
  outline: none;
}


/* =========================================
   SERVICES MOBILE CARDS
   ========================================= */

/* Desktop: mobile version must never appear */

.rm-services-mobile {
  display: none;
}

.rm-mobile-filter-table {
  width: 100%;
  margin: 0;
  border: 0;
  border-collapse: separate;
  border-spacing: 0;
}

.rm-mobile-filter-table > tbody,
.rm-mobile-filter-table > tbody > tr,
.rm-mobile-filter-table > tbody > tr > td {
  width: 100%;
}

.rm-mobile-filter-table > tbody > tr > td {
  padding: 0;
  border: 0;
}

.rm-mobile-category-row > td {
  padding: 0 !important;
}

.rm-mobile-category {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 100%;
  margin: 14px 0 10px;
  padding: 12px 14px;
  background: var(--rm-primary-soft);
  border: 1px solid #e4ddff;
  border-radius: 14px;
  color: var(--rm-primary-dark);
  font-size: 14px;
  line-height: 1.4;
}

.rm-mobile-category strong {
  font-weight: 800;
}

.rm-mobile-category .rm-category-icon {
  flex: 0 0 24px;
  margin-right: 0;
}

.rm-mobile-service-row > td {
  padding-bottom: 10px !important;
}

.rm-service-card {
  width: 100%;
  padding: 16px;
  background: #fff;
  border: 1px solid var(--rm-border);
  border-radius: 16px;
  box-shadow: 0 7px 20px rgba(20, 24, 40, 0.05);
}

.rm-service-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 8px;
}

.rm-service-card-id {
  color: var(--rm-muted);
  font-size: 12px;
  font-weight: 700;
}

.rm-mobile-favorite {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 30px;
  min-height: 30px;
  cursor: pointer;
}

.rm-mobile-favorite .fa-star {
  font-size: 17px;
}

.rm-mobile-favorite.favorite-active .fa-star {
  color: #f5b301;
}

.rm-service-card-name {
  margin-bottom: 14px;
  color: var(--rm-text);
  font-size: 15px;
  line-height: 1.45;
  font-weight: 700;
  overflow-wrap: anywhere;
}

.rm-service-card-info {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.rm-service-card-info > div {
  min-width: 0;
  padding: 10px;
  background: #f8f8fc;
  border: 1px solid #f0f1f5;
  border-radius: 11px;
}

.rm-service-card-info > div > span {
  display: block;
  margin-bottom: 4px;
  color: var(--rm-muted);
  font-size: 10px;
  line-height: 1.3;
  font-weight: 700;
  text-transform: uppercase;
}

.rm-service-card-info > div > strong {
  display: block;
  color: var(--rm-text);
  font-size: 13px;
  line-height: 1.4;
  font-weight: 700;
  overflow-wrap: anywhere;
}

.rm-service-card-info > div:first-child > strong {
  color: var(--rm-primary);
}

.rm-service-card-average {
  grid-column: 1 / -1;
}

.rm-mobile-details-btn {
  width: 100%;
  margin-top: 12px;
  padding: 10px 12px;
  border: 1px solid #ded7ff;
  border-radius: 11px;
  background: var(--rm-primary-soft);
  color: var(--rm-primary);
  font-weight: 700;
}

.rm-mobile-details-btn:hover,
.rm-mobile-details-btn:focus {
  background: var(--rm-primary);
  border-color: var(--rm-primary);
  color: #fff;
  outline: none;
}


/* Services Text */

.rm-services-note {
  margin-top: 18px;
  padding: 20px;
  background: #fff;
  border: 1px solid var(--rm-border);
  border-radius: 18px;
  box-shadow: 0 10px 30px rgba(20, 24, 40, 0.05);
  line-height: 1.7;
}


/* =========================================
   MOBILE
   ========================================= */

@media (max-width: 767px) {

  /* Navbar */

  .navbar.navbar-default {
    min-height: 64px;
  }

  .navbar.navbar-default .container,
  .navbar.navbar-default .container-fluid {
    min-height: 64px;
  }

  .navbar-default .navbar-header {
    min-height: 64px;
  }

  .navbar-default .navbar-brand {
    height: 64px;
    font-size: 21px;
    padding-left: 15px;
  }

  .navbar-default .navbar-brand img {
    max-height: 40px;
    max-width: 190px;
  }

  .navbar-default .navbar-toggle {
    margin-top: 12px;
    margin-right: 15px;
    margin-bottom: 12px;
  }

  .navbar-default .navbar-collapse {
    background: #fff;
    border-top: 1px solid var(--rm-border);
    box-shadow: none;
    padding-top: 8px;
    padding-bottom: 12px;
  }

  .navbar-default .navbar-nav {
    margin-top: 4px;
    margin-bottom: 4px;
  }

  .navbar-default .navbar-nav > li {
    margin: 3px 8px;
  }

  .navbar-default .navbar-nav > li > a {
    padding: 12px 14px;
    border-radius: 11px;
    color: var(--rm-text);
  }

  .navbar-default .navbar-nav > .active > a,
  .navbar-default .navbar-nav > .active > a:hover,
  .navbar-default .navbar-nav > .active > a:focus {
    background: var(--rm-primary-soft);
    color: var(--rm-primary);
  }

  .navbar-default .dropdown-menu {
    border: none;
    box-shadow: none;
    margin: 4px 12px;
    padding: 4px;
  }


  /* New Order */

  .rm-page {
    padding: 14px 0 30px;
  }

  .rm-page .container {
    width: 100%;
    padding-left: 14px;
    padding-right: 14px;
  }

  .rm-hero {
    padding: 22px;
    border-radius: 18px;
    margin-bottom: 16px;
  }

  .rm-hero h1 {
    font-size: 28px;
  }

  .rm-hero p {
    font-size: 14px;
  }

  .rm-info {
    flex-direction: column;
    gap: 8px;
  }

  .rm-info div {
    width: 100%;
  }

  .rm-card {
    padding: 18px;
    border-radius: 18px;
    margin-bottom: 16px;
  }

  .rm-price {
    padding: 15px;
  }

  .rm-price strong {
    font-size: 22px;
  }


  /* Services */

  .rm-services-page {
    padding: 18px 0 30px;
  }

  .rm-services-page .container {
    width: 100%;
    padding-left: 14px;
    padding-right: 14px;
  }

  .rm-services-header {
    margin-bottom: 17px;
    padding: 0 2px;
  }

  .rm-services-eyebrow {
    margin-bottom: 6px;
    font-size: 10px;
  }

  .rm-services-header h1 {
    margin-bottom: 7px;
    font-size: 30px;
  }

  .rm-services-header p {
    font-size: 14px;
    line-height: 1.55;
  }

  .rm-services-tools {
    display: block;
    padding: 14px;
    margin-bottom: 16px;
    border-radius: 18px;
  }

  .rm-services-filter {
    width: 100%;
    margin-bottom: 10px;
  }

  .rm-services-filter .dropdown {
    width: 100%;
  }

  .rm-filter-btn {
    width: 100%;
    min-height: 48px;
    text-align: left;
  }

  .rm-filter-btn .caret {
    float: right;
    margin-top: 8px;
  }

  .rm-filter-menu {
    width: 100%;
    min-width: 100%;
  }

  .rm-services-currency {
    width: 100%;
    margin-bottom: 10px;
  }

  .rm-currency-btn {
    width: 100%;
  }

  .rm-services-search {
    width: 100%;
  }

  .rm-services-list {
    overflow: visible;
    background: transparent;
    border: 0;
    border-radius: 0;
    box-shadow: none;
  }

  .rm-services-list-head {
    padding: 3px 2px 13px;
    border: 0;
  }

  .rm-services-list-head h2 {
    font-size: 22px;
  }

  /* IMPORTANT:
     Hide desktop table completely on phone */

  .rm-services-desktop {
    display: none !important;
  }

  /* Show proper mobile cards */

  .rm-services-mobile {
    display: block !important;
    width: 100%;
  }

  .rm-mobile-filter-table {
    display: table;
    width: 100%;
    table-layout: fixed;
    background: transparent;
  }

  .rm-mobile-filter-table tbody {
    width: 100%;
  }

  .rm-mobile-filter-table tr {
    width: 100%;
  }

  .rm-mobile-filter-table td {
    width: 100%;
  }

  .rm-mobile-category {
    margin-top: 12px;
  }

  .rm-service-card {
    padding: 15px;
  }

  .rm-service-card-info {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .rm-services-note {
    padding: 17px;
    border-radius: 16px;
  }
}


/* =========================================
   VERY SMALL PHONES
   ========================================= */

@media (max-width: 380px) {

  .rm-services-page .container,
  .rm-page .container {
    padding-left: 10px;
    padding-right: 10px;
  }

  .rm-services-header h1 {
    font-size: 27px;
  }

  .rm-service-card {
    padding: 13px;
  }

  .rm-service-card-name {
    font-size: 14px;
  }

  .rm-service-card-info {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .rm-service-card-average {
    grid-column: 1 / -1;
  }
}

/* =========================================
   SERVICE DETAILS MODAL
   Modern Malaysia UI
   ========================================= */

.modal {
  padding-left: 0 !important;
  padding-right: 0 !important;
}

.modal-dialog {
  width: auto;
  max-width: 620px;
  margin: 40px auto;
  padding: 0 15px;
}

.modal-content {
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--rm-border);
  border-radius: 20px;
  box-shadow: 0 24px 70px rgba(20, 24, 40, 0.22);
}

.modal-header {
  position: relative;
  padding: 20px 58px 18px 22px;
  background: #fff;
  border-bottom: 1px solid var(--rm-border);
}

.modal-header .modal-title {
  margin: 0;
  color: var(--rm-text);
  font-size: 19px;
  line-height: 1.45;
  font-weight: 800;
  overflow-wrap: anywhere;
}

.modal-header .close {
  position: absolute;
  top: 50%;
  right: 20px;
  transform: translateY(-50%);
  width: 34px;
  height: 34px;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 50%;
  background: #f6f7fb;
  color: var(--rm-muted);
  font-size: 25px;
  line-height: 1;
  font-weight: 400;
  opacity: 1;
  text-shadow: none;
}

.modal-header .close:hover,
.modal-header .close:focus {
  background: var(--rm-primary-soft);
  color: var(--rm-primary);
  opacity: 1;
  outline: none;
}

.modal-body {
  padding: 22px;
  background: #fff;
  color: var(--rm-text);
  font-size: 15px;
  line-height: 1.7;
  overflow-wrap: anywhere;
}

.modal-body p {
  margin-top: 0;
  margin-bottom: 8px;
}

.modal-body p:last-child {
  margin-bottom: 0;
}

.modal-body a:not(.btn) {
  color: var(--rm-primary);
  font-weight: 600;
}

.modal-body .btn,
.modal-footer .btn {
  min-height: 50px;
  border-radius: 13px;
  font-size: 15px;
  font-weight: 700;
}

.modal .btn-primary {
  background: var(--rm-primary) !important;
  border-color: var(--rm-primary) !important;
  color: #fff !important;
  box-shadow: 0 8px 22px rgba(109, 74, 255, 0.20);
}

.modal .btn-primary:hover,
.modal .btn-primary:focus,
.modal .btn-primary:active,
.modal .btn-primary:active:hover {
  background: var(--rm-primary-dark) !important;
  border-color: var(--rm-primary-dark) !important;
  color: #fff !important;
  outline: none !important;
}

.modal-body .btn-block,
.modal-footer .btn-block {
  width: 100%;
}

.modal-footer {
  padding: 0 22px 22px;
  background: #fff;
  border-top: 0;
}

.modal-backdrop {
  background: #171a23;
}

.modal-backdrop.in {
  opacity: 0.48;
}

@media (max-width: 767px) {
  .modal-dialog {
    width: auto;
    max-width: none;
    margin: 18px auto;
    padding-left: 14px;
    padding-right: 14px;
  }

  .modal-content {
    width: 100%;
    border-radius: 18px;
  }

  .modal-header {
    padding: 17px 52px 16px 18px;
  }

  .modal-header .modal-title {
    font-size: 16px;
  }

  .modal-header .close {
    right: 14px;
    width: 32px;
    height: 32px;
    font-size: 23px;
  }

  .modal-body {
    padding: 18px;
    font-size: 14px;
    line-height: 1.65;
  }

  .modal-footer {
    padding: 0 18px 18px;
  }
}

@media (max-width: 380px) {
  .modal-dialog {
    margin: 12px auto;
    padding-left: 10px;
    padding-right: 10px;
  }

  .modal-content {
    border-radius: 16px;
  }

  .modal-header {
    padding: 15px 48px 14px 15px;
  }

  .modal-header .modal-title {
    font-size: 15px;
  }

  .modal-header .close {
    right: 11px;
    width: 30px;
    height: 30px;
    font-size: 22px;
  }

  .modal-body {
    padding: 15px;
    font-size: 14px;
  }

  .modal-footer {
    padding: 0 15px 15px;
  }
}

/* =========================================================
   ROKETMEDIA — NEW ORDER V5
   Modern Compact UI
   ========================================================= */

.rm-page {
  padding: 24px 0 45px;
}

/* Account Summary */
.rm-account-card {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 16px;
  padding: 18px 20px;
  background:
    linear-gradient(135deg, rgba(109, 74, 255, 0.08), rgba(139, 92, 255, 0.03)),
    #ffffff;
  border: 1px solid #e5e0ff;
  border-radius: 18px;
  box-shadow: 0 8px 26px rgba(20, 24, 40, 0.05);
  overflow: hidden;
}

.rm-account-card::before {
  content: "";
  position: absolute;
  left: 0;
  top: 14px;
  bottom: 14px;
  width: 4px;
  background: var(--rm-primary);
  border-radius: 0 10px 10px 0;
}

.rm-account-user {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.rm-account-icon {
  flex: 0 0 42px;
  width: 42px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 13px;
  background: var(--rm-primary-soft);
  color: var(--rm-primary);
  font-size: 17px;
}

.rm-account-user-info {
  min-width: 0;
}

.rm-account-label {
  display: block;
  margin-bottom: 3px;
  color: var(--rm-muted);
  font-size: 11px;
  line-height: 1.3;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.6px;
}

.rm-account-username {
  display: block;
  max-width: 260px;
  color: var(--rm-text);
  font-size: 17px;
  line-height: 1.35;
  font-weight: 800;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.rm-account-balance {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-left: auto;
}

.rm-balance-info {
  text-align: right;
}

.rm-balance-value {
  display: block;
  color: var(--rm-primary);
  font-size: 18px;
  line-height: 1.3;
  font-weight: 800;
  white-space: nowrap;
}

.rm-addfunds-btn {
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 9px 14px;
  background: var(--rm-primary);
  border: 1px solid var(--rm-primary);
  border-radius: 11px;
  color: #ffffff !important;
  font-size: 13px;
  line-height: 1.2;
  font-weight: 700;
  text-decoration: none !important;
  transition: background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.rm-addfunds-btn:hover,
.rm-addfunds-btn:focus {
  background: var(--rm-primary-dark);
  color: #ffffff !important;
  text-decoration: none;
  transform: translateY(-1px);
  box-shadow: 0 8px 20px rgba(109, 74, 255, 0.22);
}

/* Order Card */
.rm-order-card {
  padding: 24px;
}

.rm-section-heading {
  margin-bottom: 24px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--rm-border);
}

.rm-section-heading h1 {
  margin: 0 0 5px !important;
  color: var(--rm-text) !important;
  font-size: 26px !important;
  line-height: 1.25 !important;
  font-weight: 800 !important;
}

.rm-section-heading p {
  margin: 0;
  color: var(--rm-muted);
  font-size: 14px;
  line-height: 1.55;
}

.rm-order-card .form-group {
  margin-bottom: 18px;
}

.rm-order-card .control-label,
.rm-order-card label {
  margin-bottom: 7px;
  color: var(--rm-text);
  font-size: 14px;
  font-weight: 700;
}

.rm-order-card .form-control {
  height: 48px;
  border: 1px solid #e4e6ed;
  border-radius: 13px;
  background: #ffffff;
  color: var(--rm-text);
  font-size: 14px;
  box-shadow: none;
}

.rm-order-card .form-control:focus {
  border-color: var(--rm-primary);
  box-shadow: 0 0 0 3px rgba(109, 74, 255, 0.10);
}

.rm-order-card #template-input {
  padding-left: 42px;
}

.rm-order-card .rm-description {
  padding: 15px;
  background: #f8f8fc;
  border: 1px solid #e8eaf0;
  border-radius: 13px;
  color: #343844;
  font-size: 14px;
  line-height: 1.65;
}

.rm-order-card .rm-btn {
  min-height: 50px;
  margin-top: 4px;
  border-radius: 13px;
  font-size: 15px;
  font-weight: 800;
  box-shadow: 0 8px 20px rgba(109, 74, 255, 0.18);
}

/* About RoketMedia */
.rm-about-card {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-top: 4px;
  padding: 18px;
  background: #ffffff;
  border: 1px solid var(--rm-border);
  border-radius: 17px;
  box-shadow: 0 8px 25px rgba(20, 24, 40, 0.05);
}

.rm-about-icon {
  flex: 0 0 40px;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--rm-primary-soft);
  border-radius: 12px;
  color: var(--rm-primary);
  font-size: 17px;
}

.rm-about-content {
  flex: 1;
  min-width: 0;
}

.rm-about-content h3 {
  margin: 1px 0 5px !important;
  color: var(--rm-text) !important;
  font-size: 17px !important;
  line-height: 1.35 !important;
  font-weight: 800 !important;
}

.rm-about-content p {
  margin: 0 0 8px;
  max-width: 650px;
  color: var(--rm-muted);
  font-size: 13px;
  line-height: 1.55;
}

.rm-about-coming {
  display: inline-flex;
  align-items: center;
  padding: 5px 9px;
  background: #f7f5ff;
  border: 1px solid #e5e0ff;
  border-radius: 8px;
  color: var(--rm-primary);
  font-size: 11px;
  line-height: 1.3;
  font-weight: 700;
}

/* Mobile */
@media (max-width: 767px) {
  .rm-page {
    padding: 14px 0 30px;
  }

  .rm-account-card {
    display: block;
    margin-bottom: 12px;
    padding: 14px;
    border-radius: 16px;
  }

  .rm-account-card::before {
    top: 12px;
    bottom: 12px;
    width: 3px;
  }

  .rm-account-user {
    gap: 10px;
    padding-bottom: 12px;
    margin-bottom: 12px;
    border-bottom: 1px solid #eeecf8;
  }

  .rm-account-icon {
    flex-basis: 38px;
    width: 38px;
    height: 38px;
    border-radius: 11px;
    font-size: 15px;
  }

  .rm-account-label {
    margin-bottom: 2px;
    font-size: 9px;
    letter-spacing: 0.7px;
  }

  .rm-account-username {
    max-width: 230px;
    font-size: 15px;
  }

  .rm-account-balance {
    justify-content: space-between;
    width: 100%;
    gap: 10px;
    margin-left: 0;
  }

  .rm-balance-info {
    text-align: left;
  }

  .rm-balance-value {
    font-size: 17px;
  }

  .rm-addfunds-btn {
    min-height: 36px;
    padding: 8px 11px;
    border-radius: 10px;
    font-size: 12px;
  }

  .rm-order-card {
    padding: 16px !important;
    border-radius: 17px !important;
  }

  .rm-section-heading {
    margin-bottom: 19px;
    padding-bottom: 15px;
  }

  .rm-section-heading h1 {
    margin-bottom: 4px !important;
    font-size: 22px !important;
  }

  .rm-section-heading p {
    font-size: 12px;
    line-height: 1.5;
  }

  .rm-order-card .form-group {
    margin-bottom: 17px;
  }

  .rm-order-card .control-label,
  .rm-order-card label {
    font-size: 13px;
  }

  .rm-order-card .form-control {
    height: 46px;
    border-radius: 12px;
    font-size: 13px;
  }

  .rm-order-card .rm-description {
    padding: 13px;
    border-radius: 12px;
    font-size: 13px;
    line-height: 1.6;
  }

  .rm-order-card .rm-btn {
    min-height: 48px;
    border-radius: 12px;
    font-size: 14px;
  }

  .rm-about-card {
    gap: 11px;
    margin-top: 0;
    padding: 14px;
    border-radius: 15px;
  }

  .rm-about-icon {
    flex-basis: 36px;
    width: 36px;
    height: 36px;
    border-radius: 10px;
    font-size: 15px;
  }

  .rm-about-content h3 {
    margin-top: 0 !important;
    font-size: 15px !important;
  }

  .rm-about-content p {
    margin-bottom: 7px;
    font-size: 12px;
    line-height: 1.5;
  }

  .rm-about-coming {
    padding: 4px 7px;
    font-size: 10px;
  }
}

@media (max-width: 380px) {
  .rm-account-card {
    padding: 13px;
  }

  .rm-account-username {
    max-width: 190px;
  }

  .rm-balance-value {
    font-size: 16px;
  }

  .rm-addfunds-btn {
    padding-left: 9px;
    padding-right: 9px;
  }

  .rm-order-card {
    padding: 14px !important;
  }

  .rm-section-heading h1 {
    font-size: 21px !important;
  }

  .rm-about-card {
    padding: 13px;
  }
}

/* =========================================================
   ROKETMEDIA — NEW ORDER V6
   Compact Mobile App Feel
   Overrides V5 safely
   ========================================================= */

@media (max-width: 767px) {

  .rm-page {
    padding-top: 12px;
  }

  /* Account summary — shorter */
  .rm-account-card {
    margin-bottom: 10px;
    padding: 12px 13px;
    border-radius: 15px;
  }

  .rm-account-card::before {
    top: 10px;
    bottom: 10px;
  }

  .rm-account-user {
    gap: 9px;
    padding-bottom: 9px;
    margin-bottom: 9px;
  }

  .rm-account-icon {
    flex-basis: 34px;
    width: 34px;
    height: 34px;
    border-radius: 10px;
    font-size: 14px;
  }

  .rm-account-label {
    font-size: 9px;
  }

  .rm-account-username {
    font-size: 14px;
  }

  .rm-balance-value {
    font-size: 16px;
  }

  .rm-addfunds-btn {
    min-height: 34px;
    padding: 7px 10px;
    border-radius: 9px;
    font-size: 11px;
  }

  /* Main order card */
  .rm-order-card {
    padding: 14px !important;
    border-radius: 16px !important;
    margin-bottom: 12px !important;
  }

  /* Compact title — no large section */
  .rm-section-heading {
    margin-bottom: 15px;
    padding-bottom: 0;
    border-bottom: 0;
  }

  .rm-section-heading h1 {
    margin: 0 0 3px !important;
    font-size: 20px !important;
    line-height: 1.25 !important;
  }

  .rm-section-heading p {
    font-size: 11px;
    line-height: 1.45;
  }

  /* Less vertical spacing */
  .rm-order-card .form-group,
  .rm-order-card #fields .form-group {
    margin-bottom: 14px;
  }

  .rm-order-card .control-label,
  .rm-order-card label {
    margin-bottom: 6px;
    font-size: 12px;
    line-height: 1.35;
  }

  /* Shorter inputs */
  .rm-order-card .form-control {
    height: 42px;
    padding-left: 12px;
    padding-right: 12px;
    border-radius: 11px;
    font-size: 12px;
  }

  .rm-order-card #template-input {
    padding-left: 38px;
  }

  .rm-order-card .rm-search-btn {
    left: 11px;
    font-size: 13px;
  }

  /* Description stays readable but tighter */
  .rm-order-card .rm-description {
    padding: 11px 12px;
    border-radius: 11px;
    font-size: 12px;
    line-height: 1.5;
  }

  /* Dynamic fields */
  .rm-order-card #fields {
    margin: 0;
    padding: 0;
  }

  /* Terms */
  .rm-order-card .rm-checkbox {
    margin-top: 12px;
  }

  .rm-order-card .rm-checkbox label {
    font-size: 11px;
    line-height: 1.45;
  }

  /* Order button */
  .rm-order-card .rm-btn {
    min-height: 45px;
    margin-top: 1px;
    padding: 11px 14px;
    border-radius: 11px;
    font-size: 13px;
    box-shadow: 0 6px 16px rgba(109, 74, 255, 0.16);
  }

  /* About card */
  .rm-about-card {
    gap: 10px;
    padding: 12px;
    border-radius: 14px;
    box-shadow: 0 6px 20px rgba(20, 24, 40, 0.045);
  }

  .rm-about-icon {
    flex-basis: 32px;
    width: 32px;
    height: 32px;
    border-radius: 9px;
    font-size: 13px;
  }

  .rm-about-content h3 {
    margin: 0 0 3px !important;
    font-size: 14px !important;
    line-height: 1.3 !important;
  }

  .rm-about-content p {
    margin-bottom: 6px;
    font-size: 11px;
    line-height: 1.45;
  }

  .rm-about-coming {
    padding: 3px 6px;
    border-radius: 7px;
    font-size: 9px;
  }
}

@media (max-width: 380px) {
  .rm-page .container {
    padding-left: 10px;
    padding-right: 10px;
  }

  .rm-account-card {
    padding: 11px 12px;
  }

  .rm-order-card {
    padding: 13px !important;
  }

  .rm-section-heading h1 {
    font-size: 19px !important;
  }

  .rm-order-card .form-control {
    height: 41px;
  }

  .rm-about-card {
    padding: 11px;
  }
}


/* =========================================================
   ROKETMEDIA — NEW ORDER V7
   Dropdown + Service Description Polish
   Safe final overrides for existing V4/V5/V6 stylesheet
   ========================================================= */

/* Keep native/select2-style controls visually consistent */
.rm-order-card select.form-control,
.rm-order-card .select2-container,
.rm-order-card .select2-container .select2-selection,
.rm-order-card .select2-container--default .select2-selection--single {
  width: 100% !important;
}

.rm-order-card select.form-control {
  cursor: pointer;
  padding-right: 36px;
  text-overflow: ellipsis;
}

/* Perfect Panel / Select2 closed state */
.rm-order-card .select2-container--default .select2-selection--single {
  min-height: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  border: 1px solid #e4e6ed;
  border-radius: 13px;
  background: #fff;
  box-shadow: none;
  transition: border-color .2s ease, box-shadow .2s ease;
}

.rm-order-card .select2-container--default.select2-container--focus .select2-selection--single,
.rm-order-card .select2-container--default.select2-container--open .select2-selection--single {
  border-color: var(--rm-primary);
  box-shadow: 0 0 0 3px rgba(109, 74, 255, .10);
}

.rm-order-card .select2-container--default .select2-selection--single .select2-selection__rendered {
  width: 100%;
  padding: 0 38px 0 14px;
  color: var(--rm-text);
  font-size: 14px;
  line-height: 46px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.rm-order-card .select2-container--default .select2-selection--single .select2-selection__arrow {
  top: 0;
  right: 10px;
  width: 22px;
  height: 46px;
}

/* Select2 dropdown opened state */
.select2-dropdown {
  overflow: hidden;
  border: 1px solid #dedfe7 !important;
  border-radius: 12px !important;
  background: #fff;
  box-shadow: 0 14px 34px rgba(20, 24, 40, .14);
}

.select2-container--open .select2-dropdown--below {
  margin-top: 5px;
}

.select2-container--open .select2-dropdown--above {
  margin-top: -5px;
}

.select2-results__options {
  max-height: 320px !important;
  overflow-y: auto !important;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
  padding: 5px;
}

.select2-results__option {
  margin: 1px 0;
  padding: 9px 11px !important;
  border-radius: 8px;
  color: #343844;
  font-size: 13px;
  line-height: 1.4;
  white-space: normal;
  overflow-wrap: anywhere;
}

.select2-container--default .select2-results__option--highlighted[aria-selected] {
  background: var(--rm-primary) !important;
  color: #fff !important;
}

.select2-container--default .select2-results__option[aria-selected="true"] {
  background: var(--rm-primary-soft);
  color: var(--rm-primary-dark);
}

/* Select2 search, when enabled by the panel */
.select2-search--dropdown {
  padding: 7px;
}

.select2-search--dropdown .select2-search__field {
  height: 40px;
  padding: 8px 11px;
  border: 1px solid var(--rm-border) !important;
  border-radius: 9px;
  outline: 0;
}

.select2-search--dropdown .select2-search__field:focus {
  border-color: var(--rm-primary) !important;
  box-shadow: 0 0 0 3px rgba(109, 74, 255, .09);
}

/* Service description — cleaner information panel */
.rm-order-card .rm-description {
  position: relative;
  overflow: hidden;
  padding: 13px 14px;
  background: linear-gradient(135deg, #faf9ff 0%, #f7f8fc 100%);
  border: 1px solid #e7e3f6;
  border-radius: 13px;
  color: #3d414d;
  font-size: 13px;
  line-height: 1.55;
  overflow-wrap: anywhere;
}

.rm-order-card .rm-description::before {
  content: "";
  position: absolute;
  top: 11px;
  bottom: 11px;
  left: 0;
  width: 3px;
  border-radius: 0 5px 5px 0;
  background: var(--rm-primary);
}

.rm-order-card .rm-description p {
  margin: 0 0 5px;
}

.rm-order-card .rm-description p:last-child {
  margin-bottom: 0;
}

.rm-order-card .rm-description br + br {
  line-height: .65;
}

/* Prevent long service/category text from breaking the layout */
.rm-order-card .form-group,
.rm-order-card .form-control,
.rm-order-card .select2-container {
  min-width: 0;
}

@media (max-width: 767px) {
  /* Category + service closed state */
  .rm-order-card select.form-control {
    height: 42px;
    padding-left: 11px;
    padding-right: 32px;
    border-radius: 11px;
    font-size: 12px;
  }

  .rm-order-card .select2-container--default .select2-selection--single {
    min-height: 42px;
    height: 42px;
    border-radius: 11px;
  }

  .rm-order-card .select2-container--default .select2-selection--single .select2-selection__rendered {
    padding-left: 11px;
    padding-right: 34px;
    font-size: 12px;
    line-height: 40px;
  }

  .rm-order-card .select2-container--default .select2-selection--single .select2-selection__arrow {
    right: 8px;
    height: 40px;
  }

  /* Open menu: compact enough for phone without becoming cramped */
  .select2-results__options {
    max-height: 270px !important;
    padding: 4px;
  }

  .select2-results__option {
    padding: 8px 9px !important;
    border-radius: 7px;
    font-size: 12px;
    line-height: 1.35;
  }

  .select2-dropdown {
    border-radius: 10px !important;
  }

  /* Native Android/Chrome select popup itself is controlled by browser,
     but the field remains matched to RoketMedia UI. */

  /* Description: same information, noticeably tighter */
  .rm-order-card .rm-description {
    padding: 10px 11px 10px 13px;
    border-radius: 10px;
    font-size: 11.5px;
    line-height: 1.42;
  }

  .rm-order-card .rm-description::before {
    top: 9px;
    bottom: 9px;
    width: 3px;
  }

  .rm-order-card .rm-description p {
    margin-bottom: 4px;
  }

  /* Slightly tighten only the areas around category/service/description */
  .rm-order-card .form-group {
    margin-bottom: 13px;
  }
}

@media (max-width: 380px) {
  .rm-order-card .select2-container--default .select2-selection--single .select2-selection__rendered,
  .rm-order-card select.form-control {
    font-size: 11.5px;
  }

  .select2-results__option {
    font-size: 11.5px;
  }

  .rm-order-card .rm-description {
    font-size: 11px;
  }
}


/* =========================================================
   ROKETMEDIA — NEW ORDER V8
   Compact Open Dropdown
   Keeps V7 closed-state design
   ========================================================= */

/* Open dropdown: short, clean, scrollable */
.select2-results__options {
  max-height: 230px !important;
  overflow-y: auto !important;
  padding: 4px !important;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
}

.select2-results__option {
  min-height: 0 !important;
  margin: 1px 0 !important;
  padding: 7px 9px !important;
  border-radius: 7px !important;
  font-size: 12px !important;
  line-height: 1.3 !important;
  white-space: normal;
  overflow-wrap: anywhere;
}

/* Remove the double blue + purple selected appearance */
.select2-container--default .select2-results__option--highlighted[aria-selected],
.select2-container--default .select2-results__option--highlighted[aria-selected="true"],
.select2-container--default .select2-results__option[aria-selected="true"] {
  background: var(--rm-primary) !important;
  color: #fff !important;
  box-shadow: none !important;
  outline: 0 !important;
}

/* Avoid an oversized wrapper around highlighted options */
.select2-results__option--highlighted {
  box-shadow: none !important;
  outline: 0 !important;
}

/* Dropdown shell */
.select2-dropdown {
  border-radius: 10px !important;
  box-shadow: 0 10px 26px rgba(20, 24, 40, .13) !important;
}

/* Mobile: show roughly 4 category/service rows before scrolling */
@media (max-width: 767px) {
  .select2-results__options {
    max-height: 215px !important;
    padding: 3px !important;
  }

  .select2-results__option {
    padding: 7px 8px !important;
    font-size: 11.5px !important;
    line-height: 1.28 !important;
  }

  /* Service names can wrap, but keep each row compact */
  .select2-results__option > * {
    margin-top: 0 !important;
    margin-bottom: 0 !important;
  }

  /* Thin scrollbar */
  .select2-results__options::-webkit-scrollbar {
    width: 4px;
  }

  .select2-results__options::-webkit-scrollbar-thumb {
    background: #c9c3e8;
    border-radius: 10px;
  }

  .select2-results__options::-webkit-scrollbar-track {
    background: transparent;
  }
}

@media (max-width: 380px) {
  .select2-results__options {
    max-height: 200px !important;
  }

  .select2-results__option {
    font-size: 11px !important;
  }
}

/* =========================================================
   ROKETMEDIA — NEW ORDER V9
   Success Card + Mobile Overflow + Colour Polish
   ========================================================= */

/* Horizontal overflow protection */
html,
body {
  max-width: 100%;
  overflow-x: hidden;
}

.rm-page,
.rm-page .container,
.rm-account-card,
.rm-order-card,
.rm-about-card,
.rm-order-card form,
.rm-order-card .form-group,
.rm-order-card .input-wrapper,
.rm-order-card .form-control,
.rm-order-card .select2-container,
.rm-order-card .select2-selection,
.rm-order-card .rm-description {
  box-sizing: border-box;
  max-width: 100%;
}

.rm-page {
  width: 100%;
  overflow-x: clip;
}

.rm-page .container {
  overflow: visible;
}

.select2-container {
  max-width: 100% !important;
}

.select2-container--open,
.select2-dropdown {
  max-width: calc(100vw - 28px) !important;
  box-sizing: border-box !important;
}

/* Search gets a subtle branded surface */
.rm-order-card #template-input {
  background: #fbfaff;
  border-color: #e6e1f5;
}

.rm-order-card #template-input:focus {
  background: #fff;
}

.rm-order-card .rm-search-btn {
  color: var(--rm-primary);
}

/* Description = branded information panel */
.rm-order-card .rm-description {
  background: linear-gradient(135deg, #faf8ff 0%, #f5f3ff 100%);
  border-color: #e2dcff;
}

/* Dynamic read-only fields such as Average time */
.rm-order-card #fields input[readonly],
.rm-order-card #fields .form-control[readonly],
.rm-order-card #fields input:disabled,
.rm-order-card #fields .form-control:disabled {
  background: #faf9ff;
  border-color: #e7e2f7;
  color: #424653;
}

/* Charge is the important monetary field */
.rm-order-card #charge {
  background: #f7f4ff;
  border-color: #dcd3ff;
  color: var(--rm-primary);
  font-weight: 800;
}

/* Modern order-success card */
.rm-order-success {
  position: relative;
  margin: 0 0 22px;
  padding: 18px;
  overflow: hidden;
  background: linear-gradient(135deg, #f1fff7 0%, #f8fffb 100%);
  border: 1px solid #ccefdc;
  border-radius: 16px;
  color: #20372b;
}

.rm-success-close {
  position: absolute;
  top: 10px;
  right: 12px;
  z-index: 2;
  float: none;
  margin: 0;
  padding: 3px;
  border: 0;
  background: transparent;
  color: #75a78b;
  font-size: 23px;
  line-height: 1;
  opacity: .7;
}

.rm-success-head {
  display: flex;
  align-items: center;
  gap: 11px;
  padding-right: 25px;
  margin-bottom: 14px;
}

.rm-success-icon {
  flex: 0 0 38px;
  width: 38px;
  height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 11px;
  background: #d9f8e7;
  color: #188451;
  font-size: 15px;
}

.rm-success-head h4 {
  margin: 0 0 2px !important;
  color: #176c45 !important;
  font-size: 18px !important;
  line-height: 1.3;
  font-weight: 800;
}

.rm-success-head p {
  margin: 0;
  color: #648073;
  font-size: 12px;
  line-height: 1.45;
}

.rm-success-details {
  overflow: hidden;
  background: rgba(255,255,255,.78);
  border: 1px solid #dcf2e6;
  border-radius: 12px;
}

.rm-success-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
  padding: 9px 11px;
  border-bottom: 1px solid #e7f4ec;
  font-size: 12px;
  line-height: 1.4;
}

.rm-success-row:last-child {
  border-bottom: 0;
}

.rm-success-row > span:first-child {
  flex: 0 0 auto;
  color: #718078;
  font-weight: 600;
}

.rm-success-row strong {
  min-width: 0;
  color: #25352d;
  font-weight: 700;
  text-align: right;
  overflow-wrap: anywhere;
}

.rm-success-money {
  color: var(--rm-primary) !important;
}

.rm-success-link {
  word-break: break-all;
}

.rm-success-action {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-top: 12px;
  color: #177b4c !important;
  font-size: 12px;
  font-weight: 800;
  text-decoration: none !important;
}

.rm-success-action:hover,
.rm-success-action:focus {
  color: #0f603a !important;
  text-decoration: none !important;
}

@media (max-width: 767px) {
  .rm-page,
  .rm-page .container {
    max-width: 100vw;
  }

  .rm-page .container {
    padding-left: 14px !important;
    padding-right: 14px !important;
  }

  .rm-account-card,
  .rm-order-card,
  .rm-about-card {
    width: 100%;
    max-width: 100%;
  }

  .select2-container--open,
  .select2-dropdown {
    max-width: calc(100vw - 28px) !important;
  }

  .rm-order-success {
    margin-bottom: 16px;
    padding: 13px;
    border-radius: 13px;
  }

  .rm-success-head {
    gap: 9px;
    margin-bottom: 11px;
  }

  .rm-success-icon {
    flex-basis: 34px;
    width: 34px;
    height: 34px;
    border-radius: 10px;
    font-size: 13px;
  }

  .rm-success-head h4 {
    font-size: 15px !important;
  }

  .rm-success-head p {
    font-size: 10.5px;
  }

  .rm-success-row {
    padding: 8px 9px;
    gap: 9px;
    font-size: 11px;
  }

  .rm-success-row-stack {
    display: block;
  }

  .rm-success-row-stack > span:first-child {
    display: block;
    margin-bottom: 3px;
  }

  .rm-success-row-stack strong {
    display: block;
    text-align: left;
  }

  .rm-success-action {
    margin-top: 10px;
    font-size: 11px;
  }
}

/* =========================================================
   ROKETMEDIA — V11
   Purple Branded Order Success + Working Close Button
   Keeps V10 dropdown + horizontal overflow fixes
   ========================================================= */

.rm-order-success {
  background:
    linear-gradient(135deg, rgba(109, 74, 255, .105) 0%, rgba(139, 92, 255, .045) 100%),
    #ffffff !important;
  border: 1px solid #dcd3ff !important;
  box-shadow: 0 10px 28px rgba(109, 74, 255, .075) !important;
  color: var(--rm-text) !important;
}

.rm-success-close {
  position: absolute !important;
  top: 10px !important;
  right: 12px !important;
  z-index: 5 !important;
  width: 30px !important;
  height: 30px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 9px !important;
  background: rgba(109, 74, 255, .08) !important;
  color: #8a78d9 !important;
  font-size: 23px !important;
  line-height: 1 !important;
  font-weight: 600 !important;
  opacity: 1 !important;
  text-shadow: none !important;
  cursor: pointer !important;
  -webkit-tap-highlight-color: transparent;
}

.rm-success-close:hover,
.rm-success-close:focus,
.rm-success-close:active {
  background: var(--rm-primary) !important;
  color: #ffffff !important;
  outline: 0 !important;
}

.rm-success-icon {
  background: var(--rm-primary) !important;
  color: #ffffff !important;
  box-shadow: 0 7px 16px rgba(109, 74, 255, .18) !important;
}

.rm-success-head h4 {
  color: var(--rm-primary-dark) !important;
}

.rm-success-head p {
  color: #77758a !important;
}

.rm-success-details {
  background: rgba(255, 255, 255, .94) !important;
  border-color: #e4defc !important;
  box-shadow: 0 4px 14px rgba(109, 74, 255, .035) !important;
}

.rm-success-row {
  border-bottom-color: #eeeafd !important;
}

.rm-success-row > span:first-child {
  color: #77758a !important;
}

.rm-success-row strong {
  color: #292633 !important;
}

.rm-success-money {
  color: var(--rm-primary) !important;
}

.rm-success-action {
  color: var(--rm-primary) !important;
}

.rm-success-action:hover,
.rm-success-action:focus {
  color: var(--rm-primary-dark) !important;
}

@media (max-width: 767px) {
  .rm-success-close {
    top: 9px !important;
    right: 9px !important;
    width: 28px !important;
    height: 28px !important;
    border-radius: 8px !important;
    font-size: 21px !important;
  }
}

/* V14: purple order ID value */
.rm-order-success .rm-success-row:first-child strong {
  color: var(--rm-primary) !important;
}

/* =========================================================
   V15 — Success labels + single-colour Select2 selected row
   ========================================================= */

/* Success detail labels: ID Pesanan, Servis, Link, Kuantiti,
   Jumlah Bayaran, Baki Akaun */
.rm-order-success .rm-success-row > span:first-child {
  color: var(--rm-primary) !important;
  font-weight: 700 !important;
}

/* Keep order ID value as the purple accent */
.rm-order-success .rm-success-row:first-child strong {
  color: var(--rm-primary) !important;
}

/* Category + Service: one solid RoketMedia purple only.
   Force nested theme wrappers to inherit so no blue inner layer appears. */
.select2-container--default .select2-results__option--highlighted[aria-selected],
.select2-container--default .select2-results__option--highlighted[aria-selected="true"],
.select2-container--default .select2-results__option[aria-selected="true"] {
  background-color: var(--rm-primary) !important;
  background-image: none !important;
  color: #fff !important;
  border-color: transparent !important;
  box-shadow: none !important;
  outline: 0 !important;
}

.select2-container--default .select2-results__option--highlighted[aria-selected] *,
.select2-container--default .select2-results__option--highlighted[aria-selected="true"] *,
.select2-container--default .select2-results__option[aria-selected="true"] * {
  background: transparent !important;
  background-color: transparent !important;
  background-image: none !important;
  color: inherit !important;
  border-color: transparent !important;
  box-shadow: none !important;
  outline: 0 !important;
}

/* =========================================================
   V16 — Success ID, service badge visibility, hard X-overflow fix
   ========================================================= */

/* Order ID value: keep it dark; labels remain purple from V15 */
.rm-order-success .rm-success-row:first-child strong {
  color: #292633 !important;
}

/* Service ID badge: normal dropdown rows */
.select2-results__option .badge,
.select2-results__option [class*="badge"] {
  background: #7d7d82 !important;
  background-color: #7d7d82 !important;
  color: #ffffff !important;
  border: 0 !important;
  box-shadow: none !important;
}

/* Service ID badge: selected/highlighted purple row.
   Keep a separate white pill so the ID never disappears into the row. */
.select2-container--default .select2-results__option--highlighted[aria-selected] .badge,
.select2-container--default .select2-results__option--highlighted[aria-selected] [class*="badge"],
.select2-container--default .select2-results__option[aria-selected="true"] .badge,
.select2-container--default .select2-results__option[aria-selected="true"] [class*="badge"] {
  background: #ffffff !important;
  background-color: #ffffff !important;
  color: var(--rm-primary) !important;
  border: 0 !important;
  box-shadow: 0 1px 3px rgba(30, 25, 55, .12) !important;
}

/* Stronger mobile horizontal-scroll protection.
   Does not disable vertical scrolling or Select2 opening. */
html {
  width: 100% !important;
  max-width: 100% !important;
  overflow-x: hidden !important;
}

body {
  width: 100% !important;
  max-width: 100% !important;
  overflow-x: hidden !important;
  position: relative;
}

.rm-page,
.rm-page > .container {
  width: 100% !important;
  max-width: 100% !important;
  overflow-x: hidden !important;
}

@media (max-width: 767px) {
  .select2-container--open .select2-dropdown {
    max-width: calc(100vw - 20px) !important;
  }
}

/* =========================================================
   ROKETMEDIA — ORDERS V2
   Mobile width / card grid compatibility fix
   ========================================================= */

/* Orders page must never create horizontal page scroll */
.rm-orders-page,
.rm-orders-page .container,
.rm-orders-page .container-fluid,
.rm-orders-wrap,
.rm-orders-content,
.rm-orders-list,
.rm-orders-list > *,
.rm-order-history-card,
.rm-orders-card,
.rm-history-card {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  box-sizing: border-box;
}

.rm-orders-page,
.rm-orders-wrap,
.rm-orders-content,
.rm-orders-list,
.rm-order-history-card,
.rm-orders-card,
.rm-history-card {
  overflow-x: hidden;
}

/* Header / search */
.rm-orders-page .form-control,
.rm-orders-search,
.rm-orders-search-wrap,
.rm-orders-search-form,
.rm-orders-search-form .input-group {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  box-sizing: border-box;
}

/* Status tabs: intentionally scroll inside their own row only */
.rm-orders-tabs,
.rm-order-tabs,
.rm-status-tabs {
  display: flex;
  flex-wrap: nowrap;
  gap: 10px;
  width: 100%;
  max-width: 100%;
  overflow-x: auto;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding-bottom: 3px;
}

.rm-orders-tabs::-webkit-scrollbar,
.rm-order-tabs::-webkit-scrollbar,
.rm-status-tabs::-webkit-scrollbar {
  display: none;
}

.rm-orders-tabs > *,
.rm-order-tabs > *,
.rm-status-tabs > * {
  flex: 0 0 auto;
}

/* Order information grid — this is the main mobile overflow fix */
.rm-order-stats,
.rm-order-info-grid,
.rm-order-meta-grid,
.rm-history-stats,
.rm-history-grid {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 10px !important;
  width: 100% !important;
  max-width: 100% !important;
  min-width: 0 !important;
  box-sizing: border-box !important;
}

.rm-order-stats > *,
.rm-order-info-grid > *,
.rm-order-meta-grid > *,
.rm-history-stats > *,
.rm-history-grid > * {
  width: auto !important;
  max-width: 100% !important;
  min-width: 0 !important;
  box-sizing: border-box !important;
}

/* Prevent long values from forcing a card wider than the screen */
.rm-order-history-card *,
.rm-orders-card *,
.rm-history-card * {
  min-width: 0;
  box-sizing: border-box;
}

.rm-order-service,
.rm-order-service-name,
.rm-history-service,
.rm-order-link,
.rm-history-link,
.rm-order-link a,
.rm-history-link a {
  max-width: 100%;
  overflow-wrap: anywhere;
  word-break: break-word;
}

/* Link box */
.rm-order-link,
.rm-history-link,
.rm-order-link-box {
  width: 100%;
  max-width: 100%;
  overflow: hidden;
}

.rm-order-link a,
.rm-history-link a,
.rm-order-link-box a {
  display: block;
  width: 100%;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* Action area */
.rm-order-actions,
.rm-history-actions {
  width: 100%;
  max-width: 100%;
  min-width: 0;
}

.rm-order-actions .btn,
.rm-history-actions .btn,
.rm-order-actions a,
.rm-history-actions a {
  max-width: 100%;
  box-sizing: border-box;
}

@media (max-width: 767px) {
  .rm-orders-page {
    width: 100% !important;
    max-width: 100vw !important;
    overflow-x: hidden !important;
  }

  .rm-orders-page .container,
  .rm-orders-page .container-fluid {
    width: 100% !important;
    max-width: 100% !important;
    padding-left: 14px !important;
    padding-right: 14px !important;
    margin-left: auto !important;
    margin-right: auto !important;
    overflow-x: hidden !important;
  }

  .rm-order-history-card,
  .rm-orders-card,
  .rm-history-card {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    overflow: hidden !important;
  }

  .rm-order-stats,
  .rm-order-info-grid,
  .rm-order-meta-grid,
  .rm-history-stats,
  .rm-history-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 8px !important;
  }

  .rm-order-stats > *,
  .rm-order-info-grid > *,
  .rm-order-meta-grid > *,
  .rm-history-stats > *,
  .rm-history-grid > * {
    min-width: 0 !important;
    width: 100% !important;
    max-width: 100% !important;
    padding-left: 12px !important;
    padding-right: 12px !important;
    overflow: hidden !important;
  }

  .rm-orders-tabs,
  .rm-order-tabs,
  .rm-status-tabs {
    margin-right: 0 !important;
    padding-right: 0 !important;
  }
}

@media (max-width: 380px) {
  .rm-orders-page .container,
  .rm-orders-page .container-fluid {
    padding-left: 10px !important;
    padding-right: 10px !important;
  }

  .rm-order-stats,
  .rm-order-info-grid,
  .rm-order-meta-grid,
  .rm-history-stats,
  .rm-history-grid {
    gap: 7px !important;
  }
}

/* =========================================================
   ROKETMEDIA — REFUNDS V2
   Compact Mobile UI — 2026-09-22
   ========================================================= */

.rm-refunds-page,
.rm-refund-page {
  padding: 24px 0 42px;
}

.rm-refunds-page .container,
.rm-refund-page .container {
  max-width: 980px;
}

.rm-refunds-header,
.rm-refund-header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 18px;
}

.rm-refunds-header-icon,
.rm-refund-header-icon {
  flex: 0 0 48px;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  background: var(--rm-primary-soft);
  color: var(--rm-primary);
  font-size: 21px;
}

.rm-refunds-header h1,
.rm-refund-header h1 {
  margin: 0 0 3px !important;
  color: var(--rm-text) !important;
  font-size: 28px !important;
  line-height: 1.2 !important;
  font-weight: 800 !important;
}

.rm-refunds-header p,
.rm-refund-header p {
  margin: 0;
  color: var(--rm-muted);
  font-size: 14px;
  line-height: 1.45;
}

.rm-refunds-alert,
.rm-refund-alert {
  margin: 0 0 16px;
  padding: 12px 14px;
  border: 1px solid #e4ddff;
  border-radius: 13px;
  background: #f7f5ff;
  color: #69627b;
  font-size: 13px;
  line-height: 1.45;
}

.rm-refunds-search,
.rm-refund-search {
  margin-bottom: 12px;
}

.rm-refunds-search .form-control,
.rm-refund-search .form-control {
  height: 46px;
  border: 1px solid var(--rm-border);
  border-radius: 13px;
  box-shadow: none;
  font-size: 14px;
}

.rm-refunds-tabs,
.rm-refund-tabs {
  display: flex;
  gap: 8px;
  margin: 0 0 20px;
  padding: 0;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.rm-refunds-tabs::-webkit-scrollbar,
.rm-refund-tabs::-webkit-scrollbar {
  display: none;
}

.rm-refunds-tabs > li,
.rm-refund-tabs > li {
  flex: 0 0 auto;
  float: none !important;
}

.rm-refunds-tabs > li > a,
.rm-refund-tabs > li > a {
  margin: 0 !important;
  padding: 9px 16px !important;
  border: 1px solid #dedfe6 !important;
  border-radius: 999px !important;
  background: #fff !important;
  color: #60636c !important;
  font-size: 13px !important;
  line-height: 1.25 !important;
  font-weight: 700 !important;
  white-space: nowrap;
}

.rm-refunds-tabs > li.active > a,
.rm-refunds-tabs > li.active > a:hover,
.rm-refunds-tabs > li.active > a:focus,
.rm-refund-tabs > li.active > a,
.rm-refund-tabs > li.active > a:hover,
.rm-refund-tabs > li.active > a:focus {
  border-color: var(--rm-primary) !important;
  background: var(--rm-primary) !important;
  color: #fff !important;
  box-shadow: 0 7px 16px rgba(109, 74, 255, 0.18);
}

.rm-refunds-title,
.rm-refund-list-title {
  margin: 0 0 12px !important;
  color: var(--rm-text) !important;
  font-size: 21px !important;
  line-height: 1.3 !important;
  font-weight: 800 !important;
}

.rm-refund-list {
  display: grid;
  gap: 12px;
}

.rm-refund-card {
  margin: 0 0 12px;
  padding: 16px;
  background: #fff;
  border: 1px solid var(--rm-border);
  border-radius: 17px;
  box-shadow: 0 7px 22px rgba(20, 24, 40, 0.045);
}

.rm-refund-card-head,
.rm-refund-card-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 12px;
  margin-bottom: 12px;
  border-bottom: 1px solid #eff0f4;
}

.rm-refund-label,
.rm-refund-card-label {
  display: block;
  margin-bottom: 3px;
  color: #9a9ca5;
  font-size: 10px;
  line-height: 1.3;
  font-weight: 800;
  letter-spacing: .55px;
  text-transform: uppercase;
}

.rm-refund-order-id,
.rm-refund-id {
  color: var(--rm-primary) !important;
  font-size: 20px;
  line-height: 1.2;
  font-weight: 800;
  text-decoration: none !important;
}

.rm-refund-status,
.rm-refund-status-badge {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  max-width: 52%;
  padding: 6px 10px;
  border-radius: 999px;
  background: var(--rm-primary-soft);
  color: var(--rm-primary);
  font-size: 11px;
  line-height: 1.25;
  font-weight: 800;
  text-align: center;
}

.rm-refund-grid,
.rm-refund-info-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 0;
  margin: 0;
}

.rm-refund-info,
.rm-refund-stat,
.rm-refund-amount-box {
  min-width: 0;
  padding: 0;
  background: transparent;
  border: 0;
  border-radius: 0;
}

.rm-refund-amount,
.rm-refund-amount-value {
  display: block;
  color: var(--rm-primary);
  font-size: 18px;
  line-height: 1.25;
  font-weight: 800;
}

/* Status is already shown as a badge in the card header. */
.rm-refund-grid .rm-refund-status-box,
.rm-refund-info-grid .rm-refund-status-box,
.rm-refund-body .rm-refund-status-row,
.rm-refund-body .rm-refund-status-value {
  display: none !important;
}

.rm-refund-date {
  display: flex;
  align-items: center;
  gap: 7px;
  margin-top: 10px;
  color: #9699a3;
  font-size: 12px;
  line-height: 1.4;
}

.rm-refund-date i {
  color: var(--rm-primary);
}

.rm-refund-view,
.rm-refund-view-btn,
a.rm-refund-view,
a.rm-refund-view-btn {
  width: 100%;
  min-height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  margin-top: 12px;
  padding: 9px 12px;
  border: 1px solid #e4ddff;
  border-radius: 11px;
  background: #f7f5ff;
  color: var(--rm-primary) !important;
  font-size: 12px;
  line-height: 1.25;
  font-weight: 800;
  text-decoration: none !important;
}

.rm-refund-view:hover,
.rm-refund-view:focus,
.rm-refund-view-btn:hover,
.rm-refund-view-btn:focus {
  background: var(--rm-primary-soft);
  color: var(--rm-primary-dark) !important;
}

@media (max-width: 767px) {
  .rm-refunds-page,
  .rm-refund-page {
    padding: 16px 0 30px;
  }

  .rm-refunds-page .container,
  .rm-refund-page .container {
    width: 100%;
    padding-left: 14px;
    padding-right: 14px;
  }

  .rm-refunds-header,
  .rm-refund-header {
    gap: 10px;
    margin-bottom: 13px;
  }

  .rm-refunds-header-icon,
  .rm-refund-header-icon {
    flex-basis: 40px;
    width: 40px;
    height: 40px;
    border-radius: 12px;
    font-size: 17px;
  }

  .rm-refunds-header h1,
  .rm-refund-header h1 {
    margin-bottom: 2px !important;
    font-size: 22px !important;
  }

  .rm-refunds-header p,
  .rm-refund-header p {
    font-size: 11px;
    line-height: 1.4;
  }

  .rm-refunds-alert,
  .rm-refund-alert {
    margin-bottom: 12px;
    padding: 10px 11px;
    border-radius: 11px;
    font-size: 11px;
  }

  .rm-refunds-search,
  .rm-refund-search {
    margin-bottom: 10px;
  }

  .rm-refunds-search .form-control,
  .rm-refund-search .form-control {
    height: 42px;
    border-radius: 11px;
    font-size: 12px;
  }

  .rm-refunds-tabs,
  .rm-refund-tabs {
    gap: 7px;
    margin-bottom: 16px;
  }

  .rm-refunds-tabs > li > a,
  .rm-refund-tabs > li > a {
    padding: 8px 13px !important;
    font-size: 11px !important;
  }

  .rm-refunds-title,
  .rm-refund-list-title {
    margin-bottom: 10px !important;
    font-size: 18px !important;
  }

  .rm-refund-card {
    margin-bottom: 10px;
    padding: 13px;
    border-radius: 15px;
    box-shadow: 0 5px 17px rgba(20, 24, 40, 0.04);
  }

  .rm-refund-card-head,
  .rm-refund-card-header {
    gap: 8px;
    padding-bottom: 10px;
    margin-bottom: 10px;
  }

  .rm-refund-label,
  .rm-refund-card-label {
    margin-bottom: 2px;
    font-size: 9px;
  }

  .rm-refund-order-id,
  .rm-refund-id {
    font-size: 18px;
  }

  .rm-refund-status,
  .rm-refund-status-badge {
    max-width: 55%;
    padding: 5px 8px;
    font-size: 10px;
  }

  .rm-refund-amount,
  .rm-refund-amount-value {
    font-size: 16px;
  }

  .rm-refund-date {
    margin-top: 8px;
    font-size: 11px;
  }

  .rm-refund-view,
  .rm-refund-view-btn,
  a.rm-refund-view,
  a.rm-refund-view-btn {
    min-height: 37px;
    margin-top: 10px;
    padding: 8px 10px;
    border-radius: 10px;
    font-size: 11px;
  }
}

@media (max-width: 380px) {
  .rm-refunds-page .container,
  .rm-refund-page .container {
    padding-left: 10px;
    padding-right: 10px;
  }

  .rm-refund-card {
    padding: 12px;
  }

  .rm-refunds-header h1,
  .rm-refund-header h1 {
    font-size: 21px !important;
  }
}

/* =========================================================
   ROKETMEDIA — REFILLS V1
   Modern Compact UI
   ========================================================= */

.rm-refills-page {
  padding: 24px 0 45px;
  min-height: 100vh;
}

.rm-refills-page *,
.rm-refills-page *::before,
.rm-refills-page *::after {
  box-sizing: border-box;
}

.rm-refills-page .container {
  max-width: 900px;
}

/* Header */
.rm-refills-header {
  display: flex;
  align-items: center;
  gap: 13px;
  margin-bottom: 16px;
}

.rm-refills-header-icon {
  width: 50px;
  height: 50px;
  flex: 0 0 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 15px;
  background: var(--rm-primary-soft);
  color: var(--rm-primary);
  font-size: 20px;
}

.rm-refills-header h1 {
  margin: 0 0 3px;
  color: var(--rm-text);
  font-size: 28px;
  line-height: 1.15;
  font-weight: 800;
}

.rm-refills-header p {
  margin: 0;
  color: var(--rm-muted);
  font-size: 13px;
  line-height: 1.45;
}

/* Search */
.rm-refills-search {
  position: relative;
  display: flex;
  align-items: center;
  height: 52px;
  margin-bottom: 12px;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--rm-border);
  border-radius: 15px;
  box-shadow: 0 6px 20px rgba(20, 24, 40, 0.035);
}

.rm-refills-search-icon {
  width: 46px;
  flex: 0 0 46px;
  text-align: center;
  color: var(--rm-muted);
  font-size: 16px;
}

.rm-refills-search input {
  flex: 1 1 auto;
  width: 100%;
  min-width: 0;
  height: 100%;
  padding: 0;
  border: 0 !important;
  outline: 0 !important;
  background: transparent;
  color: var(--rm-text);
  font-size: 14px;
  box-shadow: none !important;
}

.rm-refills-search input::placeholder {
  color: #a0a5b1;
}

.rm-refills-search button {
  width: 46px;
  height: 100%;
  flex: 0 0 46px;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--rm-primary);
}

/* Tabs */
.rm-refills-tabs {
  display: flex;
  gap: 7px;
  margin: 0 0 18px;
  padding: 2px 1px 5px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.rm-refills-tabs::-webkit-scrollbar {
  display: none;
}

.rm-refills-tab {
  height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  padding: 0 15px;
  border: 1px solid #dfe1e8;
  border-radius: 999px;
  background: #fff;
  color: #696f7d;
  font-size: 12px;
  line-height: 1;
  font-weight: 700;
  white-space: nowrap;
  text-decoration: none !important;
}

.rm-refills-tab:hover,
.rm-refills-tab:focus {
  color: var(--rm-primary);
  border-color: #d9d1ff;
}

.rm-refills-tab.active {
  border-color: var(--rm-primary);
  background: var(--rm-primary);
  color: #fff !important;
  box-shadow: 0 6px 16px rgba(109, 74, 255, 0.16);
}

/* Section */
.rm-refills-title {
  margin: 0 0 10px;
  color: var(--rm-text);
  font-size: 19px;
  line-height: 1.3;
  font-weight: 800;
}

.rm-refills-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

/* Card */
.rm-refill-card {
  padding: 14px 15px;
  background: #fff;
  border: 1px solid var(--rm-border);
  border-radius: 16px;
  box-shadow: 0 6px 20px rgba(20, 24, 40, 0.035);
}

.rm-refill-card-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
}

.rm-refill-card-label {
  display: block;
  margin-bottom: 2px;
  color: #969baa;
  font-size: 9px;
  line-height: 1.3;
  font-weight: 800;
  letter-spacing: .55px;
  text-transform: uppercase;
}

.rm-refill-id {
  color: var(--rm-primary);
  font-size: 18px;
  line-height: 1.2;
  font-weight: 800;
}

.rm-refill-status {
  max-width: 58%;
  min-height: 27px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 4px 9px;
  border-radius: 999px;
  font-size: 10px;
  line-height: 1.25;
  font-weight: 800;
  text-align: center;
  overflow-wrap: anywhere;
}

.rm-refill-status.status-pending {
  background: #fff6df;
  color: #a66b00;
}

.rm-refill-status.status-inprogress {
  background: #eef4ff;
  color: #3567c8;
}

.rm-refill-status.status-completed {
  background: #ecfdf3;
  color: #18794e;
}

.rm-refill-status.status-rejected,
.rm-refill-status.status-error {
  background: #fff0f1;
  color: #cf4656;
}

.rm-refill-status.status-default {
  background: var(--rm-primary-soft);
  color: var(--rm-primary);
}

.rm-refill-divider {
  height: 1px;
  margin: 11px 0;
  background: #eef0f4;
}

/* Order + date */
.rm-refill-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 10px;
}

.rm-refill-order-wrap {
  min-width: 0;
}

.rm-refill-order-link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: var(--rm-primary) !important;
  font-size: 13px;
  font-weight: 800;
  text-decoration: none !important;
}

.rm-refill-date {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 5px;
  min-width: 0;
  color: #9298a6;
  font-size: 11px;
  line-height: 1.35;
  text-align: right;
}

.rm-refill-date i {
  flex: 0 0 auto;
  color: var(--rm-primary);
}

/* Service */
.rm-refill-service {
  margin-bottom: 9px;
}

.rm-refill-service-name {
  color: var(--rm-text);
  font-size: 13px;
  line-height: 1.45;
  font-weight: 700;
  overflow-wrap: anywhere;
}

/* Link */
.rm-refill-target {
  display: flex;
  align-items: center;
  gap: 7px;
  min-width: 0;
  padding: 8px 10px;
  background: #f8f8fc;
  border: 1px solid #eff0f4;
  border-radius: 10px;
  color: #6f7583;
  font-size: 11px;
  line-height: 1.4;
}

.rm-refill-target i {
  flex: 0 0 auto;
  color: var(--rm-primary);
}

.rm-refill-target-text {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* Empty */
.rm-refills-empty {
  padding: 30px 16px;
  text-align: center;
  background: #fff;
  border: 1px solid var(--rm-border);
  border-radius: 16px;
}

.rm-refills-empty-icon {
  width: 46px;
  height: 46px;
  margin: 0 auto 9px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 13px;
  background: var(--rm-primary-soft);
  color: var(--rm-primary);
  font-size: 18px;
}

.rm-refills-empty h3 {
  margin: 0 0 4px;
  color: var(--rm-text);
  font-size: 16px;
  font-weight: 800;
}

.rm-refills-empty p {
  margin: 0;
  color: var(--rm-muted);
  font-size: 12px;
}

/* Pagination */
.rm-refills-pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 18px;
}

.rm-refills-page-btn {
  width: 36px;
  height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--rm-border);
  border-radius: 10px;
  background: #fff;
  color: #666d7b;
  font-size: 12px;
  font-weight: 700;
  text-decoration: none !important;
}

.rm-refills-page-btn:hover,
.rm-refills-page-btn:focus {
  color: var(--rm-primary);
}

.rm-refills-page-btn.active {
  border-color: var(--rm-primary);
  background: var(--rm-primary);
  color: #fff;
}

/* Mobile */
@media (max-width: 767px) {
  .rm-refills-page {
    padding: 16px 0 34px;
  }

  .rm-refills-page .container {
    width: 100%;
    padding-left: 12px;
    padding-right: 12px;
  }

  .rm-refills-header {
    gap: 10px;
    margin-bottom: 13px;
  }

  .rm-refills-header-icon {
    width: 43px;
    height: 43px;
    flex-basis: 43px;
    border-radius: 13px;
    font-size: 17px;
  }

  .rm-refills-header h1 {
    font-size: 23px;
  }

  .rm-refills-header p {
    font-size: 11px;
  }

  .rm-refills-search {
    height: 48px;
    margin-bottom: 10px;
    border-radius: 13px;
  }

  .rm-refills-search-icon,
  .rm-refills-search button {
    width: 42px;
    flex-basis: 42px;
  }

  .rm-refills-search input {
    font-size: 12px;
  }

  .rm-refills-tabs {
    gap: 6px;
    margin-bottom: 15px;
  }

  .rm-refills-tab {
    height: 35px;
    padding: 0 13px;
    font-size: 11px;
  }

  .rm-refills-title {
    margin-bottom: 8px;
    font-size: 17px;
  }

  .rm-refills-list {
    gap: 8px;
  }

  .rm-refill-card {
    padding: 12px 13px;
    border-radius: 14px;
  }

  .rm-refill-id {
    font-size: 16px;
  }

  .rm-refill-status {
    min-height: 25px;
    padding: 4px 8px;
    font-size: 9px;
  }

  .rm-refill-divider {
    margin: 9px 0;
  }

  .rm-refill-meta {
    margin-bottom: 8px;
  }

  .rm-refill-order-link {
    font-size: 12px;
  }

  .rm-refill-date {
    font-size: 10px;
  }

  .rm-refill-service {
    margin-bottom: 8px;
  }

  .rm-refill-service-name {
    font-size: 12px;
  }

  .rm-refill-target {
    padding: 7px 9px;
    border-radius: 9px;
    font-size: 10px;
  }
}

@media (max-width: 380px) {
  .rm-refills-page .container {
    padding-left: 10px;
    padding-right: 10px;
  }

  .rm-refill-card {
    padding: 11px 12px;
  }

  .rm-refill-meta {
    align-items: flex-start;
    flex-direction: column;
    gap: 5px;
  }

  .rm-refill-date {
    justify-content: flex-start;
    text-align: left;
  }

  .rm-refill-status {
    max-width: 55%;
  }
}


/* =========================================================
   ROKETMEDIA — AFFILIATE V1
   Modern Compact UI
   ========================================================= */

.rm-affiliate-page {
  padding: 24px 0 45px;
  min-height: 100vh;
}

.rm-affiliate-page *,
.rm-affiliate-page *::before,
.rm-affiliate-page *::after {
  box-sizing: border-box;
}

.rm-affiliate-page .container {
  max-width: 900px;
}

.rm-affiliate-wrap {
  width: 100%;
}

/* Header */
.rm-affiliate-header {
  display: flex;
  align-items: center;
  gap: 13px;
  margin-bottom: 16px;
}

.rm-affiliate-header-icon {
  width: 50px;
  height: 50px;
  flex: 0 0 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 15px;
  background: var(--rm-primary-soft);
  color: var(--rm-primary);
  font-size: 19px;
}

.rm-affiliate-header h1 {
  margin: 0 0 3px !important;
  color: var(--rm-text) !important;
  font-size: 28px !important;
  line-height: 1.15 !important;
  font-weight: 800 !important;
}

.rm-affiliate-header p {
  margin: 0;
  color: var(--rm-muted);
  font-size: 13px;
  line-height: 1.45;
}

/* Backend affiliate information */
.rm-affiliate-info {
  margin-bottom: 14px;
  padding: 14px 16px;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--rm-border);
  border-radius: 15px;
  color: var(--rm-text);
  font-size: 13px;
  line-height: 1.6;
  box-shadow: 0 6px 20px rgba(20, 24, 40, 0.035);
}

.rm-affiliate-info > :last-child {
  margin-bottom: 0;
}

/* Main referral card */
.rm-affiliate-card {
  padding: 17px;
  background: #fff;
  border: 1px solid var(--rm-border);
  border-radius: 18px;
  box-shadow: 0 8px 24px rgba(20, 24, 40, 0.045);
}

.rm-affiliate-card-title {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 15px;
}

.rm-affiliate-card-title h2 {
  margin: 0 0 3px !important;
  color: var(--rm-text) !important;
  font-size: 19px !important;
  line-height: 1.3 !important;
  font-weight: 800 !important;
}

.rm-affiliate-card-title p {
  margin: 0;
  color: var(--rm-muted);
  font-size: 12px;
  line-height: 1.45;
}

.rm-affiliate-title-icon {
  width: 36px;
  height: 36px;
  flex: 0 0 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 11px;
  background: var(--rm-primary-soft);
  color: var(--rm-primary);
  font-size: 14px;
}

.rm-affiliate-link-label,
.rm-affiliate-small-label {
  display: block;
  margin-bottom: 6px;
  color: #969baa;
  font-size: 10px;
  line-height: 1.3;
  font-weight: 800;
  letter-spacing: .5px;
  text-transform: uppercase;
}

.rm-affiliate-link-row {
  display: flex;
  align-items: stretch;
  gap: 8px;
  margin-bottom: 12px;
}

.rm-affiliate-link-input.form-control {
  min-width: 0;
  height: 44px;
  padding: 10px 12px;
  border: 1px solid #e4e6ed;
  border-radius: 11px;
  background: #fafaff;
  color: var(--rm-text);
  font-size: 12px;
  box-shadow: none;
}

.rm-affiliate-copy-btn {
  min-width: 88px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 0 13px;
  border: 1px solid var(--rm-primary);
  border-radius: 11px;
  background: var(--rm-primary);
  color: #fff;
  font-size: 12px;
  font-weight: 800;
}

.rm-affiliate-copy-btn:hover,
.rm-affiliate-copy-btn:focus {
  background: var(--rm-primary-dark);
  border-color: var(--rm-primary-dark);
  color: #fff;
  outline: none;
}

.rm-affiliate-summary-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.rm-affiliate-summary-item {
  min-width: 0;
  padding: 11px 12px;
  background: #f8f8fc;
  border: 1px solid #f0f1f5;
  border-radius: 12px;
}

.rm-affiliate-summary-item span {
  display: block;
  margin-bottom: 4px;
  color: var(--rm-muted);
  font-size: 10px;
  line-height: 1.3;
  font-weight: 700;
}

.rm-affiliate-summary-item strong {
  display: block;
  color: var(--rm-primary);
  font-size: 16px;
  line-height: 1.3;
  font-weight: 800;
  overflow-wrap: anywhere;
}

/* Section heading */
.rm-affiliate-section-head {
  margin: 22px 0 10px;
}

.rm-affiliate-section-head h2 {
  margin: 0 0 3px !important;
  color: var(--rm-text) !important;
  font-size: 20px !important;
  line-height: 1.3 !important;
  font-weight: 800 !important;
}

.rm-affiliate-section-head p {
  margin: 0;
  color: var(--rm-muted);
  font-size: 12px;
  line-height: 1.45;
}

/* Statistics */
.rm-affiliate-stats-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 9px;
}

.rm-affiliate-stat-card {
  min-width: 0;
  padding: 13px;
  background: #fff;
  border: 1px solid var(--rm-border);
  border-radius: 15px;
  box-shadow: 0 6px 18px rgba(20, 24, 40, 0.035);
}

.rm-affiliate-stat-icon {
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 9px;
  border-radius: 9px;
  background: var(--rm-primary-soft);
  color: var(--rm-primary);
  font-size: 12px;
}

.rm-affiliate-stat-card > span {
  display: block;
  min-height: 30px;
  color: var(--rm-muted);
  font-size: 10px;
  line-height: 1.4;
  font-weight: 700;
}

.rm-affiliate-stat-card > strong {
  display: block;
  margin-top: 4px;
  color: var(--rm-text);
  font-size: 18px;
  line-height: 1.25;
  font-weight: 800;
  overflow-wrap: anywhere;
}

/* Earnings */
.rm-affiliate-earnings-card {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 9px;
  margin-top: 10px;
  padding: 14px;
  background: #fff;
  border: 1px solid var(--rm-border);
  border-radius: 17px;
  box-shadow: 0 7px 22px rgba(20, 24, 40, 0.04);
}

.rm-affiliate-earning {
  min-width: 0;
  padding: 12px;
  background: #f8f8fc;
  border: 1px solid #f0f1f5;
  border-radius: 12px;
}

.rm-affiliate-earning span {
  display: block;
  margin-bottom: 5px;
  color: var(--rm-muted);
  font-size: 10px;
  line-height: 1.35;
  font-weight: 700;
}

.rm-affiliate-earning strong {
  display: block;
  color: var(--rm-text);
  font-size: 18px;
  line-height: 1.3;
  font-weight: 800;
  overflow-wrap: anywhere;
}

.rm-affiliate-earning-primary {
  background: #f7f5ff;
  border-color: #e5e0ff;
}

.rm-affiliate-earning-primary strong {
  color: var(--rm-primary);
}

.rm-affiliate-payout-btn {
  grid-column: 1 / -1;
  min-height: 43px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 13px;
  border: 1px solid var(--rm-primary);
  border-radius: 11px;
  background: var(--rm-primary);
  color: #fff !important;
  font-size: 12px;
  line-height: 1.3;
  font-weight: 800;
  text-decoration: none !important;
}

.rm-affiliate-payout-btn .fa-chevron-right {
  margin-left: 2px;
  font-size: 9px;
}

.rm-affiliate-payout-btn:hover,
.rm-affiliate-payout-btn:focus {
  background: var(--rm-primary-dark);
  border-color: var(--rm-primary-dark);
  color: #fff !important;
}

/* Payout history */
.rm-affiliate-payout-head {
  margin-top: 22px;
}

.rm-affiliate-payment-list {
  display: grid;
  gap: 9px;
}

.rm-affiliate-payment-card {
  padding: 14px 15px;
  background: #fff;
  border: 1px solid var(--rm-border);
  border-radius: 15px;
  box-shadow: 0 6px 18px rgba(20, 24, 40, 0.035);
}

.rm-affiliate-payment-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
}

.rm-affiliate-payment-amount {
  display: block;
  color: var(--rm-primary);
  font-size: 18px;
  line-height: 1.25;
  font-weight: 800;
}

.rm-affiliate-payment-status {
  max-width: 52%;
  padding: 5px 9px;
  border-radius: 999px;
  background: var(--rm-primary-soft);
  color: var(--rm-primary);
  font-size: 10px;
  line-height: 1.3;
  font-weight: 800;
  text-align: center;
  overflow-wrap: anywhere;
}

.rm-affiliate-payment-date {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 9px;
  padding-top: 9px;
  border-top: 1px solid #eff0f4;
  color: #9699a3;
  font-size: 11px;
  line-height: 1.4;
}

.rm-affiliate-payment-date i {
  color: var(--rm-primary);
}

/* Pagination */
.rm-affiliate-pagination {
  margin-top: 18px;
}

.rm-affiliate-pagination > li > a,
.rm-affiliate-pagination > li > span {
  margin: 0 3px;
  border: 1px solid var(--rm-border);
  border-radius: 9px !important;
  color: var(--rm-text);
}

.rm-affiliate-pagination > .active > a,
.rm-affiliate-pagination > .active > a:hover,
.rm-affiliate-pagination > .active > a:focus {
  background: var(--rm-primary);
  border-color: var(--rm-primary);
  color: #fff;
}

/* Mobile */
@media (max-width: 767px) {
  .rm-affiliate-page {
    padding: 16px 0 32px;
  }

  .rm-affiliate-page .container {
    width: 100%;
    padding-left: 14px;
    padding-right: 14px;
  }

  .rm-affiliate-header {
    gap: 11px;
    margin-bottom: 13px;
  }

  .rm-affiliate-header-icon {
    width: 42px;
    height: 42px;
    flex-basis: 42px;
    border-radius: 12px;
    font-size: 16px;
  }

  .rm-affiliate-header h1 {
    font-size: 23px !important;
  }

  .rm-affiliate-header p {
    font-size: 11px;
  }

  .rm-affiliate-info {
    margin-bottom: 11px;
    padding: 12px 13px;
    border-radius: 13px;
    font-size: 11px;
    line-height: 1.5;
  }

  .rm-affiliate-card {
    padding: 14px;
    border-radius: 16px;
  }

  .rm-affiliate-card-title {
    margin-bottom: 13px;
  }

  .rm-affiliate-card-title h2 {
    font-size: 16px !important;
  }

  .rm-affiliate-card-title p {
    font-size: 10.5px;
  }

  .rm-affiliate-title-icon {
    width: 32px;
    height: 32px;
    flex-basis: 32px;
    border-radius: 9px;
    font-size: 12px;
  }

  .rm-affiliate-link-row {
    gap: 7px;
    margin-bottom: 10px;
  }

  .rm-affiliate-link-input.form-control {
    height: 41px;
    font-size: 11px;
  }

  .rm-affiliate-copy-btn {
    min-width: 75px;
    height: 41px;
    padding: 0 10px;
    font-size: 11px;
  }

  .rm-affiliate-summary-item {
    padding: 10px;
  }

  .rm-affiliate-summary-item span {
    font-size: 9px;
  }

  .rm-affiliate-summary-item strong {
    font-size: 14px;
  }

  .rm-affiliate-section-head {
    margin: 18px 0 9px;
  }

  .rm-affiliate-section-head h2 {
    font-size: 18px !important;
  }

  .rm-affiliate-section-head p {
    font-size: 10.5px;
  }

  .rm-affiliate-stats-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }

  .rm-affiliate-stat-card {
    padding: 11px;
    border-radius: 13px;
  }

  .rm-affiliate-stat-icon {
    width: 27px;
    height: 27px;
    margin-bottom: 7px;
    border-radius: 8px;
    font-size: 11px;
  }

  .rm-affiliate-stat-card > span {
    min-height: 0;
    font-size: 9px;
  }

  .rm-affiliate-stat-card > strong {
    margin-top: 3px;
    font-size: 16px;
  }

  .rm-affiliate-earnings-card {
    gap: 8px;
    padding: 11px;
    border-radius: 15px;
  }

  .rm-affiliate-earning {
    padding: 10px;
  }

  .rm-affiliate-earning span {
    font-size: 9px;
  }

  .rm-affiliate-earning strong {
    font-size: 16px;
  }

  .rm-affiliate-payout-btn {
    min-height: 40px;
    padding: 9px 11px;
    font-size: 11px;
  }

  .rm-affiliate-payment-card {
    padding: 12px 13px;
    border-radius: 13px;
  }

  .rm-affiliate-payment-amount {
    font-size: 16px;
  }

  .rm-affiliate-payment-status {
    padding: 4px 8px;
    font-size: 9px;
  }

  .rm-affiliate-payment-date {
    margin-top: 8px;
    padding-top: 8px;
    font-size: 10px;
  }
}

@media (max-width: 380px) {
  .rm-affiliate-page .container {
    padding-left: 10px;
    padding-right: 10px;
  }

  .rm-affiliate-header h1 {
    font-size: 21px !important;
  }

  .rm-affiliate-card {
    padding: 12px;
  }

  .rm-affiliate-copy-btn {
    min-width: 68px;
  }

  .rm-affiliate-copy-btn span {
    display: none;
  }

  .rm-affiliate-summary-grid,
  .rm-affiliate-earnings-card {
    grid-template-columns: 1fr;
  }

  .rm-affiliate-payout-btn {
    grid-column: 1;
  }
}


/* =========================================================
   ROKETMEDIA — AFFILIATE V2 ADD-ON
   Guide & FAQ Bottom Sheet
   Add below Affiliate V1 CSS
   ========================================================= */

.rm-affiliate-guide-btn {
  width: 100%;
  min-height: 58px;
  display: flex;
  align-items: center;
  gap: 11px;
  margin-top: 10px;
  padding: 10px 13px;
  border: 1px solid #e4ddff;
  border-radius: 14px;
  background: #fff;
  color: var(--rm-text);
  text-align: left;
  box-shadow: 0 6px 18px rgba(20,24,40,.035);
  cursor: pointer;
}
.rm-affiliate-guide-icon {
  width: 34px; height: 34px; flex: 0 0 34px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 10px; background: var(--rm-primary-soft);
  color: var(--rm-primary); font-size: 14px;
}
.rm-affiliate-guide-copy { flex: 1; min-width: 0; }
.rm-affiliate-guide-copy strong {
  display: block; margin-bottom: 2px; font-size: 12px; line-height: 1.3; font-weight: 800;
}
.rm-affiliate-guide-copy small {
  display: block; color: var(--rm-muted); font-size: 10px; line-height: 1.35; font-weight: 500;
}
.rm-affiliate-guide-arrow { color: #aaa6b6; font-size: 10px; }
.rm-affiliate-guide-btn:hover,
.rm-affiliate-guide-btn:focus { border-color: #d8ceff; background: #fcfbff; outline: 0; }

body.rm-affiliate-modal-open { overflow: hidden; }

.rm-affiliate-guide-overlay {
  position: fixed; inset: 0; z-index: 99999;
  display: flex; align-items: flex-end; justify-content: center;
  padding: 20px;
  background: rgba(20,20,30,.46);
  opacity: 0; visibility: hidden; pointer-events: none;
  transition: opacity .2s ease, visibility .2s ease;
}
.rm-affiliate-guide-overlay.is-open { opacity: 1; visibility: visible; pointer-events: auto; }

.rm-affiliate-guide-sheet {
  width: 100%; max-width: 620px; max-height: min(82vh, 720px);
  display: flex; flex-direction: column;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--rm-border);
  border-radius: 22px 22px 18px 18px;
  box-shadow: 0 24px 70px rgba(20,24,40,.24);
  transform: translateY(22px);
  transition: transform .22s ease;
}
.rm-affiliate-guide-overlay.is-open .rm-affiliate-guide-sheet { transform: translateY(0); }

.rm-affiliate-guide-handle {
  display: none; width: 38px; height: 4px; margin: 8px auto 0;
  border-radius: 999px; background: #d8d9df;
}
.rm-affiliate-guide-sheet-head {
  display: flex; align-items: flex-start; justify-content: space-between;
  gap: 12px; padding: 18px 18px 14px; border-bottom: 1px solid #eff0f4;
}
.rm-affiliate-guide-sheet-head h2 {
  margin: 0 0 3px !important; color: var(--rm-text) !important;
  font-size: 20px !important; line-height: 1.25 !important; font-weight: 800 !important;
}
.rm-affiliate-guide-sheet-head p { margin: 0; color: var(--rm-muted); font-size: 11px; line-height: 1.4; }
.rm-affiliate-guide-close {
  width: 34px; height: 34px; flex: 0 0 34px;
  display: flex; align-items: center; justify-content: center;
  padding: 0; border: 0; border-radius: 10px;
  background: #f4f4f7; color: #696d78; cursor: pointer;
}
.rm-affiliate-guide-body {
  overflow-y: auto; overscroll-behavior: contain;
  padding: 16px 18px 20px; -webkit-overflow-scrolling: touch;
}
.rm-affiliate-guide-body h3 {
  margin: 0 0 11px !important; color: var(--rm-text) !important;
  font-size: 15px !important; line-height: 1.3 !important; font-weight: 800 !important;
}

.rm-affiliate-how { margin-bottom: 19px; }
.rm-affiliate-how-step {
  display: flex; align-items: flex-start; gap: 10px;
  padding: 9px 0; border-bottom: 1px solid #f0f1f4;
}
.rm-affiliate-how-step:last-child { border-bottom: 0; }
.rm-affiliate-how-step > b {
  width: 26px; height: 26px; flex: 0 0 26px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 8px; background: var(--rm-primary-soft);
  color: var(--rm-primary); font-size: 10px; font-weight: 800;
}
.rm-affiliate-how-step strong {
  display: block; margin-bottom: 2px; color: var(--rm-text); font-size: 11px; line-height: 1.35; font-weight: 800;
}
.rm-affiliate-how-step span {
  display: block; color: var(--rm-muted); font-size: 10.5px; line-height: 1.45;
}

.rm-affiliate-faq details {
  margin-bottom: 7px; overflow: hidden;
  border: 1px solid var(--rm-border); border-radius: 11px; background: #fff;
}
.rm-affiliate-faq details:last-child { margin-bottom: 0; }
.rm-affiliate-faq summary {
  list-style: none; display: flex; align-items: center; justify-content: space-between;
  gap: 10px; padding: 11px 12px; color: var(--rm-text);
  font-size: 11px; line-height: 1.4; font-weight: 750; cursor: pointer;
}
.rm-affiliate-faq summary::-webkit-details-marker { display: none; }
.rm-affiliate-faq summary i {
  color: var(--rm-primary); font-size: 9px; transition: transform .18s ease;
}
.rm-affiliate-faq details[open] summary i { transform: rotate(180deg); }
.rm-affiliate-faq details p {
  margin: 0; padding: 0 12px 12px; color: var(--rm-muted);
  font-size: 10.5px; line-height: 1.55;
}
.rm-affiliate-faq details p strong { color: var(--rm-primary); }

@media (max-width: 767px) {
  .rm-affiliate-guide-overlay { padding: 0; }
  .rm-affiliate-guide-sheet {
    max-width: none; max-height: 84vh;
    border-radius: 20px 20px 0 0; border-bottom: 0;
  }
  .rm-affiliate-guide-handle { display: block; }
  .rm-affiliate-guide-sheet-head { padding: 12px 14px 12px; }
  .rm-affiliate-guide-sheet-head h2 { font-size: 17px !important; }
  .rm-affiliate-guide-sheet-head p { font-size: 10px; }
  .rm-affiliate-guide-close { width: 31px; height: 31px; flex-basis: 31px; }
  .rm-affiliate-guide-body { padding: 13px 14px 20px; }
  .rm-affiliate-guide-body h3 { font-size: 13px !important; }
  .rm-affiliate-guide-btn { min-height: 54px; padding: 9px 11px; border-radius: 13px; }
}

@media (prefers-reduced-motion: reduce) {
  .rm-affiliate-guide-overlay,
  .rm-affiliate-guide-sheet { transition: none !important; }
}


/* =========================================================
   ROKETMEDIA — AFFILIATE V3 ADD-ON
   Eligible Cashout WhatsApp CTA
   ========================================================= */

.rm-affiliate-cashout-whatsapp {
  width: 100%;
  min-height: 54px;
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 9px;
  padding: 9px 12px;
  background: #f4fff8;
  border: 1px solid #ccefd9;
  border-radius: 12px;
  color: var(--rm-text) !important;
  text-decoration: none !important;
  transition: border-color .18s ease, background .18s ease, transform .18s ease;
}

.rm-affiliate-cashout-whatsapp:hover,
.rm-affiliate-cashout-whatsapp:focus {
  background: #edfff4;
  border-color: #aee6c3;
  color: var(--rm-text) !important;
  text-decoration: none !important;
  outline: 0;
  transform: translateY(-1px);
}

.rm-affiliate-cashout-wa-icon {
  width: 34px;
  height: 34px;
  flex: 0 0 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  background: #25d366;
  color: #fff;
  font-size: 17px;
}

.rm-affiliate-cashout-wa-copy {
  flex: 1;
  min-width: 0;
}

.rm-affiliate-cashout-wa-copy strong {
  display: block;
  margin-bottom: 2px;
  color: var(--rm-text);
  font-size: 11.5px;
  line-height: 1.3;
  font-weight: 800;
}

.rm-affiliate-cashout-wa-copy small {
  display: block;
  color: var(--rm-muted);
  font-size: 9.5px;
  line-height: 1.4;
  font-weight: 500;
}

.rm-affiliate-cashout-wa-arrow {
  flex: 0 0 auto;
  color: #20ad59;
  font-size: 10px;
}

@media (max-width: 767px) {
  .rm-affiliate-cashout-whatsapp {
    min-height: 50px;
    margin-top: 8px;
    padding: 8px 10px;
    border-radius: 11px;
  }

  .rm-affiliate-cashout-wa-icon {
    width: 32px;
    height: 32px;
    flex-basis: 32px;
    border-radius: 9px;
    font-size: 16px;
  }

  .rm-affiliate-cashout-wa-copy strong {
    font-size: 11px;
  }

  .rm-affiliate-cashout-wa-copy small {
    font-size: 9px;
  }
}


/* =========================================================
   ROKETMEDIA — AFFILIATE V13 OVERRIDE
   Full-width eligible Cashout WhatsApp CTA
   ========================================================= */

/* Earnings uses a 2-column grid. Both action buttons must span both columns. */
.rm-affiliate-earnings-card > .rm-affiliate-payout-btn,
.rm-affiliate-earnings-card > .rm-affiliate-cashout-whatsapp {
  grid-column: 1 / -1 !important;
  width: 100% !important;
  max-width: none !important;
  min-width: 0 !important;
  box-sizing: border-box;
}

/* Compact full-width WhatsApp row */
.rm-affiliate-cashout-whatsapp {
  min-height: 48px;
  margin-top: 0;
  padding: 8px 11px;
  border-radius: 11px;
}

.rm-affiliate-cashout-wa-icon {
  width: 32px;
  height: 32px;
  flex: 0 0 32px;
  border-radius: 9px;
  font-size: 16px;
}

.rm-affiliate-cashout-wa-copy strong {
  margin-bottom: 1px;
  font-size: 11px;
  line-height: 1.25;
}

.rm-affiliate-cashout-wa-copy small {
  font-size: 9px;
  line-height: 1.35;
}

@media (max-width: 767px) {
  .rm-affiliate-earnings-card > .rm-affiliate-cashout-whatsapp {
    grid-column: 1 / -1 !important;
    width: 100% !important;
    min-height: 46px;
    margin-top: 0;
    padding: 7px 10px;
  }
}

@media (max-width: 380px) {
  .rm-affiliate-earnings-card > .rm-affiliate-payout-btn,
  .rm-affiliate-earnings-card > .rm-affiliate-cashout-whatsapp {
    grid-column: 1 !important;
    width: 100% !important;
  }
}


/* =========================================================
   ROKETMEDIA — NEW ORDER V6
   User Stats + Rank & Discount Popup
   ========================================================= */

.rm-account-card-v6 {
  display: block;
  padding: 16px 18px;
}

.rm-account-card-v6 .rm-account-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding-bottom: 13px;
  margin-bottom: 13px;
  border-bottom: 1px solid #ece9f8;
}

.rm-account-card-v6 .rm-account-user {
  min-width: 0;
}

.rm-account-stats-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 8px;
}

.rm-account-stat {
  min-width: 0;
  padding: 10px 11px;
  background: rgba(255,255,255,.78);
  border: 1px solid #e9e6f5;
  border-radius: 11px;
}

.rm-account-stat > span {
  display: flex;
  align-items: center;
  gap: 5px;
  margin-bottom: 4px;
  color: var(--rm-muted);
  font-size: 9.5px;
  line-height: 1.25;
  font-weight: 700;
}

.rm-account-stat > strong {
  display: block;
  overflow: hidden;
  color: var(--rm-text);
  font-size: 13px;
  line-height: 1.3;
  font-weight: 800;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.rm-account-stat-balance > strong,
.rm-account-stat-discount > strong {
  color: var(--rm-primary);
}

.rm-rank-info-btn {
  width: 17px;
  height: 17px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: 1px solid #d8d0ff;
  border-radius: 50%;
  background: var(--rm-primary-soft);
  color: var(--rm-primary);
  font-size: 8px;
  line-height: 1;
  cursor: pointer;
}

.rm-rank-info-btn:hover,
.rm-rank-info-btn:focus {
  border-color: var(--rm-primary);
  outline: 0;
}

body.rm-rank-modal-open {
  overflow: hidden;
}

.rm-rank-overlay {
  position: fixed;
  inset: 0;
  z-index: 100000;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 20px;
  background: rgba(20,20,30,.46);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity .2s ease, visibility .2s ease;
}

.rm-rank-overlay.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.rm-rank-sheet {
  width: 100%;
  max-width: 560px;
  max-height: min(84vh, 720px);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--rm-border);
  border-radius: 22px 22px 18px 18px;
  box-shadow: 0 24px 70px rgba(20,24,40,.24);
  transform: translateY(22px);
  transition: transform .22s ease;
}

.rm-rank-overlay.is-open .rm-rank-sheet {
  transform: translateY(0);
}

.rm-rank-handle {
  display: none;
  width: 38px;
  height: 4px;
  margin: 8px auto 0;
  border-radius: 999px;
  background: #d8d9df;
}

.rm-rank-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  padding: 18px;
  border-bottom: 1px solid #eff0f4;
}

.rm-rank-head h2 {
  margin: 0 0 3px !important;
  color: var(--rm-text) !important;
  font-size: 20px !important;
  line-height: 1.25 !important;
  font-weight: 800 !important;
}

.rm-rank-head p {
  margin: 0;
  color: var(--rm-muted);
  font-size: 11px;
  line-height: 1.4;
}

.rm-rank-close {
  width: 34px;
  height: 34px;
  flex: 0 0 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: 0;
  border-radius: 10px;
  background: #f4f4f7;
  color: #696d78;
  cursor: pointer;
}

.rm-rank-body {
  overflow-y: auto;
  padding: 16px 18px 20px;
  -webkit-overflow-scrolling: touch;
}

.rm-rank-current {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-bottom: 14px;
}

.rm-rank-current > div {
  padding: 10px 11px;
  border: 1px solid #e5e0ff;
  border-radius: 11px;
  background: var(--rm-primary-soft);
}

.rm-rank-current span {
  display: block;
  margin-bottom: 3px;
  color: var(--rm-muted);
  font-size: 9px;
  font-weight: 700;
}

.rm-rank-current strong {
  display: block;
  color: var(--rm-primary);
  font-size: 13px;
  font-weight: 800;
}

.rm-rank-table-head,
.rm-rank-row {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) .7fr 1fr;
  align-items: center;
  gap: 8px;
}

.rm-rank-table-head {
  padding: 0 10px 7px;
  color: var(--rm-muted);
  font-size: 9px;
  line-height: 1.25;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .35px;
}

.rm-rank-table-head span:nth-child(2),
.rm-rank-table-head span:nth-child(3) {
  text-align: right;
}

.rm-rank-row {
  margin-bottom: 6px;
  padding: 10px;
  border: 1px solid var(--rm-border);
  border-radius: 10px;
  background: #fff;
}

.rm-rank-row span {
  color: var(--rm-text);
  font-size: 11px;
  font-weight: 750;
}

.rm-rank-row strong,
.rm-rank-row b {
  text-align: right;
  font-size: 10.5px;
  font-weight: 800;
}

.rm-rank-row strong {
  color: var(--rm-primary);
}

.rm-rank-row b {
  color: var(--rm-text);
}

.rm-rank-row.is-current {
  border-color: #cfc4ff;
  background: var(--rm-primary-soft);
  box-shadow: inset 3px 0 0 var(--rm-primary);
}

.rm-rank-row.is-current span::after {
  content: "Semasa";
  display: inline-block;
  margin-left: 6px;
  padding: 2px 5px;
  border-radius: 999px;
  background: var(--rm-primary);
  color: #fff;
  font-size: 7px;
  line-height: 1.2;
  font-weight: 800;
  vertical-align: 1px;
}

.rm-rank-note {
  margin: 12px 0 0;
  padding: 10px 11px;
  border-radius: 10px;
  background: #f7f7fa;
  color: var(--rm-muted);
  font-size: 9.5px;
  line-height: 1.5;
}

@media (max-width: 767px) {
  .rm-account-card-v6 {
    padding: 13px;
  }

  .rm-account-card-v6 .rm-account-top {
    padding-bottom: 11px;
    margin-bottom: 10px;
  }

  .rm-account-card-v6 .rm-account-user {
    padding: 0;
    margin: 0;
    border-bottom: 0;
  }

  .rm-account-stats-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 7px;
  }

  .rm-account-stat {
    padding: 9px 10px;
    border-radius: 10px;
  }

  .rm-account-stat-balance {
    grid-column: 1 / -1;
  }

  .rm-account-stat > span {
    font-size: 8.5px;
  }

  .rm-account-stat > strong {
    font-size: 12px;
  }

  .rm-account-stat-balance > strong {
    font-size: 15px;
  }

  .rm-rank-overlay {
    padding: 0;
  }

  .rm-rank-sheet {
    max-width: none;
    max-height: 86vh;
    border-radius: 20px 20px 0 0;
    border-bottom: 0;
  }

  .rm-rank-handle {
    display: block;
  }

  .rm-rank-head {
    padding: 12px 14px;
  }

  .rm-rank-head h2 {
    font-size: 17px !important;
  }

  .rm-rank-head p {
    font-size: 10px;
  }

  .rm-rank-close {
    width: 31px;
    height: 31px;
    flex-basis: 31px;
  }

  .rm-rank-body {
    padding: 13px 14px 20px;
  }
}

@media (max-width: 380px) {
  .rm-account-card-v6 .rm-account-top {
    align-items: flex-start;
  }

  .rm-account-card-v6 .rm-addfunds-btn {
    padding: 7px 9px;
    font-size: 10px;
  }

  .rm-rank-table-head,
  .rm-rank-row {
    grid-template-columns: minmax(0, 1.15fr) .7fr 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  .rm-rank-overlay,
  .rm-rank-sheet {
    transition: none !important;
  }
}


/* =========================================================
   ROKETMEDIA — NEW ORDER V7 / CSS V15
   Modern Account Wallet Card
   ========================================================= */

.rm-account-card-v7 {
  position: relative;
  display: block;
  overflow: hidden;
  padding: 15px;
  border: 1px solid #e4ddff;
  border-radius: 20px;
  background:
    radial-gradient(circle at 92% 5%, rgba(109,74,255,.13), transparent 31%),
    linear-gradient(145deg, #ffffff 0%, #faf8ff 58%, #f5f1ff 100%);
  box-shadow: 0 10px 30px rgba(47,38,93,.07);
}

.rm-account-card-v7::before {
  content: "";
  position: absolute;
  top: 18px;
  bottom: 18px;
  left: 0;
  width: 4px;
  border-radius: 0 999px 999px 0;
  background: linear-gradient(180deg, #7b55ff, #6540ef);
}

.rm-account-v7-head {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}

.rm-account-v7-user {
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 10px;
}

.rm-account-v7-avatar {
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 13px;
  background: linear-gradient(145deg, #f2edff, #ebe3ff);
  color: var(--rm-primary);
  font-size: 17px;
  box-shadow: inset 0 0 0 1px rgba(109,74,255,.04);
}

.rm-account-v7-eyebrow {
  display: block;
  margin-bottom: 2px;
  color: #85818f;
  font-size: 8.5px;
  line-height: 1.2;
  font-weight: 800;
  letter-spacing: 1.1px;
}

.rm-account-v7-name {
  display: block;
  max-width: 190px;
  overflow: hidden;
  color: var(--rm-text);
  font-size: 14px;
  line-height: 1.25;
  font-weight: 800;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.rm-account-v7-addfunds {
  min-height: 38px;
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 8px 12px;
  border: 0;
  border-radius: 12px;
  background: linear-gradient(135deg, #7650ff, #6841f2);
  color: #fff !important;
  font-size: 10.5px;
  line-height: 1;
  font-weight: 800;
  text-decoration: none !important;
  box-shadow: 0 8px 18px rgba(109,74,255,.19);
}

.rm-account-v7-addfunds i {
  font-size: 10px;
}

.rm-account-v7-wallet {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 78px;
  padding: 13px 14px;
  margin-bottom: 8px;
  overflow: hidden;
  border: 1px solid rgba(109,74,255,.11);
  border-radius: 15px;
  background: linear-gradient(135deg, rgba(109,74,255,.085), rgba(255,255,255,.82));
}

.rm-account-v7-wallet::after {
  content: "";
  position: absolute;
  width: 90px;
  height: 90px;
  right: -28px;
  top: -42px;
  border-radius: 50%;
  background: rgba(109,74,255,.055);
}

.rm-account-v7-wallet-copy {
  position: relative;
  z-index: 1;
  min-width: 0;
}

.rm-account-v7-wallet-copy span {
  display: block;
  margin-bottom: 4px;
  color: #7e8290;
  font-size: 9px;
  font-weight: 750;
}

.rm-account-v7-wallet-copy strong {
  display: block;
  overflow-wrap: anywhere;
  color: var(--rm-primary);
  font-size: 20px;
  line-height: 1.15;
  font-weight: 850;
  letter-spacing: -.25px;
}

.rm-account-v7-wallet-icon {
  position: relative;
  z-index: 1;
  width: 35px;
  height: 35px;
  flex: 0 0 35px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 11px;
  background: rgba(255,255,255,.78);
  color: var(--rm-primary);
  font-size: 13px;
  box-shadow: 0 5px 14px rgba(68,48,139,.06);
}

.rm-account-v7-metrics {
  display: grid;
  grid-template-columns: minmax(0,1fr) 1px minmax(0,.72fr);
  align-items: center;
  gap: 12px;
  padding: 10px 13px;
  margin-bottom: 8px;
  border: 1px solid #ece9f4;
  border-radius: 13px;
  background: rgba(255,255,255,.72);
}

.rm-account-v7-divider {
  width: 1px;
  height: 27px;
  background: #e8e6ee;
}

.rm-account-v7-metric {
  min-width: 0;
}

.rm-account-v7-metric span {
  display: block;
  margin-bottom: 2px;
  color: #858996;
  font-size: 8.5px;
  font-weight: 700;
}

.rm-account-v7-metric strong {
  display: block;
  overflow: hidden;
  color: var(--rm-text);
  font-size: 11.5px;
  line-height: 1.3;
  font-weight: 800;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.rm-account-v7-level {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  min-height: 52px;
  padding: 9px 11px;
  border: 1px solid #ddd5ff;
  border-radius: 13px;
  background: linear-gradient(100deg, #f2edff 0%, #fbfaff 100%);
}

.rm-account-v7-rank {
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 9px;
}

.rm-account-v7-rank-icon {
  width: 31px;
  height: 31px;
  flex: 0 0 31px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  background: #fff;
  color: var(--rm-primary);
  font-size: 11px;
  box-shadow: 0 4px 12px rgba(69,48,143,.06);
}

.rm-account-v7-level small {
  display: block;
  margin-bottom: 1px;
  color: #888795;
  font-size: 8px;
  line-height: 1.2;
  font-weight: 700;
}

.rm-account-v7-level strong {
  display: block;
  color: var(--rm-text);
  font-size: 11.5px;
  line-height: 1.25;
  font-weight: 850;
}

.rm-account-v7-discount {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  gap: 8px;
  padding-left: 11px;
  border-left: 1px solid #dcd5f6;
}

.rm-account-v7-discount strong {
  color: var(--rm-primary);
}

.rm-rank-info-btn-v7 {
  width: 24px;
  height: 24px;
  flex: 0 0 24px;
  border-color: #d3c9ff;
  background: #fff;
  font-size: 9px;
  box-shadow: 0 3px 10px rgba(69,48,143,.05);
}

@media (max-width: 767px) {
  .rm-account-card-v7 {
    padding: 13px;
    border-radius: 18px;
  }

  .rm-account-card-v7::before {
    top: 16px;
    bottom: 16px;
  }

  .rm-account-v7-head {
    margin-bottom: 11px;
  }

  .rm-account-v7-avatar {
    width: 38px;
    height: 38px;
    flex-basis: 38px;
    border-radius: 12px;
    font-size: 15px;
  }

  .rm-account-v7-name {
    max-width: 145px;
    font-size: 13px;
  }

  .rm-account-v7-addfunds {
    min-height: 36px;
    padding: 7px 10px;
    border-radius: 11px;
    font-size: 9.5px;
  }

  .rm-account-v7-wallet {
    min-height: 70px;
    padding: 11px 12px;
    border-radius: 13px;
  }

  .rm-account-v7-wallet-copy strong {
    font-size: 18px;
  }

  .rm-account-v7-metrics {
    gap: 9px;
    padding: 9px 11px;
  }

  .rm-account-v7-metric strong {
    font-size: 10.5px;
  }

  .rm-account-v7-level {
    min-height: 48px;
    padding: 8px 10px;
  }
}

@media (max-width: 370px) {
  .rm-account-v7-name {
    max-width: 105px;
  }

  .rm-account-v7-addfunds span {
    display: none;
  }

  .rm-account-v7-addfunds {
    width: 36px;
    padding: 0;
  }
}


/* =========================================================
   ROKETMEDIA — CSS V16
   Clean balance card: remove wallet decoration
   ========================================================= */
.rm-account-v7-wallet::after {
  display: none !important;
  content: none !important;
}

.rm-account-v7-wallet-icon {
  display: none !important;
}

.rm-account-v7-wallet {
  justify-content: flex-start;
}


/* =========================================================
   ROKETMEDIA — CSS V17
   New Order Guide & FAQ Bottom Sheet
   ========================================================= */
.rm-order-heading-v9{display:flex;align-items:flex-start;justify-content:space-between;gap:12px}
.rm-order-heading-v9>div{min-width:0}
.rm-order-faq-open{width:34px;height:34px;flex:0 0 34px;display:flex;align-items:center;justify-content:center;margin-top:2px;padding:0;border:1px solid #ddd5ff;border-radius:11px;background:var(--rm-primary-soft);color:var(--rm-primary);font-size:13px;cursor:pointer}
.rm-order-faq-open:hover,.rm-order-faq-open:focus{border-color:var(--rm-primary);outline:0}
body.rm-order-faq-opened{overflow:hidden}
.rm-order-faq-overlay{position:fixed;inset:0;z-index:100001;display:flex;align-items:flex-end;justify-content:center;padding:20px;background:rgba(20,20,30,.46);opacity:0;visibility:hidden;pointer-events:none;transition:opacity .2s ease,visibility .2s ease}
.rm-order-faq-overlay.is-open{opacity:1;visibility:visible;pointer-events:auto}
.rm-order-faq-sheet{width:100%;max-width:600px;max-height:min(86vh,760px);display:flex;flex-direction:column;overflow:hidden;background:#fff;border:1px solid var(--rm-border);border-radius:22px 22px 18px 18px;box-shadow:0 24px 70px rgba(20,24,40,.24);transform:translateY(22px);transition:transform .22s ease}
.rm-order-faq-overlay.is-open .rm-order-faq-sheet{transform:translateY(0)}
.rm-order-faq-handle{display:none;width:38px;height:4px;margin:8px auto 0;border-radius:999px;background:#d8d9df}
.rm-order-faq-head{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;padding:18px;border-bottom:1px solid #eff0f4}
.rm-order-faq-head h2{margin:0 0 3px!important;color:var(--rm-text)!important;font-size:20px!important;line-height:1.25!important;font-weight:800!important}
.rm-order-faq-head p{margin:0;color:var(--rm-muted);font-size:11px;line-height:1.4}
.rm-order-faq-close{width:34px;height:34px;flex:0 0 34px;display:flex;align-items:center;justify-content:center;padding:0;border:0;border-radius:10px;background:#f4f4f7;color:#696d78;cursor:pointer}
.rm-order-faq-body{overflow-y:auto;overscroll-behavior:contain;padding:16px 18px 22px;-webkit-overflow-scrolling:touch}
.rm-order-faq-body h3{margin:0 0 10px!important;color:var(--rm-text)!important;font-size:14px!important;line-height:1.3!important;font-weight:800!important}
.rm-order-guide-steps{margin-bottom:20px}
.rm-order-guide-steps>div{display:flex;align-items:flex-start;gap:10px;padding:8px 0;border-bottom:1px solid #f0f1f4}
.rm-order-guide-steps>div:last-child{border-bottom:0}
.rm-order-guide-steps b{width:26px;height:26px;flex:0 0 26px;display:flex;align-items:center;justify-content:center;border-radius:8px;background:var(--rm-primary-soft);color:var(--rm-primary);font-size:10px;font-weight:800}
.rm-order-guide-steps span{min-width:0}.rm-order-guide-steps strong,.rm-order-guide-steps small{display:block}
.rm-order-guide-steps strong{margin-bottom:2px;color:var(--rm-text);font-size:11px;line-height:1.35;font-weight:800}
.rm-order-guide-steps small{color:var(--rm-muted);font-size:10px;line-height:1.45;font-weight:500}
.rm-order-terms{display:grid;grid-template-columns:1fr 1fr;gap:7px;margin-bottom:20px}
.rm-order-terms>div{min-width:0;padding:10px;border:1px solid #e7e2fb;border-radius:11px;background:#fbfaff}
.rm-order-terms strong{display:block;margin-bottom:3px;color:var(--rm-primary);font-size:11px;font-weight:850}
.rm-order-terms span{display:block;color:var(--rm-muted);font-size:9.5px;line-height:1.45}
.rm-order-faq-list details{margin-bottom:7px;overflow:hidden;border:1px solid var(--rm-border);border-radius:11px;background:#fff}
.rm-order-faq-list details:last-child{margin-bottom:0}
.rm-order-faq-list summary{list-style:none;display:flex;align-items:center;justify-content:space-between;gap:10px;padding:11px 12px;color:var(--rm-text);font-size:11px;line-height:1.4;font-weight:750;cursor:pointer}
.rm-order-faq-list summary::-webkit-details-marker{display:none}
.rm-order-faq-list summary i{color:var(--rm-primary);font-size:9px;transition:transform .18s ease}
.rm-order-faq-list details[open] summary i{transform:rotate(180deg)}
.rm-order-faq-list details p{margin:0;padding:0 12px 12px;color:var(--rm-muted);font-size:10.5px;line-height:1.55}
.rm-order-faq-list details p strong{color:var(--rm-primary)}
@media(max-width:767px){
.rm-order-faq-open{width:32px;height:32px;flex-basis:32px;border-radius:10px;font-size:12px}
.rm-order-faq-overlay{padding:0}.rm-order-faq-sheet{max-width:none;max-height:86vh;border-radius:20px 20px 0 0;border-bottom:0}
.rm-order-faq-handle{display:block}.rm-order-faq-head{padding:12px 14px}.rm-order-faq-head h2{font-size:17px!important}.rm-order-faq-head p{font-size:10px}
.rm-order-faq-close{width:31px;height:31px;flex-basis:31px}.rm-order-faq-body{padding:13px 14px 20px}.rm-order-faq-body h3{font-size:13px!important}
.rm-order-terms{grid-template-columns:1fr}
}
@media(prefers-reduced-motion:reduce){.rm-order-faq-overlay,.rm-order-faq-sheet,.rm-order-faq-list summary i{transition:none!important}}


/* =========================================================
   ROKETMEDIA — CSS V18
   Compact service terms inside New Order FAQ
   ========================================================= */
@media (max-width: 767px) {
  .rm-order-terms {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 7px;
  }

  .rm-order-terms > div {
    padding: 9px 10px;
    min-height: 68px;
  }

  .rm-order-terms > div:last-child {
    grid-column: 1 / -1;
    min-height: auto;
  }

  .rm-order-terms strong {
    margin-bottom: 2px;
    font-size: 10.5px;
  }

  .rm-order-terms span {
    font-size: 9.25px;
    line-height: 1.4;
  }
}
/* =========================================================
   ROKETMEDIA — ACCOUNT PAGE V1
   Separate Account settings UI
   Uses rm-settings-* to avoid collision with New Order
   ========================================================= */

.rm-settings-column {
  padding-bottom: 38px;
}

.rm-settings-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 26px 0 18px;
}

.rm-settings-header-icon {
  width: 48px;
  height: 48px;
  flex: 0 0 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  background: var(--rm-primary-soft);
  color: var(--rm-primary);
  font-size: 20px;
}

.rm-settings-header-copy {
  min-width: 0;
}

.rm-settings-header-copy h1 {
  margin: 0 0 3px !important;
  color: var(--rm-text) !important;
  font-size: 28px !important;
  line-height: 1.15 !important;
  font-weight: 800 !important;
}

.rm-settings-header-copy p {
  margin: 0 !important;
  color: var(--rm-muted) !important;
  font-size: 14px !important;
  line-height: 1.45 !important;
}

.rm-settings-tabs.nav-pills {
  display: flex;
  gap: 8px;
  margin: 0 0 16px !important;
  padding: 5px !important;
  border: 1px solid #ebe9f2;
  border-radius: 14px;
  background: #fff;
}

.rm-settings-tabs.nav-pills > li {
  float: none !important;
  flex: 1 1 0;
  margin: 0 !important;
}

.rm-settings-tabs.nav-pills > li > a {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  margin: 0 !important;
  padding: 10px 12px !important;
  border-radius: 10px !important;
  background: transparent !important;
  color: #74717e !important;
  font-size: 13px !important;
  line-height: 1.2 !important;
  font-weight: 750 !important;
  text-align: center;
}

.rm-settings-tabs.nav-pills > li.active > a,
.rm-settings-tabs.nav-pills > li.active > a:hover,
.rm-settings-tabs.nav-pills > li.active > a:focus {
  background: var(--rm-primary) !important;
  color: #fff !important;
}

.rm-settings-card.well {
  margin: 0 0 14px !important;
  padding: 18px !important;
  border: 1px solid var(--rm-border) !important;
  border-radius: 16px !important;
  background: #fff !important;
  box-shadow: 0 7px 24px rgba(30,25,55,.035) !important;
}

.rm-settings-card .form-group {
  margin-bottom: 15px !important;
}

.rm-settings-card .form-group:last-child {
  margin-bottom: 0 !important;
}

.rm-settings-card label,
.rm-settings-card .control-label {
  display: block;
  margin: 0 0 7px !important;
  color: #35343c !important;
  font-size: 13px !important;
  line-height: 1.3 !important;
  font-weight: 750 !important;
}

.rm-settings-card p {
  color: #777480;
  font-size: 13px;
  line-height: 1.55;
}

.rm-settings-card .form-control,
#changeEmailModal .form-control {
  width: 100%;
  height: 45px !important;
  padding: 10px 12px !important;
  border: 1px solid #e3e2e8 !important;
  border-radius: 11px !important;
  background: #fff !important;
  color: #292830 !important;
  font-size: 13px !important;
  box-shadow: none !important;
}

.rm-settings-card textarea.form-control {
  height: auto !important;
  min-height: 120px;
  resize: vertical;
}

.rm-settings-card .form-control:focus,
#changeEmailModal .form-control:focus {
  border-color: #a58cfb !important;
  box-shadow: 0 0 0 3px rgba(109,74,255,.10) !important;
  outline: 0;
}

.rm-settings-card .form-control[readonly],
.rm-settings-card .form-control[disabled],
#changeEmailModal .form-control[disabled] {
  background: #f7f7fa !important;
  color: #6f6d77 !important;
}

.rm-settings-card .btn-primary,
#changeEmailModal .btn-primary {
  min-height: 40px;
  padding: 9px 14px !important;
  border: 0 !important;
  border-radius: 10px !important;
  background: var(--rm-primary) !important;
  color: #fff !important;
  font-size: 12px !important;
  line-height: 1.2 !important;
  font-weight: 800 !important;
  box-shadow: none !important;
}

.rm-settings-card .btn-primary:hover,
.rm-settings-card .btn-primary:focus,
#changeEmailModal .btn-primary:hover,
#changeEmailModal .btn-primary:focus {
  background: var(--rm-primary-dark) !important;
  color: #fff !important;
}

.rm-settings-card .alert,
.rm-settings-column > .alert,
#changeEmailModal .alert {
  padding: 11px 38px 11px 12px !important;
  border-radius: 11px !important;
  font-size: 12px !important;
  line-height: 1.45 !important;
}

.rm-settings-card .help-block {
  margin-top: 7px !important;
  color: #97949f !important;
  font-size: 11px !important;
}

/* Account change-email modal only */
#changeEmailModal .modal-dialog {
  width: auto !important;
  max-width: 390px;
  margin: 10vh auto !important;
  padding: 0 15px;
}

#changeEmailModal .modal-content {
  overflow: hidden;
  border: 0 !important;
  border-radius: 18px !important;
  box-shadow: 0 22px 70px rgba(22,18,40,.24) !important;
}

#changeEmailModal .modal-header {
  position: relative;
  padding: 18px 48px 14px 18px !important;
  border-bottom: 1px solid #efedf3 !important;
}

#changeEmailModal .modal-title {
  color: var(--rm-text) !important;
  font-size: 17px !important;
  font-weight: 800 !important;
}

#changeEmailModal .modal-body {
  padding: 17px 18px 4px !important;
}

#changeEmailModal .modal-footer {
  display: flex;
  gap: 8px;
  padding: 12px 18px 18px !important;
  border-top: 0 !important;
}

#changeEmailModal .modal-footer .btn {
  flex: 1 1 0;
  min-height: 40px;
  margin: 0 !important;
  border-radius: 10px !important;
  font-size: 12px !important;
  font-weight: 800 !important;
}

@media (max-width: 767px) {
  .rm-settings-column {
    padding-left: 15px !important;
    padding-right: 15px !important;
    padding-bottom: 28px;
  }

  .rm-settings-header {
    align-items: flex-start;
    gap: 10px;
    margin: 22px 0 16px;
  }

  .rm-settings-header-icon {
    width: 42px;
    height: 42px;
    flex-basis: 42px;
    border-radius: 12px;
    font-size: 17px;
  }

  .rm-settings-header-copy h1 {
    font-size: 23px !important;
  }

  .rm-settings-header-copy p {
    font-size: 13px !important;
  }

  .rm-settings-card.well {
    padding: 16px !important;
    border-radius: 15px !important;
  }

  .rm-settings-card .form-control,
  #changeEmailModal .form-control {
    height: 44px !important;
  }

  #changeEmailModal .modal-dialog {
    margin: 8vh auto !important;
  }
}

/* =========================================================
   ROKETMEDIA — NOTIFICATIONS PAGE V1
   Requires Account V1 rm-settings-* styles
   ========================================================= */

.rm-notifications-header-icon {
  background: var(--rm-primary-soft);
  color: var(--rm-primary);
}

.rm-notification-connect-card,
.rm-notification-preferences-card {
  overflow: hidden;
}

.rm-notification-card-heading {
  display: flex;
  align-items: flex-start;
  gap: 11px;
  margin-bottom: 15px;
}

.rm-notification-card-icon {
  width: 38px;
  height: 38px;
  flex: 0 0 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 11px;
  background: var(--rm-primary-soft);
  color: var(--rm-primary);
  font-size: 15px;
}

.rm-notification-card-heading h5,
.rm-notification-section-heading h5 {
  margin: 1px 0 4px !important;
  color: var(--rm-text) !important;
  font-size: 15px !important;
  line-height: 1.25 !important;
  font-weight: 800 !important;
}

.rm-notification-card-heading p,
.rm-notification-section-heading p {
  margin: 0 !important;
  color: var(--rm-muted) !important;
  font-size: 12px !important;
  line-height: 1.45 !important;
}

.rm-notification-section-heading {
  margin-bottom: 13px;
}

.rm-notification-table-wrap {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.rm-notification-table.table {
  width: 100%;
  min-width: 390px;
  margin: 0 0 14px !important;
  border-collapse: separate;
  border-spacing: 0;
}

.rm-notification-table.table > thead > tr > th {
  padding: 10px 9px !important;
  border-top: 0 !important;
  border-bottom: 1px solid var(--rm-border) !important;
  color: #777480 !important;
  background: #faf9fc !important;
  font-size: 11px !important;
  line-height: 1.2 !important;
  font-weight: 800 !important;
  text-align: center;
  white-space: nowrap;
}

.rm-notification-table.table > thead > tr > th:first-child {
  border-radius: 10px 0 0 0;
  text-align: left;
}

.rm-notification-table.table > thead > tr > th:last-child {
  border-radius: 0 10px 0 0;
}

.rm-notification-table.table > tbody > tr > td {
  padding: 12px 9px !important;
  border-top: 0 !important;
  border-bottom: 1px solid #efeff3 !important;
  color: #3c3a43 !important;
  background: #fff !important;
  font-size: 12px !important;
  line-height: 1.35 !important;
  vertical-align: middle !important;
  text-align: center;
}

.rm-notification-table.table > tbody > tr > td:first-child {
  text-align: left;
  font-weight: 650;
}

.rm-notification-table.table > tbody > tr:last-child > td {
  border-bottom: 0 !important;
}

/* Modern checkbox without changing submitted values */
.rm-notification-table input[type="checkbox"] {
  width: 20px;
  height: 20px;
  margin: 0 !important;
  accent-color: var(--rm-primary);
  vertical-align: middle;
  cursor: pointer;
}

.rm-notification-table input[type="checkbox"]:disabled {
  cursor: not-allowed;
  opacity: .42;
}

.rm-notification-save-btn {
  margin-top: 2px;
}

.rm-notification-connect-card .btn-block,
.rm-notification-save-btn.btn-block {
  width: 100%;
}

@media (max-width: 767px) {
  .rm-notification-card-heading {
    gap: 10px;
    margin-bottom: 13px;
  }

  .rm-notification-card-icon {
    width: 36px;
    height: 36px;
    flex-basis: 36px;
    border-radius: 10px;
    font-size: 14px;
  }

  .rm-notification-table.table {
    min-width: 340px;
  }

  .rm-notification-table.table > thead > tr > th,
  .rm-notification-table.table > tbody > tr > td {
    padding-left: 7px !important;
    padding-right: 7px !important;
  }

  .rm-notification-table.table > thead > tr > th:first-child,
  .rm-notification-table.table > tbody > tr > td:first-child {
    width: 52%;
  }
}

/* =========================================================
   ROKETMEDIA — API PAGE V1
   ========================================================= */

.rm-api-column {
  padding-bottom: 40px;
}

.rm-api-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 26px 0 18px;
}

.rm-api-header-icon {
  width: 48px;
  height: 48px;
  flex: 0 0 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  background: var(--rm-primary-soft);
  color: var(--rm-primary);
  font-size: 19px;
}

.rm-api-header-copy {
  min-width: 0;
}

.rm-api-header-copy h1 {
  margin: 0 0 3px !important;
  color: var(--rm-text) !important;
  font-size: 28px !important;
  line-height: 1.15 !important;
  font-weight: 800 !important;
}

.rm-api-header-copy p {
  margin: 0 !important;
  color: var(--rm-muted) !important;
  font-size: 14px !important;
  line-height: 1.45 !important;
}

.rm-api-card.well {
  margin: 0 !important;
  padding: 20px !important;
  border: 1px solid var(--rm-border) !important;
  border-radius: 16px !important;
  background: #fff !important;
  box-shadow: 0 7px 24px rgba(30,25,55,.035) !important;
}

.rm-api-card .center-big-content-block {
  width: 100%;
  max-width: none;
}

.rm-api-section-heading {
  margin-bottom: 14px;
}

.rm-api-section-heading h2 {
  margin: 0 0 4px !important;
  color: var(--rm-text) !important;
  font-size: 17px !important;
  line-height: 1.25 !important;
  font-weight: 800 !important;
}

.rm-api-section-heading p {
  margin: 0 !important;
  color: var(--rm-muted) !important;
  font-size: 12px !important;
  line-height: 1.45 !important;
}

.rm-api-table-wrap {
  width: 100%;
  margin-bottom: 20px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border: 1px solid var(--rm-border);
  border-radius: 12px;
}

.rm-api-table.table {
  width: 100%;
  min-width: 480px;
  margin: 0 !important;
  border: 0 !important;
  border-collapse: separate;
  border-spacing: 0;
}

.rm-api-table.table > thead > tr > th {
  padding: 11px 12px !important;
  border-top: 0 !important;
  border-right: 0 !important;
  border-bottom: 1px solid var(--rm-border) !important;
  border-left: 0 !important;
  background: #faf9fc !important;
  color: #5e5b66 !important;
  font-size: 12px !important;
  line-height: 1.35 !important;
  font-weight: 800 !important;
}

.rm-api-table.table > tbody > tr > td {
  padding: 11px 12px !important;
  border-top: 0 !important;
  border-right: 0 !important;
  border-bottom: 1px solid #efeff3 !important;
  border-left: 0 !important;
  background: #fff !important;
  color: #3d3b44 !important;
  font-size: 12px !important;
  line-height: 1.45 !important;
  vertical-align: top !important;
}

.rm-api-table.table > tbody > tr:last-child > td {
  border-bottom: 0 !important;
}

.rm-api-table .width-40 {
  width: 38% !important;
}

.rm-api-table a {
  color: var(--rm-primary) !important;
  font-weight: 750;
}

.rm-api-table code {
  padding: 3px 6px;
  border-radius: 6px;
  background: var(--rm-primary-soft);
  color: var(--rm-primary-dark);
  font-size: 11px;
  font-weight: 750;
}

.rm-api-value {
  white-space: nowrap;
}

.rm-api-method {
  padding-top: 2px;
  margin-bottom: 25px;
}

.rm-api-method + .rm-api-method {
  padding-top: 21px;
  border-top: 1px solid #efeff3;
}

.rm-api-method-title {
  margin-bottom: 12px;
}

.rm-api-method-title h4 {
  margin: 0 !important;
  color: var(--rm-text) !important;
  font-size: 16px !important;
  line-height: 1.3 !important;
  font-weight: 800 !important;
}

.rm-api-type-select {
  margin-bottom: 12px;
}

.rm-api-type-select .form-group {
  width: 100%;
}

.rm-api-type-select .form-control {
  width: 100% !important;
  height: 42px !important;
  padding: 8px 11px !important;
  border: 1px solid #e3e2e8 !important;
  border-radius: 10px !important;
  background: #fff !important;
  color: #34323b !important;
  font-size: 12px !important;
  box-shadow: none !important;
}

.rm-api-example-label {
  display: flex;
  align-items: center;
  gap: 7px;
  margin: 4px 0 9px;
  color: #4b4853;
  font-size: 12px;
}

.rm-api-example-label i {
  color: var(--rm-primary);
  font-size: 11px;
}

.rm-api-code-wrap {
  width: 100%;
  max-width: 100%;
  overflow: hidden;
  border: 1px solid #e6e4ed;
  border-radius: 12px;
  background: #191820;
}

.rm-api-code-wrap pre {
  width: 100%;
  max-width: 100%;
  max-height: 360px;
  margin: 0 !important;
  padding: 14px !important;
  overflow: auto !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  color: #f2f0f7 !important;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace !important;
  font-size: 11px !important;
  line-height: 1.55 !important;
  white-space: pre !important;
  word-break: normal !important;
  overflow-wrap: normal !important;
  -webkit-overflow-scrolling: touch;
}

.rm-api-example-btn.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-height: 41px;
  margin-top: 0 !important;
  padding: 9px 14px !important;
  border: 1px solid #ded9f2 !important;
  border-radius: 10px !important;
  background: var(--rm-primary-soft) !important;
  color: var(--rm-primary) !important;
  font-size: 12px !important;
  font-weight: 800 !important;
  box-shadow: none !important;
}

@media (max-width: 767px) {
  .rm-api-column {
    padding-left: 15px !important;
    padding-right: 15px !important;
    padding-bottom: 28px;
  }

  .rm-api-header {
    align-items: flex-start;
    gap: 10px;
    margin: 22px 0 16px;
  }

  .rm-api-header-icon {
    width: 42px;
    height: 42px;
    flex-basis: 42px;
    border-radius: 12px;
    font-size: 16px;
  }

  .rm-api-header-copy h1 {
    font-size: 23px !important;
  }

  .rm-api-header-copy p {
    font-size: 13px !important;
  }

  .rm-api-card.well {
    padding: 16px !important;
    border-radius: 15px !important;
  }

  .rm-api-table.table {
    min-width: 440px;
  }

  .rm-api-table.table > thead > tr > th,
  .rm-api-table.table > tbody > tr > td {
    padding: 10px !important;
  }

  .rm-api-code-wrap pre {
    max-height: 320px;
    padding: 12px !important;
    font-size: 10.5px !important;
  }

  .rm-api-example-btn.btn {
    width: 100%;
  }
}


/* =========================================================
   ROKETMEDIA — API MOBILE OVERFLOW FIX V22
   Fix parameter tables + Example response overflow
   ========================================================= */

.rm-api-card,
.rm-api-card .center-big-content-block,
.rm-api-method,
.rm-api-code-wrap,
.rm-api-table-wrap {
  min-width: 0 !important;
  max-width: 100% !important;
  box-sizing: border-box !important;
}

.rm-api-code-wrap {
  width: 100% !important;
  overflow: hidden !important;
}

.rm-api-code-wrap pre {
  display: block !important;
  width: 100% !important;
  min-width: 0 !important;
  max-width: 100% !important;
  height: auto !important;
  max-height: none !important;
  margin: 0 !important;
  overflow-x: hidden !important;
  overflow-y: visible !important;
  white-space: pre-wrap !important;
  overflow-wrap: anywhere !important;
  word-break: break-word !important;
  box-sizing: border-box !important;
}

@media (max-width: 767px) {
  .rm-api-table-wrap {
    overflow-x: hidden !important;
  }

  .rm-api-table.table,
  .rm-api-parameters-table.table {
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;
    table-layout: fixed !important;
  }

  .rm-api-table .width-40,
  .rm-api-parameters-table .width-40,
  .rm-api-table.table > thead > tr > th:first-child,
  .rm-api-table.table > tbody > tr > td:first-child {
    width: 39% !important;
  }

  .rm-api-table.table > thead > tr > th,
  .rm-api-table.table > tbody > tr > td {
    min-width: 0 !important;
    max-width: none !important;
    white-space: normal !important;
    overflow-wrap: anywhere !important;
    word-break: break-word !important;
  }

  .rm-api-table code {
    display: inline-block;
    max-width: 100%;
    white-space: normal !important;
    overflow-wrap: anywhere !important;
    word-break: break-word !important;
  }

  .rm-api-value {
    white-space: normal !important;
    overflow-wrap: anywhere !important;
    word-break: break-word !important;
  }

  .rm-api-code-wrap pre {
    padding: 12px !important;
    font-size: 10.5px !important;
    line-height: 1.55 !important;
  }
}

/* =========================================================
   ROKETMEDIA — TICKETS PAGE V1 / CSS V23
   ========================================================= */

.rm-ticket-column {
  padding-bottom: 36px;
}

.rm-ticket-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 26px 0 18px;
}

.rm-ticket-header-icon {
  width: 48px;
  height: 48px;
  flex: 0 0 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  background: var(--rm-primary-soft);
  color: var(--rm-primary);
  font-size: 19px;
}

.rm-ticket-header-copy {
  min-width: 0;
}

.rm-ticket-header-copy h1 {
  margin: 0 0 3px !important;
  color: var(--rm-text) !important;
  font-size: 28px !important;
  line-height: 1.15 !important;
  font-weight: 800 !important;
}

.rm-ticket-header-copy p {
  margin: 0 !important;
  color: var(--rm-muted) !important;
  font-size: 14px !important;
  line-height: 1.45 !important;
}

.rm-ticket-card.well {
  margin: 0 0 14px !important;
  padding: 18px !important;
  border: 1px solid var(--rm-border) !important;
  border-radius: 16px !important;
  background: #fff !important;
  box-shadow: 0 7px 24px rgba(30,25,55,.035) !important;
}

.rm-ticket-section-heading {
  margin-bottom: 16px;
}

.rm-ticket-section-heading h2,
.rm-ticket-history-head h2 {
  margin: 0 0 4px !important;
  color: var(--rm-text) !important;
  font-size: 18px !important;
  line-height: 1.25 !important;
  font-weight: 800 !important;
}

.rm-ticket-section-heading p,
.rm-ticket-history-head p {
  margin: 0 !important;
  color: var(--rm-muted) !important;
  font-size: 12px !important;
  line-height: 1.45 !important;
}

.rm-ticket-form-card .form-group {
  margin-bottom: 15px !important;
}

.rm-ticket-form-card label,
.rm-ticket-form-card .control-label {
  display: block;
  margin: 0 0 7px !important;
  color: #35343c !important;
  font-size: 13px !important;
  line-height: 1.3 !important;
  font-weight: 750 !important;
}

.rm-ticket-form-card .form-control {
  width: 100%;
  height: 45px !important;
  padding: 10px 12px !important;
  border: 1px solid #e3e2e8 !important;
  border-radius: 11px !important;
  background: #fff !important;
  color: #292830 !important;
  font-size: 13px !important;
  box-shadow: none !important;
}

.rm-ticket-form-card textarea.form-control {
  height: auto !important;
  min-height: 145px;
  resize: vertical;
}

.rm-ticket-form-card .form-control:focus {
  border-color: #a58cfb !important;
  box-shadow: 0 0 0 3px rgba(109,74,255,.10) !important;
  outline: 0;
}

.rm-ticket-upload-group {
  padding: 2px 0;
}

.rm-ticket-form-card .tickets-uploader {
  color: var(--rm-primary);
  font-size: 13px;
}

.rm-ticket-submit-btn.btn {
  width: 100%;
  min-height: 43px;
  padding: 10px 15px !important;
  border: 0 !important;
  border-radius: 11px !important;
  background: var(--rm-primary) !important;
  color: #fff !important;
  font-size: 13px !important;
  line-height: 1.2 !important;
  font-weight: 800 !important;
  box-shadow: none !important;
}

.rm-ticket-submit-btn.btn:hover,
.rm-ticket-submit-btn.btn:focus {
  background: var(--rm-primary-dark) !important;
  color: #fff !important;
}

.rm-ticket-support-card {
  margin: 0 0 25px;
  padding: 17px;
  border: 1px solid #e3dcff;
  border-radius: 16px;
  background: linear-gradient(145deg, #fbfaff 0%, #f5f1ff 100%);
}

.rm-ticket-support-top {
  display: flex;
  align-items: flex-start;
  gap: 11px;
}

.rm-ticket-support-icon {
  width: 40px;
  height: 40px;
  flex: 0 0 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: #e8fff1;
  color: #18b765;
  font-size: 20px;
}

.rm-ticket-support-copy h3 {
  margin: 1px 0 4px !important;
  color: var(--rm-text) !important;
  font-size: 15px !important;
  line-height: 1.3 !important;
  font-weight: 800 !important;
}

.rm-ticket-support-copy p {
  margin: 0 !important;
  color: var(--rm-muted) !important;
  font-size: 12px !important;
  line-height: 1.5 !important;
}

.rm-ticket-whatsapp-btn {
  width: 100%;
  min-height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin: 14px 0 15px;
  padding: 9px 13px;
  border-radius: 11px;
  background: #20c96b;
  color: #fff !important;
  font-size: 12px;
  font-weight: 800;
  text-decoration: none !important;
}

.rm-ticket-whatsapp-btn:hover,
.rm-ticket-whatsapp-btn:focus {
  color: #fff !important;
  text-decoration: none !important;
}

.rm-ticket-whatsapp-btn .fa-arrow-right {
  font-size: 9px;
}

.rm-ticket-hours {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding-top: 14px;
  border-top: 1px solid rgba(109,74,255,.12);
}

.rm-ticket-hours-icon {
  width: 30px;
  height: 30px;
  flex: 0 0 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 9px;
  background: #fff;
  color: var(--rm-primary);
  font-size: 12px;
}

.rm-ticket-hours strong,
.rm-ticket-hours span {
  display: block;
}

.rm-ticket-hours strong {
  margin-bottom: 2px;
  color: #37343f;
  font-size: 12px;
  font-weight: 800;
}

.rm-ticket-hours span {
  margin-bottom: 4px;
  color: var(--rm-primary);
  font-size: 12px;
  font-weight: 800;
}

.rm-ticket-hours p {
  margin: 0 !important;
  color: #817d8a !important;
  font-size: 11px !important;
  line-height: 1.5 !important;
}

.rm-ticket-history-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 14px;
  margin: 4px 0 13px;
}

.rm-ticket-search {
  width: 245px;
  flex: 0 0 245px;
}

.rm-ticket-search .input-group {
  width: 100%;
}

.rm-ticket-search .form-control {
  height: 41px !important;
  padding: 9px 12px !important;
  border: 1px solid #e3e2e8 !important;
  border-right: 0 !important;
  border-radius: 10px 0 0 10px !important;
  background: #fff !important;
  font-size: 12px !important;
  box-shadow: none !important;
}

.rm-ticket-search .input-group-btn .btn {
  height: 41px !important;
  padding: 9px 13px !important;
  border: 1px solid #e3e2e8 !important;
  border-left: 0 !important;
  border-radius: 0 10px 10px 0 !important;
  background: #fff !important;
  color: var(--rm-primary) !important;
  box-shadow: none !important;
}

.rm-ticket-list {
  display: grid;
  gap: 11px;
}

.rm-ticket-item {
  display: block;
  padding: 16px;
  border: 1px solid var(--rm-border);
  border-radius: 15px;
  background: #fff;
  color: inherit !important;
  text-decoration: none !important;
  box-shadow: 0 6px 20px rgba(30,25,55,.025);
}

.rm-ticket-item.is-new {
  border-color: #dcd2ff;
  box-shadow: 0 6px 22px rgba(109,74,255,.06);
}

.rm-ticket-item-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
  padding-bottom: 11px;
  margin-bottom: 11px;
  border-bottom: 1px solid #efeff3;
}

.rm-ticket-id span,
.rm-ticket-subject > span {
  display: block;
  margin-bottom: 3px;
  color: #9a97a1;
  font-size: 10px;
  line-height: 1.2;
  font-weight: 800;
  letter-spacing: .45px;
}

.rm-ticket-id strong {
  color: var(--rm-primary);
  font-size: 18px;
  line-height: 1.15;
  font-weight: 800;
}

.rm-ticket-status {
  flex: 0 0 auto;
  padding: 6px 9px;
  border-radius: 999px;
  background: var(--rm-primary-soft);
  color: var(--rm-primary-dark);
  font-size: 10px;
  line-height: 1.15;
  font-weight: 800;
}

.rm-ticket-subject {
  margin-bottom: 12px;
  color: #35333b;
  font-size: 13px;
  line-height: 1.45;
}

.rm-ticket-subject strong {
  font-weight: 800;
}

.rm-ticket-updated {
  display: flex;
  align-items: center;
  gap: 7px;
  color: #918e98;
  font-size: 10.5px;
  line-height: 1.3;
}

.rm-ticket-updated > i:first-child {
  color: var(--rm-primary);
}

.rm-ticket-chevron {
  margin-left: auto;
  color: #b5b2bb;
  font-size: 9px;
}

.rm-ticket-pagination-wrap {
  margin-top: 16px;
  text-align: center;
}

.rm-ticket-pagination-wrap .pagination {
  margin: 0 !important;
}

.rm-ticket-pagination-wrap .pagination > li > a {
  border-color: var(--rm-border) !important;
  color: #6d6876 !important;
}

.rm-ticket-pagination-wrap .pagination > .active > a {
  border-color: var(--rm-primary) !important;
  background: var(--rm-primary) !important;
  color: #fff !important;
}

.rm-ticket-text-card {
  color: #66636d;
  font-size: 12px;
  line-height: 1.6;
}

@media (max-width: 767px) {
  .rm-ticket-column {
    padding-left: 15px !important;
    padding-right: 15px !important;
    padding-bottom: 28px;
  }

  .rm-ticket-header {
    align-items: flex-start;
    gap: 10px;
    margin: 22px 0 16px;
  }

  .rm-ticket-header-icon {
    width: 42px;
    height: 42px;
    flex-basis: 42px;
    border-radius: 12px;
    font-size: 16px;
  }

  .rm-ticket-header-copy h1 {
    font-size: 23px !important;
  }

  .rm-ticket-header-copy p {
    font-size: 13px !important;
  }

  .rm-ticket-card.well {
    padding: 16px !important;
    border-radius: 15px !important;
  }

  .rm-ticket-form-card textarea.form-control {
    min-height: 135px;
  }

  .rm-ticket-support-card {
    padding: 15px;
    border-radius: 15px;
  }

  .rm-ticket-history-head {
    display: block;
  }

  .rm-ticket-search {
    width: 100%;
    margin-top: 12px;
  }

  .rm-ticket-item {
    padding: 15px;
  }
}


/* =========================================
   TICKETS V2 — SUBJECT DROPDOWN
   ========================================= */

.rm-ticket-select-wrap {
  position: relative;
}

.rm-ticket-select-wrap select.form-control {
  padding-right: 42px !important;
  appearance: none;
  -webkit-appearance: none;
  cursor: pointer;
}

.rm-ticket-select-icon {
  position: absolute;
  top: 50%;
  right: 15px;
  transform: translateY(-50%);
  color: var(--rm-primary);
  font-size: 11px;
  pointer-events: none;
}

.rm-ticket-custom-subject {
  margin-top: 14px;
}

.rm-ticket-custom-subject[hidden] {
  display: none !important;
}

.rm-ticket-custom-subject .control-label {
  margin-bottom: 7px !important;
}


/* =========================================================
   TICKETS — SUCCESS POPUP
   ========================================================= */
body.rm-ticket-modal-open { overflow: hidden; }
.rm-ticket-success-overlay {
  position: fixed; inset: 0; z-index: 99999; display: flex; align-items: flex-end;
  justify-content: center; visibility: hidden; opacity: 0; transition: opacity .2s ease, visibility .2s ease;
}
.rm-ticket-success-overlay.is-open { visibility: visible; opacity: 1; }
.rm-ticket-success-backdrop { position: absolute; inset: 0; background: rgba(20, 20, 28, .48); }
.rm-ticket-success-sheet {
  position: relative; width: min(100% - 24px, 520px); margin: 0 12px 12px; padding: 26px 22px 20px;
  background: #fff; border-radius: 22px; box-shadow: 0 20px 60px rgba(25, 22, 45, .2);
  transform: translateY(24px); transition: transform .24s ease; text-align: left;
}
.rm-ticket-success-overlay.is-open .rm-ticket-success-sheet { transform: translateY(0); }
.rm-ticket-success-close {
  position: absolute; top: 16px; right: 16px; width: 36px; height: 36px; border: 0; border-radius: 50%;
  background: #f5f3fa; color: #777382; display: inline-flex; align-items: center; justify-content: center;
}
.rm-ticket-success-icon {
  width: 48px; height: 48px; border-radius: 14px; display: flex; align-items: center; justify-content: center;
  background: #f1edff; color: #6d4aff; font-size: 20px; margin-bottom: 16px;
}
.rm-ticket-success-sheet h2 { margin: 0 46px 7px 0; color: #171a23; font-size: 23px; line-height: 1.25; font-weight: 800; }
.rm-ticket-success-text, .rm-ticket-success-note, .rm-ticket-success-fast { color: #7a7f8d; font-size: 14px; line-height: 1.55; }
.rm-ticket-success-text { margin: 0 0 16px; }
.rm-ticket-success-number {
  display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 14px 16px;
  border: 1px solid #e8e4f2; border-radius: 14px; background: #faf9fd; margin-bottom: 14px;
}
.rm-ticket-success-number span { color: #777382; font-size: 13px; font-weight: 600; }
.rm-ticket-success-number strong { color: #6d4aff; font-size: 18px; font-weight: 800; }
.rm-ticket-success-note { margin: 0 0 18px; }
.rm-ticket-success-primary, .rm-ticket-success-whatsapp {
  width: 100%; min-height: 50px; border-radius: 13px; display: flex; align-items: center; justify-content: center;
  gap: 9px; text-decoration: none !important; font-weight: 800;
}
.rm-ticket-success-primary { background: #6d4aff; color: #fff !important; margin-bottom: 10px; }
.rm-ticket-success-whatsapp { background: #ecfbf3; color: #168a4b !important; border: 1px solid #d4f3e2; flex-wrap: wrap; }
.rm-ticket-success-whatsapp small { font-size: 12px; font-weight: 700; opacity: .8; }
.rm-ticket-success-fast { margin: 12px 2px 0; text-align: center; font-size: 12px; }
@media (min-width: 768px) {
  .rm-ticket-success-overlay { align-items: center; }
  .rm-ticket-success-sheet { margin: 20px; }
}

/* =========================================================
   ROKETMEDIA — VIEW TICKET V2 / CSS V27
   Scoped to .rm-view-ticket to avoid affecting Tickets page
   ========================================================= */
.rm-view-ticket { padding: 24px 0 38px; }
.rm-view-ticket .rm-vt-head { display:flex; align-items:center; gap:12px; margin:0 0 18px; }
.rm-view-ticket .rm-vt-back { width:42px; height:42px; flex:0 0 42px; display:flex; align-items:center; justify-content:center; border:1px solid var(--rm-border); border-radius:12px; background:#fff; color:var(--rm-primary); text-decoration:none!important; font-size:15px; }
.rm-view-ticket .rm-vt-eyebrow { display:block; margin-bottom:3px; color:var(--rm-primary); font-size:10px; line-height:1.2; font-weight:800; letter-spacing:1px; text-transform:uppercase; }
.rm-view-ticket .rm-vt-title { margin:0!important; color:var(--rm-text)!important; font-size:24px!important; line-height:1.25!important; font-weight:800!important; overflow-wrap:anywhere; }
.rm-view-ticket .rm-vt-card.well { margin:0!important; padding:20px!important; border:1px solid var(--rm-border)!important; border-radius:18px!important; background:#fff!important; box-shadow:0 8px 28px rgba(30,25,55,.04)!important; }
.rm-view-ticket .rm-vt-thread { display:flex; flex-direction:column; gap:18px; }
.rm-view-ticket .rm-vt-message { display:flex; width:100%; }
.rm-view-ticket .rm-vt-message.is-user { justify-content:flex-end; }
.rm-view-ticket .rm-vt-message.is-support { justify-content:flex-start; }
.rm-view-ticket .rm-vt-message-inner { max-width:78%; min-width:0; }
.rm-view-ticket .rm-vt-bubble { padding:12px 14px; border-radius:15px; font-size:13px; line-height:1.55; overflow-wrap:anywhere; word-break:break-word; }
.rm-view-ticket .is-user .rm-vt-bubble { background:var(--rm-primary); color:#fff; border-bottom-right-radius:5px; }
.rm-view-ticket .is-support .rm-vt-bubble { background:#f7f6fb; color:#3d3a44; border:1px solid #e8e6ed; border-bottom-left-radius:5px; }
.rm-view-ticket .rm-vt-files { margin-top:10px; padding-top:9px; border-top:1px solid rgba(255,255,255,.24); }
.rm-view-ticket .is-support .rm-vt-files { border-top-color:#e4e2e9; }
.rm-view-ticket .rm-vt-files a { display:block; margin-top:4px; color:inherit!important; text-decoration:underline; overflow-wrap:anywhere; }
.rm-view-ticket .rm-vt-meta { display:flex; align-items:center; gap:7px; margin-top:6px; color:#a09da6; font-size:10.5px; line-height:1.3; }
.rm-view-ticket .is-user .rm-vt-meta { justify-content:flex-end; }
.rm-view-ticket .rm-vt-meta strong { color:#77737d; font-weight:800; }
.rm-view-ticket .rm-vt-support-row { display:flex; align-items:flex-end; gap:8px; }
.rm-view-ticket .rm-vt-support-icon { width:32px; height:32px; flex:0 0 32px; display:flex; align-items:center; justify-content:center; border-radius:10px; background:var(--rm-primary-soft); color:var(--rm-primary); font-size:12px; margin-bottom:22px; }
.rm-view-ticket .rm-vt-reply { margin-top:22px; padding-top:20px; border-top:1px solid var(--rm-border); }
.rm-view-ticket .rm-vt-reply h2 { margin:0 0 4px!important; color:var(--rm-text)!important; font-size:19px!important; line-height:1.3!important; font-weight:800!important; }
.rm-view-ticket .rm-vt-reply-copy { margin:0 0 16px!important; color:var(--rm-muted)!important; font-size:12px!important; line-height:1.5!important; }
.rm-view-ticket .rm-vt-reply .form-group { margin-bottom:15px!important; }
.rm-view-ticket .rm-vt-reply label { margin-bottom:7px!important; color:#35343c!important; font-size:13px!important; font-weight:700!important; }
.rm-view-ticket .rm-vt-reply textarea.form-control { width:100%; min-height:135px; padding:12px!important; border:1px solid #e3e2e8!important; border-radius:12px!important; background:#fff!important; color:#292830!important; font-size:13px!important; line-height:1.5!important; box-shadow:none!important; resize:vertical; }
.rm-view-ticket .rm-vt-reply textarea.form-control:focus { border-color:#a58cfb!important; box-shadow:0 0 0 3px rgba(109,74,255,.10)!important; outline:0; }
.rm-view-ticket .tickets-uploader { color:var(--rm-primary); font-size:13px; }
.rm-view-ticket .rm-vt-send.btn { width:100%; min-height:46px; padding:11px 15px!important; border:0!important; border-radius:12px!important; background:var(--rm-primary)!important; color:#fff!important; font-size:13px!important; font-weight:800!important; box-shadow:none!important; }
.rm-view-ticket .rm-vt-send.btn:hover,.rm-view-ticket .rm-vt-send.btn:focus { background:var(--rm-primary-dark)!important; color:#fff!important; }
.rm-view-ticket .alert { border-radius:12px; }
@media(max-width:767px){
  .rm-view-ticket{padding:18px 0 30px;}
  .rm-view-ticket>.container{width:100%;padding-left:14px;padding-right:14px;}
  .rm-view-ticket .rm-vt-head{gap:10px;margin-bottom:15px;}
  .rm-view-ticket .rm-vt-back{width:38px;height:38px;flex-basis:38px;border-radius:11px;}
  .rm-view-ticket .rm-vt-title{font-size:20px!important;}
  .rm-view-ticket .rm-vt-card.well{padding:16px!important;border-radius:16px!important;}
  .rm-view-ticket .rm-vt-thread{gap:16px;}
  .rm-view-ticket .rm-vt-message-inner{max-width:82%;}
  .rm-view-ticket .rm-vt-bubble{padding:11px 13px;border-radius:14px;font-size:12.5px;}
  .rm-view-ticket .rm-vt-support-icon{width:30px;height:30px;flex-basis:30px;margin-bottom:21px;}
  .rm-view-ticket .rm-vt-reply{margin-top:20px;padding-top:18px;}
  .rm-view-ticket .rm-vt-reply h2{font-size:18px!important;}
  .rm-view-ticket .rm-vt-reply textarea.form-control{min-height:125px;}
}

/* =========================================================
   ROKETMEDIA — V26 COMPACT MOBILE SIDEBAR
   Full latest CSS + compact menu override
   ========================================================= */

.rm-menu-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.rm-menu-label {
  color: var(--rm-primary);
  font-size: 14px;
  font-weight: 800;
  line-height: 1;
}

.rm-menu-bars {
  width: 19px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.rm-menu-bars span {
  display: block;
  width: 19px;
  height: 2px;
  border-radius: 99px;
  background: var(--rm-primary);
}

.rm-nav-icon,
.rm-nav-arrow,
.rm-mobile-menu-head {
  display: none;
}

@media (max-width: 767px) {
  .navbar-default .navbar-toggle.rm-menu-toggle {
    min-width: 84px;
    height: 38px;
    margin-top: 13px;
    margin-right: 15px;
    margin-bottom: 13px;
    padding: 0 10px;
    border: 1px solid #ded7ff;
    border-radius: 11px;
    background: #f7f4ff;
  }

  .navbar-default .navbar-toggle.rm-menu-toggle:hover,
  .navbar-default .navbar-toggle.rm-menu-toggle:focus {
    background: var(--rm-primary-soft);
    border-color: #d8cfff;
  }

  .navbar-default .navbar-collapse.rm-mobile-menu {
    margin-left: -15px;
    margin-right: -15px;
    padding: 0 12px 10px;
    background: #fff;
    border-top: 1px solid var(--rm-border);
    box-shadow: 0 12px 26px rgba(20, 24, 40, 0.05);
    max-height: calc(100vh - 64px);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }

  .rm-mobile-menu-head {
    display: flex;
    align-items: center;
    padding: 9px 7px 5px;
  }

  .rm-mobile-menu-head strong {
    color: var(--rm-text);
    font-size: 14px;
    line-height: 1.15;
    font-weight: 800;
  }

  .rm-mobile-menu-kicker {
    display: block;
    margin-bottom: 1px;
    color: #969baa;
    font-size: 8px;
    line-height: 1.15;
    font-weight: 800;
    letter-spacing: 1.1px;
    text-transform: uppercase;
  }

  .navbar-default .rm-mobile-menu .navbar-nav {
    margin: 0;
  }

  .navbar-default .rm-mobile-menu .navbar-nav > li {
    margin: 1px 0;
  }

  .navbar-default .rm-mobile-menu .navbar-nav > li > a {
    min-height: 38px;
    display: flex;
    align-items: center;
    gap: 9px;
    padding: 3px 8px;
    border-radius: 10px;
    color: var(--rm-text);
    background: transparent;
    font-size: 13px;
    line-height: 1.2;
    font-weight: 700;
  }

  .navbar-default .rm-mobile-menu .navbar-nav > li > a:hover,
  .navbar-default .rm-mobile-menu .navbar-nav > li > a:focus {
    color: var(--rm-primary);
    background: #f8f7fc;
  }

  .navbar-default .rm-mobile-menu .navbar-nav > .active > a,
  .navbar-default .rm-mobile-menu .navbar-nav > .active > a:hover,
  .navbar-default .rm-mobile-menu .navbar-nav > .active > a:focus {
    color: var(--rm-primary);
    background: var(--rm-primary-soft);
  }

  .rm-nav-icon {
    flex: 0 0 29px;
    width: 29px;
    height: 29px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    background: #f5f2ff;
    color: var(--rm-primary);
    font-size: 13px;
  }

  .navbar-default .rm-mobile-menu .navbar-nav > .active > a .rm-nav-icon {
    background: #e8e0ff;
  }

  .rm-nav-name {
    min-width: 0;
    flex: 1 1 auto;
  }

  .rm-nav-arrow {
    display: block;
    margin-left: auto;
    color: #b3b6c0;
    font-size: 13px;
  }

  .rm-account-nav {
    margin-top: 6px !important;
    padding-top: 6px;
    border-top: 1px solid var(--rm-border);
  }

  .rm-balance-menu > a {
    min-height: 45px !important;
    background: linear-gradient(135deg, #f8f5ff, #f1edff) !important;
    border: 1px solid #e5defe;
  }

  .rm-balance-copy {
    min-width: 0;
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
  }

  .rm-balance-copy small {
    color: #858a99;
    font-size: 8px;
    line-height: 1.1;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .45px;
  }

  .rm-balance-copy strong {
    margin-top: 1px;
    color: var(--rm-primary);
    font-size: 12px;
    line-height: 1.15;
    font-weight: 800;
  }

  .rm-balance-menu .caret {
    margin-left: auto;
    color: var(--rm-primary);
  }

  .navbar-default .rm-mobile-menu .dropdown-menu {
    margin: 3px 0 5px 38px;
    padding: 3px;
    background: #faf9fd;
    border: 0;
    border-radius: 9px;
    box-shadow: none;
  }

  .navbar-default .rm-mobile-menu .dropdown-menu > li > a {
    padding: 6px 8px;
    border-radius: 7px;
    font-size: 12px;
  }
}

/* =========================================================
   ROKETMEDIA — V27 MOBILE MENU GRID
   3 items per row for a much shorter menu.
   ========================================================= */
@media (max-width: 767px) {
  .navbar-default .rm-mobile-menu .rm-main-menu-grid {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 7px;
    padding: 2px 0 7px;
  }

  .navbar-default .rm-mobile-menu .rm-main-menu-grid > li {
    float: none !important;
    width: auto !important;
    margin: 0 !important;
  }

  .navbar-default .rm-mobile-menu .rm-main-menu-grid > li > a {
    min-height: 76px;
    height: 100%;
    padding: 8px 4px 7px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    text-align: center;
    border: 1px solid #efecf8;
    border-radius: 12px;
    background: #fbfaff;
    font-size: 11px;
    line-height: 1.15;
    font-weight: 700;
  }

  .navbar-default .rm-mobile-menu .rm-main-menu-grid > li > a:hover,
  .navbar-default .rm-mobile-menu .rm-main-menu-grid > li > a:focus {
    background: #f6f2ff;
    border-color: #e5defe;
  }

  .navbar-default .rm-mobile-menu .rm-main-menu-grid > .active > a,
  .navbar-default .rm-mobile-menu .rm-main-menu-grid > .active > a:hover,
  .navbar-default .rm-mobile-menu .rm-main-menu-grid > .active > a:focus {
    background: var(--rm-primary-soft);
    border-color: #ded5ff;
  }

  .navbar-default .rm-mobile-menu .rm-main-menu-grid .rm-nav-icon {
    flex: 0 0 30px;
    width: 30px;
    height: 30px;
    border-radius: 9px;
    font-size: 14px;
    background: #f0ebff;
  }

  .navbar-default .rm-mobile-menu .rm-main-menu-grid .rm-nav-name {
    width: 100%;
    min-width: 0;
    flex: 0 0 auto;
    display: block;
    overflow-wrap: anywhere;
  }

  .navbar-default .rm-mobile-menu .rm-main-menu-grid .rm-nav-arrow {
    display: none !important;
  }

  /* Keep Tentang RoketMedia as a full-width final row */
  .navbar-default .rm-mobile-menu .rm-main-menu-grid > li:last-child {
    grid-column: 1 / -1;
  }

  .navbar-default .rm-mobile-menu .rm-main-menu-grid > li:last-child > a {
    min-height: 42px;
    flex-direction: row;
    justify-content: flex-start;
    padding: 5px 9px;
    text-align: left;
    font-size: 13px;
  }

  .navbar-default .rm-mobile-menu .rm-main-menu-grid > li:last-child .rm-nav-name {
    width: auto;
    flex: 1 1 auto;
  }

  .navbar-default .rm-mobile-menu .rm-main-menu-grid > li:last-child .rm-nav-arrow {
    display: block !important;
  }

  .rm-account-nav {
    margin-top: 5px !important;
    padding-top: 6px;
  }

  .rm-account-nav > li {
    margin: 1px 0 !important;
  }
}

/* =========================================================
   ROKETMEDIA — V28 GRID ORDER + REFILL FIX
   Deterministic 3 x 4 menu arrangement.
   ========================================================= */
@media (max-width: 767px) {
  .navbar-default .rm-mobile-menu .rm-main-menu-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    grid-auto-flow: row !important;
  }

  .rm-main-menu-grid > .rm-grid-01 { grid-column: 1; grid-row: 1; }
  .rm-main-menu-grid > .rm-grid-02 { grid-column: 2; grid-row: 1; }
  .rm-main-menu-grid > .rm-grid-03 { grid-column: 3; grid-row: 1; }

  .rm-main-menu-grid > .rm-grid-04 { grid-column: 1; grid-row: 2; }
  .rm-main-menu-grid > .rm-grid-05 { grid-column: 2; grid-row: 2; }
  .rm-main-menu-grid > .rm-grid-06 { grid-column: 3; grid-row: 2; }

  .rm-main-menu-grid > .rm-grid-07 { grid-column: 1; grid-row: 3; }
  .rm-main-menu-grid > .rm-grid-08 { grid-column: 2; grid-row: 3; }
  .rm-main-menu-grid > .rm-grid-09 { grid-column: 3; grid-row: 3; }

  .rm-main-menu-grid > .rm-grid-10 { grid-column: 1; grid-row: 4; }
  .rm-main-menu-grid > .rm-grid-11 { grid-column: 2; grid-row: 4; }
  .rm-main-menu-grid > .rm-grid-12 { grid-column: 3; grid-row: 4; }

  .navbar-default .rm-mobile-menu .rm-main-menu-grid > .rm-grid-about {
    grid-column: 1 / -1 !important;
    grid-row: 5;
  }

  .navbar-default .rm-mobile-menu .rm-main-menu-grid > .rm-grid-about > a {
    min-height: 42px;
    flex-direction: row;
    justify-content: flex-start;
    padding: 5px 9px;
    text-align: left;
    font-size: 13px;
  }

  .navbar-default .rm-mobile-menu .rm-main-menu-grid > .rm-grid-about .rm-nav-name {
    width: auto;
    flex: 1 1 auto;
  }

  .navbar-default .rm-mobile-menu .rm-main-menu-grid > .rm-grid-about .rm-nav-arrow {
    display: block !important;
  }
}

/* =========================================================
   ROKETMEDIA — V29 CLEAN GRID HEADER
   Remove redundant mobile menu heading; compact top spacing.
   ========================================================= */
@media (max-width: 767px) {
  .navbar-default .navbar-collapse.rm-mobile-menu {
    padding-top: 10px;
  }

  .rm-mobile-menu-head {
    display: none !important;
  }
}

/* =========================================================
   ROKETMEDIA — V30 DYNAMIC AUTO-FLOW GRID
   Menu visibility follows backend per account.
   No fixed slot positions; available items fill left-to-right.
   ========================================================= */
@media (max-width: 767px) {
  .navbar-default .rm-mobile-menu .rm-main-menu-grid {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    grid-auto-flow: row !important;
    grid-auto-rows: auto !important;
    gap: 7px !important;
  }

  /* Cancel all old V28 fixed coordinates if cached/combined. */
  .rm-main-menu-grid > .rm-grid-01,
  .rm-main-menu-grid > .rm-grid-02,
  .rm-main-menu-grid > .rm-grid-03,
  .rm-main-menu-grid > .rm-grid-04,
  .rm-main-menu-grid > .rm-grid-05,
  .rm-main-menu-grid > .rm-grid-06,
  .rm-main-menu-grid > .rm-grid-07,
  .rm-main-menu-grid > .rm-grid-08,
  .rm-main-menu-grid > .rm-grid-09,
  .rm-main-menu-grid > .rm-grid-10,
  .rm-main-menu-grid > .rm-grid-11,
  .rm-main-menu-grid > .rm-grid-12 {
    grid-column: auto !important;
    grid-row: auto !important;
  }

  /* Every visible backend menu item takes the next available cell. */
  .navbar-default .rm-mobile-menu .rm-main-menu-grid > li:not(.rm-grid-about) {
    grid-column: auto !important;
    grid-row: auto !important;
  }

  /* About remains a separate full-width row after all available items. */
  .navbar-default .rm-mobile-menu .rm-main-menu-grid > .rm-grid-about {
    grid-column: 1 / -1 !important;
    grid-row: auto !important;
  }

  .navbar-default .rm-mobile-menu .rm-main-menu-grid > .rm-grid-about > a {
    min-height: 42px;
    flex-direction: row;
    justify-content: flex-start;
    padding: 5px 9px;
    text-align: left;
    font-size: 13px;
  }

  .navbar-default .rm-mobile-menu .rm-main-menu-grid > .rm-grid-about .rm-nav-name {
    width: auto;
    flex: 1 1 auto;
  }

  .navbar-default .rm-mobile-menu .rm-main-menu-grid > .rm-grid-about .rm-nav-arrow {
    display: block !important;
  }
}

/* =========================================================
   ROKETMEDIA — V31 COMPACT ROW SIDEBAR
   One visible backend menu = one neat compact row.
   ========================================================= */
@media (max-width: 767px) {
  .navbar-default .navbar-collapse.rm-mobile-menu {
    padding-top: 8px;
    padding-bottom: 10px;
  }

  .navbar-default .rm-mobile-menu .rm-main-menu-grid {
    display: block !important;
    padding: 0 !important;
  }

  .navbar-default .rm-mobile-menu .rm-main-menu-grid > li,
  .navbar-default .rm-mobile-menu .rm-main-menu-grid > li:not(.rm-grid-about),
  .navbar-default .rm-mobile-menu .rm-main-menu-grid > .rm-grid-about {
    display: block !important;
    width: 100% !important;
    margin: 1px 0 !important;
    grid-column: auto !important;
    grid-row: auto !important;
  }

  .navbar-default .rm-mobile-menu .rm-main-menu-grid > li > a,
  .navbar-default .rm-mobile-menu .rm-main-menu-grid > .rm-grid-about > a {
    width: 100%;
    min-height: 39px;
    height: 39px;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
    gap: 9px;
    padding: 4px 8px;
    text-align: left;
    border: 0;
    border-radius: 10px;
    background: transparent;
    color: var(--rm-text);
    font-size: 13px;
    line-height: 1.15;
    font-weight: 700;
  }

  .navbar-default .rm-mobile-menu .rm-main-menu-grid > li > a:hover,
  .navbar-default .rm-mobile-menu .rm-main-menu-grid > li > a:focus {
    background: #f8f7fc;
    color: var(--rm-primary);
  }

  .navbar-default .rm-mobile-menu .rm-main-menu-grid > .active > a,
  .navbar-default .rm-mobile-menu .rm-main-menu-grid > .active > a:hover,
  .navbar-default .rm-mobile-menu .rm-main-menu-grid > .active > a:focus {
    background: var(--rm-primary-soft);
    color: var(--rm-primary);
  }

  .navbar-default .rm-mobile-menu .rm-main-menu-grid .rm-nav-icon,
  .navbar-default .rm-mobile-menu .rm-main-menu-grid > .rm-grid-about .rm-nav-icon {
    flex: 0 0 29px;
    width: 29px;
    height: 29px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    background: #f2edff;
    color: var(--rm-primary);
    font-size: 13px;
  }

  .navbar-default .rm-mobile-menu .rm-main-menu-grid .rm-nav-name,
  .navbar-default .rm-mobile-menu .rm-main-menu-grid > .rm-grid-about .rm-nav-name {
    min-width: 0;
    width: auto;
    flex: 1 1 auto;
    display: block;
  }

  .navbar-default .rm-mobile-menu .rm-main-menu-grid .rm-nav-arrow,
  .navbar-default .rm-mobile-menu .rm-main-menu-grid > .rm-grid-about .rm-nav-arrow {
    display: block !important;
    margin-left: auto;
    color: #b3b6c0;
    font-size: 13px;
  }

  /* Separate About subtly from operational menu items. */
  .navbar-default .rm-mobile-menu .rm-main-menu-grid > .rm-grid-about {
    margin-top: 5px !important;
    padding-top: 5px;
    border-top: 1px solid var(--rm-border);
  }

  /* Account section uses the same compact rhythm. */
  .rm-account-nav {
    margin-top: 5px !important;
    padding-top: 6px;
    border-top: 1px solid var(--rm-border);
  }

  .navbar-default .rm-mobile-menu .rm-account-nav > li {
    margin: 1px 0 !important;
  }

  .navbar-default .rm-mobile-menu .rm-account-nav > li > a {
    min-height: 39px;
    padding: 4px 8px;
    border-radius: 10px;
    font-size: 13px;
  }

  .navbar-default .rm-mobile-menu .rm-account-nav .rm-nav-icon {
    flex-basis: 29px;
    width: 29px;
    height: 29px;
    font-size: 13px;
  }

  .navbar-default .rm-mobile-menu .rm-balance-menu > a {
    min-height: 46px !important;
    height: 46px;
    padding-top: 4px;
    padding-bottom: 4px;
  }
}

/* =========================================================
   ROKETMEDIA — V32 COMPACT WALLET BALANCE
   One-line wallet row matching Account / Logout rhythm.
   ========================================================= */
@media (max-width: 767px) {
  .navbar-default .rm-mobile-menu .rm-balance-menu > a {
    min-height: 42px !important;
    height: 42px !important;
    padding: 4px 8px !important;
    display: flex;
    align-items: center;
    gap: 9px;
  }

  .rm-balance-menu .rm-wallet-icon {
    flex: 0 0 29px;
    width: 29px;
    height: 29px;
    display: flex !important;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    background: #f2edff;
    color: var(--rm-primary);
    font-size: 13px;
  }

  .rm-balance-copy {
    min-width: 0;
    flex: 1 1 auto;
    display: flex !important;
    flex-direction: row !important;
    align-items: center;
    gap: 6px;
    white-space: nowrap;
  }

  .rm-balance-copy .rm-balance-label {
    color: var(--rm-text);
    font-size: 12px;
    line-height: 1.15;
    font-weight: 700;
  }

  .rm-balance-copy strong {
    margin: 0 !important;
    color: var(--rm-primary);
    font-size: 12px;
    line-height: 1.15;
    font-weight: 800;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .rm-balance-menu .caret {
    flex: 0 0 auto;
    margin-left: auto !important;
    color: var(--rm-primary);
  }
}

/* =========================================================
   ROKETMEDIA — V33 TRUE CSS WALLET ICON
   Pure CSS wallet glyph; no Font Awesome dependency.
   ========================================================= */
@media (max-width: 767px) {
  .rm-wallet-icon {
    position: relative;
  }

  .rm-wallet-glyph {
    position: relative;
    display: block;
    width: 16px;
    height: 11px;
    border: 2px solid var(--rm-primary);
    border-radius: 3px;
    box-sizing: border-box;
  }

  .rm-wallet-glyph::before {
    content: "";
    position: absolute;
    left: 1px;
    right: 1px;
    top: -5px;
    height: 5px;
    border: 2px solid var(--rm-primary);
    border-bottom: 0;
    border-radius: 3px 3px 0 0;
    box-sizing: border-box;
  }

  .rm-wallet-glyph::after {
    content: "";
    position: absolute;
    right: -3px;
    top: 2px;
    width: 7px;
    height: 5px;
    background: var(--rm-primary);
    border-radius: 2px;
    box-shadow: 0 0 0 2px #f2edff;
  }
}



/* =========================================================
   V54 MOBILE POLISH — compact hero, branded icons, cleaner flow
   ========================================================= */
.rm54-orbit svg,
.rm54-phone-tabs svg,
.rm54-platforms svg,
.rm54-service-icon svg {
    width: 20px;
    height: 20px;
}

.rm54-orbit svg {
    width: 25px;
    height: 25px;
}

.rm54-platforms b {
    border: 0;
    color: #ffffff;
}

.rm54-platforms .is-tiktok b { background: #111111; }
.rm54-platforms .is-instagram b { background: linear-gradient(135deg, #7c3aed, #ec4899 55%, #f59e0b); }
.rm54-platforms .is-facebook b { background: #1877f2; }
.rm54-platforms .is-telegram b { background: #229ed9; }
.rm54-platforms .is-x b { background: #111111; }
.rm54-platforms .is-threads b { background: #171717; }

.rm54-live {
    border-color: rgba(109, 74, 255, .20);
    background: linear-gradient(135deg, rgba(255,255,255,.96), rgba(247,244,255,.96));
    box-shadow: 0 18px 48px rgba(80, 55, 160, .10);
}

.rm54-livehead i {
    background: #20c982;
    box-shadow: 0 0 0 6px rgba(32, 201, 130, .13);
}

.rm54-stats b { color: #211a35; }
.rm54-platforms { background: rgba(244, 240, 255, .72); }

.rm54-service-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

@media (max-width: 767px) {
    .rm54-hero {
        padding-top: 34px;
        padding-bottom: 22px;
    }

    .rm54-copy h1 {
        font-size: clamp(42px, 12.4vw, 54px);
        line-height: .98;
        letter-spacing: -2.4px;
    }

    .rm54-copy > p {
        margin-top: 16px;
        font-size: 14px;
        line-height: 1.55;
    }

    .rm54-actions { margin-top: 20px; }
    .rm54-trust { margin-top: 12px; }

    .rm54-visual {
        min-height: 430px;
        margin-top: 12px;
    }

    .rm54-phone {
        top: 20px;
        right: 50%;
        width: 218px;
        height: 326px;
        transform: translateX(50%) rotate(4deg);
    }

    .rm54-orbit {
        width: 46px;
        height: 46px;
        border-radius: 14px;
    }

    .rm54-orbit.o1 { left: 12%; top: 118px; }
    .rm54-orbit.o2 { left: 15%; bottom: 42px; }
    .rm54-orbit.o3 { right: 12%; top: 132px; }
    .rm54-orbit.o4 { right: 15%; bottom: 50px; }

    .rm54-live {
        margin-top: -42px;
        padding: 14px 14px 12px;
        border-radius: 20px;
    }

    .rm54-platforms {
        grid-template-columns: repeat(6, minmax(0, 1fr));
        gap: 5px;
        padding: 9px 6px;
    }

    .rm54-platforms b {
        width: 35px;
        height: 35px;
    }

    .rm54-platforms > span {
        gap: 5px;
        font-size: 6.5px;
    }

    .rm54-services { padding-top: 36px; }

    .rm54-servicegrid {
        gap: 10px;
    }

    .rm54-servicegrid article {
        min-height: 150px;
        padding: 20px 18px;
    }

    .rm54-steps,
    .rm54-faq {
        margin-top: 18px;
    }

    .rm54-cta {
        margin-top: 18px;
    }
}

/* =========================================================
   ROKETMEDIA V56 — CLEAN PURPLE LIVE + COMPACT SERVICES
   Landing-only overrides. Global/dashboard/sidebar preserved.
   ========================================================= */
.rm54-live {
  padding: 16px;
  border: 1px solid rgba(109,74,255,.13);
  background: linear-gradient(145deg,rgba(255,255,255,.98),rgba(250,248,255,.97));
  box-shadow: 0 20px 55px rgba(55,35,120,.09);
}
.rm54-livehead { padding: 0 2px 13px; border-bottom: 1px solid #eeeaf5; }
.rm54-livehead span { font-size: 9.5px; letter-spacing: 1.2px; }
.rm54-livehead i { background:#6d4aff; box-shadow:0 0 0 5px rgba(109,74,255,.10),0 0 16px rgba(109,74,255,.22); }
.rm54-stats {
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:0;
  padding:15px 0 14px;
  margin:0;
  background:transparent;
}
.rm54-stats div {
  position:relative;
  padding:0 14px !important;
  border:0 !important;
  border-right:1px solid #ece9f3 !important;
  border-radius:0;
  background:transparent !important;
  box-shadow:none;
  color:#6d4aff;
}
.rm54-stats div:last-child { border-right:0 !important; }
.rm54-stats b {
  display:block;
  color:#6d4aff;
  font-size:22px;
  font-weight:850;
  line-height:1.05;
  letter-spacing:-.7px;
  font-variant-numeric:tabular-nums;
}
.rm54-stats span { display:block; margin-top:7px; color:#918c9c; font-size:6.8px; font-weight:800; letter-spacing:1px; }
.rm54-platforms { gap:7px; padding:10px; border:1px solid #eeeaf7; background:rgba(255,255,255,.82); }
.rm54-platforms>span { font-weight:700; color:#76717e; }
.rm54-platforms b { border:0; color:#fff; box-shadow:0 7px 17px rgba(20,16,40,.12); }
.rm54-platforms .is-tiktok b { background:#111; }
.rm54-platforms .is-instagram b { background:linear-gradient(135deg,#7c3aed,#d946ef,#fb7185,#f59e0b); }
.rm54-platforms .is-facebook b { background:#1877f2; }
.rm54-platforms .is-telegram b { background:#229ed9; }
.rm54-platforms .is-x b { background:#111; }
.rm54-platforms .is-threads b { background:#171717; }
.rm54-heading h2 { max-width:560px; }
.rm54-heading p { max-width:610px; }
.rm54-servicegrid { gap:12px; margin-top:23px; }
.rm54-servicegrid article {
  position:relative;
  overflow:hidden;
  min-height:166px;
  padding:20px;
  border-color:#ebe7f2;
  border-radius:20px;
  box-shadow:0 12px 32px rgba(38,27,82,.05);
  transition:transform .2s ease,box-shadow .2s ease,border-color .2s ease;
}
.rm54-servicegrid article:hover { transform:translateY(-3px); border-color:#ded6ff; box-shadow:0 18px 38px rgba(64,43,145,.09); }
.rm54-servicegrid i { width:44px; height:44px; border-radius:13px; }
.rm54-servicegrid i svg { width:22px; height:22px; }
.rm54-servicegrid h3 { margin:17px 0 7px; font-size:15px; font-weight:850; letter-spacing:-.2px; }
.rm54-servicegrid p { font-size:10.5px; line-height:1.6; }
.rm54-service-followers i { background:#f0ebff; color:#7047f5; }
.rm54-service-likes i { background:#fff0f5; color:#e5447d; }
.rm54-service-comments i { background:#ebf8ff; color:#178bc9; }
.rm54-service-shares i { background:#ebfbf4; color:#169b69; }
@media(max-width:767px) {
  .rm54-copy .rm54-actions { margin-bottom:0; }
  .rm54-visual { margin-top:20px; }
  .rm54-live { padding:12px; border-radius:20px; }
  .rm54-livehead { padding-bottom:10px; }
  .rm54-stats { padding:13px 0 12px; }
  .rm54-stats div { padding:0 10px !important; }
  .rm54-stats b { font-size:17px; }
  .rm54-stats span { margin-top:6px; font-size:6.5px; }
  .rm54-platforms { gap:4px; padding:8px 4px; border-radius:13px; }
  .rm54-platforms b { width:30px; height:30px; border-radius:9px; }
  .rm54-platforms b svg { width:17px; height:17px; }
  .rm54-platforms>span { font-size:5.8px; }
  .rm54-heading h2 { max-width:330px; }
  .rm54-servicegrid { gap:9px; margin-top:18px; }
  .rm54-servicegrid article { min-height:166px; padding:15px; border-radius:17px; }
  .rm54-servicegrid i { width:40px; height:40px; border-radius:12px; }
  .rm54-servicegrid i svg { width:20px; height:20px; }
  .rm54-servicegrid h3 { margin:13px 0 6px; font-size:13px; }
  .rm54-servicegrid p { font-size:9.3px; line-height:1.55; }
}
@media(max-width:380px) {
  .rm54-stats div { padding:0 7px !important; }
  .rm54-stats b { font-size:15px; }
  .rm54-platforms b { width:27px; height:27px; }
  .rm54-servicegrid article { min-height:160px; padding:13px; }
  .rm54-servicegrid p { font-size:8.8px; }
}

/* =========================================================
   ROKETMEDIA V57 — SIGNUP
   Scoped signup-only UI. Existing landing/dashboard preserved.
   ========================================================= */

.rm57-signup {
  --rm57-purple: #6d4aff;
  --rm57-purple-dark: #5635e8;
  --rm57-purple-soft: #f2eeff;
  --rm57-text: #17151f;
  --rm57-muted: #7f7b89;
  --rm57-line: #e8e4f0;
  min-height: calc(100vh - 70px);
  padding: 46px 18px 70px;
  background:
    radial-gradient(circle at 12% 8%, rgba(109,74,255,.10), transparent 28%),
    radial-gradient(circle at 92% 25%, rgba(139,92,246,.08), transparent 24%),
    linear-gradient(180deg, #fbfaff 0%, #f7f6fb 100%);
  color: var(--rm57-text);
}

.rm57-signup *,
.rm57-signup *:before,
.rm57-signup *:after {
  box-sizing: border-box;
}

.rm57-signup-shell {
  width: min(100%, 520px);
  margin: 0 auto;
}

.rm57-signup-head {
  margin-bottom: 22px;
}

.rm57-signup-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 11px;
  color: var(--rm57-purple);
  font-size: 10px;
  line-height: 1;
  font-weight: 900;
  letter-spacing: 1.5px;
  text-transform: uppercase;
}

.rm57-signup-kicker:before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--rm57-purple);
  box-shadow: 0 0 0 5px rgba(109,74,255,.10);
}

.rm57-signup-head h1 {
  margin: 0;
  color: var(--rm57-text);
  font-size: 38px;
  line-height: 1.02;
  font-weight: 900;
  letter-spacing: -1.7px;
}

.rm57-signup-head p {
  margin: 10px 0 0;
  color: var(--rm57-muted);
  font-size: 13px;
  line-height: 1.6;
}

.rm57-signup-card {
  position: relative;
  overflow: hidden;
  padding: 26px;
  border: 1px solid rgba(109,74,255,.13);
  border-radius: 24px;
  background: rgba(255,255,255,.94);
  box-shadow: 0 24px 60px rgba(44,31,91,.09);
}

.rm57-signup-card:before {
  content: "";
  position: absolute;
  top: -90px;
  right: -90px;
  width: 190px;
  height: 190px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(109,74,255,.10), rgba(109,74,255,0) 70%);
  pointer-events: none;
}

.rm57-signup .form-group {
  position: relative;
  margin-bottom: 15px;
}

.rm57-signup .control-label {
  display: block;
  margin: 0 0 7px;
  color: #282530;
  font-size: 11px;
  line-height: 1.3;
  font-weight: 800;
}

.rm57-signup .form-control {
  width: 100%;
  height: 48px;
  padding: 10px 14px;
  border: 1px solid #e1ddea;
  border-radius: 13px;
  background: #fff;
  color: var(--rm57-text);
  font-size: 14px;
  box-shadow: none;
  outline: none;
  transition: border-color .18s ease, box-shadow .18s ease, background .18s ease;
}

.rm57-signup .form-control:hover {
  border-color: #d4cce8;
}

.rm57-signup .form-control:focus {
  border-color: var(--rm57-purple);
  background: #fff;
  box-shadow: 0 0 0 4px rgba(109,74,255,.10);
}

.rm57-signup .alert {
  margin: 0 0 18px;
  padding: 13px 15px;
  border: 0;
  border-radius: 13px;
  font-size: 12px;
  line-height: 1.5;
}

.rm57-signup .alert-danger {
  background: #fff0f2;
  color: #ad2638;
}

.rm57-signup .alert-success {
  background: #edf9f3;
  color: #16744b;
}

.rm57-signup .alert .close {
  opacity: .55;
}

.rm57-signup-terms {
  margin: 3px 0 17px !important;
}

.rm57-signup-terms .checkbox {
  margin: 0;
}

.rm57-signup-terms label {
  position: relative;
  display: block;
  min-height: 22px;
  padding-left: 30px;
  color: #686472;
  font-size: 11px;
  line-height: 1.55;
  font-weight: 500;
}

.rm57-signup-terms input[type="checkbox"] {
  position: absolute;
  left: 0;
  top: 1px;
  width: 18px;
  height: 18px;
  margin: 0;
  accent-color: var(--rm57-purple);
}

.rm57-signup-terms a,
.rm57-signin-row a {
  color: var(--rm57-purple);
  font-weight: 800;
  text-decoration: none;
}

.rm57-signup-submit {
  width: 100%;
  min-height: 49px;
  border: 0;
  border-radius: 13px;
  background: linear-gradient(135deg, #744dff, #5c35ef);
  color: #fff;
  font-size: 13px;
  font-weight: 850;
  box-shadow: 0 13px 27px rgba(109,74,255,.22);
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}

.rm57-signup-submit:hover,
.rm57-signup-submit:focus {
  background: linear-gradient(135deg, #6842f5, #512de2);
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 16px 32px rgba(109,74,255,.27);
  outline: none;
}

.rm57-signup-divider {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 18px 0;
  color: #aaa5b2;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: .8px;
  text-transform: uppercase;
}

.rm57-signup-divider:before,
.rm57-signup-divider:after {
  content: "";
  height: 1px;
  flex: 1;
  background: var(--rm57-line);
}

.rm57-google {
  display: flex;
  justify-content: center;
  min-height: 44px;
}

.rm57-google .g_id_signin {
  width: 100%;
}

.rm57-signin-row {
  margin-top: 20px;
  padding-top: 18px;
  border-top: 1px solid var(--rm57-line);
  color: #777280;
  font-size: 11px;
  text-align: center;
}

.rm57-signup-security {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-top: 16px;
  color: #9a95a2;
  font-size: 9px;
  font-weight: 700;
}

.rm57-signup-security span {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.rm57-signup-security i {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #8b68ff;
}

.rm57-signup-captcha {
  margin: 4px 0 15px;
  overflow: hidden;
}

@media (max-width: 767px) {
  .rm57-signup {
    min-height: calc(100vh - 64px);
    padding: 30px 16px 52px;
  }

  .rm57-signup-head {
    margin-bottom: 18px;
  }

  .rm57-signup-head h1 {
    font-size: 31px;
    letter-spacing: -1.25px;
  }

  .rm57-signup-head p {
    max-width: 330px;
    margin-top: 8px;
    font-size: 11px;
  }

  .rm57-signup-card {
    padding: 20px 17px;
    border-radius: 20px;
  }

  .rm57-signup .form-group {
    margin-bottom: 13px;
  }

  .rm57-signup .control-label {
    margin-bottom: 6px;
    font-size: 10.5px;
  }

  .rm57-signup .form-control {
    height: 46px;
    border-radius: 12px;
    font-size: 13px;
  }

  .rm57-signup-submit {
    min-height: 47px;
    border-radius: 12px;
  }

  .rm57-signup-security {
    gap: 11px;
    font-size: 8px;
  }
}

@media (max-width: 380px) {
  .rm57-signup {
    padding-left: 13px;
    padding-right: 13px;
  }

  .rm57-signup-head h1 {
    font-size: 29px;
  }

  .rm57-signup-card {
    padding: 18px 14px;
  }
}

/* =========================================================
   ROKETMEDIA V58 — VERIFY EMAIL
   Scoped confirm-email UI. Existing landing/signup/dashboard preserved.
   ========================================================= */

.rm58-verify {
  --rm58-purple: #6d4aff;
  --rm58-purple-dark: #5635e8;
  --rm58-soft: #f2eeff;
  --rm58-text: #17151f;
  --rm58-muted: #7d7888;
  --rm58-line: #e8e4f0;
  min-height: calc(100vh - 70px);
  padding: 48px 18px 70px;
  background:
    radial-gradient(circle at 12% 8%, rgba(109,74,255,.10), transparent 28%),
    radial-gradient(circle at 90% 22%, rgba(139,92,246,.08), transparent 24%),
    linear-gradient(180deg, #fbfaff 0%, #f7f6fb 100%);
  color: var(--rm58-text);
}

.rm58-verify *,
.rm58-verify *:before,
.rm58-verify *:after {
  box-sizing: border-box;
}

.rm58-shell {
  width: min(100%, 560px);
  margin: 0 auto;
}

.rm58-card {
  position: relative;
  overflow: hidden;
  padding: 30px;
  border: 1px solid rgba(109,74,255,.14);
  border-radius: 25px;
  background: rgba(255,255,255,.95);
  box-shadow: 0 24px 65px rgba(44,31,91,.09);
}

.rm58-card:before {
  content: "";
  position: absolute;
  top: -95px;
  right: -95px;
  width: 210px;
  height: 210px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(109,74,255,.11), rgba(109,74,255,0) 70%);
  pointer-events: none;
}

.rm58-icon {
  position: relative;
  width: 58px;
  height: 58px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 17px;
  border: 1px solid #dfd7ff;
  border-radius: 18px;
  background: linear-gradient(145deg, #f7f4ff, #eee8ff);
  color: var(--rm58-purple);
  box-shadow: 0 12px 26px rgba(109,74,255,.12);
}

.rm58-icon svg {
  width: 27px;
  height: 27px;
}

.rm58-head {
  position: relative;
  text-align: center;
}

.rm58-kicker {
  color: var(--rm58-purple);
  font-size: 9px;
  font-weight: 900;
  letter-spacing: 1.4px;
  text-transform: uppercase;
}

.rm58-head h1 {
  margin: 7px 0 0;
  color: var(--rm58-text);
  font-size: 29px;
  line-height: 1.08;
  font-weight: 900;
  letter-spacing: -1.1px;
}

.rm58-description {
  max-width: 430px;
  margin: 11px auto 0;
  color: var(--rm58-muted);
  font-size: 12px;
  line-height: 1.65;
  text-align: center;
}

.rm58-description div + div {
  margin-top: 4px;
}

.rm58-email {
  display: inline-block;
  margin-top: 5px;
  padding: 5px 9px;
  border-radius: 8px;
  background: var(--rm58-soft);
  color: var(--rm58-purple-dark);
  font-weight: 800;
  overflow-wrap: anywhere;
}

.rm58-alert {
  margin: 0 0 18px;
  padding: 13px 15px;
  border: 0;
  border-radius: 13px;
  font-size: 12px;
  line-height: 1.5;
}

.rm58-verify .alert-success {
  background: #edf9f3;
  color: #16744b;
}

.rm58-verify .alert-danger {
  background: #fff0f2;
  color: #ad2638;
}

.rm58-actions {
  display: grid;
  gap: 9px;
  margin-top: 22px;
}

.rm58-primary,
.rm58-secondary {
  width: 100%;
  min-height: 47px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 13px;
  font-size: 12px;
  font-weight: 850;
  text-decoration: none;
  cursor: pointer;
}

.rm58-primary {
  border: 0;
  background: linear-gradient(135deg, #744dff, #5c35ef);
  color: #fff;
  box-shadow: 0 13px 27px rgba(109,74,255,.21);
}

.rm58-primary:hover,
.rm58-primary:focus {
  background: linear-gradient(135deg, #6842f5, #512de2);
  color: #fff;
  outline: none;
}

.rm58-secondary {
  border: 1px solid #ded8eb;
  background: #fff;
  color: var(--rm58-purple);
  box-shadow: none;
}

.rm58-secondary:hover,
.rm58-secondary:focus {
  border-color: #cfc3f6;
  background: #f8f5ff;
  color: var(--rm58-purple-dark);
  text-decoration: none;
  outline: none;
}

.rm58-help {
  margin-top: 25px;
  padding-top: 22px;
  border-top: 1px solid var(--rm58-line);
}

.rm58-help-head {
  margin-bottom: 9px;
}

.rm58-help-head span {
  color: var(--rm58-purple);
  font-size: 8.5px;
  font-weight: 900;
  letter-spacing: 1.2px;
  text-transform: uppercase;
}

.rm58-help-head h2 {
  margin: 5px 0 0;
  color: var(--rm58-text);
  font-size: 17px;
  font-weight: 900;
  letter-spacing: -.35px;
}

.rm58-faq {
  border-top: 1px solid var(--rm58-line);
}

.rm58-faq details {
  border-bottom: 1px solid var(--rm58-line);
}

.rm58-faq summary {
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  padding: 13px 1px;
  color: #302d37;
  font-size: 11px;
  font-weight: 800;
  cursor: pointer;
}

.rm58-faq summary::-webkit-details-marker {
  display: none;
}

.rm58-faq summary b {
  flex: 0 0 auto;
  color: var(--rm58-purple);
  font-size: 18px;
  line-height: 1;
  font-weight: 400;
  transition: transform .18s ease;
}

.rm58-faq details[open] summary b {
  transform: rotate(45deg);
}

.rm58-faq p {
  margin: -2px 25px 13px 1px;
  color: var(--rm58-muted);
  font-size: 10px;
  line-height: 1.6;
}

.rm58-note {
  margin-top: 14px;
  color: #aaa5b2;
  font-size: 9px;
  line-height: 1.5;
  text-align: center;
}

/* Change email modal */
#changeEmailModal .modal-dialog {
  max-width: 470px;
  margin-top: 8vh;
}

#changeEmailModal .modal-content {
  overflow: hidden;
  border: 1px solid #e8e4f0;
  border-radius: 22px;
  box-shadow: 0 28px 80px rgba(31,22,64,.20);
}

#changeEmailModal .modal-header {
  padding: 21px 22px 16px;
  border-bottom: 1px solid #eeeaf3;
  background: linear-gradient(180deg, #fff, #fbf9ff);
}

#changeEmailModal .modal-title {
  color: #17151f;
  font-size: 18px;
  font-weight: 900;
}

#changeEmailModal .modal-header .close {
  margin-top: -2px;
  color: #77717f;
  opacity: .65;
}

#changeEmailModal .modal-body {
  padding: 20px 22px 8px;
}

#changeEmailModal .form-group {
  margin-bottom: 15px;
}

#changeEmailModal label {
  margin-bottom: 7px;
  color: #2c2933;
  font-size: 11px;
  font-weight: 800;
}

#changeEmailModal .form-control {
  height: 47px;
  border: 1px solid #e1ddea;
  border-radius: 12px;
  background: #fff;
  color: #17151f;
  box-shadow: none;
}

#changeEmailModal span.form-control {
  display: flex;
  align-items: center;
  background: #f7f5fa;
  color: #77717f;
}

#changeEmailModal .form-control:focus {
  border-color: #6d4aff;
  box-shadow: 0 0 0 4px rgba(109,74,255,.10);
}

#changeEmailModal .modal-footer {
  padding: 14px 22px 21px;
  border-top: 0;
}

#changeEmailModal .btn {
  min-height: 42px;
  padding: 9px 16px;
  border-radius: 11px;
  font-size: 11px;
  font-weight: 800;
}

#changeEmailModal .btn-primary {
  border-color: #6d4aff;
  background: #6d4aff;
}

#changeEmailModal .btn-default {
  border-color: #e1ddea;
  background: #fff;
}

@media (max-width: 767px) {
  .rm58-verify {
    min-height: calc(100vh - 64px);
    padding: 30px 15px 50px;
  }

  .rm58-card {
    padding: 23px 17px;
    border-radius: 21px;
  }

  .rm58-icon {
    width: 52px;
    height: 52px;
    margin-bottom: 15px;
    border-radius: 16px;
  }

  .rm58-icon svg {
    width: 24px;
    height: 24px;
  }

  .rm58-head h1 {
    font-size: 25px;
  }

  .rm58-description {
    font-size: 11px;
  }

  .rm58-actions {
    margin-top: 19px;
  }

  .rm58-help {
    margin-top: 22px;
    padding-top: 19px;
  }

  .rm58-faq summary {
    font-size: 10.5px;
  }

  #changeEmailModal .modal-dialog {
    margin: 18px 12px;
  }

  #changeEmailModal .modal-content {
    border-radius: 19px;
  }
}

/* =========================================================
   ROKETMEDIA V58 — RESET PASSWORD
   ========================================================= */
.rm58-reset,.rm58-reset *{box-sizing:border-box}
.rm58-reset{min-height:calc(100vh - 70px);padding:58px 20px 70px;background:radial-gradient(circle at 18% 12%,rgba(109,74,255,.12),transparent 28%),radial-gradient(circle at 88% 32%,rgba(109,74,255,.08),transparent 25%),linear-gradient(180deg,#fbfaff 0%,#f6f7fb 100%);color:var(--rm-text)}
.rm58-reset-shell{width:100%;max-width:520px;margin:0 auto}
.rm58-reset-head{margin-bottom:28px}
.rm58-reset-kicker{display:flex;align-items:center;gap:10px;margin-bottom:14px;color:var(--rm-primary);font-size:11px;line-height:1.2;font-weight:800;letter-spacing:1.8px}
.rm58-reset-kicker:before{content:"";width:9px;height:9px;flex:0 0 9px;border-radius:50%;background:var(--rm-primary);box-shadow:0 0 0 7px rgba(109,74,255,.1)}
.rm58-reset-head h1{margin:0 0 12px;color:var(--rm-text);font-size:38px;line-height:1.08;letter-spacing:-1.6px;font-weight:800}
.rm58-reset-head p{margin:0;max-width:500px;color:var(--rm-muted);font-size:14px;line-height:1.7}
.rm58-reset-card{padding:28px;border:1px solid rgba(109,74,255,.1);border-radius:24px;background:rgba(255,255,255,.96);box-shadow:0 20px 55px rgba(45,31,92,.08)}
.rm58-reset-card .form-group{margin-bottom:22px}
.rm58-reset-card .control-label{display:block;margin-bottom:9px;color:var(--rm-text);font-size:13px;font-weight:700}
.rm58-reset-card .form-control{width:100%;height:50px;padding:12px 15px;border:1px solid #dddfe7;border-radius:14px;background:#fff;color:var(--rm-text);font-size:14px;box-shadow:none;transition:border-color .2s ease,box-shadow .2s ease}
.rm58-reset-card .form-control::placeholder{color:#aaaeba}
.rm58-reset-card .form-control:focus{border-color:var(--rm-primary);outline:none;box-shadow:0 0 0 4px rgba(109,74,255,.1)}
.rm58-reset-help{margin-top:9px;color:#9296a3;font-size:11px;line-height:1.55}
.rm58-reset-captcha{margin:0 0 20px;overflow:hidden}
.rm58-reset-submit{width:100%;min-height:52px;border:0!important;border-radius:14px!important;background:linear-gradient(135deg,#744cff,#5b34ef)!important;color:#fff!important;font-size:14px;font-weight:800;box-shadow:0 14px 30px rgba(109,74,255,.22);transition:transform .2s ease,box-shadow .2s ease}
.rm58-reset-submit:hover,.rm58-reset-submit:focus{color:#fff!important;transform:translateY(-1px);box-shadow:0 17px 34px rgba(109,74,255,.28);outline:none}
.rm58-reset-back{margin-top:20px;color:var(--rm-muted);font-size:12px;line-height:1.5;text-align:center}
.rm58-reset-back a{margin-left:3px;color:var(--rm-primary);font-weight:800;text-decoration:none}
.rm58-reset-card .alert{margin-bottom:20px;padding:14px 40px 14px 15px;border:0;border-radius:13px;font-size:12px;line-height:1.55}
.rm58-reset-card .alert-danger{background:#fff1f2;color:#b42318}
.rm58-reset-card .alert-success{background:#ecfdf3;color:#18794e}
@media(max-width:767px){.rm58-reset{min-height:calc(100vh - 64px);padding:48px 18px 55px}.rm58-reset-head{margin-bottom:24px}.rm58-reset-kicker{margin-bottom:13px;font-size:10px;letter-spacing:1.6px}.rm58-reset-head h1{font-size:32px;letter-spacing:-1.25px}.rm58-reset-head p{font-size:13px;line-height:1.65}.rm58-reset-card{padding:24px 20px;border-radius:20px}.rm58-reset-card .form-control{height:48px}.rm58-reset-submit{min-height:50px}}
@media(max-width:380px){.rm58-reset{padding-left:15px;padding-right:15px}.rm58-reset-head h1{font-size:29px}.rm58-reset-card{padding:22px 17px}}
@media(prefers-reduced-motion:reduce){.rm58-reset-card .form-control,.rm58-reset-submit{transition:none}.rm58-reset-submit:hover,.rm58-reset-submit:focus{transform:none}}

/* =========================================================
   ROKETMEDIA V59 — UPDATES / SERVICE HISTORY
   ========================================================= */
.rm59-updates,.rm59-updates *{box-sizing:border-box}
.rm59-updates{padding:34px 0 60px;color:var(--rm-text);background:linear-gradient(180deg,#f8f8fc 0%,#f6f7fb 100%)}
.rm59-updates-head{display:flex;align-items:center;gap:16px;margin:0 0 24px}
.rm59-updates-icon{width:56px;height:56px;display:flex;align-items:center;justify-content:center;flex:0 0 56px;border-radius:17px;background:var(--rm-primary-soft);color:var(--rm-primary)}
.rm59-updates-icon svg{width:28px;height:28px}
.rm59-updates-head h1{margin:0 0 5px;font-size:34px;line-height:1.15;font-weight:800;letter-spacing:-1px}
.rm59-updates-head p{margin:0;color:var(--rm-muted);font-size:14px;line-height:1.55}
.rm59-tools{display:flex;gap:10px;margin-bottom:24px;padding:14px;border:1px solid var(--rm-border);border-radius:20px;background:#fff;box-shadow:0 10px 30px rgba(20,24,40,.05)}
.rm59-filter{flex:0 0 auto}
.rm59-filter-btn{height:50px;display:flex;align-items:center;gap:8px;padding:0 17px;border:0;border-radius:14px;background:linear-gradient(135deg,#744cff,#6138ef);color:#fff;font-size:13px;font-weight:800;box-shadow:0 10px 22px rgba(109,74,255,.16)}
.rm59-filter-btn:hover,.rm59-filter-btn:focus{color:#fff;outline:none}
.rm59-filter-btn svg{width:18px;height:18px}
.rm59-filter-btn .caret{margin-left:2px}
.rm59-filter-menu{min-width:220px;padding:7px;border:1px solid var(--rm-border);border-radius:13px;box-shadow:0 16px 38px rgba(20,24,40,.12)}
.rm59-filter-menu>li>a{padding:9px 11px;border-radius:8px;color:var(--rm-text);font-size:12px}
.rm59-filter-menu>li.active>a,.rm59-filter-menu>li>a:hover{background:var(--rm-primary-soft);color:var(--rm-primary)}
.rm59-search{position:relative;min-width:0;flex:1}
.rm59-search>svg{position:absolute;z-index:2;left:16px;top:50%;width:20px;height:20px;transform:translateY(-50%);color:#858a98;pointer-events:none}
.rm59-search .form-control{width:100%;height:50px;padding:0 48px 0 46px;border:1px solid var(--rm-border);border-radius:14px;background:#fff;box-shadow:none;font-size:13px}
.rm59-search .form-control:focus{border-color:var(--rm-primary);box-shadow:0 0 0 4px rgba(109,74,255,.09);outline:none}
.rm59-search button{position:absolute;right:0;top:0;width:48px;height:50px;border:0;background:transparent;color:var(--rm-primary)}
.rm59-list{padding:22px;border:1px solid var(--rm-border);border-radius:22px;background:#fff;box-shadow:0 12px 35px rgba(20,24,40,.05)}
.rm59-list-title{margin-bottom:17px}
.rm59-list-title span{display:block;margin-bottom:5px;color:var(--rm-primary);font-size:9px;font-weight:900;letter-spacing:1.4px}
.rm59-list-title h2{margin:0;font-size:23px;line-height:1.2;font-weight:800}
.rm59-update-card{margin-bottom:11px;padding:17px 18px;border:1px solid #ececf2;border-radius:16px;background:#fff;transition:border-color .2s ease,box-shadow .2s ease}
.rm59-update-card:last-child{margin-bottom:0}
.rm59-update-card:hover{border-color:#ddd6ff;box-shadow:0 8px 22px rgba(49,37,98,.05)}
.rm59-update-top{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:9px}
.rm59-service-id{color:var(--rm-primary);font-size:12px;font-weight:800}
.rm59-date{display:flex;align-items:center;gap:6px;color:#9094a0;font-size:11px;font-weight:600;white-space:nowrap}
.rm59-date svg{width:15px;height:15px;color:var(--rm-primary)}
.rm59-update-card h3{margin:0 0 13px;color:var(--rm-text);font-size:14px;line-height:1.5;font-weight:750;overflow-wrap:anywhere}
.rm59-change{padding:12px 13px;border-radius:12px;background:#f8f6ff;border:1px solid #eee9ff}
.rm59-change-label{display:block;margin-bottom:4px;color:#8e8999;font-size:9px;font-weight:800;letter-spacing:.7px;text-transform:uppercase}
.rm59-change p{margin:0;color:#4f4c58;font-size:12px;line-height:1.55;overflow-wrap:anywhere}
.rm59-pagination{display:flex;justify-content:center;flex-wrap:wrap;gap:5px;margin:22px 0 0}
.rm59-pagination>li>a,.rm59-pagination>li>span{min-width:36px;height:36px;display:flex;align-items:center;justify-content:center;padding:0 10px;border:1px solid var(--rm-border)!important;border-radius:10px!important;background:#fff;color:var(--rm-text)}
.rm59-pagination>.active>a,.rm59-pagination>.active>a:hover{border-color:var(--rm-primary)!important;background:var(--rm-primary);color:#fff}

@media(max-width:767px){
  .rm59-updates{padding:30px 15px 52px}
  .rm59-updates>.container{width:100%;padding:0}
  .rm59-updates-head{gap:13px;margin-bottom:20px}
  .rm59-updates-icon{width:48px;height:48px;flex-basis:48px;border-radius:15px}
  .rm59-updates-icon svg{width:24px;height:24px}
  .rm59-updates-head h1{font-size:27px;letter-spacing:-.7px}
  .rm59-updates-head p{font-size:11px}
  .rm59-tools{display:block;margin-bottom:20px;padding:12px;border-radius:18px}
  .rm59-filter,.rm59-filter-btn{width:100%}
  .rm59-filter-btn{justify-content:center;height:47px}
  .rm59-filter-menu{width:100%}
  .rm59-search{margin-top:9px}
  .rm59-search .form-control{height:47px;font-size:12px}
  .rm59-search button{height:47px}
  .rm59-list{padding:17px 14px;border-radius:19px}
  .rm59-list-title{margin:2px 2px 15px}
  .rm59-list-title h2{font-size:21px}
  .rm59-update-card{padding:15px;border-radius:15px}
  .rm59-update-card h3{font-size:13px}
  .rm59-change p{font-size:11.5px}
}
@media(max-width:380px){
  .rm59-updates{padding-left:12px;padding-right:12px}
  .rm59-updates-head h1{font-size:25px}
  .rm59-date{font-size:10px}
}
@media(prefers-reduced-motion:reduce){
  .rm59-update-card{transition:none}
}

/* =========================================================
   ROKETMEDIA V60 — TERMS OF SERVICE
   ========================================================= */
.rm60-terms,.rm60-terms *{box-sizing:border-box}
.rm60-terms{padding:42px 0 65px;background:linear-gradient(180deg,#f8f8fc 0%,#f6f7fb 100%);color:var(--rm-text)}
.rm60-terms-head{max-width:780px;margin-bottom:27px}
.rm60-eyebrow{display:block;margin-bottom:8px;color:var(--rm-primary);font-size:10px;font-weight:900;letter-spacing:1.5px}
.rm60-terms-head h1{margin:0 0 10px;font-size:38px;line-height:1.08;font-weight:850;letter-spacing:-1.4px}
.rm60-terms-head p{max-width:720px;margin:0;color:var(--rm-muted);font-size:14px;line-height:1.7}
.rm60-updated{display:inline-flex;margin-top:14px;padding:7px 10px;border:1px solid #e4ddff;border-radius:9px;background:var(--rm-primary-soft);color:var(--rm-primary-dark);font-size:10px;font-weight:750}
.rm60-terms-layout{display:grid;grid-template-columns:220px minmax(0,1fr);gap:18px;align-items:start}
.rm60-summary{position:sticky;top:90px;padding:16px;border:1px solid var(--rm-border);border-radius:18px;background:#fff;box-shadow:0 10px 28px rgba(20,24,40,.04)}
.rm60-summary strong{display:block;margin:1px 7px 9px;color:var(--rm-text);font-size:12px}
.rm60-summary a{display:block;padding:7px;border-radius:8px;color:#777d8d;font-size:10.5px;line-height:1.3;text-decoration:none!important}
.rm60-summary a:hover,.rm60-summary a:focus{background:var(--rm-primary-soft);color:var(--rm-primary)}
.rm60-document{overflow:hidden;border:1px solid var(--rm-border);border-radius:22px;background:#fff;box-shadow:0 12px 35px rgba(20,24,40,.05)}
.rm60-document>section{display:grid;grid-template-columns:48px minmax(0,1fr);gap:15px;padding:24px 26px;border-bottom:1px solid #eeeef3;scroll-margin-top:95px}
.rm60-document>section:last-child{border-bottom:0}
.rm60-num{width:38px;height:38px;display:flex;align-items:center;justify-content:center;border-radius:11px;background:var(--rm-primary-soft);color:var(--rm-primary);font-size:11px;font-weight:900}
.rm60-document h2{margin:2px 0 9px;color:var(--rm-text);font-size:17px;line-height:1.35;font-weight:800}
.rm60-document p{margin:0 0 9px;color:#646a79;font-size:12px;line-height:1.75}
.rm60-document p:last-child{margin-bottom:0}
.rm60-company{margin-top:13px;padding:15px;border:1px solid #ebe7fb;border-radius:13px;background:#faf9ff}
.rm60-company strong,.rm60-company span{display:block}
.rm60-company strong{margin-bottom:5px;color:var(--rm-primary);font-size:13px}
.rm60-company span{margin-top:3px;color:#737887;font-size:11px}

@media(max-width:767px){
  .rm60-terms{padding:34px 15px 55px}
  .rm60-terms>.container{width:100%;padding:0}
  .rm60-terms-head{margin-bottom:20px}
  .rm60-eyebrow{font-size:9px}
  .rm60-terms-head h1{font-size:30px;letter-spacing:-1px}
  .rm60-terms-head p{font-size:11.5px;line-height:1.65}
  .rm60-updated{margin-top:12px;font-size:9px}
  .rm60-terms-layout{display:block}
  .rm60-summary{position:relative;top:auto;display:flex;gap:6px;margin-bottom:12px;padding:10px;overflow-x:auto;border-radius:15px;-webkit-overflow-scrolling:touch;scrollbar-width:none}
  .rm60-summary::-webkit-scrollbar{display:none}
  .rm60-summary strong{display:none}
  .rm60-summary a{flex:0 0 auto;padding:8px 10px;border:1px solid #ece8f8;border-radius:9px;background:#faf9fd;font-size:9.5px;white-space:nowrap}
  .rm60-document{border-radius:18px}
  .rm60-document>section{grid-template-columns:35px minmax(0,1fr);gap:10px;padding:19px 15px}
  .rm60-num{width:32px;height:32px;border-radius:9px;font-size:9px}
  .rm60-document h2{margin-top:1px;font-size:14px}
  .rm60-document p{font-size:11px;line-height:1.7}
  .rm60-company{padding:13px}
}
@media(max-width:380px){
  .rm60-terms{padding-left:12px;padding-right:12px}
  .rm60-terms-head h1{font-size:28px}
  .rm60-document>section{padding-left:12px;padding-right:12px}
}

/* V61 — Affiliate terms clarification */
.rm61-affiliate-note{margin-top:13px;padding:14px 15px;border:1px solid #e4ddff;border-radius:13px;background:var(--rm-primary-soft)}
.rm61-affiliate-note strong,.rm61-affiliate-note span{display:block}
.rm61-affiliate-note strong{margin-bottom:6px;color:var(--rm-primary-dark);font-size:11px}
.rm61-affiliate-note span{margin-top:4px;color:#666b79;font-size:10.5px;line-height:1.55}

/* =========================================================
   ROKETMEDIA V62 — TABBED TERMS
   ========================================================= */
.rm60-terms-layout{display:block}
.rm62-tabs{display:flex;gap:7px;margin:0 0 12px;padding:9px;overflow-x:auto;border:1px solid var(--rm-border);border-radius:17px;background:#fff;box-shadow:0 8px 24px rgba(20,24,40,.04);scrollbar-width:none;-webkit-overflow-scrolling:touch}
.rm62-tabs::-webkit-scrollbar{display:none}
.rm62-tab{flex:1 0 auto;min-height:40px;padding:8px 15px;border:1px solid transparent;border-radius:11px;background:transparent;color:#7b808e;font-size:11px;font-weight:750;white-space:nowrap;cursor:pointer;transition:.18s ease}
.rm62-tab:hover,.rm62-tab:focus{background:#faf9ff;color:var(--rm-primary);outline:none}
.rm62-tab.is-active{border-color:#ded6ff;background:var(--rm-primary-soft);color:var(--rm-primary);box-shadow:inset 0 0 0 1px rgba(109,74,255,.02)}
.rm62-document>.rm62-panel[hidden]{display:none!important}
.rm62-document>.rm62-panel{animation:rm62Fade .18s ease}
.rm62-document>.rm62-panel:last-of-type{border-bottom:0}
.rm62-document>.rm62-panel:not([hidden]):last-child{border-bottom:0}
.rm62-contact a{display:block;margin-top:3px;color:var(--rm-primary);font-size:11px;font-weight:650;text-decoration:none!important;overflow-wrap:anywhere}
.rm62-contact a:hover,.rm62-contact a:focus{text-decoration:underline!important}
@keyframes rm62Fade{from{opacity:.55;transform:translateY(2px)}to{opacity:1;transform:none}}

@media(max-width:767px){
  .rm62-tabs{gap:6px;margin-bottom:12px;padding:8px;border-radius:15px}
  .rm62-tab{min-height:38px;padding:7px 13px;font-size:10px}
  .rm62-document>.rm62-panel{border-bottom:1px solid #eeeef3}
  .rm62-contact a{font-size:10.5px}
}
@media(prefers-reduced-motion:reduce){
  .rm62-tab{transition:none}
  .rm62-document>.rm62-panel{animation:none}
}

/* =========================================================
   ROKETMEDIA V63 — INSTALL APP UI
   Scoped install menu + bottom sheet only
   ========================================================= */

.rm-install-nav[hidden] {
  display: none !important;
}

.rm-install-nav {
  float: none !important;
  margin: 0 !important;
}

.rm-install-nav > li > a {
  cursor: pointer;
}

.rm-install-nav .rm-nav-icon {
  color: var(--rm-primary);
}

.rm-install-sheet {
  position: fixed;
  inset: 0;
  z-index: 100600;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 18px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity .2s ease, visibility .2s ease;
}

.rm-install-sheet.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.rm-install-backdrop {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  background: rgba(20, 16, 35, .52);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
}

.rm-install-panel {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 440px;
  padding: 28px 24px 22px;
  border: 1px solid var(--rm-border);
  border-radius: 24px;
  background: #fff;
  box-shadow: 0 30px 80px rgba(20, 16, 35, .25);
  transform: translateY(18px);
  transition: transform .22s ease;
}

.rm-install-sheet.is-open .rm-install-panel {
  transform: translateY(0);
}

.rm-install-handle {
  display: none;
}

.rm-install-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 34px;
  height: 34px;
  padding: 0;
  border: 1px solid var(--rm-border);
  border-radius: 50%;
  background: #fafaff;
  color: #777d8d;
  font-size: 22px;
  line-height: 30px;
  text-align: center;
  cursor: pointer;
}

.rm-install-icon {
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
  border-radius: 15px;
  background: var(--rm-primary-soft);
  color: var(--rm-primary);
  font-size: 24px;
}

.rm-install-kicker {
  margin-bottom: 5px;
  color: var(--rm-primary);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 1.25px;
}

.rm-install-panel h2 {
  margin: 0;
  color: var(--rm-text);
  font-size: 24px;
  line-height: 1.2;
  font-weight: 800;
}

.rm-install-panel > p {
  margin: 8px 0 18px;
  color: var(--rm-muted);
  font-size: 13px;
  line-height: 1.6;
}

.rm-install-guide {
  margin: 0 0 16px;
  padding: 6px 14px;
  border: 1px solid var(--rm-border);
  border-radius: 16px;
  background: #fafaff;
}

.rm-install-guide[hidden] {
  display: none !important;
}

.rm-install-guide > div {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 11px 0;
  border-bottom: 1px solid #ececf2;
}

.rm-install-guide > div:last-child {
  border-bottom: 0;
}

.rm-install-guide b {
  width: 27px;
  height: 27px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 27px;
  border-radius: 9px;
  background: var(--rm-primary-soft);
  color: var(--rm-primary);
  font-size: 11px;
  font-weight: 800;
}

.rm-install-guide span {
  color: #555d6e;
  font-size: 12px;
  line-height: 1.45;
}

.rm-install-primary,
.rm-install-secondary {
  width: 100%;
  min-height: 46px;
  border-radius: 13px;
  font-size: 13px;
  font-weight: 750;
  cursor: pointer;
}

.rm-install-primary {
  margin-top: 2px;
  border: 1px solid var(--rm-primary);
  background: var(--rm-primary);
  color: #fff;
  box-shadow: 0 10px 24px rgba(109, 74, 255, .18);
}

.rm-install-primary[hidden] {
  display: none !important;
}

.rm-install-primary:hover,
.rm-install-primary:focus {
  border-color: var(--rm-primary-dark);
  background: var(--rm-primary-dark);
  color: #fff;
  outline: none;
}

.rm-install-secondary {
  margin-top: 8px;
  border: 1px solid var(--rm-border);
  background: #fff;
  color: #656c7d;
}

.rm-install-secondary:hover,
.rm-install-secondary:focus {
  border-color: #ddd7f4;
  background: #faf9ff;
  color: var(--rm-primary);
  outline: none;
}

body.rm-install-open {
  overflow: hidden !important;
}

@media (max-width: 767px) {
  .rm-install-nav {
    width: 100%;
    padding: 0 12px !important;
  }

  .rm-install-nav > li {
    width: 100%;
  }

  .rm-install-nav > li > a {
    min-height: 48px;
    display: flex !important;
    align-items: center;
  }

  .rm-install-sheet {
    padding: 0;
  }

  .rm-install-panel {
    max-width: none;
    padding: 12px 18px 20px;
    border-left: 0;
    border-right: 0;
    border-bottom: 0;
    border-radius: 24px 24px 0 0;
    transform: translateY(35px);
  }

  .rm-install-handle {
    display: block;
    width: 38px;
    height: 4px;
    margin: 0 auto 18px;
    border-radius: 999px;
    background: #dedee7;
  }

  .rm-install-close {
    top: 16px;
    right: 16px;
  }

  .rm-install-icon {
    width: 46px;
    height: 46px;
    margin-bottom: 12px;
    border-radius: 13px;
    font-size: 21px;
  }

  .rm-install-panel h2 {
    font-size: 21px;
  }

  .rm-install-panel > p {
    margin-bottom: 15px;
    font-size: 12px;
  }

  .rm-install-guide {
    padding: 4px 12px;
  }

  .rm-install-guide > div {
    padding: 10px 0;
  }

  .rm-install-guide span {
    font-size: 11px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .rm-install-sheet,
  .rm-install-panel {
    transition: none;
  }
}

