/* ============================================
   SMMRUS Custom Theme — Light Mode
   Based on: Bootstrap 3.3.7
   ============================================ */

:root {
    --brand: #4B6BFB;
    --brand-dark: #3D57D6;
    --brand-soft: #EEF1FF;
    --bg: #FFFFFF;
    --surface: #FFFFFF;
    --border: #E5E7EB;
    --text: #1A1D29;
    --muted: #6B7280;
    --success: #16A34A;
    --danger: #DC2626;
    --radius: 8px;
    --radius-sm: 6px;
    --shadow: 0 1px 3px rgba(16, 24, 40, 0.04), 0 1px 2px rgba(16, 24, 40, 0.03);
    --sidebar-w: 240px;
}

/* ==== GLOBAL ==== */
html, body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif !important;
    background: #FFFFFF !important;
    color: var(--text);
    font-size: 14px;
    -webkit-font-smoothing: antialiased;
}

a { color: var(--brand); }
a:hover, a:focus { color: var(--brand-dark); text-decoration: none; }

h1, h2, h3, h4, h5, h6 { color: var(--text); font-weight: 600; }

/* ============================================
   LOGGED-IN LAYOUT — Sidebar + Main
   ============================================ */
.sr-layout {
    display: flex;
    min-height: 100vh;
    background: #FFFFFF;
}

.sr-sidebar {
    width: var(--sidebar-w);
    background: #FFFFFF;
    border-right: 1px solid var(--border);
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    display: flex;
    flex-direction: column;
    z-index: 100;
}

.sr-brand {
    padding: 18px 20px;
    border-bottom: 1px solid var(--border);
    height: 64px;
    display: flex;
    align-items: center;
}

.sr-brand a {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
    font-size: 17px;
    color: var(--text);
}

.sr-brand img {
    max-height: 28px;
    width: auto;
}

.sr-brand-icon {
    width: 30px;
    height: 30px;
    background: var(--brand);
    border-radius: 8px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    flex-shrink: 0;
}

.sr-nav {
    flex: 1;
    padding: 12px;
    overflow-y: auto;
}

.sr-nav a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 12px;
    border-radius: var(--radius-sm);
    color: var(--muted);
    font-weight: 500;
    font-size: 13.5px;
    margin-bottom: 2px;
    transition: all .15s ease;
    text-decoration: none;
}

.sr-nav a:hover {
    background: #F9FAFB;
    color: var(--text);
    text-decoration: none;
}

.sr-nav a.active {
    background: var(--brand-soft);
    color: var(--brand);
    font-weight: 600;
}

.sr-nav a i,
.sr-nav a svg {
    width: 18px;
    height: 18px;
    stroke-width: 2;
    flex-shrink: 0;
}

.sr-nav a span {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.sr-sidebar-footer {
    padding: 12px;
    border-top: 1px solid var(--border);
}

.sr-sidebar-footer a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 12px;
    border-radius: var(--radius-sm);
    color: var(--muted);
    font-weight: 500;
    font-size: 13.5px;
    text-decoration: none;
    transition: all .15s ease;
}

.sr-sidebar-footer a:hover {
    background: #FEF2F2;
    color: var(--danger);
    text-decoration: none;
}

.sr-sidebar-footer a svg {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
}

.sr-main {
    flex: 1;
    margin-left: var(--sidebar-w);
    display: flex;
    flex-direction: column;
    min-width: 0;
    background: #FFFFFF;
}

.sr-topbar {
    height: 64px;
    background: #FFFFFF;
    border-bottom: 1px solid var(--border);
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: sticky;
    top: 0;
    z-index: 50;
}

.sr-topbar-left {
    display: flex;
    align-items: center;
    gap: 12px;
}

.sr-topbar h1 {
    font-size: 16px;
    font-weight: 600;
    margin: 0;
    line-height: 1;
}

.sr-topbar-right {
    display: flex;
    align-items: center;
    gap: 16px;
}

.sr-mobile-toggle {
    display: none;
    background: transparent;
    border: none;
    padding: 8px;
    cursor: pointer;
    color: var(--text);
    border-radius: var(--radius-sm);
}

.sr-mobile-toggle:hover {
    background: #F9FAFB;
}

.sr-mobile-toggle svg {
    width: 22px;
    height: 22px;
    display: block;
}

.sr-balance-pill {
    background: var(--brand-soft);
    color: var(--brand);
    font-weight: 600;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 13px;
    display: inline-block;
    text-decoration: none;
    transition: background .15s ease;
}

.sr-balance-pill:hover,
.sr-balance-pill:focus {
    color: var(--brand);
    background: #DDE4FF;
    text-decoration: none;
}

.sr-balance-pill .caret {
    margin-left: 4px;
}

.sr-avatar {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: var(--brand);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 13px;
    text-decoration: none;
    transition: background .15s ease;
}

.sr-avatar:hover,
.sr-avatar:focus {
    color: #fff;
    background: var(--brand-dark);
    text-decoration: none;
}

.sr-balance-dropdown,
.sr-avatar-dropdown {
    display: inline-block;
}

.sr-balance-dropdown .dropdown-menu,
.sr-avatar-dropdown .dropdown-menu {
    margin-top: 8px;
    min-width: 180px;
}

.sr-content {
    padding: 24px;
    flex: 1;
    background: #FFFFFF;
}

/* ============================================
   GUEST LAYOUT
   ============================================ */
.sr-guest {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    background: #FFFFFF;
}

.sr-guest-header {
    padding: 20px 24px;
    background: #FFFFFF;
    border-bottom: 1px solid var(--border);
}

.sr-guest-brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
    font-size: 17px;
    color: var(--text);
    text-decoration: none;
}

.sr-guest-brand:hover {
    color: var(--text);
    text-decoration: none;
}

.sr-guest-brand .sr-brand-icon {
    width: 32px;
    height: 32px;
}

.sr-guest-content {
    flex: 1;
    padding: 40px 20px;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    background: #FFFFFF;
}

.sr-guest-content > * {
    width: 100%;
    max-width: 480px;
}

.sr-guest-footer {
    text-align: center;
    padding: 20px;
    color: var(--muted);
    font-size: 12.5px;
    background: #FFFFFF;
}

/* ============================================
   BOOTSTRAP 3 COMPONENT OVERRIDES
   ============================================ */

.panel {
    background: #FFFFFF;
    border: 1px solid var(--border) !important;
    border-radius: var(--radius) !important;
    box-shadow: none !important;
    margin-bottom: 20px;
}

.panel-default > .panel-heading {
    background: #FFFFFF !important;
    border-bottom: 1px solid var(--border) !important;
    border-radius: var(--radius) var(--radius) 0 0 !important;
    padding: 16px 20px;
    color: var(--text);
    font-weight: 600;
}

.panel-body {
    padding: 20px;
}

.form-control {
    border: 1px solid var(--border) !important;
    border-radius: var(--radius-sm) !important;
    box-shadow: none !important;
    padding: 9px 12px;
    height: auto;
    font-size: 14px;
    color: var(--text);
    background: #FFFFFF;
    transition: border-color .15s, box-shadow .15s;
}

.form-control:focus {
    border-color: var(--brand) !important;
    box-shadow: 0 0 0 3px var(--brand-soft) !important;
    outline: none;
}

.form-control[disabled],
.form-control[readonly] {
    background: #F3F4F6 !important;
    color: var(--muted);
}

label, .control-label {
    font-weight: 500;
    color: var(--text);
    font-size: 13.5px;
    margin-bottom: 6px;
}

.help-block, .text-muted {
    color: var(--muted) !important;
    font-size: 12.5px;
}

.btn {
    border-radius: var(--radius-sm) !important;
    font-weight: 500;
    padding: 8px 16px;
    transition: all .15s ease;
    border: 1px solid transparent;
    box-shadow: none !important;
}

.btn-primary {
    background: var(--brand) !important;
    border-color: var(--brand) !important;
    color: #fff !important;
}

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

.btn-default {
    background: #FFFFFF !important;
    border-color: var(--border) !important;
    color: var(--text) !important;
}

.btn-default:hover,
.btn-default:focus {
    background: #F9FAFB !important;
    border-color: #D1D5DB !important;
    color: var(--text) !important;
}

.btn-success {
    background: var(--success) !important;
    border-color: var(--success) !important;
}

.btn-danger {
    background: var(--danger) !important;
    border-color: var(--danger) !important;
}

/* ==== TABLE — PUTIH POLOS ==== */
.table {
    background: #FFFFFF !important;
    border: 0 !important;
    border-collapse: collapse !important;
    margin-bottom: 0;
}

.table > thead > tr > th {
    background: #FFFFFF !important;
    border-bottom: 1px solid var(--border) !important;
    border-top: 0 !important;
    color: var(--muted) !important;
    font-weight: 600 !important;
    font-size: 11.5px !important;
    text-transform: uppercase !important;
    letter-spacing: .04em !important;
    padding: 14px 20px !important;
    text-align: left !important;
    white-space: nowrap !important;
}

.table > tbody > tr > td {
    background: #FFFFFF !important;
    border-top: 1px solid var(--border) !important;
    border-bottom: 0 !important;
    padding: 16px 20px !important;
    color: var(--text) !important;
    font-size: 13.5px !important;
    vertical-align: middle !important;
}

.table > tbody > tr:first-child > td {
    border-top: 0 !important;
}

.table > tbody > tr:hover > td {
    background: #FAFBFC !important;
}

.table > tbody > tr:last-child > td {
    border-bottom: 0 !important;
}

.table-striped > tbody > tr:nth-of-type(odd) {
    background: transparent !important;
}

/* ==== ALERTS ==== */
.alert {
    border: 1px solid var(--border) !important;
    border-radius: var(--radius) !important;
    background: #FFFFFF;
    color: var(--text);
}

.alert-info {
    background: var(--brand-soft) !important;
    border-color: #D6DEFF !important;
    color: #26316B !important;
}

.alert-success {
    background: #ECFDF5 !important;
    border-color: #BBF7D0 !important;
    color: #14532D !important;
}

.alert-danger {
    background: #FEF2F2 !important;
    border-color: #FECACA !important;
    color: #7F1D1D !important;
}

.alert-warning {
    background: #FFFBEB !important;
    border-color: #FDE68A !important;
    color: #78350F !important;
}

/* ==== BADGE & LABEL ==== */
.badge {
    font-weight: 600;
    border-radius: 20px;
    padding: 4px 10px;
    font-size: 11px;
}

.label {
    border-radius: 20px;
    padding: .3em .8em;
    font-weight: 500;
    font-size: 11.5px;
}

.status-pill {
    display: inline-block;
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 11.5px;
    font-weight: 600;
}

/* ==== DROPDOWN ==== */
.dropdown-menu {
    background: #FFFFFF;
    border: 1px solid var(--border) !important;
    border-radius: var(--radius) !important;
    box-shadow: 0 8px 24px rgba(16,24,40,.08) !important;
    padding: 6px;
}

.dropdown-menu > li > a {
    border-radius: var(--radius-sm);
    padding: 8px 12px;
    color: var(--text);
    font-weight: 500;
}

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

.dropdown-menu > .active > a,
.dropdown-menu > .active > a:hover,
.dropdown-menu > .active > a:focus {
    background: var(--brand-soft);
    color: var(--brand);
}

/* ==== PAGINATION ==== */
.pagination > li > a,
.pagination > li > span {
    border-color: var(--border);
    color: var(--text);
    margin: 0 2px;
    border-radius: var(--radius-sm) !important;
    background: #FFFFFF;
}

.pagination > .active > a,
.pagination > .active > span {
    background: var(--brand) !important;
    border-color: var(--brand) !important;
}

/* ==== MODAL ==== */
.modal-content {
    background: #FFFFFF;
    border: 1px solid var(--border) !important;
    border-radius: var(--radius) !important;
    box-shadow: 0 20px 40px rgba(16,24,40,.1) !important;
}

.modal-header {
    border-bottom: 1px solid var(--border) !important;
    padding: 16px 20px;
}

.modal-footer {
    border-top: 1px solid var(--border) !important;
    padding: 12px 20px;
}

/* ==== SEARCH BOX ==== */
.search-box {
    position: relative;
    max-width: 400px;
    margin-bottom: 24px;
}

.search-box input {
    padding-left: 40px;
}

.search-box svg,
.search-box i {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    width: 16px;
    height: 16px;
    color: var(--muted);
    pointer-events: none;
}

/* ============================================
   SMMRUS — Container & Well Override
   ============================================ */

.sr-content .container,
.sr-content .container-fluid {
    width: 100% !important;
    max-width: 100% !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    background: #FFFFFF;
}

.sr-content .row {
    margin-left: -8px;
    margin-right: -8px;
}

.sr-content [class*="col-md-offset-"],
.sr-content [class*="col-lg-offset-"],
.sr-content [class*="col-sm-offset-"] {
    margin-left: 0 !important;
}

.sr-content .col-md-8 {
    width: 100% !important;
    float: none !important;
}

/* ==== WELL → CARD PUTIH POLOS ==== */
.well {
    background: #FFFFFF !important;
    border: 1px solid var(--border) !important;
    border-radius: var(--radius) !important;
    box-shadow: none !important;
    padding: 24px !important;
    margin-bottom: 20px !important;
    min-height: 0 !important;
}

/* ==== WELL-FLOAT → Tabel card putih polos ==== */
.well-float {
    background: #FFFFFF !important;
    border: 1px solid var(--border) !important;
    border-radius: var(--radius) !important;
    box-shadow: none !important;
    padding: 0 !important;
    overflow: hidden !important;
}

.well-float .table {
    margin-bottom: 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: #FFFFFF !important;
}

.well-float .table > thead > tr > th {
    background: #FFFFFF !important;
    padding: 14px 20px !important;
    border-bottom: 1px solid var(--border) !important;
    border-top: 0 !important;
    font-size: 11.5px !important;
    font-weight: 600 !important;
    color: var(--muted) !important;
    text-transform: uppercase;
    letter-spacing: .04em;
    text-align: left;
    white-space: nowrap;
}

.well-float .table > tbody > tr > td {
    background: #FFFFFF !important;
    padding: 16px 20px !important;
    border-top: 1px solid var(--border) !important;
    border-bottom: 0 !important;
    vertical-align: middle;
    font-size: 13.5px;
    color: var(--text);
}

.well-float .table > tbody > tr:first-child > td {
    border-top: 0 !important;
}

.well-float .table > tbody > tr:hover > td {
    background: #FAFBFC !important;
}

.well-float .table > tbody > tr:last-child > td {
    border-bottom: 0 !important;
}

.well-float .table tbody tr td[colspan] {
    background: #FFFFFF !important;
    font-weight: 600;
    color: var(--text);
    padding: 14px 20px !important;
    font-size: 13.5px;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

/* ==== NAV-PILLS → TAB MODERN ==== */
.sr-content .nav-pills {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px;
    margin-bottom: 20px;
    padding: 0;
    background: transparent;
    border: none;
}

.sr-content .nav-pills > li {
    float: none;
}

.sr-content .nav-pills > li > a {
    border-radius: var(--radius-sm) !important;
    padding: 8px 14px !important;
    color: var(--muted) !important;
    font-weight: 500;
    font-size: 13.5px;
    background: #FFFFFF;
    border: 1px solid var(--border);
    transition: all .15s ease;
    margin: 0;
}

.sr-content .nav-pills > li > a:hover {
    background: #F9FAFB !important;
    color: var(--text) !important;
    border-color: #D1D5DB;
}

.sr-content .nav-pills > li.active > a,
.sr-content .nav-pills > li.active > a:hover,
.sr-content .nav-pills > li.active > a:focus {
    background: var(--brand) !important;
    color: #fff !important;
    border-color: var(--brand) !important;
}

.sr-content .nav-pills > li.pull-right {
    margin-left: auto;
}

.sr-content .nav-pills .search {
    min-width: 260px;
}

.sr-content .nav-pills .search .input-group {
    display: flex;
    width: 100%;
}

.sr-content .nav-pills .search .form-control {
    border-top-right-radius: 0 !important;
    border-bottom-right-radius: 0 !important;
    flex: 1;
}

.sr-content .nav-pills .search .input-group-btn {
    width: auto;
}

.sr-content .nav-pills .search .btn {
    border-top-left-radius: 0 !important;
    border-bottom-left-radius: 0 !important;
    border-left: 0 !important;
    padding: 9px 14px;
    background: #FFFFFF;
    border: 1px solid var(--border) !important;
    color: var(--muted);
}

.sr-content .nav-pills .search .btn:hover {
    background: #F9FAFB;
    color: var(--text);
}

/* ==== SEARCH DROPDOWN di New Order ==== */
.search-dropdown {
    position: relative;
}

.search-dropdown .input-wrapper {
    position: relative;
    width: 100%;
}

.search-dropdown .input-wrapper button {
    position: absolute !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    left: 12px !important;
    right: auto !important;
    padding: 0 !important;
    background: none !important;
    border: none !important;
    z-index: 2;
    color: var(--muted) !important;
    width: 18px;
    height: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
}

.search-dropdown .input-wrapper button .fas,
.search-dropdown .input-wrapper button .fa,
.search-dropdown .input-wrapper button .far,
.search-dropdown .input-wrapper button .fab,
.search-dropdown .input-wrapper button span {
    font-size: 14px !important;
    color: var(--muted) !important;
    line-height: 1;
}

.search-dropdown input#template-input,
.search-dropdown input.form-control {
    padding-left: 40px !important;
    height: 42px !important;
    background: #FFFFFF !important;
}

/* ==== FORM DI DALAM WELL ==== */
.sr-content .well form .form-group {
    margin-bottom: 18px;
}

.sr-content .well form label.control-label {
    font-size: 13.5px;
    font-weight: 500;
    color: var(--text);
    margin-bottom: 8px;
}

.sr-content .well form .form-control {
    height: 42px;
    padding: 10px 14px;
}

.sr-content .well form select.form-control {
    height: 42px;
    padding: 8px 14px;
}

/* ==== FORGOT PASSWORD LINK ==== */
.forgot-password {
    display: inline-block;
    margin-top: 8px;
    font-size: 13px;
    color: var(--brand);
}

/* ==== PAGINATION ==== */
.sr-content .pagination {
    margin-top: 20px;
    margin-bottom: 0;
}

/* ============================================
   SMMRUS — Status Pills
   ============================================ */

.status-completed,
.status-active,
.label-success,
.badge-success {
    background: #ECFDF5 !important;
    color: #16A34A !important;
    border: 0 !important;
    border-radius: 20px !important;
    padding: 4px 12px !important;
    font-weight: 600 !important;
    font-size: 11.5px !important;
    text-transform: capitalize;
    display: inline-block;
}

.status-pending,
.label-warning,
.badge-warning {
    background: #FFFBEB !important;
    color: #B45309 !important;
    border: 0 !important;
    border-radius: 20px !important;
    padding: 4px 12px !important;
    font-weight: 600 !important;
    font-size: 11.5px !important;
    text-transform: capitalize;
    display: inline-block;
}

.status-processing,
.status-inprogress,
.label-info,
.badge-info {
    background: var(--brand-soft) !important;
    color: var(--brand) !important;
    border: 0 !important;
    border-radius: 20px !important;
    padding: 4px 12px !important;
    font-weight: 600 !important;
    font-size: 11.5px !important;
    text-transform: capitalize;
    display: inline-block;
}

.status-canceled,
.status-partial,
.label-danger,
.badge-danger {
    background: #FEF2F2 !important;
    color: #DC2626 !important;
    border: 0 !important;
    border-radius: 20px !important;
    padding: 4px 12px !important;
    font-weight: 600 !important;
    font-size: 11.5px !important;
    text-transform: capitalize;
    display: inline-block;
}

/* ============================================
   SMMRUS — FIX Select2
   ============================================ */

.select2-container--default .select2-selection--single .select2-selection__rendered img,
.select2-results__option img {
    display: none !important;
}

.select2-container--default .select2-selection--single .select2-selection__rendered .fa,
.select2-container--default .select2-selection--single .select2-selection__rendered .fas,
.select2-container--default .select2-selection--single .select2-selection__rendered .far,
.select2-container--default .select2-selection--single .select2-selection__rendered .fab,
.select2-results__option .fa,
.select2-results__option .fas,
.select2-results__option .far,
.select2-results__option .fab {
    display: none !important;
}

.select2-container--default .select2-selection--single .select2-selection__rendered {
    padding-left: 8px !important;
    padding-right: 30px !important;
    line-height: 36px !important;
    color: var(--text) !important;
}

.select2-container--default .select2-selection--single .select2-selection__arrow {
    height: 38px !important;
}

.select2-container .select2-selection--single {
    height: 42px !important;
    border-color: var(--border) !important;
    border-radius: var(--radius-sm) !important;
    background: #FFFFFF !important;
}

.select2-container .select2-selection--single:hover {
    border-color: #D1D5DB !important;
}

.select2-container--default.select2-container--focus .select2-selection--single,
.select2-container--default.select2-container--open .select2-selection--single {
    border-color: var(--brand) !important;
    box-shadow: 0 0 0 3px var(--brand-soft) !important;
}

.select2-dropdown {
    background: #FFFFFF !important;
    border: 1px solid var(--border) !important;
    border-radius: var(--radius) !important;
    box-shadow: 0 8px 24px rgba(16,24,40,.08) !important;
    overflow: hidden;
    margin-top: 4px;
}

.select2-results__option {
    padding: 8px 12px !important;
    font-size: 13.5px !important;
    color: var(--text) !important;
    background: #FFFFFF;
}

.select2-results__option--highlighted[aria-selected] {
    background: var(--brand-soft) !important;
    color: var(--brand) !important;
}

/* ==== HILANGKAN BADGE ANGKA "1" di service select ==== */
.sr-content .well .form-group label .badge,
.sr-content #order-form .form-group label .badge {
    display: none !important;
}

/* ==== Help text "Min: 50 - Max: 1 000 000" ==== */
.sr-content .well form .help-block,
.sr-content .well form small,
.sr-content .well form .form-text {
    color: var(--muted) !important;
    font-size: 12.5px !important;
    margin-top: 6px;
}

.sr-content .well form {
    max-width: 100%;
}

.sr-content #order-form .form-group {
    margin-bottom: 18px;
}

.sr-content #order-form input#charge {
    background: #F3F4F6 !important;
    color: var(--text) !important;
    font-weight: 600;
}

/* ============================================
   SMMRUS — Dashboard Section
   ============================================ */

.sr-dashboard {
    margin-bottom: 24px;
    background: #FFFFFF;
}

.sr-welcome {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 20px;
}

.sr-welcome h2 {
    font-size: 22px;
    font-weight: 700;
    color: var(--text);
    margin: 0 0 4px;
    line-height: 1.2;
}

.sr-welcome p {
    color: var(--muted);
    font-size: 13.5px;
    margin: 0;
}

.sr-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 16px;
    margin-bottom: 0;
}

.sr-stat-card {
    background: #FFFFFF;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 20px;
    box-shadow: none;
    transition: border-color .15s ease;
}

.sr-stat-card:hover {
    border-color: #D1D5DB;
}

.sr-stat-label {
    color: var(--muted);
    font-size: 12.5px;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 10px;
}

.sr-stat-label svg {
    width: 16px;
    height: 16px;
    stroke: var(--muted);
}

.sr-stat-value {
    font-size: 26px;
    font-weight: 700;
    color: var(--text);
    line-height: 1.1;
}

.sr-stat-sub {
    color: var(--success);
    font-size: 12px;
    margin-top: 6px;
    font-weight: 500;
}

/* ============================================
   SMMRUS — Form New Order JANGAN Full Width
   ============================================ */

.sr-content .well,
.sr-content #order-form.well,
.sr-content .col-md-8 > .well {
    max-width: 60% !important;
    width: 60% !important;
}

.sr-content #order-form .form-group,
.sr-content #order-form button[type="submit"] {
    max-width: 100% !important;
    width: 100% !important;
}

.sr-content .container,
.sr-content .container-fluid {
    width: 100% !important;
    max-width: 100% !important;
}

.sr-content .col-md-8 {
    width: 100% !important;
    float: none !important;
}

@media (max-width: 900px) {
    .sr-content .well,
    .sr-content #order-form.well,
    .sr-content .col-md-8 > .well {
        max-width: 100% !important;
        width: 100% !important;
    }
}

/* ============================================
   SMMRUS — Rapikan Spacing Form New Order
   ============================================ */

.sr-content #order-form .form-group {
    margin-bottom: 16px !important;
}

.sr-content #order-form label.control-label,
.sr-content #order-form .form-group > label {
    display: block !important;
    margin-bottom: 6px !important;
    font-size: 13.5px !important;
    font-weight: 500 !important;
    line-height: 1.2 !important;
    color: var(--text) !important;
}

.select2-container {
    margin-bottom: 0 !important;
}

.select2-container--default .select2-selection--single {
    height: 42px !important;
    border: 1px solid var(--border) !important;
    border-radius: 6px !important;
    background: #FFFFFF !important;
    padding: 0 !important;
}

.select2-container--default .select2-selection--single .select2-selection__rendered {
    line-height: 40px !important;
    padding-left: 14px !important;
    padding-right: 30px !important;
    font-size: 14px !important;
    color: var(--text) !important;
}

.select2-container--default .select2-selection--single .select2-selection__arrow {
    height: 40px !important;
    right: 10px !important;
}

/* ============================================
   SMMRUS — Select2 Dropdown Bersih
   ============================================ */

.select2-results,
.select2-results__options {
    background: #FFFFFF !important;
    padding: 0 !important;
    max-height: 260px !important;
}

.select2-container--default .select2-results__option[aria-selected="true"],
.select2-results__option[aria-selected="true"] {
    background: #FFFFFF !important;
    color: var(--text) !important;
    font-weight: 600 !important;
}

/* Wrapper: full width */
.orders-page,
.orders-page .well-float,
.orders-page .well,
.sr-content .well-float {
    width: 100% !important;
    max-width: 100% !important;
    display: block !important;
    box-sizing: border-box !important;
}

/* Paksa parent jadi full juga */
.sr-content .container-fluid,
.sr-content .container,
.sr-content .row,
.sr-content .col-lg-12,
.sr-content .col-md-12,
.sr-content .col-sm-12 {
    width: 100% !important;
    max-width: 100% !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    float: none !important;
}

/* Tabel: full width */
.orders-page .sr-orders-table,
.sr-content .sr-orders-table,
.sr-content .well-float .table,
.sr-content .well-float table {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 100% !important;
    table-layout: auto !important;
    display: table !important;
    box-sizing: border-box !important;
}

/* Override SEMUA inline style width di <th> */
.orders-page .sr-orders-table > thead > tr > th,
.sr-content .sr-orders-table > thead > tr > th {
    width: auto !important;
    max-width: none !important;
    min-width: 0 !important;
}

/* Kolom-kolom: proporsi ulang */
.sr-content .sr-orders-table > thead > tr > th:nth-child(1) { width: 4% !important; }
.sr-content .sr-orders-table > thead > tr > th:nth-child(2) { width: 9% !important; }
.sr-content .sr-orders-table > thead > tr > th:nth-child(3) { width: 22% !important; }
.sr-content .sr-orders-table > thead > tr > th:nth-child(4) { width: 8% !important; }
.sr-content .sr-orders-table > thead > tr > th:nth-child(5) { width: 9% !important; }
.sr-content .sr-orders-table > thead > tr > th:nth-child(6) { width: 8% !important; }
.sr-content .sr-orders-table > thead > tr > th:nth-child(7) { width: 20% !important; }
.sr-content .sr-orders-table > thead > tr > th:nth-child(8) { width: 10% !important; }
.sr-content .sr-orders-table > thead > tr > th:nth-child(9) { width: 10% !important; }

/* Pastikan kolom link & service bisa di-truncate */
.sr-content .sr-orders-table > tbody > tr > td:nth-child(3),
.sr-content .sr-orders-table > tbody > tr > td:nth-child(7) {
    max-width: 0 !important;
    overflow: hidden !important;
}

/* Link ellipsis */
.sr-content .sr-orders-table .sr-orders-link {
    display: block !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    white-space: nowrap !important;
    max-width: 100% !important;
}

/* ============================================
   SMMRUS — Sejajarkan Rata Kiri Card
   ============================================ */

/* ==== Reset semua wrapper di area konten ==== */
.sr-content {
    padding-left: 24px !important;
    padding-right: 24px !important;
}

.sr-content .container,
.sr-content .container-fluid {
    padding-left: 0 !important;
    padding-right: 0 !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
}

.sr-content .container > .row,
.sr-content .container-fluid > .row {
    margin-left: 0 !important;
    margin-right: 0 !important;
}

.sr-content .container [class*="col-"],
.sr-content .container-fluid [class*="col-"] {
    padding-left: 0 !important;
    padding-right: 0 !important;
    margin-left: 0 !important;
}

/* ==== Dashboard section: rata kiri 0 ==== */
.sr-dashboard {
    padding-left: 0 !important;
    margin-left: 0 !important;
}

.sr-welcome {
    padding-left: 0 !important;
    margin-left: 0 !important;
}

.sr-stats {
    padding-left: 0 !important;
    margin-left: 0 !important;
}

.sr-stat-card:first-child {
    margin-left: 0 !important;
}

/* ==== Form card: rata kiri 0 ==== */
.sr-content .container .well,
.sr-content .container #order-form.well,
.sr-content .container .col-md-8 > .well,
.sr-content #order-form.well {
    margin-left: 0 !important;
    padding-left: 24px !important;
}

/* ==== Hapus margin negatif Bootstrap ==== */
.sr-content .row {
    margin-left: 0 !important;
    margin-right: 0 !important;
}

/* ============================================
   SMMRUS — Tabel Orders: SEMUA Rata KIRI
   ============================================ */

/* ==== Paksa SEMUA kolom rata kiri ==== */
.sr-content .sr-orders-table > thead > tr > th,
.sr-content .sr-orders-table > tbody > tr > td,
.sr-content .sr-orders-table .text-right,
.sr-content .sr-orders-table .text-center,
.orders-page .sr-orders-table > thead > tr > th,
.orders-page .sr-orders-table > tbody > tr > td,
.orders-page .sr-orders-table .text-right,
.orders-page .sr-orders-table .text-center {
    text-align: left !important;
}

/* ==== Charge (kolom 4) ==== */
.sr-content .sr-orders-table > thead > tr > th:nth-child(4),
.sr-content .sr-orders-table > tbody > tr > td:nth-child(4),
.orders-page .sr-orders-table > thead > tr > th:nth-child(4),
.orders-page .sr-orders-table > tbody > tr > td:nth-child(4) {
    text-align: left !important;
}

/* ==== Start Count (kolom 5) ==== */
.sr-content .sr-orders-table > thead > tr > th:nth-child(5),
.sr-content .sr-orders-table > tbody > tr > td:nth-child(5),
.orders-page .sr-orders-table > thead > tr > th:nth-child(5),
.orders-page .sr-orders-table > tbody > tr > td:nth-child(5) {
    text-align: left !important;
}

/* ==== Quantity (kolom 6) ==== */
.sr-content .sr-orders-table > thead > tr > th:nth-child(6),
.sr-content .sr-orders-table > tbody > tr > td:nth-child(6),
.orders-page .sr-orders-table > thead > tr > th:nth-child(6),
.orders-page .sr-orders-table > tbody > tr > td:nth-child(6) {
    text-align: left !important;
}

/* ==== Status (kolom 8) ==== */
.sr-content .sr-orders-table > thead > tr > th:nth-child(8),
.sr-content .sr-orders-table > tbody > tr > td:nth-child(8),
.orders-page .sr-orders-table > thead > tr > th:nth-child(8),
.orders-page .sr-orders-table > tbody > tr > td:nth-child(8) {
    text-align: left !important;
}

/* ==== Remains (kolom 9) ==== */
.sr-content .sr-orders-table > thead > tr > th:nth-child(9),
.sr-content .sr-orders-table > tbody > tr > td:nth-child(9),
.orders-page .sr-orders-table > thead > tr > th:nth-child(9),
.orders-page .sr-orders-table > tbody > tr > td:nth-child(9) {
    text-align: left !important;
}

/* ==== Override class text-right & text-center ==== */
.sr-orders-table th.text-right,
.sr-orders-table td.text-right,
.sr-orders-table th.text-center,
.sr-orders-table td.text-center {
    text-align: left !important;
}

/* ==== Tapi badge status tetap inline (biar pill-nya ga melebar) ==== */
.sr-content .sr-orders-table .sr-status,
.orders-page .sr-orders-table .sr-status {
    display: inline-block !important;
}

/* ============================================
   SMMRUS — Kolom Date Jangan Kepotong
   ============================================ */

/* ==== Kolom DATE: lebar cukup + no ellipsis ==== */
.sr-content .sr-orders-table > thead > tr > th:nth-child(2),
.sr-content .sr-orders-table > tbody > tr > td:nth-child(2),
.orders-page .sr-orders-table > thead > tr > th:nth-child(2),
.orders-page .sr-orders-table > tbody > tr > td:nth-child(2) {
    width: 140px !important;
    min-width: 140px !important;
    max-width: none !important;
    text-align: left !important;
    white-space: nowrap !important;
    overflow: visible !important;
    text-overflow: clip !important;
}

/* ==== Kurangi kolom lain biar DATE dapat ruang ==== */
.sr-content .sr-orders-table > thead > tr > th:nth-child(1),
.sr-content .sr-orders-table > tbody > tr > td:nth-child(1),
.orders-page .sr-orders-table > thead > tr > th:nth-child(1),
.orders-page .sr-orders-table > tbody > tr > td:nth-child(1) {
    width: 40px !important;
    min-width: 40px !important;
}

/* ============================================
   SMMRUS — Service Info Card (News/Guides/Rules)
   ============================================ */

.sr-order-layout {
    display: flex;
    gap: 24px;
    align-items: flex-start;
}

.sr-order-form-col {
    flex: 1;
    min-width: 0;
    max-width: 60%;
}

.sr-order-info-col {
    flex: 0 0 380px;
    position: sticky;
    top: 90px;
}

.sr-order-form-col .well {
    width: 100% !important;
    max-width: 100% !important;
}

.sr-service-info {
    background: #FFFFFF;
    border: 1px solid #E5E7EB;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 1px 3px rgba(16, 24, 40, 0.04);
}

.sr-service-tabs {
    display: flex;
    gap: 4px;
    background: #F3F4F6;
    border-radius: 10px;
    padding: 4px;
    margin-bottom: 20px;
}

.sr-tab {
    flex: 1;
    padding: 10px 12px;
    background: transparent;
    border: none;
    border-radius: 7px;
    font-family: inherit;
    font-size: 13px;
    font-weight: 600;
    color: #6B7280;
    cursor: pointer;
    transition: all .15s ease;
    text-align: center;
}

.sr-tab:hover { color: #1A1D29; }

.sr-tab.active {
    background: #4B6BFB;
    color: #FFFFFF;
    box-shadow: 0 2px 6px rgba(75, 107, 251, 0.3);
}

.sr-tab-panel { display: none; }
.sr-tab-panel.active { display: block; }

.sr-section {
    margin-bottom: 24px;
    padding-bottom: 20px;
    border-bottom: 1px solid #F3F4F6;
}

.sr-section:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: 0;
}

.sr-section-title {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 12px;
    padding-bottom: 8px;
    border-bottom: 2px solid #4B6BFB;
    max-width: fit-content;
}

.sr-section-title h5 {
    font-size: 15px;
    font-weight: 700;
    color: #1A1D29;
    margin: 0;
}

.sr-section-icon {
    margin-left: auto;
    padding: 4px;
    border-radius: 6px;
}

.sr-icon-blue { color: #4B6BFB; }
.sr-icon-green { color: #16A34A; }

.sr-section-text {
    font-size: 13.5px;
    color: #1A1D29;
    line-height: 1.55;
    margin: 0;
}

.sr-link {
    color: #4B6BFB;
    font-weight: 600;
    text-decoration: none;
}

.sr-link:hover { text-decoration: underline; }

.sr-checklist {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.sr-checklist-item {
    display: flex;
    gap: 10px;
    align-items: flex-start;
}

.sr-checklist-item svg {
    flex-shrink: 0;
    color: #16A34A;
    margin-top: 3px;
}

.sr-checklist-item strong {
    display: block;
    font-size: 13.5px;
    font-weight: 600;
    color: #1A1D29;
    margin-bottom: 2px;
}

.sr-checklist-item p {
    font-size: 12.5px;
    color: #6B7280;
    line-height: 1.55;
    margin: 0;
}

.sr-section-note {
    font-size: 12.5px;
    color: #6B7280;
    line-height: 1.55;
    margin-top: 14px;
    padding-top: 12px;
    border-top: 1px dashed #E5E7EB;
}

@media (max-width: 1100px) {
    .sr-order-layout {
        flex-direction: column;
        gap: 16px;
    }
    .sr-order-form-col,
    .sr-order-info-col {
        max-width: 100%;
        width: 100%;
        flex: 1 1 100%;
    }
    .sr-order-info-col {
        position: static;
    }
}

/* ============================================
   SMMRUS — Rapatkan Layout Form + Info Card
   ============================================ */

/* ==== Layout: form lebih lebar, card lebih dekat ==== */
.sr-order-layout {
    display: flex !important;
    gap: 16px !important;
    align-items: flex-start !important;
    width: 100% !important;
    max-width: 100% !important;
}

/* ==== Form column: lebih lebar ==== */
.sr-order-form-col {
    flex: 1 1 auto !important;
    min-width: 0 !important;
    max-width: calc(100% - 360px) !important;
    width: auto !important;
}

/* ==== Info column: lebih ramping ==== */
.sr-order-info-col {
    flex: 0 0 340px !important;
    max-width: 340px !important;
    position: sticky !important;
    top: 90px !important;
}

/* ==== Well di form: full width dari parent ==== */
.sr-order-form-col .well,
.sr-order-form-col #order-form.well {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    padding: 20px !important;
}

/* ==== Service info card: sejajar atas ==== */
.sr-service-info {
    margin-top: 0 !important;
}

/* ==== Tab: rapikan ==== */
.sr-service-tabs {
    width: 100% !important;
    box-sizing: border-box !important;
}

.sr-tab {
    min-width: 0 !important;
    white-space: nowrap !important;
    padding: 8px 8px !important;
    font-size: 12.5px !important;
}

/* ==== Container & row: full width, tanpa padding ==== */
.sr-content .container,
.sr-content .container > .row,
.sr-content .container .col-md-8,
.sr-content .container .col-md-offset-2 {
    width: 100% !important;
    max-width: 100% !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    float: none !important;
}

/* ==== Responsive: mobile stack ==== */
@media (max-width: 1100px) {
    .sr-order-layout {
        flex-direction: column !important;
        gap: 16px !important;
    }
    .sr-order-form-col,
    .sr-order-info-col {
        max-width: 100% !important;
        width: 100% !important;
        flex: 1 1 100% !important;
    }
    .sr-order-info-col {
        position: static !important;
    }
}

/* ============================================
   SMMRUS — Form & Info Card Sejajar dengan Stat Cards
   Pakai CSS Grid dengan gap yang sama
   ============================================ */

/* ==== Container wrapper: full width tanpa padding ==== */
.sr-content .container,
.sr-content .container > .row,
.sr-content .container .col-md-8,
.sr-content .container .col-md-offset-2 {
    width: 100% !important;
    max-width: 100% !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    float: none !important;
    display: block !important;
}

/* ==== Layout: pakai GRID dengan 4 kolom identik ==== */
.sr-order-layout {
    display: grid !important;
    grid-template-columns: 1fr 1fr 1fr 1fr !important;
    gap: 16px !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    align-items: flex-start !important;
}

/* ==== Form column: ambil 3 kolom pertama ==== */
.sr-order-form-col {
    grid-column: 1 / 4 !important;
    min-width: 0 !important;
    width: 100% !important;
    max-width: 100% !important;
}

/* ==== Info column: ambil 1 kolom terakhir ==== */
.sr-order-info-col {
    grid-column: 4 / 5 !important;
    min-width: 0 !important;
    width: 100% !important;
    max-width: 100% !important;
    position: static !important;
}

/* ==== Well di form: full width ==== */
.sr-order-form-col .well,
.sr-order-form-col #order-form.well {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    padding: 20px !important;
    box-sizing: border-box !important;
}

/* ==== Service info: full width dari kolomnya ==== */
.sr-service-info {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    padding: 16px !important;
    margin: 0 !important;
}

/* ==== Tab: rapikan ==== */
.sr-service-tabs {
    width: 100% !important;
    box-sizing: border-box !important;
}

.sr-tab {
    min-width: 0 !important;
    white-space: nowrap !important;
    padding: 8px 6px !important;
    font-size: 12px !important;
}

/* ==== Responsive: mobile stack ==== */
@media (max-width: 1100px) {
    .sr-order-layout {
        grid-template-columns: 1fr !important;
        gap: 16px !important;
    }
    .sr-order-form-col,
    .sr-order-info-col {
        grid-column: 1 / -1 !important;
    }
    .sr-order-info-col {
        position: static !important;
    }
}

/* ============================================
   SMMRUS — Info Badges (Welcome / Total / Balance)
   ============================================ */

.sr-info-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 20px;
    align-items: center;
}

.sr-info-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    background: #FFFFFF;
    border: 1px solid #E5E7EB;
    border-radius: 10px;
    font-size: 13.5px;
    transition: all .15s ease;
}

.sr-info-badge:hover {
    border-color: #D1D5DB;
    background: #F9FAFB;
}

.sr-info-badge-label {
    color: #6B7280;
    font-weight: 500;
}

.sr-info-badge-value {
    color: #1A1D29;
    font-weight: 700;
}

.sr-info-badge:nth-child(2) .sr-info-badge-value {
    color: #4B6BFB;
}

.sr-info-badge:nth-child(3) .sr-info-badge-value {
    color: #16A34A;
}

@media (max-width: 600px) {
    .sr-info-badges {
        flex-direction: column;
        align-items: stretch;
    }
    .sr-info-badge {
        justify-content: space-between;
    }
}

/* ============================================
   SMMRUS — Live Status Widget
   ============================================ */

.sr-live-status {
    display: flex;
    gap: 14px;
    align-items: flex-start;
    padding: 16px;
    background: #FFFFFF;
    border: 1px solid #E5E7EB;
    border-radius: 12px;
    margin-bottom: 16px;
}

.sr-live-icon {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    background: #F3F4F6;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #6B7280;
}

.sr-live-info {
    flex: 1;
    min-width: 0;
}

.sr-live-label {
    font-size: 10.5px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #9CA3AF;
    margin-bottom: 4px;
}

.sr-live-status-text {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 4px;
}

.sr-live-status-text strong {
    font-size: 14px;
    font-weight: 700;
    color: #1A1D29;
}

.sr-live-dot {
    width: 8px;
    height: 8px;
    background: #16A34A;
    border-radius: 50%;
    flex-shrink: 0;
    box-shadow: 0 0 0 3px rgba(22, 163, 74, 0.15);
    animation: sr-pulse 2s ease-in-out infinite;
}

@keyframes sr-pulse {
    0%, 100% {
        box-shadow: 0 0 0 3px rgba(22, 163, 74, 0.15);
    }
    50% {
        box-shadow: 0 0 0 6px rgba(22, 163, 74, 0.05);
    }
}

.sr-live-time {
    font-size: 12px;
    color: #6B7280;
    font-weight: 500;
    font-variant-numeric: tabular-nums;
}

@media (max-width: 1100px) {
    .sr-live-status {
        margin-bottom: 12px;
    }
}

/* ============================================
   SMMRUS — FIX: Live Status Compact di Kanan
   Paksa width fix, tidak full
   ============================================ */

/* ==== Topbar info: flex row ==== */
.sr-topbar-info {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    gap: 16px !important;
    flex-wrap: wrap !important;
    margin-bottom: 20px !important;
    width: 100% !important;
}

/* ==== Badges: kiri, auto width ==== */
.sr-topbar-info .sr-info-badges {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 10px !important;
    margin: 0 !important;
    padding: 0 !important;
    flex: 0 1 auto !important;
    width: auto !important;
    max-width: none !important;
}

/* ==== Live Status: KANAN, COMPACT (FIX!) ==== */
.sr-topbar-info .sr-live-status {
    display: flex !important;
    flex: 0 0 auto !important;
    width: auto !important;
    max-width: 320px !important;
    min-width: 0 !important;
    margin: 0 !important;
    padding: 12px 16px !important;
    background: #FFFFFF !important;
    border: 1px solid #E5E7EB !important;
    border-radius: 12px !important;
    gap: 12px !important;
    align-items: flex-start !important;
}

/* ==== Icon & info: bikin tidak melebar ==== */
.sr-topbar-info .sr-live-status .sr-live-icon {
    width: 36px !important;
    height: 36px !important;
    flex-shrink: 0 !important;
}

.sr-topbar-info .sr-live-status .sr-live-info {
    flex: 1 1 auto !important;
    min-width: 0 !important;
    overflow: hidden !important;
}

.sr-topbar-info .sr-live-status .sr-live-label {
    font-size: 10px !important;
    margin-bottom: 2px !important;
}

.sr-topbar-info .sr-live-status .sr-live-status-text strong {
    font-size: 12.5px !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
}

.sr-topbar-info .sr-live-status .sr-live-time {
    font-size: 11px !important;
    white-space: nowrap !important;
}

/* ==== Responsive: stack di mobile ==== */
@media (max-width: 900px) {
    .sr-topbar-info {
        flex-direction: column !important;
        align-items: stretch !important;
        gap: 12px !important;
    }
    .sr-topbar-info .sr-live-status {
        max-width: 100% !important;
        width: 100% !important;
    }
}

/* ============================================
   SMMRUS — Live Status Compact Inline
   Format: [icon] ● text · time
   ============================================ */

.sr-topbar-info .sr-live-status {
    display: inline-flex !important;
    align-items: center !important;
    gap: 10px !important;
    padding: 8px 14px !important;
    background: #FFFFFF !important;
    border: 1px solid #E5E7EB !important;
    border-radius: 10px !important;
    width: auto !important;
    max-width: none !important;
    flex: 0 0 auto !important;
    margin: 0 !important;
}

/* ==== Icon: compact ==== */
.sr-topbar-info .sr-live-status .sr-live-icon {
    width: 26px !important;
    height: 26px !important;
    background: #ECFDF5 !important;
    color: #16A34A !important;
    border-radius: 6px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    flex-shrink: 0 !important;
}

.sr-topbar-info .sr-live-status .sr-live-icon svg {
    width: 14px !important;
    height: 14px !important;
    stroke: #16A34A !important;
    stroke-width: 2.5 !important;
}

/* ==== Info wrapper: jadi row ==== */
.sr-topbar-info .sr-live-status .sr-live-info {
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
    flex: 1 1 auto !important;
}

/* ==== Sembunyikan label "LIVE OPERATIONS" ==== */
.sr-topbar-info .sr-live-status .sr-live-label {
    display: none !important;
}

/* ==== Teks status: dot + text ==== */
.sr-topbar-info .sr-live-status .sr-live-status-text {
    display: inline-flex !important;
    align-items: center !important;
    gap: 6px !important;
    margin: 0 !important;
}

.sr-topbar-info .sr-live-status .sr-live-status-text strong {
    font-size: 13px !important;
    font-weight: 600 !important;
    color: #1A1D29 !important;
    white-space: nowrap !important;
}

/* ==== Dot hijau ==== */
.sr-topbar-info .sr-live-status .sr-live-dot {
    width: 7px !important;
    height: 7px !important;
    background: #16A34A !important;
    border-radius: 50% !important;
    box-shadow: 0 0 0 2px rgba(22, 163, 74, 0.2) !important;
    animation: sr-pulse 2s ease-in-out infinite !important;
}

/* ==== Pemisah · ==== */
.sr-topbar-info .sr-live-status .sr-live-info::after {
    content: '·';
    color: #D1D5DB;
    font-weight: 700;
    margin: 0 2px;
}

/* ==== Waktu di sebelah kanan ==== */
.sr-topbar-info .sr-live-status .sr-live-time {
    font-size: 12px !important;
    color: #6B7280 !important;
    font-weight: 500 !important;
    white-space: nowrap !important;
    font-variant-numeric: tabular-nums !important;
}

/* ==== Responsive ==== */
@media (max-width: 1100px) {
    .sr-topbar-info .sr-live-status {
        max-width: 100% !important;
    }
}

/* ============================================
   SMMRUS — Proporsi Form & Info (Seimbang)
   ============================================ */

/* ==== Layout: grid 2 kolom ==== */
.sr-order-layout {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) 420px !important;
    gap: 20px !important;
    align-items: start !important;
    width: 100% !important;
    max-width: 100% !important;
}

/* ==== Form kiri: fleksibel (1fr) ==== */
.sr-order-form-col {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
}

/* ==== Info kanan: fix 420px ==== */
.sr-order-info-col {
    width: 420px !important;
    max-width: 420px !important;
    min-width: 0 !important;
    position: sticky !important;
    top: 90px !important;
}

/* ==== Form well: padding normal ==== */
.sr-order-form-col .well,
.sr-order-form-col #order-form.well {
    width: 100% !important;
    max-width: 100% !important;
    padding: 24px !important;
    margin: 0 !important;
}

/* ==== Info card: padding normal ==== */
.sr-order-info-col .sr-service-info {
    width: 100% !important;
    max-width: 100% !important;
    padding: 20px !important;
}

/* ==== Responsive: mobile stack ==== */
@media (max-width: 1100px) {
    .sr-order-layout {
        grid-template-columns: 1fr !important;
        gap: 16px !important;
    }
    .sr-order-info-col {
        width: 100% !important;
        max-width: 100% !important;
        position: static !important;
    }
}

/* ==== Tablet: form 60% / info 40% ==== */
@media (min-width: 1101px) and (max-width: 1400px) {
    .sr-order-layout {
        grid-template-columns: minmax(0, 1fr) 360px !important;
    }
}

/* ============================================
   SMMRUS — Buang Garis Topbar & Footer Sidebar
   ============================================ */

/* ==== Topbar: hilangkan border bawah ==== */
.sr-topbar {
    border-bottom: 0 !important;
}

/* ==== Sidebar footer: hilangkan border atas ==== */
.sr-sidebar-footer {
    border-top: 0 !important;
}

/* ==== Sidebar brand: biarkan (kalau mau dihilangkan juga, uncomment bawah) ==== */
/* .sr-brand {
    border-bottom: 0 !important;
} */

/* ============================================
   SMMRUS — Live Status di Atas Info Card
   ============================================ */

/* ==== Live Status di kolom kanan: full width ==== */
.sr-order-info-col .sr-live-status {
    width: 100% !important;
    max-width: 100% !important;
    margin-bottom: 16px !important;
    padding: 16px !important;
    display: flex !important;
    gap: 14px !important;
    align-items: flex-start !important;
    background: #FFFFFF !important;
    border: 1px solid #E5E7EB !important;
    border-radius: 12px !important;
    box-sizing: border-box !important;
}

/* ==== Sembunyikan topbar kalau ada sisa ==== */
.sr-topbar-info {
    display: none !important;
}

/* ============================================
   SMMRUS — Platform Filter (Tabs Style)
   ============================================ */

.sr-category-filter {
    background: #FFFFFF;
    border: 1px solid #E5E7EB;
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 20px;
}

.sr-category-filter-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 14px;
}

.sr-category-filter-header h3 {
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #6B7280;
    margin: 0;
}

.sr-category-toggle {
    background: #F9FAFB;
    border: 1px solid #E5E7EB;
    border-radius: 6px;
    padding: 6px 12px;
    font-family: inherit;
    font-size: 12.5px;
    font-weight: 500;
    color: #1A1D29;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: all .15s ease;
    white-space: nowrap;
}

.sr-category-toggle:hover {
    background: #F3F4F6;
    border-color: #D1D5DB;
}

.sr-category-filter.sr-collapsed .sr-category-toggle svg {
    transform: rotate(180deg);
}

.sr-category-filter.sr-collapsed .sr-category-grid {
    display: none !important;
}

/* ==== Grid tabs: background abu ==== */
.sr-category-grid {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 6px !important;
    background: #F9FAFB !important;
    border-radius: 10px !important;
    padding: 6px !important;
}

/* ==== Tab item ==== */
.sr-category-card {
    display: inline-flex !important;
    align-items: center !important;
    gap: 6px !important;
    padding: 8px 14px !important;
    background: transparent !important;
    border: none !important;
    border-radius: 7px !important;
    font-family: inherit !important;
    font-size: 12.5px !important;
    font-weight: 500 !important;
    color: #6B7280 !important;
    cursor: pointer !important;
    transition: all .15s ease !important;
    white-space: nowrap !important;
    line-height: 1 !important;
}

.sr-category-card:hover {
    color: #1A1D29 !important;
    background: #FFFFFF !important;
}

.sr-category-card.active {
    background: #FFFFFF !important;
    color: #1A1D29 !important;
    font-weight: 600 !important;
    box-shadow: 0 1px 3px rgba(16, 24, 40, 0.08) !important;
}

.sr-category-card svg {
    width: 14px !important;
    height: 14px !important;
    stroke: currentColor !important;
    flex-shrink: 0 !important;
}

.sr-category-card.active svg {
    stroke: #4B6BFB !important;
}

.sr-category-card span {
    white-space: nowrap !important;
}

.sr-cat-emoji {
    font-size: 14px !important;
    line-height: 1 !important;
}

.sr-cat-img {
    width: 14px !important;
    height: 14px !important;
    object-fit: contain !important;
    border-radius: 3px !important;
}

.sr-category-card i {
    font-size: 14px !important;
}

/* ==== Mobile ==== */
@media (max-width: 700px) {
    .sr-category-filter {
        padding: 14px !important;
    }
    .sr-category-grid {
        gap: 4px !important;
        padding: 4px !important;
    }
    .sr-category-card {
        font-size: 11.5px !important;
        padding: 6px 10px !important;
    }
    .sr-category-card svg {
        width: 12px !important;
        height: 12px !important;
    }
}

/* ============================================
   SMMRUS — Platform Filter (Ukuran Pas)
   ============================================ */

.sr-category-grid {
    gap: 6px !important;
    padding: 6px !important;
}

.sr-category-card {
    padding: 8px 16px !important;
    font-size: 13px !important;
    gap: 7px !important;
    min-height: 36px !important;
    border-radius: 8px !important;
}

.sr-category-card svg {
    width: 15px !important;
    height: 15px !important;
}

.sr-category-card span {
    font-size: 13px !important;
}

.sr-cat-emoji {
    font-size: 15px !important;
}

.sr-cat-img {
    width: 15px !important;
    height: 15px !important;
}

.sr-category-card i {
    font-size: 15px !important;
}

@media (max-width: 700px) {
    .sr-category-grid {
        gap: 5px !important;
        padding: 5px !important;
    }
    .sr-category-card {
        padding: 7px 12px !important;
        font-size: 12px !important;
        min-height: 34px !important;
    }
    .sr-category-card svg {
        width: 14px !important;
        height: 14px !important;
    }
}

/* ============================================
   SMMRUS — Simple Icons (Brand Icons Resmi)
   ============================================ */

.sr-category-card .si {
    font-size: 16px !important;
    line-height: 1 !important;
    color: inherit;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

/* ==== Warna icon brand asli ==== */
.sr-category-card .si-instagram { color: #E4405F !important; }
.sr-category-card .si-tiktok { color: #000000 !important; }
.sr-category-card .si-facebook { color: #1877F2 !important; }
.sr-category-card .si-youtube { color: #FF0000 !important; }
.sr-category-card .si-telegram { color: #26A5E4 !important; }
.sr-category-card .si-whatsapp { color: #25D366 !important; }
.sr-category-card .si-discord { color: #5865F2 !important; }
.sr-category-card .si-spotify { color: #1DB954 !important; }
.sr-category-card .si-x { color: #000000 !important; }
.sr-category-card .si-shopee { color: #EE4D2D !important; }
.sr-category-card .si-googlechrome { color: #4285F4 !important; }
.sr-category-card .si-icloud { color: #4B6BFB !important; }
.sr-category-card .si-accusoft { color: #6B7280 !important; }

/* ==== Saat card aktif → icon jadi biru ==== */
.sr-category-card.active .si {
    color: #4B6BFB !important;
}

/* ============================================
   SMMRUS — RESPONSIVE Mobile & Tablet
   ============================================ */

/* ===== TABLET (max-width: 1100px) ===== */
@media (max-width: 1100px) {
    /* Sidebar: jadi slide-in dari kiri */
    .sr-sidebar {
        transform: translateX(-100%);
        transition: transform .25s ease;
    }
    .sr-sidebar.open {
        transform: translateX(0);
        box-shadow: 0 0 24px rgba(16,24,40,.15);
    }
    .sr-main {
        margin-left: 0 !important;
    }
    /* Tampilkan tombol hamburger */
    .sr-mobile-toggle {
        display: flex !important;
        align-items: center;
        justify-content: center;
    }
    .sr-content {
        padding: 16px !important;
    }
    .sr-topbar {
        padding: 0 16px !important;
    }
    /* Filter kategori: full width */
    .sr-category-filter {
        padding: 14px !important;
    }
    /* Form + Info: stack vertikal */
    .sr-order-layout {
        display: block !important;
        width: 100% !important;
    }
    .sr-order-form-col,
    .sr-order-info-col {
        width: 100% !important;
        max-width: 100% !important;
        flex: none !important;
        margin-bottom: 16px;
    }
    .sr-order-info-col {
        position: static !important;
    }
}

/* ===== MOBILE (max-width: 768px) ===== */
@media (max-width: 768px) {
    /* Topbar */
    .sr-topbar {
        padding: 0 12px !important;
        height: 56px !important;
    }
    .sr-topbar h1 {
        font-size: 14px !important;
    }
    .sr-balance-pill {
        padding: 4px 10px !important;
        font-size: 12px !important;
    }
    .sr-avatar {
        width: 30px !important;
        height: 30px !important;
        font-size: 12px !important;
    }

    /* Container: full width */
    .sr-content .container,
    .sr-content .container-fluid,
    .sr-content .row,
    .sr-content .col-md-8,
    .sr-content .col-md-offset-2,
    .sr-content [class*="col-"] {
        width: 100% !important;
        max-width: 100% !important;
        padding-left: 0 !important;
        padding-right: 0 !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        float: none !important;
    }

    /* Filter Kategori: layout vertikal */
    .sr-category-filter-header {
        flex-direction: column !important;
        align-items: flex-start !important;
        gap: 8px !important;
    }
    .sr-category-filter-header h3 {
        font-size: 12px !important;
    }
    .sr-category-toggle {
        font-size: 12px !important;
        padding: 5px 10px !important;
    }
    .sr-category-grid {
        flex-direction: column !important;
        gap: 6px !important;
        padding: 6px !important;
    }
    .sr-category-card {
        width: 100% !important;
        justify-content: flex-start !important;
        padding: 10px 14px !important;
        font-size: 13px !important;
        border-radius: 8px !important;
    }
    .sr-category-card .si {
        font-size: 15px !important;
    }

    /* Form Well */
    .sr-order-form-col .well,
    .sr-content .well {
        padding: 16px !important;
        border-radius: 10px !important;
    }

    /* Form field: full width */
    .sr-content #order-form .form-group {
        margin-bottom: 14px !important;
    }
    .sr-content #order-form .form-group,
    .sr-content #order-form button[type="submit"] {
        max-width: 100% !important;
        width: 100% !important;
    }

    /* Select2 */
    .select2-container {
        width: 100% !important;
    }

    /* Live Status widget */
    .sr-live-status {
        padding: 12px !important;
        gap: 10px !important;
    }
    .sr-live-icon {
        width: 34px !important;
        height: 34px !important;
    }
    .sr-live-icon svg {
        width: 16px !important;
        height: 16px !important;
    }
    .sr-live-status-text strong {
        font-size: 12.5px !important;
    }
    .sr-live-time {
        font-size: 11px !important;
    }

    /* Tabs News/Guides/Rules */
    .sr-service-tabs {
        flex-wrap: nowrap !important;
    }
    .sr-tab {
        font-size: 12px !important;
        padding: 8px 6px !important;
    }

    /* Service info card */
    .sr-service-info {
        padding: 14px !important;
    }

    /* Badge counter (kalau ada) */
    .sr-info-badges {
        flex-direction: column !important;
        gap: 8px !important;
    }
    .sr-info-badge {
        width: 100% !important;
        justify-content: space-between !important;
    }
}

/* ===== SMALL MOBILE (max-width: 480px) ===== */
@media (max-width: 480px) {
    .sr-category-card {
        padding: 8px 12px !important;
        font-size: 12px !important;
    }
    .sr-category-card .si {
        font-size: 14px !important;
    }
    .sr-content {
        padding: 10px !important;
    }
    .sr-topbar {
        padding: 0 10px !important;
    }
    .sr-live-label {
        font-size: 10px !important;
    }
}

/* ============================================
   SMMRUS — Mobile Filter: Grid 3 Kolom
   ============================================ */

@media (max-width: 768px) {

    /* ==== Filter container: padding compact ==== */
    .sr-category-filter {
        padding: 12px !important;
        border-radius: 10px !important;
    }

    /* ==== Header: tetap flex tapi wrap ==== */
    .sr-category-filter-header {
        flex-direction: row !important;
        flex-wrap: wrap !important;
        align-items: center !important;
        justify-content: space-between !important;
        gap: 8px !important;
        margin-bottom: 12px !important;
        padding-bottom: 10px !important;
    }
    .sr-category-filter-header h3 {
        font-size: 11px !important;
        letter-spacing: 0.04em !important;
    }
    .sr-category-toggle {
        font-size: 11px !important;
        padding: 5px 10px !important;
    }

    /* ==== Grid 3 kolom ==== */
    .sr-category-grid {
        display: grid !important;
        grid-template-columns: repeat(3, 1fr) !important;
        gap: 6px !important;
        background: #F9FAFB !important;
        padding: 6px !important;
        border-radius: 10px !important;
    }

    /* ==== Card: jadi grid item compact ==== */
    .sr-category-card {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        justify-content: center !important;
        gap: 4px !important;
        padding: 10px 4px !important;
        font-size: 10.5px !important;
        font-weight: 500 !important;
        text-align: center !important;
        border-radius: 8px !important;
        min-height: 60px !important;
        width: 100% !important;
        white-space: normal !important;
        line-height: 1.2 !important;
        background: #FFFFFF !important;
        border: 1px solid #E5E7EB !important;
        color: #1A1D29 !important;
        flex: none !important;
        max-width: 100% !important;
    }

    .sr-category-card.active {
        border-color: #4B6BFB !important;
        background: #EEF1FF !important;
        color: #4B6BFB !important;
        font-weight: 600 !important;
    }

    /* ==== Icon: lebih besar & center ==== */
    .sr-category-card .si {
        font-size: 18px !important;
        line-height: 1 !important;
        display: block !important;
    }

    /* ==== Text: kecil, center, boleh wrap 2 baris ==== */
    .sr-category-card span {
        font-size: 10.5px !important;
        white-space: normal !important;
        overflow: hidden !important;
        text-overflow: ellipsis !important;
        display: -webkit-box !important;
        -webkit-line-clamp: 2 !important;
        -webkit-box-orient: vertical !important;
        max-width: 100% !important;
        word-break: break-word !important;
        line-height: 1.15 !important;
    }
}

/* ===== SMALL MOBILE (max-width: 480px) ===== */
@media (max-width: 480px) {
    .sr-category-card {
        padding: 8px 3px !important;
        min-height: 55px !important;
        font-size: 10px !important;
    }
    .sr-category-card .si {
        font-size: 16px !important;
    }
    .sr-category-card span {
        font-size: 10px !important;
    }
    .sr-category-grid {
        gap: 5px !important;
        padding: 5px !important;
    }
}

/* ============================================
   SMMRUS — Filter Kategori (Desktop + Mobile)
   ============================================ */

/* ============ DESKTOP ============ */
.sr-category-grid {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 12px !important;
    background: #F9FAFB !important;
    padding: 10px !important;
    border-radius: 10px !important;
}

.sr-category-card {
    display: inline-flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 10px !important;
    padding: 10px 20px !important;
    font-size: 13.5px !important;
    font-weight: 500 !important;
    background: #FFFFFF !important;
    border: 1px solid #E5E7EB !important;
    border-radius: 8px !important;
    color: #1A1D29 !important;
    cursor: pointer !important;
    min-height: 40px !important;
    white-space: nowrap !important;
    flex: 0 0 auto !important;
    transition: all .15s ease !important;
}

.sr-category-card:hover {
    border-color: #D1D5DB !important;
    background: #FAFBFC !important;
}

.sr-category-card.active {
    border-color: #4B6BFB !important;
    background: #EEF1FF !important;
    color: #4B6BFB !important;
    font-weight: 600 !important;
}

.sr-category-card .si {
    font-size: 17px !important;
    width: 17px !important;
    height: 17px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    flex-shrink: 0 !important;
    line-height: 1 !important;
}

.sr-category-card .si-icloud {
    color: #4B6BFB !important;
}

/* ============ MOBILE ============ */
@media (max-width: 768px) {

    .sr-category-grid {
        display: grid !important;
        grid-template-columns: repeat(3, 1fr) !important;
        gap: 6px !important;
        padding: 6px !important;
    }

    .sr-category-card {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        justify-content: center !important;
        gap: 4px !important;
        padding: 10px 4px !important;
        font-size: 10.5px !important;
        text-align: center !important;
        min-height: 60px !important;
        width: 100% !important;
        white-space: normal !important;
        line-height: 1.2 !important;
        flex: none !important;
    }

    .sr-category-card .si {
        font-size: 18px !important;
        width: auto !important;
        height: auto !important;
    }

    .sr-category-card span {
        font-size: 10.5px !important;
        line-height: 1.15 !important;
        word-break: break-word !important;
    }
}

/* ============ SMALL MOBILE ============ */
@media (max-width: 480px) {
    .sr-category-grid {
        gap: 5px !important;
        padding: 5px !important;
    }
    .sr-category-card {
        padding: 8px 3px !important;
        min-height: 55px !important;
    }
    .sr-category-card .si {
        font-size: 16px !important;
    }
    .sr-category-card span {
        font-size: 10px !important;
    }
}

/* ============================================
   SMMRUS — Filter Kategori FINAL
   Desktop: horizontal wrap | Mobile: grid 3 kolom
   ============================================ */

/* ==============================================
   DESKTOP (default)
   ============================================== */

.sr-category-grid {
    display: flex !important;
    flex-wrap: wrap !important;
    align-items: center !important;
    gap: 10px !important;
    background: #F9FAFB !important;
    padding: 10px !important;
    border-radius: 10px !important;
}

.sr-category-card {
    display: inline-flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
    padding: 8px 16px !important;
    margin: 0 !important;
    font-size: 13px !important;
    font-weight: 500 !important;
    background: #FFFFFF !important;
    border: 1px solid #E5E7EB !important;
    border-radius: 8px !important;
    color: #1A1D29 !important;
    cursor: pointer !important;
    min-height: 0 !important;
    height: auto !important;
    line-height: 1.2 !important;
    white-space: nowrap !important;
    flex: 0 0 auto !important;
    width: auto !important;
    max-width: none !important;
    transition: all .15s ease !important;
    box-shadow: none !important;
}

.sr-category-card:hover {
    border-color: #D1D5DB !important;
    background: #FAFBFC !important;
}

.sr-category-card.active {
    border-color: #4B6BFB !important;
    background: #EEF1FF !important;
    color: #4B6BFB !important;
    font-weight: 600 !important;
}

.sr-category-card .si {
    font-size: 15px !important;
    width: 15px !important;
    height: 15px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    flex-shrink: 0 !important;
    line-height: 1 !important;
}

.sr-category-card span {
    font-size: 13px !important;
    line-height: 1.2 !important;
    white-space: nowrap !important;
    margin: 0 !important;
}

/* Warna icon brand */
.sr-category-card .si-instagram { color: #E4405F !important; }
.sr-category-card .si-tiktok { color: #000000 !important; }
.sr-category-card .si-facebook { color: #1877F2 !important; }
.sr-category-card .si-youtube { color: #FF0000 !important; }
.sr-category-card .si-telegram { color: #26A5E4 !important; }
.sr-category-card .si-whatsapp { color: #25D366 !important; }
.sr-category-card .si-discord { color: #5865F2 !important; }
.sr-category-card .si-spotify { color: #1DB954 !important; }
.sr-category-card .si-x { color: #000000 !important; }
.sr-category-card .si-shopee { color: #EE4D2D !important; }
.sr-category-card .si-googlechrome { color: #4285F4 !important; }
.sr-category-card .si-icloud { color: #4B6BFB !important; }
.sr-category-card .si-accusoft { color: #6B7280 !important; }

/* ==============================================
   MOBILE — Grid 3 kolom
   ============================================== */

@media (max-width: 768px) {
    .sr-category-grid {
        display: grid !important;
        grid-template-columns: repeat(3, 1fr) !important;
        gap: 6px !important;
        padding: 6px !important;
    }

    .sr-category-card {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        justify-content: center !important;
        gap: 4px !important;
        padding: 10px 4px !important;
        font-size: 10.5px !important;
        text-align: center !important;
        min-height: 60px !important;
        width: 100% !important;
        white-space: normal !important;
        line-height: 1.2 !important;
        flex: none !important;
    }

    .sr-category-card .si {
        font-size: 18px !important;
        width: auto !important;
        height: auto !important;
    }

    .sr-category-card span {
        font-size: 10.5px !important;
        white-space: normal !important;
        line-height: 1.15 !important;
        word-break: break-word !important;
    }
}

@media (max-width: 480px) {
    .sr-category-grid {
        gap: 5px !important;
        padding: 5px !important;
    }
    .sr-category-card {
        padding: 8px 3px !important;
        min-height: 55px !important;
    }
    .sr-category-card .si {
        font-size: 16px !important;
    }
    .sr-category-card span {
        font-size: 10px !important;
    }
}

/* ============================================
   SMMRUS — Orders Table Mobile (Scroll Horizontal)
   ============================================ */

/* ===== MOBILE (max-width: 900px) ===== */
@media (max-width: 900px) {

    /* ==== Wrapper tabel: aktifkan scroll horizontal ==== */
    .sr-content .well-float,
    .sr-content .well {
        overflow-x: auto !important;
        -webkit-overflow-scrolling: touch !important;
        padding: 0 !important;
    }

    /* ==== Table: kasih min-width biar scroll bar muncul ==== */
    .sr-content .well-float .table,
    .sr-content .table.sr-orders-table {
        min-width: 800px !important;
        width: 100% !important;
        white-space: nowrap !important;
    }

    /* ==== Header tabel ==== */
    .sr-content .well-float .table > thead > tr > th {
        font-size: 10.5px !important;
        padding: 10px 12px !important;
    }

    /* ==== Body tabel ==== */
    .sr-content .well-float .table > tbody > tr > td {
        font-size: 12px !important;
        padding: 12px !important;
        white-space: nowrap !important;
    }

    /* ==== Scrollbar tipis biar kelihatan user-friendly ==== */
    .sr-content .well-float::-webkit-scrollbar {
        height: 6px;
    }
    .sr-content .well-float::-webkit-scrollbar-track {
        background: #F9FAFB;
        border-radius: 3px;
    }
    .sr-content .well-float::-webkit-scrollbar-thumb {
        background: #D1D5DB;
        border-radius: 3px;
    }
    .sr-content .well-float::-webkit-scrollbar-thumb:hover {
        background: #9CA3AF;
    }
}

/* ===== SMALL MOBILE (max-width: 480px) ===== */
@media (max-width: 480px) {
    .sr-content .well-float .table,
    .sr-content .table.sr-orders-table {
        min-width: 720px !important;
    }
}

/* ============================================
   SMMRUS — Orders Mobile: Link & Service Full
   ============================================ */

@media (max-width: 900px) {

    /* ==== Wrapper: scroll horizontal ==== */
    .sr-content .well-float,
    .sr-content .well {
        overflow-x: auto !important;
        -webkit-overflow-scrolling: touch !important;
    }

    /* ==== Table: kasih min-width lebih besar ==== */
    .sr-content .well-float .table,
    .sr-content .table.sr-orders-table,
    .sr-content .table {
        min-width: 1100px !important;
        width: auto !important;
    }

    /* ==== Semua cell: NO ellipsis, no max-width ==== */
    .sr-content .well-float .table > tbody > tr > td,
    .sr-content .table > tbody > tr > td {
        white-space: nowrap !important;
        overflow: visible !important;
        text-overflow: clip !important;
        max-width: none !important;
        min-width: auto !important;
    }

    /* ==== Kolom LINK: lebar cukup, no truncate ==== */
    .sr-content .well-float .table > tbody > tr > td:nth-child(3),
    .sr-content .table > tbody > tr > td:nth-child(3) {
        min-width: 240px !important;
        max-width: 320px !important;
        overflow: visible !important;
        text-overflow: clip !important;
        white-space: nowrap !important;
        word-break: normal !important;
    }

    /* ==== Kolom SERVICE: lebar cukup ==== */
    .sr-content .well-float .table > tbody > tr > td:nth-child(7),
    .sr-content .table > tbody > tr > td:nth-child(7) {
        min-width: 220px !important;
        max-width: none !important;
        white-space: nowrap !important;
        overflow: visible !important;
    }

    /* ==== Kolom DATE: lebar fix ==== */
    .sr-content .well-float .table > tbody > tr > td:nth-child(2),
    .sr-content .table > tbody > tr > td:nth-child(2) {
        min-width: 150px !important;
        white-space: nowrap !important;
    }

    /* ==== Kolom header juga ikut ==== */
    .sr-content .well-float .table > thead > tr > th,
    .sr-content .table > thead > tr > th {
        white-space: nowrap !important;
        overflow: visible !important;
    }

    /* ==== Scrollbar ==== */
    .sr-content .well-float::-webkit-scrollbar {
        height: 8px;
    }
    .sr-content .well-float::-webkit-scrollbar-track {
        background: #F9FAFB;
        border-radius: 4px;
    }
    .sr-content .well-float::-webkit-scrollbar-thumb {
        background: #D1D5DB;
        border-radius: 4px;
    }

    /* ==== Link: biar tidak dijadiin 1 baris pendek ==== */
    .sr-content .well-float .table > tbody > tr > td a,
    .sr-content .table > tbody > tr > td a {
        white-space: nowrap !important;
        overflow: visible !important;
        display: inline !important;
    }
}

/* ============================================
   SMMRUS — Orders Mobile: Tab Scroll + Search Fixed
   ============================================ */

@media (max-width: 900px) {

    /* ==== Nav pills: scroll horizontal ==== */
    .sr-content .nav-pills {
        display: block !important;
        overflow-x: auto !important;
        overflow-y: hidden !important;
        margin-bottom: 14px !important;
        padding: 0 0 8px 0 !important;
        background: transparent !important;
        white-space: nowrap !important;
        -webkit-overflow-scrolling: touch !important;
        scrollbar-width: thin !important;
    }

    /* ==== Scrollbar tipis ==== */
    .sr-content .nav-pills::-webkit-scrollbar {
        height: 4px;
    }
    .sr-content .nav-pills::-webkit-scrollbar-thumb {
        background: #D1D5DB;
        border-radius: 4px;
    }
    .sr-content .nav-pills::-webkit-scrollbar-track {
        background: transparent;
    }

    /* ==== Tab item: inline, tetap 1 baris ==== */
    .sr-content .nav-pills > li:not(.search) {
        display: inline-block !important;
        float: none !important;
        margin: 0 6px 0 0 !important;
        vertical-align: middle !important;
    }

    /* ==== Tab link ==== */
    .sr-content .nav-pills > li > a {
        display: inline-block !important;
        padding: 6px 12px !important;
        font-size: 12.5px !important;
        font-weight: 500 !important;
        border-radius: 8px !important;
        border: 1px solid #E5E7EB !important;
        background: #FFFFFF !important;
        color: #6B7280 !important;
        line-height: 1.2 !important;
        white-space: nowrap !important;
        text-decoration: none !important;
    }

    .sr-content .nav-pills > li > a:hover {
        background: #F9FAFB !important;
        color: #1A1D29 !important;
    }

    .sr-content .nav-pills > li.active > a,
    .sr-content .nav-pills > li.active > a:hover,
    .sr-content .nav-pills > li.active > a:focus {
        background: #4B6BFB !important;
        color: #FFFFFF !important;
        border-color: #4B6BFB !important;
        font-weight: 600 !important;
    }

    /* ==== SEARCH: keluar dari area scroll, taruh di bawah ==== */
    .sr-content .nav-pills > li.pull-right.search,
    .sr-content .nav-pills .search {
        position: sticky !important;
        left: 0 !important;
        display: block !important;
        float: none !important;
        margin: 10px 0 0 0 !important;
        padding: 0 !important;
        width: 100% !important;
        min-width: 0 !important;
        white-space: normal !important;
        background: #FFFFFF !important;
        z-index: 2 !important;
    }

    .sr-content .nav-pills .search form,
    .sr-content .nav-pills .search .input-group {
        width: 100% !important;
        display: flex !important;
    }

    .sr-content .nav-pills .search .form-control {
        flex: 1 !important;
        width: auto !important;
        font-size: 13px !important;
        padding: 8px 12px !important;
        border-radius: 8px 0 0 8px !important;
        border-right: 0 !important;
    }

    .sr-content .nav-pills .search .input-group-btn {
        width: auto !important;
    }

    .sr-content .nav-pills .search .btn {
        padding: 8px 14px !important;
        border-radius: 0 8px 8px 0 !important;
        background: #FFFFFF !important;
        border: 1px solid #E5E7EB !important;
        border-left: 0 !important;
        color: #6B7280 !important;
    }

    .sr-content .nav-pills .search .btn:hover {
        background: #F9FAFB !important;
        color: #1A1D29 !important;
    }

    .sr-content .well-float {
        margin-top: 4px !important;
    }
}

/* ============================================
   SMMRUS — FIX Service Column (Jangan Dipotong)
   ============================================ */

/* Kolom SERVICE: kasih ruang, jangan truncate */
.sr-content .sr-orders-table > tbody > tr > td:nth-child(7),
.orders-page .sr-orders-table > tbody > tr > td:nth-child(7) {
    max-width: none !important;
    overflow: visible !important;
    text-overflow: clip !important;
    white-space: nowrap !important;
}

/* Span di dalam service juga jangan dipotong */
.sr-content .sr-orders-table > tbody > tr > td:nth-child(7) span,
.orders-page .sr-orders-table > tbody > tr > td:nth-child(7) span {
    max-width: none !important;
    overflow: visible !important;
    text-overflow: clip !important;
    display: inline !important;
}

/* Kolom LINK tetap dipotong (kolom 3) */
.sr-content .sr-orders-table > tbody > tr > td:nth-child(3),
.orders-page .sr-orders-table > tbody > tr > td:nth-child(3) {
    max-width: 0 !important;
    overflow: hidden !important;
}

/* ============================================ */
/* ===== Status Badge Colors (Orders) v2 ===== */
/* ============================================ */

.sr-status {
    display: inline-block !important;
    padding: 4px 12px !important;
    border-radius: 20px !important;
    font-size: 11.5px !important;
    font-weight: 600 !important;
    text-transform: capitalize !important;
    white-space: nowrap !important;
}

/* Completed → Hijau */
.sr-status[data-status="completed"] {
    background: #ECFDF5 !important;
    color: #16A34A !important;
}

/* Pending → Kuning */
.sr-status[data-status="pending"] {
    background: #FFFBEB !important;
    color: #B45309 !important;
}

/* Processing → Ungu */
.sr-status[data-status="processing"] {
    background: #F5F3FF !important;
    color: #7C3AED !important;
}

/* In Progress → Biru */
.sr-status[data-status="inprogress"],
.sr-status[data-status="in progress"],
.sr-status[data-status="in-progress"] {
    background: #EEF1FF !important;
    color: #4B6BFB !important;
}

/* Partial → Abu */
.sr-status[data-status="partial"] {
    background: #F3F4F6 !important;
    color: #6B7280 !important;
}

/* Canceled → Merah */
.sr-status[data-status="canceled"],
.sr-status[data-status="cancelled"] {
    background: #FEF2F2 !important;
    color: #DC2626 !important;
}

/* Refunded → Abu (sama seperti partial) */
.sr-status[data-status="refunded"] {
    background: #F3F4F6 !important;
    color: #6B7280 !important;
}

/* ============================================ */
/* ===== FORM & INFO — 62:38 ===== */
/* ===== Form 62%, Info 38% (Desktop) ===== */
/* ============================================ */

/* ==== DESKTOP (>= 992px) ==== */
@media (min-width: 992px) {

    .sr-order-layout {
        display: flex !important;
        flex-wrap: nowrap !important;
        gap: 20px !important;
        align-items: flex-start !important;
        width: 100% !important;
        max-width: 100% !important;
        grid-template-columns: none !important;
    }

    /* Form order: 62% */
    .sr-order-form-col {
        display: block !important;
        flex: 0 0 62% !important;
        width: 62% !important;
        max-width: 62% !important;
        min-width: 0 !important;
        box-sizing: border-box !important;
    }

    /* Info card: 38% */
    .sr-order-info-col {
        display: block !important;
        flex: 0 0 38% !important;
        width: 38% !important;
        max-width: 38% !important;
        min-width: 0 !important;
        position: sticky !important;
        top: 90px !important;
        box-sizing: border-box !important;
    }

    .sr-order-form-col .well,
    .sr-order-form-col #order-form.well {
        width: 100% !important;
        max-width: 100% !important;
        padding: 22px !important;
        margin: 0 !important;
        box-sizing: border-box !important;
    }

    .sr-order-info-col .sr-service-info {
        width: 100% !important;
        max-width: 100% !important;
        padding: 20px !important;
        box-sizing: border-box !important;
    }

    .sr-order-info-col .sr-live-status {
        width: 100% !important;
        max-width: 100% !important;
        padding: 16px !important;
        margin-bottom: 16px !important;
        box-sizing: border-box !important;
    }
}

/* ==== TABLET (768px - 991px): Form 55% : Info 45% ==== */
@media (min-width: 768px) and (max-width: 991px) {

    .sr-order-layout {
        display: flex !important;
        flex-wrap: nowrap !important;
        gap: 16px !important;
        align-items: flex-start !important;
        width: 100% !important;
        max-width: 100% !important;
        grid-template-columns: none !important;
    }

    .sr-order-form-col {
        flex: 0 0 55% !important;
        width: 55% !important;
        max-width: 55% !important;
        min-width: 0 !important;
        box-sizing: border-box !important;
    }

    .sr-order-info-col {
        flex: 0 0 45% !important;
        width: 45% !important;
        max-width: 45% !important;
        min-width: 0 !important;
        position: static !important;
        box-sizing: border-box !important;
    }

    .sr-order-form-col .well,
    .sr-order-form-col #order-form.well {
        width: 100% !important;
        max-width: 100% !important;
        padding: 18px !important;
        margin: 0 !important;
        box-sizing: border-box !important;
    }

    .sr-order-info-col .sr-service-info {
        width: 100% !important;
        max-width: 100% !important;
        padding: 18px !important;
        box-sizing: border-box !important;
    }
}

/* ==== MOBILE (<768px): Stack Vertikal ==== */
@media (max-width: 767.98px) {

    .sr-order-layout {
        display: block !important;
        width: 100% !important;
        max-width: 100% !important;
        flex-wrap: wrap !important;
        grid-template-columns: none !important;
    }

    .sr-order-form-col,
    .sr-order-info-col {
        display: block !important;
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        flex: none !important;
        margin-bottom: 16px !important;
        position: static !important;
        box-sizing: border-box !important;
    }

    .sr-order-form-col .well,
    .sr-order-form-col #order-form.well,
    .sr-content .well {
        width: 100% !important;
        max-width: 100% !important;
        padding: 16px !important;
        margin: 0 !important;
        box-sizing: border-box !important;
    }

    .sr-order-info-col .sr-service-info,
    .sr-service-info {
        width: 100% !important;
        max-width: 100% !important;
        padding: 16px !important;
        box-sizing: border-box !important;
    }

    .sr-service-tabs {
        display: flex !important;
        width: 100% !important;
        gap: 3px !important;
        padding: 3px !important;
        box-sizing: border-box !important;
    }

    .sr-service-tabs .sr-tab,
    .sr-tab {
        flex: 1 1 0 !important;
        min-width: 0 !important;
        font-size: 11.5px !important;
        padding: 8px 4px !important;
        text-align: center !important;
        white-space: nowrap !important;
        overflow: hidden !important;
        text-overflow: ellipsis !important;
    }
}

/* ============================================ */
/* ===== SEJAJARKAN CARD INFO DENGAN CARD SOSMED ===== */
/* ===== Hapus padding/margin yang bikin geser ===== */
/* ============================================ */

/* ==== DESKTOP ==== */
@media (min-width: 992px) {

    /* Pastikan wrapper utama: 1 garis tepi */
    .sr-neworder-wrapper {
        padding-left: 0 !important;
        padding-right: 0 !important;
        box-sizing: border-box !important;
    }

    /* Layout: form & info, tanpa padding tambahan */
    .sr-order-layout {
        display: flex !important;
        flex-wrap: nowrap !important;
        gap: 20px !important;
        align-items: flex-start !important;
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 !important;
        padding: 0 !important;
        box-sizing: border-box !important;
        grid-template-columns: none !important;
    }

    /* Form order: 62% */
    .sr-order-form-col {
        display: block !important;
        flex: 0 0 calc(62% - 10px) !important;
        width: calc(62% - 10px) !important;
        max-width: calc(62% - 10px) !important;
        min-width: 0 !important;
        margin: 0 !important;
        padding: 0 !important;
        box-sizing: border-box !important;
    }

    /* Info card: 38%, TEPI KANAN = TEPI KANAN CARD SOSMED */
    .sr-order-info-col {
        display: block !important;
        flex: 1 1 auto !important;
        width: auto !important;
        max-width: none !important;
        min-width: 0 !important;
        margin: 0 !important;
        padding: 0 !important;
        box-sizing: border-box !important;
        position: sticky !important;
        top: 90px !important;
    }

    /* Inner info card: pastikan full width kolomnya */
    .sr-order-info-col .sr-service-info {
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 !important;
        box-sizing: border-box !important;
    }

    /* Inner form well: pastikan full width kolomnya */
    .sr-order-form-col .well,
    .sr-order-form-col #order-form.well {
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 !important;
        box-sizing: border-box !important;
    }

    /* Card sosmed: pastikan tepi kanan lurus dengan container */
    .sr-category-filter {
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 0 20px 0 !important;
        box-sizing: border-box !important;
    }
}

/* ==== TABLET: stack vertikal ==== */
@media (min-width: 768px) and (max-width: 991px) {
    .sr-order-layout {
        display: block !important;
        width: 100% !important;
        padding: 0 !important;
        margin: 0 !important;
    }
    .sr-order-form-col,
    .sr-order-info-col {
        width: 100% !important;
        max-width: 100% !important;
        padding: 0 !important;
        margin: 0 0 16px 0 !important;
        position: static !important;
        box-sizing: border-box !important;
    }
}

/* ==== MOBILE ==== */
@media (max-width: 767.98px) {
    .sr-order-layout {
        display: block !important;
        width: 100% !important;
        padding: 0 !important;
        margin: 0 !important;
    }
    .sr-order-form-col,
    .sr-order-info-col {
        width: 100% !important;
        max-width: 100% !important;
        padding: 0 !important;
        margin: 0 0 16px 0 !important;
        position: static !important;
        box-sizing: border-box !important;
    }
}

/* ============================================ */
/* ===== HAPUS CARD PEMBUNGKUS FILTER SOSMED ===== */
/* ===== Cuma tampil: judul, tombol, icon ===== */
/* ============================================ */

/* Hapus background, border, padding card pembungkus */
.sr-category-filter {
    background: transparent !important;
    border: none !important;
    border-radius: 0 !important;
    padding: 0 !important;
    margin-bottom: 16px !important;
    box-shadow: none !important;
}

/* Header (judul + tombol): tetap rapi, tanpa card */
.sr-category-filter-header {
    background: transparent !important;
    border: none !important;
    padding: 0 !important;
    margin-bottom: 12px !important;
}

/* Grid icon sosmed: hilangkan background abu */
.sr-category-grid {
    background: transparent !important;
    border: none !important;
    padding: 0 !important;
    gap: 8px !important;
}

/* Setiap icon sosmed: tetap punya border sendiri */
.sr-category-card {
    border: 1px solid #E5E7EB !important;
    background: #FFFFFF !important;
}

.sr-category-card.active {
    border-color: #4B6BFB !important;
    background: #EEF1FF !important;
}

/* ============================================ */
/* ===== HAPUS JUDUL "CHOOSE A SOCIAL NETWORK" ===== */
/* ============================================ */

.sr-category-filter-header h3,
.sr-category-filter h3,
.sr-category-filter-header > h3 {
    display: none !important;
    visibility: hidden !important;
    height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: hidden !important;
}

/* Header jadi cuma berisi tombol "Hide the filter" */
.sr-category-filter-header {
    display: flex !important;
    justify-content: flex-end !important;
    align-items: center !important;
    margin-bottom: 10px !important;
    padding: 0 !important;
    min-height: 0 !important;
}

/* ============================================ */
/* ===== TOMBOL "HIDE THE FILTER" KE KIRI ===== */
/* ============================================ */

.sr-category-filter-header {
    display: flex !important;
    justify-content: flex-start !important;
    align-items: center !important;
    margin-bottom: 10px !important;
    padding: 0 !important;
    min-height: 0 !important;
}

.sr-category-toggle {
    order: -1 !important;
}

/* ============================================ */
/* ===== AVATAR — Sejajar dengan Balance Pill ===== */
/* ============================================ */

/* Pastikan parent sejajar */
.sr-topbar-right {
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
}

.sr-balance-dropdown,
.sr-avatar-dropdown {
    display: inline-flex !important;
    align-items: center !important;
    vertical-align: middle !important;
}

/* Avatar */
.sr-avatar {
    width: 26px !important;
    height: 26px !important;
    padding: 0 !important;
    margin: 0 !important;
    background: transparent !important;
    color: #9CA3AF !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    text-decoration: none !important;
    flex-shrink: 0 !important;
    vertical-align: middle !important;
    line-height: 1 !important;
    position: relative !important;
    top: -1px !important;
}

.sr-avatar:hover,
.sr-avatar:focus {
    color: #D1D5DB !important;
    text-decoration: none !important;
}

.sr-avatar svg {
    width: 26px !important;
    height: 26px !important;
    fill: currentColor !important;
    stroke: none !important;
    display: block !important;
}

/* ============================================ */
/* ===== CELL SCROLL — SEMUA SERVICE ===== */
/* ===== Scrollbar muncul di semua baris ===== */
/* ============================================ */

/* Cell Service (kolom ke-7): selalu scroll horizontal */
.sr-content .sr-orders-table > tbody > tr > td:nth-child(7) {
    overflow-x: scroll !important;
    overflow-y: hidden !important;
    white-space: nowrap !important;
    scrollbar-width: thin !important;
    scrollbar-color: #E5E7EB transparent !important;
    padding-bottom: 14px !important;
    max-width: 0 !important;
    min-width: 100% !important;
}

/* Span di dalam service: block, tidak dipotong */
.sr-content .sr-orders-table > tbody > tr > td:nth-child(7) span {
    display: inline-block !important;
    overflow: visible !important;
    text-overflow: clip !important;
    white-space: nowrap !important;
    max-width: none !important;
    min-width: 100% !important;
}

/* Scrollbar Service (Webkit) */
.sr-content .sr-orders-table > tbody > tr > td:nth-child(7)::-webkit-scrollbar {
    height: 4px;
    display: block !important;
}

.sr-content .sr-orders-table > tbody > tr > td:nth-child(7)::-webkit-scrollbar-track {
    background: #F3F4F6;
    border-radius: 2px;
    display: block !important;
}

.sr-content .sr-orders-table > tbody > tr > td:nth-child(7)::-webkit-scrollbar-thumb {
    background: #E5E7EB;
    border-radius: 2px;
    min-width: 40px;
}

.sr-content .sr-orders-table > tbody > tr > td:nth-child(7)::-webkit-scrollbar-thumb:hover {
    background: #D1D5DB;
}

/* ============================================ */
/* ===== LINK ORDER — Hover Effect ===== */
/* ============================================ */

.sr-content .sr-orders-table > tbody > tr > td:nth-child(3) a {
    color: #1A1D29 !important;
    text-decoration: none !important;
    transition: color .15s ease !important;
    cursor: pointer !important;
}

.sr-content .sr-orders-table > tbody > tr > td:nth-child(3) a:hover {
    color: #4B6BFB !important;
    text-decoration: underline !important;
}

/* ============================================ */
/* ===== SERVER BUTTON + LOG MODAL ===== */
/* ============================================ */

/* --- Server button di tabel --- */
.sr-live-btn {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 700;
    background: #FFFFFF;
    color: #4B6BFB;
    border: 1px solid #D6DEFF;
    cursor: pointer;
    transition: all .15s ease;
    white-space: nowrap;
    user-select: none;
}
.sr-live-btn:hover {
    background: #EEF1FF;
    border-color: #4B6BFB;
}
.sr-live-dot {
    width: 6px;
    height: 6px;
    background: #16A34A;
    border-radius: 50%;
    box-shadow: 0 0 0 2px rgba(22, 163, 74, 0.25);
    animation: sr-pulse-live 2s ease-in-out infinite;
    flex-shrink: 0;
}
@keyframes sr-pulse-live {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 0 0 2px rgba(22, 163, 74, 0.35);
    }
    50% {
        transform: scale(1.2);
        box-shadow: 0 0 0 4px rgba(22, 163, 74, 0.1);
    }
}

/* --- Modal Log — macOS Terminal Style --- */
.sr-log-modal-overlay {
    display: none;
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(16, 24, 40, 0.6);
    z-index: 9999;
    align-items: center;
    justify-content: center;
    padding: 20px;
}
.sr-log-modal-overlay.active { display: flex; }

.sr-log-modal-box {
    background: #1E1E1E;
    border-radius: 12px;
    box-shadow: 0 24px 64px rgba(0, 0, 0, 0.75), 0 0 0 1px rgba(255, 255, 255, 0.06);
    width: 100%;
    max-width: 720px;
    max-height: 85vh;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    animation: sr-modal-in .2s ease;
}
@keyframes sr-modal-in {
    from { opacity: 0; transform: scale(0.95); }
    to { opacity: 1; transform: scale(1); }
}

/* --- Title bar macOS: traffic lights + judul center --- */
.sr-log-modal-header {
    background: #2C2C2E;
    height: 38px;
    padding: 0 14px;
    display: flex;
    align-items: center;
    flex-shrink: 0;
    position: relative;
    border-bottom: 1px solid #1A1A1A;
}

/* --- Traffic lights (3 dot macOS) --- */
.sr-window-dots {
    display: flex;
    gap: 8px;
    flex-shrink: 0;
    z-index: 2;
}
.sr-window-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    display: inline-block;
    cursor: pointer;
    position: relative;
}
.sr-window-dot.red    { background: #FF5F56; }
.sr-window-dot.yellow { background: #FFBD2E; }
.sr-window-dot.green  { background: #27C93F; }

.sr-window-dot::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 8px;
    font-weight: 700;
    color: rgba(0, 0, 0, 0.5);
    opacity: 0;
    transition: opacity .15s;
}
.sr-window-dots:hover .sr-window-dot::before { opacity: 1; }
.sr-window-dot.red::before    { content: '✕'; }
.sr-window-dot.yellow::before { content: '—'; }
.sr-window-dot.green::before  { content: '+'; }

/* --- Judul center (macOS style) --- */
.sr-log-modal-title {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    font-family: 'SF Pro Text', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-size: 13px;
    font-weight: 600;
    color: #E5E5E7;
    margin: 0;
    white-space: nowrap;
    pointer-events: none;
    max-width: 60%;
    overflow: hidden;
    text-overflow: ellipsis;
    letter-spacing: -0.01em;
}

/* --- Tombol close ✕ kanan --- */
.sr-log-modal-close {
    background: none;
    border: none;
    color: #8E8E93;
    font-size: 16px;
    cursor: pointer;
    padding: 0;
    line-height: 1;
    width: 24px;
    height: 24px;
    border-radius: 4px;
    transition: all .15s ease;
    flex-shrink: 0;
    margin-left: auto;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
}
.sr-log-modal-close:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #E5E5E7;
}

/* --- Body console (tetap) --- */
.sr-log-modal-body {
    padding: 0;
    overflow-y: scroll;
    flex: 1;
    background: #1E1E1E;
    position: relative;
}

/* ============================================ */
/* SCROLLBAR macOS TERMINAL STYLE               */
/* ============================================ */

.sr-log-modal-body::-webkit-scrollbar {
    width: 12px;
    background: transparent;
}
.sr-log-modal-body::-webkit-scrollbar-track {
    background: transparent;
}
.sr-log-modal-body::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.2);
    border-radius: 10px;
    border: 2px solid transparent;
    background-clip: padding-box;
    min-height: 40px;
    transition: background .2s;
}
.sr-log-modal-body::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.4);
    background-clip: padding-box;
}
.sr-log-modal-body.sr-idle::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.08);
    background-clip: padding-box;
}

/* --- Console content (tetap, gak diubah) --- */
.sr-log-console {
    padding: 16px 20px;
    font-family: 'SF Mono', 'Monaco', 'Consolas', monospace;
    font-size: 12.5px;
    line-height: 1.7;
    color: #E2E8F0;
    white-space: pre-wrap;
    word-break: break-all;
    transition: opacity .2s ease;
}
.sr-log-line { display: block; margin: 0; padding: 1px 0; }
.sr-log-time { color: #475569; }
.sr-log-info { color: #60A5FA; }
.sr-log-success { color: #4ADE80; }
.sr-log-warn { color: #FBBF24; }
.sr-log-error { color: #F87171; }
.sr-log-dim { color: #64748B; }
.sr-log-target { color: #A78BFA; }
.sr-log-userid { color: #F472B6; font-weight: 600; }
.sr-log-tag { display: inline-block; font-weight: 700; margin-right: 6px; }
.sr-log-cursor::after {
    content: '▊';
    color: #4ADE80;
    animation: sr-blink 1s step-end infinite;
    margin-left: 2px;
}
@keyframes sr-blink { 50% { opacity: 0; } }

/* --- Footer (tetap) --- */
.sr-log-modal-footer {
    padding: 12px 20px;
    background: #1E293B;
    border-top: 1px solid #334155;
    flex-shrink: 0;
}
.sr-progress-wrap { display: flex; align-items: center; gap: 12px; }
.sr-progress-bar-bg {
    flex: 1; height: 6px; background: #334155; border-radius: 3px; overflow: hidden;
}
.sr-progress-bar-fill {
    height: 100%;
    background: linear-gradient(90deg, #4B6BFB, #7C3AED);
    border-radius: 3px;
    transition: width .3s ease;
}
.sr-progress-text {
    font-family: 'SF Mono', 'Monaco', monospace;
    font-size: 12px;
    color: #E2E8F0;
    font-weight: 600;
    white-space: nowrap;
    font-variant-numeric: tabular-nums;
}

/* ============================================ */
/* ===== SERVER BUTTON — PLAY/PAUSE (BULAT) ===== */
/* ============================================ */

.sr-live-btn {
    display: inline-flex !important;
    align-items: center !important;
    gap: 6px !important;
    padding: 4px 10px 4px 8px !important;
    border-radius: 20px !important;
    font-size: 11px !important;
    font-weight: 700 !important;
    background: #FFFFFF !important;
    color: #4B6BFB !important;
    border: 1px solid #D6DEFF !important;
    cursor: pointer !important;
    transition: all .15s ease !important;
    white-space: nowrap !important;
    font-family: inherit !important;
    line-height: 1 !important;
}
.sr-live-btn:hover {
    background: #EEF1FF !important;
    border-color: #4B6BFB !important;
}
.sr-live-btn.active {
    background: #EEF1FF !important;
    border-color: #4B6BFB !important;
}

.sr-live-dot {
    width: 6px !important;
    height: 6px !important;
    background: #16A34A !important;
    border-radius: 50% !important;
    box-shadow: 0 0 0 2px rgba(22, 163, 74, 0.25) !important;
    animation: sr-pulse-live 2s ease-in-out infinite !important;
    flex-shrink: 0 !important;
}
@keyframes sr-pulse-live {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 0 0 2px rgba(22, 163, 74, 0.35);
    }
    50% {
        transform: scale(1.2);
        box-shadow: 0 0 0 4px rgba(22, 163, 74, 0.1);
    }
}

.sr-live-btn svg {
    display: block !important;
    flex-shrink: 0 !important;
}
.sr-live-btn .icon-play {
    width: 13px !important;
    height: 13px !important;
}
.sr-live-btn .icon-pause {
    width: 13px !important;
    height: 13px !important;
    display: none !important;
}
.sr-live-btn.active .icon-play { display: none !important; }
.sr-live-btn.active .icon-pause { display: block !important; }

/* ============================================ */
/* ===== GAP SERVICE - SERVER (32px) ===== */
/* ============================================ */

/* Service (kolom 7): padding kanan 32px */
.sr-content .sr-orders-table > tbody > tr > td:nth-child(7),
.sr-content .sr-orders-table > thead > tr > th:nth-child(7) {
    padding-right: 32px !important;
}

/* Server (kolom 8): padding kiri 32px, kanan 24px */
.sr-content .sr-orders-table > tbody > tr > td:nth-child(8),
.sr-content .sr-orders-table > thead > tr > th:nth-child(8) {
    padding-left: 32px !important;
    padding-right: 24px !important;
}

/* Tombol Server: tetap center */
.sr-content .sr-orders-table .sr-live-btn {
    margin: 0 auto !important;
}

/* ============================================ */
/* ===== SERVICE ID — Warna Oranye ===== */
/* ============================================ */

.sr-log-serviceid {
    color: #FB923C !important;
    font-weight: 700 !important;
}

/* ============================================ */
/* ===== SPINNER LOADING di Log Modal ===== */
/* ============================================ */

.sr-log-spinner {
    display: inline-block !important;
    width: 12px !important;
    height: 12px !important;
    border: 2px solid rgba(96, 165, 250, 0.25) !important;
    border-top-color: #60A5FA !important;
    border-radius: 50% !important;
    animation: sr-spin 0.8s linear infinite !important;
    vertical-align: middle !important;
    margin-right: 6px !important;
    margin-top: -2px !important;
}

@keyframes sr-spin {
    to { transform: rotate(360deg); }
}

/* ============================================ */
/* ===== LOG MODAL — JARAK VERTIKAL RAPAT ===== */
/* ============================================ */

.sr-log-console {
    padding: 12px 16px !important;
    line-height: 1 !important;
}

.sr-log-console .sr-log-line {
    display: block !important;
    line-height: 1 !important;
    margin: 0 !important;
    padding: 0 !important;
}

.sr-log-console .sr-log-line + .sr-log-line {
    margin-top: 0 !important;
}

.sr-log-console span {
    line-height: 1 !important;
}

/* Hapus line break yang tidak perlu */
.sr-log-console br {
    display: none !important;
    line-height: 0 !important;
    margin: 0 !important;
}

/* ============================================ */
/* ===== MODAL LOG — MOBILE SCROLL HORIZONTAL ===== */
/* ============================================ */

@media (max-width: 768px) {

    /* Modal box: full width di mobile */
    .sr-log-modal-overlay {
        padding: 10px !important;
    }

    .sr-log-modal-box {
        max-width: 100% !important;
        width: 100% !important;
        max-height: 90vh !important;
    }

    /* Body modal: scroll horizontal + vertikal */
    .sr-log-modal-body {
        overflow-x: auto !important;
        overflow-y: auto !important;
        -webkit-overflow-scrolling: touch !important;
    }

    /* Console: jangan wrap, biar bisa geser */
    .sr-log-console {
        white-space: nowrap !important;
        overflow-x: auto !important;
        min-width: max-content !important;
        padding: 10px 12px !important;
        font-size: 11px !important;
        line-height: 1.5 !important;
    }

    /* Setiap baris: jangan wrap */
    .sr-log-line {
        white-space: nowrap !important;
        display: block !important;
    }

    /* Spinner tetap inline */
    .sr-log-spinner {
        display: inline-block !important;
        vertical-align: middle !important;
    }

    /* Scrollbar tipis */
    .sr-log-modal-body::-webkit-scrollbar,
    .sr-log-console::-webkit-scrollbar {
        height: 6px;
        width: 6px;
    }
    .sr-log-modal-body::-webkit-scrollbar-thumb,
    .sr-log-console::-webkit-scrollbar-thumb {
        background: #475569;
        border-radius: 3px;
    }
    .sr-log-modal-body::-webkit-scrollbar-track,
    .sr-log-console::-webkit-scrollbar-track {
        background: transparent;
    }

    /* Header modal: tetap rapi di mobile */
    .sr-log-modal-header {
        padding: 10px 12px !important;
    }

    .sr-log-modal-title {
        font-size: 12px !important;
    }

    /* Footer progress: tetap rapi */
    .sr-log-modal-footer {
        padding: 10px 12px !important;
    }

    .sr-progress-text {
        font-size: 11px !important;
    }
}

/* ============================================ */
/* ===== MOBILE: SAMAKAN JARAK DENGAN DESKTOP ===== */
/* ============================================ */

@media (max-width: 768px) {

    /* Console: line-height sama dengan desktop */
    .sr-log-console {
        line-height: 1.75 !important;
        font-size: 12.5px !important;
        padding: 16px 20px !important;
    }

    /* Setiap baris: line-height normal */
    .sr-log-line {
        line-height: 1.75 !important;
        padding: 1px 0 !important;
        margin: 0 !important;
    }

    /* Span di dalam: line-height normal */
    .sr-log-console span {
        line-height: 1.75 !important;
    }
}

/* ============================================ */
/* ===== SERVICE FULL — Warna Oranye + Potong 50 ===== */
/* ============================================ */

.sr-log-servicefull {
    color: #FB923C !important;
    font-weight: 700 !important;
}

/* ===== Footer background = sama dengan title bar ===== */
.sr-log-modal-footer {
    background: #2C2C2E !important;
    border-top: 1px solid #1A1A1A !important;
}

/* Hapus kotak putih di pojok modal (scrollbar corner) */
.sr-log-modal-body::-webkit-scrollbar-corner {
    background: transparent !important;
    display: none !important;
}

/* ============================================ */
/* ===== PAKSA TINGGI MODAL LOG KONSISTEN ===== */
/* ============================================ */

.sr-log-modal-box {
    height: 85vh !important;
    max-height: 85vh !important;
    min-height: 85vh !important;
}

.sr-log-modal-body {
    min-height: 0 !important;
}

/* Mobile: biar tetap full */
@media (max-width: 768px) {
    .sr-log-modal-box {
        height: 90vh !important;
        max-height: 90vh !important;
        min-height: 90vh !important;
    }
}

/* ============================================ */
/* ===== LIVE STATS — Start time & Speed ===== */
/* ============================================ */

.sr-live-stats {
    padding-bottom: 14px;
    margin-bottom: 14px;
    border-bottom: 1px solid #F3F4F6;
    font-family: 'Inter', sans-serif;
}

.sr-live-stats-label {
    font-size: 10.5px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #9CA3AF;
    margin-bottom: 6px;
}

.sr-live-stats-main {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 2px;
}

.sr-live-stats-main strong {
    font-size: 14px;
    font-weight: 700;
    color: #1A1D29;
}

.sr-live-dot {
    width: 8px;
    height: 8px;
    background: #16A34A;
    border-radius: 50%;
    flex-shrink: 0;
    box-shadow: 0 0 0 3px rgba(22, 163, 74, 0.15);
    animation: sr-pulse 2s ease-in-out infinite;
}

@keyframes sr-pulse {
    0%, 100% { box-shadow: 0 0 0 3px rgba(22, 163, 74, 0.15); }
    50% { box-shadow: 0 0 0 6px rgba(22, 163, 74, 0.05); }
}

.sr-live-stats-time {
    font-size: 12px;
    color: #6B7280;
    font-weight: 500;
    margin-bottom: 12px;
    font-variant-numeric: tabular-nums;
}

.sr-live-stats-info {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.sr-live-stats-row {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
}

.sr-live-stats-row .sr-label {
    color: #6B7280;
    font-weight: 500;
    min-width: 130px;
}

.sr-live-stats-row .sr-value {
    color: #1A1D29;
    font-weight: 700;
    font-variant-numeric: tabular-nums;
}

.sr-live-stats-row .sr-value.highlight {
    color: #16A34A;
}

/* ============================================ */
/* ===== TOPBAR — RAPIKAN JARAK & SEJAJARKAN ===== */
/* ============================================ */

/* Parent topbar kanan: flex, align center, gap rapat */
.sr-topbar-right {
    display: flex !important;
    align-items: center !important;
    gap: 4px !important;
    line-height: 1 !important;
}

/* Semua wrapper icon: paksa tinggi sama, center */
.sr-help-wrap,
.sr-notif-wrap {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    height: 32px !important;
    min-height: 32px !important;
    max-height: 32px !important;
    margin: 0 !important;
    padding: 0 !important;
    vertical-align: middle !important;
    line-height: 32px !important;
}

/* Tombol icon: 32×32, center sempurna */
.sr-help-btn,
.sr-notif-btn {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 32px !important;
    height: 32px !important;
    min-height: 32px !important;
    max-height: 32px !important;
    padding: 0 !important;
    margin: 0 !important;
    line-height: 1 !important;
    vertical-align: middle !important;
    position: relative !important;
    top: 0 !important;
    transform: none !important;
}

/* SVG icon: paksa rata tengah vertikal + horizontal */
.sr-help-btn svg,
.sr-notif-btn svg {
    display: block !important;
    margin: 0 auto !important;
    position: static !important;
    top: 0 !important;
    left: 0 !important;
    transform: none !important;
    vertical-align: middle !important;
}

/* Path SVG: tidak ada transform */
.sr-help-btn svg path,
.sr-notif-btn svg path {
    transform: none !important;
}

/* ===== GESER icon ❓ ke BAWAH ===== */
.sr-help-btn svg,
.sr-help-btn .nav-icon {
    position: relative !important;
    top: 1px !important;
}

/* Balance dropdown & avatar dropdown: tinggi sama */
.sr-balance-dropdown,
.sr-avatar-dropdown {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    height: 32px !important;
    min-height: 32px !important;
    max-height: 32px !important;
    margin: 0 !important;
    padding: 0 !important;
    vertical-align: middle !important;
    line-height: 1 !important;
}

/* Balance pill: tinggi sama, center */
.sr-balance-pill {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    height: 32px !important;
    min-height: 32px !important;
    max-height: 32px !important;
    line-height: 1 !important;
    margin: 0 !important;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
    vertical-align: middle !important;
}

/* Avatar: tinggi sama, center */
.sr-avatar {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 32px !important;
    height: 32px !important;
    min-height: 32px !important;
    max-height: 32px !important;
    padding: 0 !important;
    margin: 0 !important;
    vertical-align: middle !important;
    line-height: 1 !important;
    position: relative !important;
    top: 0 !important;
}

/* Avatar SVG: rata tengah */
.sr-avatar svg {
    display: block !important;
    margin: 0 auto !important;
    vertical-align: middle !important;
    position: static !important;
    top: 0 !important;
}

/* ===== AVATAR UKURAN PAS ===== */
.sr-avatar svg,
.sr-avatar .nav-icon,
.sr-avatar i.fas,
.sr-avatar i.fa,
.sr-avatar i.fa-user-circle {
    transform: scale(0.92) !important;
    transform-origin: center center !important;
    display: inline-block !important;
}

/* ===== GESER AVATAR KE BAWAH SEDIKIT ===== */
.sr-avatar {
    position: relative !important;
    top: 0 !important;
}

.sr-avatar svg,
.sr-avatar .nav-icon,
.sr-avatar i.fas,
.sr-avatar i.fa {
    position: relative !important;
    top: -0.2px !important;
}

/* ============================================ */
/* ===== WARNA ICON LONCENG 🔔 ===== */
/* ============================================ */

/* Default: abu terang */
.sr-notif-btn {
    color: #9CA3AF !important;
}

.sr-notif-btn svg {
    fill: #9CA3AF !important;
    color: inherit !important;
}

/* Hover: agak gelap dikit */
.sr-notif-btn:hover {
    color: #6B7280 !important;
}

.sr-notif-btn:hover svg {
    fill: #6B7280 !important;
}

/* Active / diklik: hitam */
.sr-notif-btn:active,
.sr-notif-btn.active,
.sr-notif-btn.open {
    color: #111827 !important;
}

.sr-notif-btn:active svg,
.sr-notif-btn.active svg,
.sr-notif-btn.open svg {
    fill: #111827 !important;
}

