/* Modernized account-adjacent page refreshes */

.balance-page .page-header {
  border-bottom: 0;
  margin: 0 0 18px;
}

.marketplace-list-page .page-header {
    border-bottom: 0;
    margin: 0 0 18px;
}

.pools-page .page-header {
    border-bottom: 0;
    margin: 0 0 18px;
}

.pools-page .page-header h1 {
    display: flex;
    float: none !important;
    font-size: 32px;
    font-weight: 700;
    margin: 0;
}

.pools-page .pools-intro {
    color: #6a7480;
    font-size: 15px;
    line-height: 1.6;
    margin: 10px 0 0;
    max-width: 820px;
}

.pools-page .box {
    border: 1px solid #dbe5ef;
    border-radius: 16px;
    box-shadow: 0 12px 28px rgba(32, 50, 70, 0.08);
    margin-bottom: 24px;
    overflow: hidden;
}

.pools-page .box .header-box {
    background: #fafcff;
    border-bottom: 1px solid #e3ebf3;
    padding: 0;
}

.pools-page .box .header-box .title {
    color: #203246;
    font-size: 20px;
    font-weight: 700;
    line-height: 1.35;
    padding: 20px 24px;
}

.pools-page .box > .box-content {
    background: #fafcff;
    border: 0;
    padding: 24px;
}

.pools-page .pools-callout-copy {
    color: #5f6f80;
    font-size: 15px;
    line-height: 1.7;
    margin: 0 0 18px;
}

.pools-page .pools-callout-title {
    color: #203246;
    font-size: 20px;
    font-weight: 700;
    line-height: 1.4;
    margin: 0 0 14px;
}

.pools-page .pools-callout-box ul {
    color: #4b5663;
    margin-bottom: 0;
    padding-left: 20px;
}

.pools-page .pools-logo-grid {
    margin-bottom: -8px;
}

.pools-page .pools-logo-cell {
    padding-bottom: 8px;
}

.pools-page .pools-logo-link {
    align-items: center;
    background: #fff;
    border: 1px solid #e3ebf3;
    border-radius: 14px;
    display: flex;
    justify-content: center;
    min-height: 170px;
    padding: 18px;
    transition: border-color 0.15s ease, box-shadow 0.15s ease, transform 0.15s ease;
}

.pools-page .pools-logo-link:hover,
.pools-page .pools-logo-link:focus {
    border-color: #bfd0e3;
    box-shadow: 0 12px 24px rgba(32, 50, 70, 0.08);
    text-decoration: none;
    transform: translateY(-1px);
}

body[data-mrrtheme="dark"] .pools-page .box {
    border-color: #cfd7df;
    box-shadow: 0 10px 24px rgba(31, 53, 72, 0.08);
}

body[data-mrrtheme="dark"] .pools-page .box .header-box,
body[data-mrrtheme="dark"] .pools-page .box > .box-content {
    background: #eef1f4;
}

body[data-mrrtheme="dark"] .pools-page .box .header-box {
    border-bottom-color: #cfd7df;
}

body[data-mrrtheme="dark"] .pools-page .box .header-box .title,
body[data-mrrtheme="dark"] .pools-page .pools-callout-title {
    color: #203246;
}

body[data-mrrtheme="dark"] .pools-page .pools-intro,
body[data-mrrtheme="dark"] .pools-page .pools-callout-copy,
body[data-mrrtheme="dark"] .pools-page .pools-callout-box ul {
    color: #6a7480;
}

body[data-mrrtheme="dark"] .pools-page .pools-logo-link {
    background: #f6f8fb;
    border-color: #cfd7df;
}

body[data-mrrtheme="night"] .pools-page .box {
    border-color: #3a4148;
    box-shadow: 0 12px 26px rgba(0, 0, 0, 0.3);
}

body[data-mrrtheme="night"] .pools-page .box .header-box,
body[data-mrrtheme="night"] .pools-page .box > .box-content {
    background: #24282d;
}

body[data-mrrtheme="night"] .pools-page .box .header-box {
    border-bottom-color: #3a4148;
}

body[data-mrrtheme="night"] .pools-page .box .header-box .title,
body[data-mrrtheme="night"] .pools-page .pools-callout-title {
    color: #eef2f5;
}

body[data-mrrtheme="night"] .pools-page .pools-intro,
body[data-mrrtheme="night"] .pools-page .pools-callout-copy,
body[data-mrrtheme="night"] .pools-page .pools-callout-box ul {
    color: #a0aab4;
}

body[data-mrrtheme="night"] .pools-page .pools-logo-link {
    background: #2b3036;
    border-color: #3a4148;
}

body[data-mrrtheme="night"] .pools-page .pools-logo-link:hover,
body[data-mrrtheme="night"] .pools-page .pools-logo-link:focus {
    border-color: #50575f;
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.24);
}


@media (min-width: 768px) and (max-width: 991px) {
  .rig-detail-page.rig-detail-owner-page .rig-detail-title-actions.rig-detail-owner-status {
    align-items: stretch;
    flex-direction: row;
    min-width: 320px;
  }

  .rig-detail-page.rig-detail-owner-page .rig-detail-owner-status .rig-detail-status-pill,
  .rig-detail-page.rig-detail-owner-page .rig-detail-owner-status .rig-detail-rental-state {
    flex: 1 1 0;
    min-width: 145px;
    width: auto;
  }
}
@media (max-width: 767px) {
    .pools-page .box .header-box .title,
    .pools-page .box > .box-content {
        padding: 16px;
    }

    .pools-page .page-header h1 {
        font-size: 28px;
    }

    .pools-page .pools-logo-link {
        min-height: 140px;
        padding: 16px;
    }
}

.marketplace-list-page .page-header h1 {
    color: #10233f;
    display: flex;
    float: none !important;
    font-size: 32px;
    font-weight: 700;
    gap: 10px;
    margin: 0;
}

.marketplace-list-page .marketplace-intro {
    color: #5f6f80;
    font-size: 15px;
    line-height: 1.7;
    margin: 12px 0 0;
    max-width: 860px;
}

.marketplace-list-page .marketplace-status-stack {
    margin-bottom: 18px;
}

.marketplace-list-page .marketplace-status-stack .alert {
    border-radius: 14px;
}

.marketplace-list-page .marketplace-register-hero {
    align-items: center;
    background: linear-gradient(180deg, #ffffff 0%, #f6f9ff 100%);
    border: 1px solid #d9e3f2;
    border-left: 4px solid #2a7ae2;
    border-radius: 18px;
    box-shadow: 0 14px 34px rgba(16, 35, 63, 0.08);
    display: grid;
    gap: 18px;
    grid-template-columns: auto minmax(0, 1fr);
    margin-bottom: 18px;
    padding: 18px 20px;
}

.marketplace-list-page .marketplace-register-hero-icon {
    align-items: center;
    background: #eaf3ff;
    border: 1px solid #cfe2ff;
    border-radius: 14px;
    color: #2a7ae2;
    display: flex;
    font-size: 22px;
    height: 50px;
    justify-content: center;
    width: 50px;
}

.marketplace-list-page .marketplace-register-kicker {
    color: #5f6f85;
    display: block;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.08em;
    margin-bottom: 5px;
    text-transform: uppercase;
}

.marketplace-list-page .marketplace-register-hero h2 {
    color: #10233f;
    font-size: 20px;
    font-weight: 700;
    line-height: 1.25;
    margin: 0;
}

.marketplace-list-page .marketplace-register-hero p {
    color: #5f6f85;
    line-height: 1.55;
    margin: 6px 0 0;
}

.marketplace-list-page .marketplace-register-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: flex-start;
    margin-top: 12px;
}

.marketplace-list-page .marketplace-stat-card {
    background: linear-gradient(180deg, #ffffff 0%, #f6f9ff 100%);
    border: 1px solid #d9e3f2;
    border-left-width: 4px;
    border-radius: 18px;
    box-shadow: 0 14px 34px rgba(16, 35, 63, 0.08);
    padding: 18px 18px 16px;
}

.marketplace-list-page .market-stat-active {
    border-left-color: #2f9e44;
}

.marketplace-list-page .market-stat-rentals {
    border-left-color: #3c8dbc;
}

.marketplace-list-page .market-stat-rigs {
    border-left-color: #8a6d3b;
}

.marketplace-list-page .market-stat-quiet {
    border-left-color: #d58512;
}

.marketplace-list-page .marketplace-stat-card .title {
    color: #10233f !important;
    font-size: 26px;
    font-weight: 700;
    letter-spacing: -0.02em;
}

.marketplace-list-page .marketplace-stat-card small {
    color: #5f6f85;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.marketplace-list-page .marketplace-explorer-box.box {
    border: 1px solid #d9e3f2;
    border-radius: 18px;
    box-shadow: 0 16px 40px rgba(16, 35, 63, 0.08);
    overflow: hidden;
}

.marketplace-list-page .marketplace-explorer-box .header-box {
    background: #fafcff;
    border-bottom: 1px solid #d9e3f2;
    padding: 0;
}

.marketplace-list-page .marketplace-explorer-box .header-box .title {
    color: #10233f;
    font-weight: 700;
    letter-spacing: -0.02em;
    padding: 20px 24px;
}

.marketplace-list-page .marketplace-explorer-box > .box-content {
    background: #fff;
}

.marketplace-list-page .market-toolbar {
    background: linear-gradient(180deg, rgba(248, 251, 255, 0.95) 0%, rgba(255, 255, 255, 0.98) 100%);
    border-bottom: 1px solid #e0e8f3;
    padding: 14px 16px;
}

.marketplace-list-page .market-filter-buttons .btn {
    border-radius: 999px;
    font-weight: 600;
}

.marketplace-list-page .market-currency-actions {
    border-left-color: #d9e3f2;
}

.marketplace-list-page .market-currency-label,
.marketplace-list-page .market-updated,
.marketplace-list-page .market-subline,
.marketplace-list-page .market-cell-subline,
.marketplace-list-page .market-price-line .market-price-label {
    color: #5f6f85;
}

.marketplace-list-page .market-currency-actions .btn-icon-only {
    border-radius: 12px;
}

.marketplace-list-page .market-live-activity {
    background: #f8fbff;
    border-top-color: #e0e8f3;
    padding: 10px 12px;
}

.marketplace-list-page .market-live-activity-item {
    border-radius: 999px;
}

.marketplace-list-page .market-table-enhancing,
.marketplace-list-page #riglist {
    background: #fff;
}

.marketplace-list-page .marketplace-table > thead > tr > th {
    background: #f5f8fc;
    border-bottom: 1px solid #d9e3f2;
    color: #4b5d73;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.marketplace-list-page .marketplace-table > tbody > tr > td {
    border-color: #e7edf5;
    padding-bottom: 14px;
    padding-top: 14px;
    vertical-align: middle;
}

.marketplace-list-page .market-name {
    color: #10233f;
}

body[data-mrrtheme="dark"] .marketplace-list-page .page-header h1,
body[data-mrrtheme="dark"] .marketplace-list-page .marketplace-stat-card .title,
body[data-mrrtheme="dark"] .marketplace-list-page .marketplace-explorer-box .header-box .title,
body[data-mrrtheme="dark"] .marketplace-list-page .marketplace-register-hero h2,
body[data-mrrtheme="dark"] .marketplace-list-page .market-name,
body[data-mrrtheme="dark"] .marketplace-list-page .marketplace-table > tbody > tr > td,
body[data-mrrtheme="dark"] .marketplace-list-page .marketplace-table > tbody > tr > td a {
    color: #203246 !important;
}

body[data-mrrtheme="dark"] .marketplace-list-page .marketplace-intro,
body[data-mrrtheme="dark"] .marketplace-list-page .market-currency-label,
body[data-mrrtheme="dark"] .marketplace-list-page .market-updated,
body[data-mrrtheme="dark"] .marketplace-list-page .market-subline,
body[data-mrrtheme="dark"] .marketplace-list-page .market-cell-subline,
body[data-mrrtheme="dark"] .marketplace-list-page .market-price-line .market-price-label,
body[data-mrrtheme="dark"] .marketplace-list-page .marketplace-register-kicker,
body[data-mrrtheme="dark"] .marketplace-list-page .marketplace-register-hero p,
body[data-mrrtheme="dark"] .marketplace-list-page .marketplace-stat-card small {
    color: #6a7480 !important;
}

body[data-mrrtheme="dark"] .marketplace-list-page .marketplace-stat-card,
body[data-mrrtheme="dark"] .marketplace-list-page .marketplace-register-hero,
body[data-mrrtheme="dark"] .marketplace-list-page .marketplace-explorer-box.box {
    border-color: #cfd7df;
    box-shadow: 0 10px 24px rgba(31, 53, 72, 0.08);
}

body[data-mrrtheme="dark"] .marketplace-list-page .marketplace-register-hero-icon {
    background: #f6f8fb;
    border-color: #cfd7df;
}

body[data-mrrtheme="dark"] .marketplace-list-page .market-stat-active {
    border-left-color: #2f9e44;
}

body[data-mrrtheme="dark"] .marketplace-list-page .market-stat-rentals {
    border-left-color: #3c8dbc;
}

body[data-mrrtheme="dark"] .marketplace-list-page .market-stat-rigs {
    border-left-color: #8a6d3b;
}

body[data-mrrtheme="dark"] .marketplace-list-page .market-stat-quiet {
    border-left-color: #d58512;
}

body[data-mrrtheme="dark"] .marketplace-list-page .marketplace-explorer-box .header-box,
body[data-mrrtheme="dark"] .marketplace-list-page .marketplace-explorer-box > .box-content,
body[data-mrrtheme="dark"] .marketplace-list-page .marketplace-register-hero,
body[data-mrrtheme="dark"] .marketplace-list-page .marketplace-stat-card,
body[data-mrrtheme="dark"] .marketplace-list-page .market-toolbar,
body[data-mrrtheme="dark"] .marketplace-list-page .market-live-activity,
body[data-mrrtheme="dark"] .marketplace-list-page .market-table-enhancing,
body[data-mrrtheme="dark"] .marketplace-list-page #riglist {
    background: #eef1f4;
}

body[data-mrrtheme="dark"] .marketplace-list-page .marketplace-explorer-box .header-box,
body[data-mrrtheme="dark"] .marketplace-list-page .market-toolbar,
body[data-mrrtheme="dark"] .marketplace-list-page .market-live-activity,
body[data-mrrtheme="dark"] .marketplace-list-page .market-currency-actions,
body[data-mrrtheme="dark"] .marketplace-list-page .marketplace-table > thead > tr > th,
body[data-mrrtheme="dark"] .marketplace-list-page .marketplace-table > tbody > tr > td {
    border-color: #cfd7df;
}

body[data-mrrtheme="dark"] .marketplace-list-page .marketplace-table > thead > tr > th {
    background: rgba(42, 122, 226, 0.04);
    color: #4b5663;
}

body[data-mrrtheme="dark"] .marketplace-list-page .market-filter-buttons .btn.btn-default,
body[data-mrrtheme="dark"] .marketplace-list-page .market-currency-actions .btn.btn-default {
    background: #f6f8fb;
    border-color: #cfd7df;
    color: #405669;
}

body[data-mrrtheme="dark"] .marketplace-list-page .market-filter-buttons .btn.btn-default:hover,
body[data-mrrtheme="dark"] .marketplace-list-page .market-filter-buttons .btn.btn-default:focus,
body[data-mrrtheme="dark"] .marketplace-list-page .market-currency-actions .btn.btn-default:hover,
body[data-mrrtheme="dark"] .marketplace-list-page .market-currency-actions .btn.btn-default:focus {
    background: #e8edf3;
    border-color: #bfcbd8;
    color: #284d74;
}

body[data-mrrtheme="dark"] .marketplace-list-page .market-filter-buttons .btn.btn-primary,
body[data-mrrtheme="dark"] .marketplace-list-page .market-currency-actions .btn.btn-primary,
body[data-mrrtheme="dark"] .marketplace-list-page .pagination > .active > a,
body[data-mrrtheme="dark"] .marketplace-list-page .pagination > .active > span {
    background: #2a7ae2;
    border-color: #1f5ea8;
    color: #fff;
}

body[data-mrrtheme="night"] .marketplace-list-page .page-header h1,
body[data-mrrtheme="night"] .marketplace-list-page .marketplace-stat-card .title,
body[data-mrrtheme="night"] .marketplace-list-page .marketplace-explorer-box .header-box .title,
body[data-mrrtheme="night"] .marketplace-list-page .marketplace-register-hero h2,
body[data-mrrtheme="night"] .marketplace-list-page .market-name,
body[data-mrrtheme="night"] .marketplace-list-page .marketplace-table > tbody > tr > td,
body[data-mrrtheme="night"] .marketplace-list-page .marketplace-table > tbody > tr > td a {
    color: #eef2f5 !important;
}

body[data-mrrtheme="night"] .marketplace-list-page .marketplace-intro,
body[data-mrrtheme="night"] .marketplace-list-page .market-currency-label,
body[data-mrrtheme="night"] .marketplace-list-page .market-updated,
body[data-mrrtheme="night"] .marketplace-list-page .market-subline,
body[data-mrrtheme="night"] .marketplace-list-page .market-cell-subline,
body[data-mrrtheme="night"] .marketplace-list-page .market-price-line .market-price-label,
body[data-mrrtheme="night"] .marketplace-list-page .marketplace-register-kicker,
body[data-mrrtheme="night"] .marketplace-list-page .marketplace-register-hero p,
body[data-mrrtheme="night"] .marketplace-list-page .marketplace-stat-card small {
    color: #a0aab4 !important;
}

body[data-mrrtheme="night"] .marketplace-list-page .marketplace-stat-card,
body[data-mrrtheme="night"] .marketplace-list-page .marketplace-register-hero,
body[data-mrrtheme="night"] .marketplace-list-page .marketplace-explorer-box.box {
    border-color: #3a4148;
    box-shadow: 0 12px 26px rgba(0, 0, 0, 0.3);
}

body[data-mrrtheme="night"] .marketplace-list-page .marketplace-register-hero-icon {
    background: #2b3036;
    border-color: #3a4148;
}

body[data-mrrtheme="night"] .marketplace-list-page .market-stat-active {
    border-left-color: #2f9e44;
}

body[data-mrrtheme="night"] .marketplace-list-page .market-stat-rentals {
    border-left-color: #3c8dbc;
}

body[data-mrrtheme="night"] .marketplace-list-page .market-stat-rigs {
    border-left-color: #8a6d3b;
}

body[data-mrrtheme="night"] .marketplace-list-page .market-stat-quiet {
    border-left-color: #d58512;
}

body[data-mrrtheme="night"] .marketplace-list-page .marketplace-explorer-box .header-box,
body[data-mrrtheme="night"] .marketplace-list-page .marketplace-explorer-box > .box-content,
body[data-mrrtheme="night"] .marketplace-list-page .marketplace-register-hero,
body[data-mrrtheme="night"] .marketplace-list-page .marketplace-stat-card,
body[data-mrrtheme="night"] .marketplace-list-page .market-toolbar,
body[data-mrrtheme="night"] .marketplace-list-page .market-live-activity,
body[data-mrrtheme="night"] .marketplace-list-page .market-table-enhancing,
body[data-mrrtheme="night"] .marketplace-list-page #riglist {
    background: #24282d;
}

body[data-mrrtheme="night"] .marketplace-list-page .marketplace-explorer-box .header-box,
body[data-mrrtheme="night"] .marketplace-list-page .market-toolbar,
body[data-mrrtheme="night"] .marketplace-list-page .market-live-activity,
body[data-mrrtheme="night"] .marketplace-list-page .market-currency-actions,
body[data-mrrtheme="night"] .marketplace-list-page .marketplace-table > thead > tr > th,
body[data-mrrtheme="night"] .marketplace-list-page .marketplace-table > tbody > tr > td {
    border-color: #3a4148;
}

body[data-mrrtheme="night"] .marketplace-list-page .marketplace-table > thead > tr > th {
    background: #2b3036;
    color: #9ba8b5;
}

body[data-mrrtheme="night"] .marketplace-list-page .market-filter-buttons .btn.btn-default,
body[data-mrrtheme="night"] .marketplace-list-page .market-currency-actions .btn.btn-default,
body[data-mrrtheme="night"] .marketplace-list-page .pagination > li > a,
body[data-mrrtheme="night"] .marketplace-list-page .pagination > li > span {
    background: #24282d;
    border-color: #3a4148;
    color: #d8dde2;
}

body[data-mrrtheme="night"] .marketplace-list-page .market-filter-buttons .btn.btn-default:hover,
body[data-mrrtheme="night"] .marketplace-list-page .market-filter-buttons .btn.btn-default:focus,
body[data-mrrtheme="night"] .marketplace-list-page .market-currency-actions .btn.btn-default:hover,
body[data-mrrtheme="night"] .marketplace-list-page .market-currency-actions .btn.btn-default:focus,
body[data-mrrtheme="night"] .marketplace-list-page .pagination > li > a:hover,
body[data-mrrtheme="night"] .marketplace-list-page .pagination > li > span:hover {
    background: #373d43;
    border-color: #50575f;
    color: #fff;
}

body[data-mrrtheme="night"] .marketplace-list-page .market-filter-buttons .btn.btn-primary,
body[data-mrrtheme="night"] .marketplace-list-page .market-currency-actions .btn.btn-primary,
body[data-mrrtheme="night"] .marketplace-list-page .pagination > .active > a,
body[data-mrrtheme="night"] .marketplace-list-page .pagination > .active > span {
    background: #2a7ae2;
    border-color: #2a7ae2;
    color: #fff;
}

body[data-mrrtheme="night"] .marketplace-list-page .market-live-activity-item {
    background: #2b3036;
    border-left-color: #3a4148;
    color: #eef2f5;
}

body[data-mrrtheme="night"] .marketplace-list-page .marketplace-table .table-striped > tbody > tr:nth-of-type(odd) {
    background-color: rgba(255, 255, 255, 0.025);
}

body[data-mrrtheme="night"] .marketplace-list-page .marketplace-table.table-hover > tbody > tr:hover,
body[data-mrrtheme="night"] .marketplace-list-page .dataTable tbody tr:hover {
    background-color: rgba(94, 160, 255, 0.08);
}


@media (min-width: 768px) and (max-width: 991px) {
  .rig-detail-page.rig-detail-owner-page .rig-detail-title-actions.rig-detail-owner-status {
    align-items: stretch;
    flex-direction: row;
    min-width: 320px;
  }

  .rig-detail-page.rig-detail-owner-page .rig-detail-owner-status .rig-detail-status-pill,
  .rig-detail-page.rig-detail-owner-page .rig-detail-owner-status .rig-detail-rental-state {
    flex: 1 1 0;
    min-width: 145px;
    width: auto;
  }
}
@media (max-width: 767px) {
    .marketplace-list-page .page-header h1 {
        font-size: 28px;
    }

    .marketplace-list-page .marketplace-intro {
        font-size: 14px;
    }

    .marketplace-list-page .marketplace-register-hero {
        align-items: flex-start;
        grid-template-columns: 1fr;
    }

    .marketplace-list-page .marketplace-register-actions {
        justify-content: flex-start;
        width: 100%;
    }

    .marketplace-list-page .marketplace-register-actions .btn {
        flex: 1 1 150px;
    }

    .marketplace-list-page .marketplace-stat-card {
        min-height: 0;
    }
}

.balance-page .page-header h1 {
  display: flex;
  float: none !important;
  font-size: 32px;
  font-weight: 700;
  margin: 0;
}

.balance-page .balance-kicker {
  color: #5e7388;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  margin-bottom: 10px;
  text-transform: uppercase;
}

.balance-page .balance-intro {
  color: #5f6f80;
  font-size: 15px;
  line-height: 1.7;
  margin: 12px 0 0;
  max-width: 820px;
}

.balance-page .balance-status-stack {
  margin-bottom: 18px;
}

.balance-page .balance-status-stack .alert + .alert {
  margin-top: 10px;
}

.balance-page .balance-account-nav {
  margin-bottom: 16px;
}

.balance-page .balance-coin-nav {
  margin-bottom: 18px;
}

.balance-page .box.balance-box-floating {
  border-radius: 16px;
  overflow: visible;
  position: relative;
  z-index: 30;
}

.balance-page .box.balance-box-floating > .header-box {
  border-radius: 16px 16px 0 0;
}

.balance-page .box.balance-box-floating > .box-content {
  border-radius: 0 0 16px 16px;
  overflow: visible;
}

.balance-page .tab-pane > .col-sm-12 {
  padding-left: 0;
  padding-right: 0;
}

.balance-page .box {
  border: 1px solid #dbe5ef;
  border-radius: 16px;
  box-shadow: 0 12px 28px rgba(32, 50, 70, 0.08);
  margin-bottom: 24px;
  overflow: hidden;
}

.balance-page .box .header-box {
  background: #fafcff;
  border-bottom: 1px solid #e3ebf3;
  padding: 0;
}

.balance-page .box .header-box .title {
  color: #203246;
  font-size: 20px;
  font-weight: 700;
  line-height: 1.35;
  padding: 20px 24px;
}

.balance-page .box > .box-content {
  background: #fafcff;
  padding: 24px;
}

.balance-page .box-content > .col-sm-12,
.balance-page .box-content > .col-lg-9,
.balance-page .box-content > .col-lg-3 {
  padding-left: 0;
  padding-right: 0;
}

.balance-page .list-group {
  margin-bottom: 0;
}

.balance-page .list-group-item {
  border: 1px solid #e1e8f0;
  border-radius: 14px;
  margin-bottom: 10px;
  padding: 16px 18px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.balance-page .list-group-item:last-child {
  margin-bottom: 0;
}

.balance-page .list-group-item:hover,
.balance-page .list-group-item:focus {
  border-color: #c8d8ea;
  box-shadow: 0 8px 20px rgba(42, 122, 226, 0.08);
  transform: translateY(-1px);
}

.balance-page .list-group-item h4 {
  font-size: 15px;
  font-weight: 600;
  line-height: 1.6;
  margin: 0;
}

.balance-page .list-group-item table {
  table-layout: fixed;
}

.balance-page .list-group-item td {
  vertical-align: middle;
  word-break: break-word;
}

.balance-page .balance-activity-list {
  max-height: 1075px;
  overflow-y: auto;
  padding-right: 8px;
}

.balance-page .balance-activity-list.is-loading:after {
  content: "Loading more activity...";
  display: block;
  font-size: 12px;
  font-weight: 700;
  padding: 10px 0;
  text-align: center;
  text-transform: uppercase;
}

.balance-page .balance-activity-row {
  align-items: center;
  display: flex;
  gap: 16px;
}

.balance-page .balance-activity-date {
  flex: 0 0 110px;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
}

.balance-page .balance-activity-main {
  align-items: center;
  display: flex;
  flex: 1 1 auto;
  gap: 12px;
  min-width: 0;
}

.balance-page .balance-activity-icon-box {
  align-items: center;
  border: 1px solid rgba(255, 255, 255, 0.64);
  border-radius: 14px;
  box-shadow: 0 10px 22px rgba(23, 48, 74, 0.14);
  color: #123224;
  display: inline-flex;
  flex: 0 0 42px;
  height: 36px;
  justify-content: center;
  width: 42px;
}

.balance-page .balance-activity-icon-box.is-complete {
  background: linear-gradient(135deg, #d7f8dc, #75d489);
}

.balance-page .balance-activity-icon-box.is-pending {
  background: linear-gradient(135deg, #fff2bd, #f5c84b);
  color: #4b3510;
}

.balance-page .balance-activity-icon-box i {
  font-size: 18px;
}

.balance-page .balance-activity-copy {
  min-width: 0;
}

.balance-page .balance-activity-title {
  display: block;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.35;
}

.balance-page .balance-activity-status {
  display: block;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.4;
  text-transform: uppercase;
}

.balance-page .balance-activity-amount {
  flex: 0 0 220px;
  font-weight: 800;
  text-align: right;
}

.balance-page .progress {
  background: #e8eef5;
  border-radius: 999px;
  height: 20px;
  margin-bottom: 0;
  overflow: hidden;
  position: relative;
}

.balance-page .progress-bar {
  line-height: 20px;
}

.balance-page .balance-progress-label {
  color: #0f2235;
  font-size: 12px;
  font-weight: 700;
  left: 0;
  line-height: 20px;
  pointer-events: none;
  position: absolute;
  right: 0;
  text-align: center;
  top: 0;
}

.balance-page .dropdown {
  margin-top: 6px;
  position: relative;
  z-index: 25;
}

.balance-page .dropdown .btn {
  min-width: 100%;
}

.balance-page .dropdown-menu {
  left: 0;
  max-height: 320px;
  min-width: 100%;
  overflow-x: hidden;
  overflow-y: auto;
  right: 0;
  z-index: 35;
}

.balance-page .balance-converter {
  margin-top: 8px;
}

.balance-page .balance-converter-button {
  align-items: center;
  background: linear-gradient(135deg, #ffffff 0%, #f4f8fc 100%);
  border: 1px solid #cfe0ef;
  border-radius: 14px;
  box-shadow: 0 10px 24px rgba(24, 49, 74, 0.08);
  color: #172b3f;
  display: flex;
  gap: 10px;
  justify-content: flex-start;
  min-height: 52px;
  padding: 9px 13px;
  text-align: left;
  width: 100%;
}

.balance-page .balance-converter-button:hover,
.balance-page .balance-converter-button:focus,
.balance-page .balance-converter.open .balance-converter-button {
  background: #ffffff;
  border-color: #a8cef7;
  box-shadow: 0 12px 26px rgba(42, 122, 226, 0.16);
  color: #10253a;
}

.balance-page .balance-converter-icon {
  align-items: center;
  background: #eaf4ff;
  border: 1px solid #d2e7fb;
  border-radius: 12px;
  color: #2a7ae2;
  display: flex;
  flex: 0 0 34px;
  height: 34px;
  justify-content: center;
}

.balance-page .balance-converter-copy {
  display: block;
  flex: 1 1 auto;
  min-width: 0;
}

.balance-page .balance-converter-label {
  color: #6b7d91;
  display: block;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.07em;
  line-height: 1.1;
  text-transform: uppercase;
}

.balance-page .balance-converter-value {
  color: #172b3f;
  display: block;
  font-size: 16px;
  font-weight: 800;
  line-height: 1.25;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.balance-page .balance-converter-button .caret {
  flex: 0 0 auto;
  margin-left: 4px;
}

.balance-page .balance-converter .dropdown-menu {
  background: #ffffff;
  border: 1px solid #cfe0ef;
  border-radius: 14px;
  box-shadow: 0 18px 34px rgba(24, 49, 74, 0.16);
  margin-top: 8px;
  padding: 8px;
}

.balance-page .balance-converter .dropdown-menu > li > a {
  border-radius: 10px;
  color: #203246;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.02em;
  padding: 9px 12px;
  transition: background-color 0.16s ease, color 0.16s ease, padding-left 0.16s ease;
}

.balance-page .balance-converter .dropdown-menu > li > a:hover,
.balance-page .balance-converter .dropdown-menu > li > a:focus {
  background: #eaf4ff;
  color: #1d6fd1;
  padding-left: 15px;
}

.balance-page .balance-rate-list-item {
  padding: 18px;
}

.balance-page .balance-rate-legacy {
  display: none;
}

.balance-page .balance-rate-grid {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(auto-fit, minmax(145px, 1fr));
}

.balance-page .balance-rate-chip {
  background: #fff;
  border: 1px solid #dbe6ef;
  border-radius: 14px;
  color: #203246;
  display: block;
  min-height: 88px;
  padding: 14px 15px;
  text-align: left;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
  width: 100%;
}

.balance-page .balance-rate-chip:hover,
.balance-page .balance-rate-chip:focus,
.balance-page .balance-rate-chip.is-active {
  border-color: #9dc0eb;
  box-shadow: 0 10px 22px rgba(42, 122, 226, 0.12);
  outline: none;
  transform: translateY(-1px);
}

.balance-page .balance-rate-chip-name {
  color: #647587;
  display: block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.balance-page .balance-rate-chip-value {
  display: block;
  font-size: 20px;
  font-weight: 700;
  line-height: 1.25;
  margin-top: 8px;
}

.balance-page .balance-rate-chip-hint {
  color: #7b8997;
  display: block;
  font-size: 12px;
  margin-top: 8px;
}

.balance-page .balance-rate-chart {
  background: linear-gradient(180deg, #ffffff 0%, #f4f8fc 100%);
  border: 1px solid #dce7f1;
  border-radius: 14px;
  margin-top: 14px;
  padding: 16px;
}

.balance-page .balance-rate-chart-top {
  align-items: flex-start;
  display: flex;
  gap: 16px;
  justify-content: space-between;
  margin-bottom: 12px;
}

.balance-page .balance-rate-chart-kicker {
  color: #66809a;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  margin-bottom: 4px;
  text-transform: uppercase;
}

.balance-page .balance-rate-chart-title {
  color: #203246;
  font-size: 18px;
  font-weight: 700;
  margin: 0;
}

.balance-page .balance-rate-chart-copy {
  color: #647587;
  font-size: 13px;
  margin: 4px 0 0;
}

.balance-page .balance-rate-chart-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: flex-end;
}

.balance-page .balance-rate-stat {
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid #e1e9f1;
  border-radius: 12px;
  min-width: 110px;
  padding: 10px 12px;
}

.balance-page .balance-rate-stat-label {
  color: #748291;
  display: block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  margin-bottom: 3px;
  text-transform: uppercase;
}

.balance-page .balance-rate-stat-value {
  color: #203246;
  display: block;
  font-size: 15px;
  font-weight: 700;
}

.balance-page .balance-rate-sparkline {
  display: block;
  height: 132px;
  min-height: 132px;
  width: 100%;
}

.balance-page #balance-rate-sparkline-line {
  vector-effect: non-scaling-stroke;
}

body[data-mrrtheme="night"] .balance-page .box {
  border-color: #3a4148;
  box-shadow: 0 12px 26px rgba(0, 0, 0, 0.3);
}

body[data-mrrtheme="dark"] .balance-page .box .header-box,
body[data-mrrtheme="dark"] .balance-page .box > .box-content {
  background: #eef1f4;
}

body[data-mrrtheme="dark"] .balance-page .box .header-box {
  border-bottom-color: #cfd7df;
}

body[data-mrrtheme="dark"] .balance-page .box .header-box .title {
  color: #203246;
}

body[data-mrrtheme="night"] .balance-page .box .header-box {
  background: #24282d;
  border-bottom-color: #3a4148;
}

body[data-mrrtheme="night"] .balance-page .box .header-box .title {
  color: #eef2f5;
}

body[data-mrrtheme="night"] .balance-page .box > .box-content {
  background: #24282d;
}

body[data-mrrtheme="night"] .balance-page .list-group-item {
  border-color: #30363c;
}

body[data-mrrtheme="night"] .balance-page .list-group-item:hover,
body[data-mrrtheme="night"] .balance-page .list-group-item:focus {
  border-color: #3a4148;
}

body[data-mrrtheme="night"] .balance-page .balance-converter-button {
  background: linear-gradient(135deg, #2b3036 0%, #252a2f 100%);
  border-color: #3a4148;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.26);
  color: #d8dde2;
}

body[data-mrrtheme="night"] .balance-page .balance-converter-button:hover,
body[data-mrrtheme="night"] .balance-page .balance-converter-button:focus,
body[data-mrrtheme="night"] .balance-page .balance-converter.open .balance-converter-button {
  background: #30363c;
  border-color: #50575f;
  box-shadow: 0 12px 26px rgba(0, 0, 0, 0.34);
  color: #fff;
}

body[data-mrrtheme="night"] .balance-page .balance-converter-icon {
  background: #202428;
  border-color: #343a40;
  color: #5ea0ff;
}

body[data-mrrtheme="night"] .balance-page .balance-converter-label {
  color: #a0aab4;
}

body[data-mrrtheme="night"] .balance-page .balance-converter-value {
  color: #eef2f5;
}

body[data-mrrtheme="night"] .balance-page .balance-converter-button .caret {
  border-top-color: #d8dde2;
}

body[data-mrrtheme="night"] .balance-page .balance-converter .dropdown-menu {
  background: #252a2f;
  border-color: #3a4148;
  box-shadow: 0 18px 34px rgba(0, 0, 0, 0.38);
}

body[data-mrrtheme="night"] .balance-page .balance-converter .dropdown-menu > li > a {
  color: #d8dde2;
}

body[data-mrrtheme="night"] .balance-page .balance-converter .dropdown-menu > li > a:hover,
body[data-mrrtheme="night"] .balance-page .balance-converter .dropdown-menu > li > a:focus {
  background: #343a40;
  color: #fff;
}

body[data-mrrtheme="night"] .balance-page .balance-rate-list-item {
  background: #2b3036;
  border-color: #3a4148;
}

body[data-mrrtheme="night"] .balance-page .balance-rate-chip {
  background: #202428;
  border-color: #343a40;
  color: #eef2f5;
}

body[data-mrrtheme="night"] .balance-page .balance-rate-chip:hover,
body[data-mrrtheme="night"] .balance-page .balance-rate-chip:focus,
body[data-mrrtheme="night"] .balance-page .balance-rate-chip.is-active {
  background: #2b3036;
  border-color: #5ea0ff;
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.32);
}

body[data-mrrtheme="night"] .balance-page .balance-rate-chip-name,
body[data-mrrtheme="night"] .balance-page .balance-rate-chip-hint {
  color: #a0aab4;
}

body[data-mrrtheme="night"] .balance-page .balance-rate-chart {
  background: linear-gradient(180deg, #2b3036 0%, #24282d 100%);
  border-color: #3a4148;
}

body[data-mrrtheme="night"] .balance-page .balance-rate-chart-kicker,
body[data-mrrtheme="night"] .balance-page .balance-rate-chart-copy {
  color: #a0aab4;
}

body[data-mrrtheme="night"] .balance-page .balance-rate-chart-title,
body[data-mrrtheme="night"] .balance-page .balance-rate-stat-value {
  color: #eef2f5;
}

body[data-mrrtheme="night"] .balance-page .balance-rate-stat {
  background: #202428;
  border-color: #343a40;
}

body[data-mrrtheme="night"] .balance-page .balance-rate-stat-label {
  color: #a0aab4;
}

.balance-page .table.borderless {
  margin-bottom: 0;
}

.balance-page .table.borderless > tbody > tr > td {
  border-top: 1px solid #e8edf4;
  padding: 14px 12px;
  vertical-align: middle;
}

.balance-page .table.borderless > tbody > tr:first-child > td {
  border-top: 0;
  padding-top: 0;
}

.balance-page .table.borderless td[align="right"] {
  color: #516171;
  font-weight: 600;
}

.balance-page .table.borderless .alert {
  margin-bottom: 0;
}

.balance-page .bs-callout,
.balance-page .bs-callout-slim {
  border-radius: 14px;
  margin: 0 0 16px;
  padding: 16px 18px;
}

.balance-page .form-control-inline {
  max-width: none;
}

.balance-page input.form-control[disabled] {
  background: #fff;
}

.balance-page img[alt$="QR code"],
.balance-page img[alt$="code"] {
  background: #fff;
  border: 1px solid #dfe8f1;
  border-radius: 14px;
  height: auto !important;
  max-width: 100%;
  padding: 8px;
}

.balance-page .modal .input-group-btn > .btn {
  min-width: 62px;
}

.settings-page {
  color: inherit;
}

.settings-page .page-header {
  margin-bottom: 18px;
}

.settings-page .page-header h1 {
  display: flex;
  float: none !important;
  font-size: 32px;
  font-weight: 700;
  margin: 0;
}

.settings-page .settings-kicker {
  color: #2a7ae2;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  margin-bottom: 8px;
  text-transform: uppercase;
}

.settings-page .settings-intro {
  color: #6a7480;
  font-size: 15px;
  line-height: 1.6;
  margin: 10px 0 0;
  max-width: 760px;
}

.settings-page .settings-status-stack {
  margin-bottom: 20px;
}

.settings-page .settings-status-stack .alert {
  border-radius: 12px;
  margin-bottom: 12px;
  padding: 14px 16px;
}

.settings-page .settings-account-nav {
  margin-bottom: 16px;
}

.settings-page .settings-jumpnav {
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(42, 122, 226, 0.12);
  border-radius: 14px;
  margin-bottom: 22px;
  padding: 12px;
  position: sticky;
  top: 10px;
  z-index: 20;
}

.settings-page .settings-jumpnav-label {
  color: #6a7480;
  display: block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  margin-bottom: 10px;
  text-transform: uppercase;
}

.settings-page .settings-jumpnav-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.settings-page .settings-jumpnav-links a {
  background: #fff;
  border: 1px solid rgba(42, 122, 226, 0.15);
  border-radius: 999px;
  color: #4b5663;
  display: inline-block;
  font-size: 13px;
  font-weight: 600;
  padding: 8px 14px;
  text-decoration: none;
  transition: all 0.2s ease;
}

.settings-page .settings-jumpnav-links a:hover,
.settings-page .settings-jumpnav-links a:focus,
.settings-page .settings-jumpnav-links a.is-active {
  background: #2a7ae2;
  border-color: #2a7ae2;
  color: #fff;
  outline: none;
}

.settings-page .settings-section {
  scroll-margin-top: 88px;
}

.settings-page .settings-section + .settings-section {
  margin-top: 22px;
}

.settings-page .settings-section .box {
  border: 1px solid #dbe5ef;
  border-radius: 16px;
  box-shadow: 0 12px 28px rgba(32, 50, 70, 0.08);
  overflow: hidden;
}

.settings-page .settings-section .box-content {
  background: #fafcff;
  border: 0;
  padding: 20px;
}

.settings-page .settings-section .header-box {
  background: #fafcff;
  border-bottom: 1px solid #e3ebf3;
  padding: 0;
}

.settings-page .settings-section .header-box .title {
  color: #203246;
  padding: 20px 24px;
}

.settings-page .settings-section-header {
  align-items: flex-start;
  display: flex;
  gap: 14px;
  justify-content: space-between;
  margin: 0;
}

.settings-page .settings-section-eyebrow {
  color: #2a7ae2;
  display: block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  margin-bottom: 6px;
  text-transform: uppercase;
}

.settings-page .settings-section-header h2 {
  color: inherit;
  font-size: 20px;
  font-weight: 700;
  line-height: 1.2;
  margin: 0;
}

.settings-page .settings-section-copy {
  color: #6a7480;
  line-height: 1.6;
  margin: 8px 0 0;
  max-width: 760px;
}

.settings-page .settings-section-badge {
  background: rgba(42, 122, 226, 0.12);
  border-radius: 999px;
  color: #1f5ea8;
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  padding: 8px 12px;
  white-space: nowrap;
}

.settings-page .settings-subsection {
  background: rgba(42, 122, 226, 0.03);
  border: 1px solid rgba(42, 122, 226, 0.1);
  border-radius: 14px;
  margin-bottom: 18px;
  padding: 18px;
}

.settings-page .settings-subsection:last-child {
  margin-bottom: 0;
}

.settings-page .settings-subsection-header {
  margin-bottom: 16px;
}

.settings-page .settings-subsection-header h3 {
  font-size: 18px;
  margin: 0 0 6px;
}

.settings-page .settings-subsection-header p {
  color: #6a7480;
  line-height: 1.55;
  margin: 0;
}

.settings-page .settings-static-value {
  font-weight: 600;
  line-height: 34px;
  word-break: break-word;
}

.settings-page .settings-divider {
  border-top: 1px solid rgba(106, 116, 128, 0.18);
  margin: 18px 0;
}

.settings-page .settings-currency-grid {
  display: grid;
  gap: 16px;
}

.settings-page .settings-currency-card {
  background: #fff;
  border: 1px solid rgba(42, 122, 226, 0.12);
  border-radius: 14px;
  padding: 16px;
}

.settings-page .settings-currency-header {
  align-items: center;
  display: flex;
  gap: 12px;
  justify-content: space-between;
  margin-bottom: 14px;
}

.settings-page .settings-currency-header h3 {
  font-size: 17px;
  margin: 0;
}

.settings-page .settings-currency-header p {
  color: #6a7480;
  line-height: 1.5;
  margin: 4px 0 0;
}

.settings-page .settings-address-button {
  border-radius: 10px;
  min-width: 36px;
}

.settings-page .settings-pref-list {
  display: grid;
  gap: 14px;
}

.settings-page .settings-pref-card {
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(42, 122, 226, 0.1);
  border-radius: 14px;
  padding: 16px;
}

.settings-page .settings-pref-card .form-group {
  margin-bottom: 0;
}

.settings-page .settings-pref-card label.control-label {
  display: block;
  float: none;
  padding-top: 0;
  text-align: left;
}

.settings-page .settings-pref-title {
  color: inherit;
  display: inline-block;
  font-size: 16px;
  font-weight: 700;
  margin-right: 8px;
}

.settings-page .settings-pref-help {
  color: #6a7480;
  line-height: 1.55;
  margin-top: 6px;
}

.settings-page .settings-choice-group {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: flex-end;
}

.settings-page .settings-choice-group .radio-inline {
  align-items: center;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(42, 122, 226, 0.16);
  border-radius: 10px;
  display: inline-flex;
  font-weight: 600;
  line-height: 1.2;
  margin: 0;
  min-height: 40px;
  padding: 9px 12px;
}

.settings-page .settings-choice-group .radio-inline input[type='radio'] {
  margin: 0 8px 0 0;
  position: static;
}

.settings-page .settings-choice-group .radio-inline:hover {
  background: #fff;
  border-color: rgba(42, 122, 226, 0.28);
}

.settings-page .settings-region-checkbox-grid {
  display: grid;
  gap: 8px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.settings-page .settings-region-checkbox {
  align-items: center;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(42, 122, 226, 0.16);
  border-radius: 10px;
  display: inline-flex;
  font-weight: 600;
  line-height: 1.2;
  margin: 0;
  min-height: 40px;
  padding: 9px 12px;
}

.settings-page .settings-region-checkbox input[type='checkbox'] {
  margin: 0 8px 0 0;
  position: static;
}

.settings-page .settings-region-checkbox:hover {
  background: #fff;
  border-color: rgba(42, 122, 226, 0.28);
}

.rig-filter-account-default-note {
  background: rgba(42, 122, 226, 0.08);
  border: 1px solid rgba(42, 122, 226, 0.18);
  border-radius: 8px;
  color: #526275;
  font-size: 12px;
  line-height: 1.45;
  margin-top: 10px;
  padding: 8px 10px;
}

.rig-filter-account-default-note a {
  color: #2a7ae2;
  font-weight: 700;
}

.settings-page .settings-actions {
  border-top: 1px solid rgba(106, 116, 128, 0.16);
  margin-top: 20px;
  padding-top: 18px;
}

.settings-page .settings-actions .btn {
  margin-bottom: 8px;
  margin-right: 8px;
  min-width: 140px;
}

.settings-page .settings-actions .settings-actions-inline {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
}

.settings-page .settings-recovery-link {
  display: inline-block;
  margin-bottom: 8px;
}

.settings-page .settings-security-layout {
  display: grid;
  gap: 18px;
  grid-template-columns: 1.2fr 0.8fr;
}

.settings-page .settings-status-card {
  background: rgba(42, 122, 226, 0.04);
  border: 1px solid rgba(42, 122, 226, 0.1);
  border-radius: 14px;
  padding: 18px;
}

.settings-page .settings-status-card h3,
.settings-page .settings-qr-card h3,
.settings-page .settings-share-card h3,
.settings-page .settings-ref-stats h3 {
  font-size: 18px;
  margin: 0 0 8px;
}

.settings-page .settings-status-card p,
.settings-page .settings-qr-card p,
.settings-page .settings-share-card p,
.settings-page .settings-ref-stats p {
  color: #6a7480;
  line-height: 1.6;
  margin: 0;
}

.settings-page .settings-status-pill {
  border-radius: 999px;
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  margin-bottom: 12px;
  padding: 7px 12px;
  text-transform: uppercase;
}

.settings-page .settings-status-pill.is-enabled {
  background: rgba(72, 187, 120, 0.16);
  color: #1f7a4c;
}

.settings-page .settings-status-pill.is-disabled {
  background: rgba(255, 193, 7, 0.18);
  color: #8a6d00;
}

.settings-page .settings-security-code {
  background: #fff;
  border: 1px dashed rgba(42, 122, 226, 0.24);
  border-radius: 12px;
  display: inline-block;
  font-family: monospace;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0.08em;
  margin-top: 16px;
  padding: 12px 14px;
}

.settings-page .settings-security-key-label {
  color: #6a7480;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  margin-top: 16px;
  text-transform: uppercase;
}

.settings-page .settings-security-key-label + .settings-security-code {
  margin-top: 6px;
}

.settings-page .settings-security-key-help {
  color: #526477;
  font-size: 13px;
  line-height: 1.5;
  margin: 6px 0 0;
}

.settings-page .settings-security-key-help + .settings-security-code {
  margin-top: 8px;
}

.settings-page .settings-2fa-reset-pin {
  display: block;
  margin: 10px 0 0;
}

.settings-page .settings-security-steps {
  color: #526477;
  line-height: 1.55;
  margin: 16px 0;
  padding-left: 22px;
}

.settings-page .settings-security-steps li {
  margin-bottom: 8px;
}

.settings-page #two-factor-feedback {
  margin-bottom: 18px;
}

.settings-page .settings-qr-card {
  background: #fff;
  border: 1px solid rgba(42, 122, 226, 0.12);
  border-radius: 14px;
  padding: 18px;
  text-align: center;
}

.settings-page .settings-qr-card img {
  background: #fff;
  border-radius: 12px;
  margin: 14px auto;
  max-width: 100%;
  padding: 8px;
}

.settings-page .settings-inline-inputs .row + .row {
  margin-top: 12px;
}

.settings-page .settings-referral-layout {
  display: grid;
  gap: 18px;
  grid-template-columns: 1.3fr 0.7fr;
}

.settings-page .settings-share-card,
.settings-page .settings-ref-stats {
  background: rgba(42, 122, 226, 0.04);
  border: 1px solid rgba(42, 122, 226, 0.1);
  border-radius: 14px;
  padding: 18px;
}

.settings-page .settings-link-list {
  list-style: none;
  margin: 14px 0 0;
  padding: 0;
}

.settings-page .settings-link-list li + li {
  margin-top: 12px;
}

.settings-page .settings-link-label {
  color: #6a7480;
  display: block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  margin-bottom: 4px;
  text-transform: uppercase;
}

.settings-page .settings-link-list a {
  overflow-wrap: anywhere;
  word-break: break-word;
}

.settings-page .settings-stat-row {
  align-items: center;
  display: flex;
  gap: 12px;
  justify-content: space-between;
  padding: 10px 0;
}

.settings-page .settings-stat-row + .settings-stat-row {
  border-top: 1px solid rgba(106, 116, 128, 0.14);
}

.settings-page .settings-stat-label {
  color: #6a7480;
  font-weight: 600;
}

.settings-page .settings-stat-value {
  font-size: 16px;
  font-weight: 700;
  text-align: right;
  word-break: break-word;
}

.settings-page .settings-confirm-box p {
  color: #6a7480;
  line-height: 1.7;
}

.settings-page .settings-confirm-box .btn {
  min-width: 220px;
}

.settings-page .settings-modal-copy {
  line-height: 1.6;
  margin-bottom: 18px;
  text-align: center;
}

body[data-mrrtheme="dark"] .settings-page .settings-jumpnav {
  background: linear-gradient(135deg, #eef1f4 0%, #e7edf2 55%, #f3f6f8 100%);
  border-color: #cfd7df;
  box-shadow: 0 10px 22px rgba(31, 53, 72, 0.08);
}

body[data-mrrtheme="dark"] .settings-page .settings-jumpnav-links a {
  background: #f7f8fa;
  border-color: #d7dde4;
  color: #33465a;
}

body[data-mrrtheme="dark"] .settings-page .settings-jumpnav-links a:hover,
body[data-mrrtheme="dark"] .settings-page .settings-jumpnav-links a:focus,
body[data-mrrtheme="dark"] .settings-page .settings-jumpnav-links a.is-active {
  background: #2a7ae2;
  border-color: #2a7ae2;
  color: #fff;
}

body[data-mrrtheme="dark"] .settings-page .settings-status-card,
body[data-mrrtheme="dark"] .settings-page .settings-pref-card,
body[data-mrrtheme="dark"] .settings-page .settings-qr-card {
  background: #f7f8fa;
  border-color: #ccd6df;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.82), 0 1px 2px rgba(31, 53, 72, 0.06);
}

body[data-mrrtheme="dark"] .settings-page .settings-currency-card {
  background: #e2e8ee;
  border-color: #c8d2db;
}

body[data-mrrtheme="dark"] .settings-page .settings-choice-group .radio-inline {
  background: #f7f8fa;
  border-color: #cfd8e1;
  color: #203246;
}

body[data-mrrtheme="dark"] .settings-page .settings-region-checkbox {
  background: #f7f8fa;
  border-color: #cfd8e1;
  color: #203246;
}

body[data-mrrtheme="dark"] .settings-page .settings-choice-group .radio-inline:hover {
  background: #fff;
  border-color: #b9c8d6;
}

body[data-mrrtheme="dark"] .settings-page .settings-region-checkbox:hover {
  background: #fff;
  border-color: #b9c8d6;
}

body[data-mrrtheme="dark"] .settings-page .settings-choice-group .radio-inline input[type='radio'] {
  accent-color: #2a7ae2;
}

body[data-mrrtheme="dark"] .settings-page .settings-region-checkbox input[type='checkbox'] {
  accent-color: #2a7ae2;
}

body[data-mrrtheme="dark"] .rig-filter-account-default-note {
  background: #e8eef5;
  border-color: #cbd8e6;
  color: #4b5d70;
}

body[data-mrrtheme="dark"] .settings-page .settings-choice-group .radio-inline.is-disabled,
body[data-mrrtheme="dark"] .settings-page .settings-choice-group .radio-inline:has(input[type='radio']:disabled) {
  background: #e6ebf0;
  color: #7a8794;
}

body[data-mrrtheme="dark"] .settings-page .settings-section .box {
  border-color: #cfd7df;
  box-shadow: 0 10px 24px rgba(31, 53, 72, 0.08);
}

body[data-mrrtheme="dark"] .settings-page .settings-section .box-content {
  background: #eef1f4;
}

body[data-mrrtheme="dark"] .settings-page .settings-section .header-box {
  background: #eef1f4;
  border-bottom-color: #cfd7df;
}

body[data-mrrtheme="dark"] .settings-page .settings-section .header-box .title {
  color: #203246;
}

body[data-mrrtheme="dark"] .settings-page .settings-security-steps {
  color: #526477;
}

body[data-mrrtheme="night"] .settings-page .settings-jumpnav {
  background: linear-gradient(135deg, #24282d 0%, #202428 55%, #282d32 100%);
  border-color: #3a4148;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.28);
}

body[data-mrrtheme="night"] .settings-page .settings-jumpnav-label {
  color: #a0aab4;
}

body[data-mrrtheme="night"] .settings-page .settings-jumpnav-links a {
  background: #2b3036;
  border-color: #3a4148;
  color: #d8dde2;
}

body[data-mrrtheme="night"] .settings-page .settings-jumpnav-links a:hover,
body[data-mrrtheme="night"] .settings-page .settings-jumpnav-links a:focus,
body[data-mrrtheme="night"] .settings-page .settings-jumpnav-links a.is-active {
  background: #2a7ae2;
  border-color: #2a7ae2;
  color: #fff;
}

body[data-mrrtheme="night"] .settings-page .settings-status-card,
body[data-mrrtheme="night"] .settings-page .settings-pref-card,
body[data-mrrtheme="night"] .settings-page .settings-qr-card {
  background: #2b3036;
  border-color: #3a4148;
}

body[data-mrrtheme="night"] .settings-page .settings-security-steps,
body[data-mrrtheme="night"] .settings-page .settings-security-key-help,
body[data-mrrtheme="night"] .settings-page .settings-security-key-label {
  color: #b8c1cb;
}

body[data-mrrtheme="night"] .settings-page .settings-currency-card {
  background: #202428;
  border-color: #343a40;
}

body[data-mrrtheme="night"] .settings-page .settings-choice-group .radio-inline {
  background: #2f343a;
  border-color: #424950;
  color: #d8dde2;
}

body[data-mrrtheme="night"] .settings-page .settings-region-checkbox {
  background: #2f343a;
  border-color: #424950;
  color: #d8dde2;
}

body[data-mrrtheme="night"] .settings-page .settings-choice-group .radio-inline:hover {
  background: #373d43;
  border-color: #50575f;
}

body[data-mrrtheme="night"] .settings-page .settings-region-checkbox:hover {
  background: #373d43;
  border-color: #50575f;
}

body[data-mrrtheme="night"] .settings-page .settings-choice-group .radio-inline input[type='radio'] {
  accent-color: #5ea0ff;
}

body[data-mrrtheme="night"] .settings-page .settings-region-checkbox input[type='checkbox'] {
  accent-color: #5ea0ff;
}

body[data-mrrtheme="night"] .rig-filter-account-default-note {
  background: rgba(94, 160, 255, 0.1);
  border-color: rgba(94, 160, 255, 0.22);
  color: #b8c3cf;
}

body[data-mrrtheme="night"] .rig-filter-account-default-note a {
  color: #8cbcff;
}

body[data-mrrtheme="night"] .settings-page .settings-choice-group .radio-inline.is-disabled,
body[data-mrrtheme="night"] .settings-page .settings-choice-group .radio-inline:has(input[type='radio']:disabled) {
  background: #252a2f;
  border-color: #363d44;
  color: #8f99a3;
}

body[data-mrrtheme="night"] .settings-page .settings-section .box {
  border-color: #3a4148;
  box-shadow: 0 12px 26px rgba(0, 0, 0, 0.3);
}

body[data-mrrtheme="night"] .settings-page .settings-section .box-content {
  background: #24282d;
}

body[data-mrrtheme="night"] .settings-page .settings-section .header-box {
  background: #24282d;
  border-bottom-color: #3a4148;
}

body[data-mrrtheme="night"] .settings-page .settings-section .header-box .title {
  color: #eef2f5;
}

.account-profile-page .page-header {
  margin-bottom: 18px;
}

.account-profile-page .page-header h1 {
  display: flex;
  float: none !important;
  font-size: 32px;
  font-weight: 700;
  margin: 0;
}

.account-profile-page .profile-account-nav {
  margin-bottom: 16px;
}

.account-profile-page .profile-status-stack {
  margin-bottom: 18px;
}

.account-profile-page .profile-status-stack .alert {
  border-radius: 12px;
  margin-bottom: 12px;
  padding: 14px 16px;
}

.account-profile-page .profile-section {
  margin-bottom: 18px;
}

.account-profile-page .box {
  border: 1px solid #dbe5ef;
  border-radius: 16px;
  box-shadow: 0 12px 28px rgba(32, 50, 70, 0.08);
  overflow: hidden;
}

.account-profile-page .box > .box-content {
  background: #fafcff;
  border: 0;
}

.account-profile-page .profile-section-header {
  align-items: flex-start;
  display: flex;
  gap: 16px;
  justify-content: space-between;
  margin-bottom: 22px;
  max-width: 920px;
}

.account-profile-page .profile-section-eyebrow {
  color: #209cee;
  display: block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  margin-bottom: 8px;
  text-transform: uppercase;
}

.account-profile-page .profile-section-header h2 {
  font-size: 21px;
  font-weight: 700;
  margin: 0 0 8px;
}

.account-profile-page .profile-section-copy {
  color: #6a7480;
  line-height: 1.6;
  margin: 0;
  max-width: 780px;
}

.account-profile-page .profile-section-badge {
  background: rgba(42, 122, 226, 0.12);
  border-radius: 999px;
  color: #1f5ea8;
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  padding: 8px 12px;
  white-space: nowrap;
}

.account-profile-page .profile-card-grid {
  display: grid;
  gap: 14px;
  grid-template-columns: 1fr;
  margin-bottom: 22px;
  max-width: 920px;
}

.account-profile-page .profile-read-card,
.account-profile-page .profile-status-card,
.account-profile-page .profile-coming-card {
  background: #fff;
  border: 1px solid #e1e9f2;
  border-radius: 14px;
  padding: 16px;
}

.account-profile-page .profile-read-label,
.account-profile-page .profile-card-label {
  color: #6a7480;
  display: block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  margin-bottom: 8px;
  text-transform: uppercase;
}

.account-profile-page .profile-read-value,
.account-profile-page .profile-status-value {
  color: #1f2d3d;
  display: block;
  font-size: 17px;
  font-weight: 700;
  overflow-wrap: anywhere;
}

.account-profile-page .profile-status-pill {
  border-radius: 999px;
  display: inline-flex;
  font-size: 13px;
  font-weight: 800;
  line-height: 1;
  padding: 8px 12px;
}

.account-profile-page .profile-status-pill.is-normal {
  background: rgba(46, 204, 113, 0.16);
  color: #167d42;
}

.account-profile-page .profile-status-pill.is-closed {
  background: rgba(106, 116, 128, 0.16);
  color: #4f5b67;
}

.account-profile-page .profile-status-pill.is-restricted {
  background: rgba(245, 166, 35, 0.18);
  color: #9a5d00;
}

.account-profile-page .profile-status-pill.is-banned {
  background: rgba(220, 53, 69, 0.16);
  color: #b02a37;
}

.account-profile-page .profile-status-copy,
.account-profile-page .profile-coming-copy {
  color: #6a7480;
  line-height: 1.5;
  margin: 10px 0 0;
}

.account-profile-page .profile-xp-row {
  align-items: baseline;
  display: flex;
  gap: 10px;
  justify-content: space-between;
}

.account-profile-page .profile-xp-level {
  color: #1f2d3d;
  font-size: 22px;
  font-weight: 800;
}

.account-profile-page .profile-xp-total {
  color: #1f5ea8;
  font-size: 13px;
  font-weight: 800;
  white-space: nowrap;
}

.account-profile-page .profile-coming-meter {
  background: #edf3f9;
  border-radius: 999px;
  height: 10px;
  margin-top: 14px;
  overflow: hidden;
}

.account-profile-page .profile-coming-meter span {
  background: linear-gradient(90deg, #2a7ae2, #42b7f5);
  border-radius: 999px;
  display: block;
  height: 100%;
  width: 0;
}

.account-profile-page .profile-xp-next {
  color: #6a7480;
  display: block;
  font-size: 12px;
  font-weight: 700;
  margin-top: 8px;
}

.account-profile-page .profile-xp-breakdown {
  display: grid;
  gap: 8px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 14px;
}

.account-profile-page .profile-xp-breakdown span {
  background: #f3f7fb;
  border: 1px solid #e1e9f2;
  border-radius: 10px;
  color: #35475a;
  font-size: 12px;
  font-weight: 700;
  padding: 8px 10px;
}

.account-profile-page .profile-completion-card {
  background: linear-gradient(135deg, rgba(42, 122, 226, 0.1), rgba(66, 183, 245, 0.08));
  border: 1px solid rgba(42, 122, 226, 0.2);
  border-radius: 14px;
  padding: 16px;
}

.account-profile-page .profile-completion-head {
  align-items: center;
  display: flex;
  gap: 12px;
  justify-content: space-between;
}

.account-profile-page .profile-completion-title {
  color: #1f2d3d;
  display: block;
  font-size: 16px;
  font-weight: 800;
}

.account-profile-page .profile-completion-count {
  color: #1f5ea8;
  font-size: 13px;
  font-weight: 800;
  white-space: nowrap;
}

.account-profile-page .profile-completion-copy {
  color: #536171;
  line-height: 1.45;
  margin: 8px 0 0;
}

.account-profile-page .profile-completion-meter {
  background: rgba(255, 255, 255, 0.72);
  border-radius: 999px;
  height: 9px;
  margin-top: 12px;
  overflow: hidden;
}

.account-profile-page .profile-completion-meter span {
  background: linear-gradient(90deg, #2a7ae2, #42b7f5);
  display: block;
  height: 100%;
}

.account-profile-page .profile-completion-link {
  border-radius: 999px;
  display: inline-block;
  font-size: 12px;
  font-weight: 800;
  margin-top: 12px;
  padding: 8px 12px;
}

.account-profile-page .profile-achievements-summary,
.account-profile-page .profile-achievements-wrap {
  max-width: 920px;
}

.account-profile-page .profile-achievements-summary {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-bottom: 18px;
}

.account-profile-page .profile-achievement-stat,
.account-profile-page .profile-achievement-group,
.account-profile-page .profile-achievement-row {
  background: #fff;
  border: 1px solid #e1e9f2;
  border-radius: 14px;
}

.account-profile-page .profile-achievement-stat {
  padding: 14px;
}

.account-profile-page .profile-achievement-stat span {
  color: #6a7480;
  display: block;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.account-profile-page .profile-achievement-stat strong {
  color: #1f2d3d;
  display: block;
  font-size: 21px;
  font-weight: 800;
  margin-top: 4px;
}

.account-profile-page .profile-achievement-group {
  margin-bottom: 14px;
  overflow: hidden;
}

.account-profile-page .profile-achievement-group-head {
  align-items: center;
  background: #f3f7fb;
  border-bottom: 1px solid #e1e9f2;
  display: flex;
  gap: 12px;
  justify-content: space-between;
  padding: 13px 16px;
}

.account-profile-page .profile-achievement-group-head h3 {
  color: #1f2d3d;
  font-size: 16px;
  font-weight: 800;
  margin: 0;
}

.account-profile-page .profile-achievement-group-head span {
  color: #6a7480;
  font-size: 12px;
  font-weight: 800;
  white-space: nowrap;
}

.account-profile-page .profile-achievement-list {
  display: grid;
  gap: 10px;
  padding: 12px;
}

.account-profile-page .profile-achievement-row {
  align-items: flex-start;
  display: grid;
  gap: 12px;
  grid-template-columns: 44px 1fr auto;
  padding: 13px;
}

.account-profile-page .profile-achievement-icon {
  align-items: center;
  border-radius: 12px;
  display: inline-flex;
  height: 44px;
  justify-content: center;
  width: 36px;
}

.account-profile-page .profile-achievement-row.is-earned .profile-achievement-icon {
  background: rgba(46, 204, 113, 0.16);
  color: #167d42;
}

.account-profile-page .profile-achievement-row.is-locked .profile-achievement-icon {
  background: rgba(106, 116, 128, 0.14);
  color: #6a7480;
}

.account-profile-page .profile-achievement-name {
  color: #1f2d3d;
  display: block;
  font-size: 15px;
  font-weight: 800;
}

.account-profile-page .profile-achievement-description {
  color: #536171;
  line-height: 1.45;
  margin: 4px 0 0;
}

.account-profile-page .profile-achievement-progress {
  margin-top: 10px;
}

.account-profile-page .profile-achievement-progress-label {
  color: #6a7480;
  display: block;
  font-size: 12px;
  font-weight: 700;
  margin-bottom: 6px;
}

.account-profile-page .profile-achievement-progress-bar {
  background: #edf3f9;
  border-radius: 999px;
  height: 8px;
  overflow: hidden;
}

.account-profile-page .profile-achievement-progress-bar span {
  background: linear-gradient(90deg, #2a7ae2, #42b7f5);
  display: block;
  height: 100%;
}

.account-profile-page .profile-achievement-state {
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
  padding: 7px 10px;
  white-space: nowrap;
}

.account-profile-page .profile-achievement-row.is-earned .profile-achievement-state {
  background: rgba(46, 204, 113, 0.16);
  color: #167d42;
}

.account-profile-page .profile-achievement-row.is-locked .profile-achievement-state {
  background: rgba(106, 116, 128, 0.12);
  color: #6a7480;
}

.account-profile-page .profile-form-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: 1fr;
  max-width: 920px;
}

.account-profile-page .profile-form-grid .is-wide {
  grid-column: 1 / -1;
}

.account-profile-page .profile-field-card {
  background: #fff;
  border: 1px solid #e1e9f2;
  border-radius: 14px;
  padding: 16px;
}

.account-profile-page .profile-field-card label {
  color: #35475a;
  display: block;
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 8px;
}

.account-profile-page .profile-field-card .form-control {
  border-radius: 10px;
}

.account-profile-page .profile-helper {
  color: #6a7480;
  display: block;
  font-size: 12px;
  line-height: 1.45;
  margin-top: 8px;
}

.account-profile-page .profile-private-saved {
  background: rgba(42, 122, 226, 0.1);
  border: 1px solid rgba(42, 122, 226, 0.18);
  border-radius: 999px;
  color: #1f5ea8;
  display: inline-block;
  font-size: 12px;
  font-weight: 800;
  margin-bottom: 10px;
  padding: 6px 10px;
}

.account-profile-page .profile-auth-card {
  background: rgba(42, 122, 226, 0.06);
  border: 1px solid rgba(42, 122, 226, 0.18);
  border-radius: 14px;
  margin-top: 18px;
  max-width: 920px;
  padding: 16px;
}

.account-profile-page .profile-auth-title {
  color: #35475a;
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 12px;
}

.account-profile-page .profile-actions {
  border-top: 1px solid rgba(106, 116, 128, 0.14);
  margin-top: 20px;
  max-width: 920px;
  padding-top: 18px;
  text-align: right;
}

.account-profile-page .profile-actions .btn {
  border-radius: 999px;
  font-weight: 700;
  min-width: 180px;
}

body[data-mrrtheme="dark"] .account-profile-page .box {
  border-color: #cfd7df;
  box-shadow: 0 10px 24px rgba(31, 53, 72, 0.08);
}

body[data-mrrtheme="dark"] .account-profile-page .box > .box-content {
  background: #eef1f4;
}

body[data-mrrtheme="dark"] .account-profile-page .profile-read-card,
body[data-mrrtheme="dark"] .account-profile-page .profile-status-card,
body[data-mrrtheme="dark"] .account-profile-page .profile-coming-card,
body[data-mrrtheme="dark"] .account-profile-page .profile-completion-card,
body[data-mrrtheme="dark"] .account-profile-page .profile-achievement-stat,
body[data-mrrtheme="dark"] .account-profile-page .profile-achievement-group,
body[data-mrrtheme="dark"] .account-profile-page .profile-achievement-row,
body[data-mrrtheme="dark"] .account-profile-page .profile-field-card {
  background: #f7f8fa;
  border-color: #d7dde4;
}

body[data-mrrtheme="night"] .account-profile-page .box {
  border-color: #3a4148;
  box-shadow: 0 12px 26px rgba(0, 0, 0, 0.3);
}

body[data-mrrtheme="night"] .account-profile-page .box > .box-content {
  background: #24282d;
}

body[data-mrrtheme="night"] .account-profile-page .profile-read-card,
body[data-mrrtheme="night"] .account-profile-page .profile-status-card,
body[data-mrrtheme="night"] .account-profile-page .profile-coming-card,
body[data-mrrtheme="night"] .account-profile-page .profile-completion-card,
body[data-mrrtheme="night"] .account-profile-page .profile-achievement-stat,
body[data-mrrtheme="night"] .account-profile-page .profile-achievement-group,
body[data-mrrtheme="night"] .account-profile-page .profile-achievement-row,
body[data-mrrtheme="night"] .account-profile-page .profile-field-card {
  background: #2d3238;
  border-color: #424951;
}

body[data-mrrtheme="night"] .account-profile-page .profile-read-value,
body[data-mrrtheme="night"] .account-profile-page .profile-status-value,
body[data-mrrtheme="night"] .account-profile-page .profile-xp-level,
body[data-mrrtheme="night"] .account-profile-page .profile-completion-title,
body[data-mrrtheme="night"] .account-profile-page .profile-achievement-stat strong,
body[data-mrrtheme="night"] .account-profile-page .profile-achievement-group-head h3,
body[data-mrrtheme="night"] .account-profile-page .profile-achievement-name,
body[data-mrrtheme="night"] .account-profile-page .profile-field-card label,
body[data-mrrtheme="night"] .account-profile-page .profile-auth-title {
  color: #edf2f7;
}

body[data-mrrtheme="night"] .account-profile-page .profile-section-copy,
body[data-mrrtheme="night"] .account-profile-page .profile-read-label,
body[data-mrrtheme="night"] .account-profile-page .profile-card-label,
body[data-mrrtheme="night"] .account-profile-page .profile-status-copy,
body[data-mrrtheme="night"] .account-profile-page .profile-coming-copy,
body[data-mrrtheme="night"] .account-profile-page .profile-completion-copy,
body[data-mrrtheme="night"] .account-profile-page .profile-achievement-stat span,
body[data-mrrtheme="night"] .account-profile-page .profile-achievement-group-head span,
body[data-mrrtheme="night"] .account-profile-page .profile-achievement-description,
body[data-mrrtheme="night"] .account-profile-page .profile-achievement-progress-label,
body[data-mrrtheme="night"] .account-profile-page .profile-helper {
  color: #aeb8c2;
}

body[data-mrrtheme="night"] .account-profile-page .profile-achievement-group-head {
  background: #252a30;
  border-color: #3d454d;
}

body[data-mrrtheme="night"] .account-profile-page .profile-achievement-progress-bar {
  background: #1f2429;
}

body[data-mrrtheme="night"] .account-profile-page .profile-completion-count {
  color: #9cc7ff;
}

body[data-mrrtheme="night"] .account-profile-page .profile-completion-meter {
  background: #1f2429;
}

body[data-mrrtheme="night"] .account-profile-page .profile-private-saved {
  background: rgba(156, 199, 255, 0.12);
  border-color: rgba(156, 199, 255, 0.22);
  color: #9cc7ff;
}

body[data-mrrtheme="night"] .account-profile-page .profile-auth-card {
  background: #2b3036;
  border-color: #424951;
}

body[data-mrrtheme="night"] .account-profile-page .profile-coming-meter {
  background: #1f2429;
}

body[data-mrrtheme="night"] .account-profile-page .profile-xp-breakdown span {
  background: #252a30;
  border-color: #3d454d;
  color: #d4dce4;
}

body[data-mrrtheme="night"] .account-profile-page .profile-xp-total,
body[data-mrrtheme="night"] .account-profile-page .profile-xp-next {
  color: #aeb8c2;
}

.public-profile-page .page-header {
  align-items: flex-start;
  display: flex;
  gap: 16px;
  justify-content: space-between;
  margin-bottom: 18px;
}

.public-profile-page .page-header h1 {
  align-items: center;
  display: flex;
  float: none !important;
  font-size: 32px;
  font-weight: 700;
  gap: 10px;
  margin: 0;
}

.public-profile-kicker,
.public-profile-section-eyebrow {
  color: #6a7480;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  margin-bottom: 8px;
  text-transform: uppercase;
}

.public-profile-status-stack {
  margin-bottom: 18px;
}

.public-profile-status-stack .alert {
  border-radius: 12px;
  margin-bottom: 12px;
  padding: 14px 16px;
}

.public-profile-status-pill,
.public-profile-count {
  border-radius: 999px;
  display: inline-flex;
  font-size: 12px;
  font-weight: 800;
  line-height: 1;
  padding: 8px 12px;
  white-space: nowrap;
}

.public-profile-status-pill.is-user {
  background: rgba(46, 204, 113, 0.16);
  color: #167d42;
}

.public-profile-status-pill.is-admin {
  background: rgba(42, 122, 226, 0.14);
  color: #1f65bd;
}

.public-profile-status-pill.is-banned {
  background: rgba(220, 53, 69, 0.16);
  color: #b02a37;
}

.public-profile-count {
  background: rgba(42, 122, 226, 0.1);
  color: #245f9f;
}

.public-profile-count-summary {
  align-items: center;
  gap: 8px;
  white-space: normal;
}

.public-profile-count-summary span {
  align-items: baseline;
  display: inline-flex;
  gap: 4px;
  white-space: nowrap;
}

.public-profile-count-summary span + span {
  border-left: 1px solid rgba(42, 122, 226, 0.18);
  padding-left: 8px;
}

.public-profile-count-summary strong {
  font-size: 13px;
}

.public-profile-top-area {
  align-items: center;
  background: #fff;
  border: 1px solid #e1e9f2;
  border-radius: 14px;
  box-shadow: 0 10px 24px rgba(31, 53, 72, 0.07);
  display: grid;
  gap: 16px;
  grid-template-columns: minmax(240px, 0.8fr) minmax(0, 2fr);
  margin-bottom: 16px;
  padding: 16px 18px;
}

.public-profile-identity {
  align-items: center;
  display: flex;
  gap: 14px;
  min-width: 0;
}

.public-profile-avatar {
  align-items: center;
  background: rgba(42, 122, 226, 0.12);
  border: 1px solid rgba(42, 122, 226, 0.18);
  border-radius: 14px;
  color: #2a7ae2;
  display: flex;
  flex: 0 0 54px;
  font-size: 21px;
  height: 54px;
  justify-content: center;
  width: 54px;
}

.public-profile-identity h2 {
  color: #1f2d3d;
  font-size: 22px;
  font-weight: 700;
  margin: 0 0 4px;
  overflow-wrap: anywhere;
}

.public-profile-identity p {
  color: #6a7480;
  margin: 0;
}

.public-profile-stat-grid {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.public-profile-stat {
  background: #fff;
  border: 1px solid #e1e9f2;
  border-radius: 12px;
  padding: 10px 12px;
}

.public-profile-stat span,
.public-rig-cell span,
.public-rig-cell small {
  color: #6a7480;
  display: block;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.35;
}

.public-profile-stat strong,
.public-rig-cell strong {
  color: #1f2d3d;
  display: block;
  font-size: 17px;
  font-weight: 800;
  line-height: 1.25;
  margin-top: 4px;
  overflow-wrap: anywhere;
}

.public-rig-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.public-profile-rig-inventory {
  margin-top: 0;
}

.public-profile-inventory-header {
  align-items: center;
  display: flex;
  gap: 16px;
  justify-content: space-between;
  margin: 0 2px 12px;
}

.public-profile-inventory-title {
  color: #1f2d3d;
  font-size: 22px;
  font-weight: 800;
  line-height: 1.2;
}

.public-rig-row {
  align-items: center;
  background: #fff;
  border: 1px solid #e1e9f2;
  border-radius: 10px;
  display: grid;
  gap: 12px;
  grid-template-columns: minmax(220px, 1.6fr) minmax(92px, 0.55fr) minmax(120px, 0.7fr) minmax(150px, 0.8fr) minmax(78px, 0.45fr) minmax(210px, 0.95fr);
  min-height: 66px;
  padding: 10px 12px;
}

.public-rig-row.is-available {
  border-color: rgba(46, 204, 113, 0.28);
  box-shadow: inset 4px 0 0 rgba(46, 204, 113, 0.62);
}

.public-rig-row.is-rented {
  border-color: rgba(245, 166, 35, 0.32);
  box-shadow: inset 4px 0 0 rgba(245, 166, 35, 0.7);
}

.public-rig-row-main,
.public-rig-cell {
  min-width: 0;
}

.public-rig-title {
  color: #1f2d3d;
  display: block;
  font-size: 16px;
  font-weight: 800;
  line-height: 1.25;
  overflow-wrap: anywhere;
}

.public-rig-meta {
  align-items: center;
  color: #6a7480;
  display: flex;
  flex-wrap: wrap;
  font-size: 12px;
  font-weight: 700;
  gap: 8px;
  margin-top: 6px;
}

.public-rig-meta a {
  color: #2a7ae2;
}

.public-rig-cell-price strong {
  font-variant-numeric: tabular-nums;
}

.public-rig-status-text.is-available {
  color: #167d42;
}

.public-rig-status-text.is-rented {
  color: #9a5d00;
}

.public-rig-row-actions {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: flex-end;
  min-width: 0;
}

.public-rig-row-actions .btn {
  max-width: 100%;
  overflow-wrap: anywhere;
  white-space: normal;
}

.public-rig-favorite.is-favorited {
  border-color: rgba(245, 166, 35, 0.42);
  color: #9a5d00;
}

.public-rig-rented-copy {
  color: #6a7480;
  font-size: 12px;
  font-weight: 700;
}

.public-rig-rented-copy b {
  color: inherit;
}

.public-profile-empty {
  background: #fff;
  border: 1px dashed #cfd8e1;
  border-radius: 12px;
  padding: 28px;
  text-align: center;
}

.public-profile-empty h3 {
  color: #1f2d3d;
  font-size: 20px;
  font-weight: 700;
  margin: 0 0 8px;
}

.public-profile-empty p {
  color: #6a7480;
  margin: 0;
}


.public-profile-page .public-profile-rig-inventory.box {
  border: 1px solid #dbe5ef;
  border-radius: 8px;
  box-shadow: 0 10px 22px rgba(32, 50, 70, 0.08);
  margin-bottom: 24px;
  overflow: hidden;
}

.public-profile-page .public-profile-rig-inventory .header-box {
  background: #fafcff;
  border-bottom: 1px solid #e3ebf3;
  margin: 0 0 10px;
  padding: 0;
}

.public-profile-page .public-profile-rig-inventory .header-box .title {
  color: #203246;
  font-size: 20px;
  font-weight: 700;
  line-height: 1.35;
  padding: 18px 22px;
}

.public-profile-page .public-profile-rigs-header {
  align-items: center;
  display: flex;
  justify-content: space-between;
}

.public-profile-page .public-profile-rigs-count {
  align-items: center;
  color: #6a7480;
  display: flex;
  flex-wrap: wrap;
  font-weight: 700;
  gap: 8px;
  padding-right: 22px;
}

.public-profile-page .public-profile-rigs-count span {
  align-items: baseline;
  display: inline-flex;
  gap: 4px;
  white-space: nowrap;
}

.public-profile-page .public-profile-rigs-count span + span {
  border-left: 1px solid rgba(42, 122, 226, 0.18);
  padding-left: 8px;
}

.public-profile-page .public-profile-rig-inventory .box > .box-content {
  border: 0;
}

.public-profile-page .public-profile-rigs-body {
  padding: 0;
}

.public-profile-page .public-profile-massrent-tools {
  border-bottom: 1px solid #e9eff6;
  padding: 22px 22px 0;
}

.public-profile-page .public-profile-rigs-filter-form {
  margin-bottom: 0;
}

.public-profile-page .public-profile-filter-reset .btn {
  margin-top: 0;
}

.public-profile-page .public-profile-massrent-panel {
  margin-bottom: 18px;
}

.public-profile-page .public-profile-rigs-table-shell {
  border: 0;
  padding: 22px;
}

.public-profile-page .public-profile-rig-name {
  color: #2a7ae2;
  font-weight: 700;
  overflow-wrap: anywhere;
}

.public-profile-page .public-profile-rig-subtle,
.public-profile-page .public-profile-rented-copy {
  color: #6a7480;
  font-size: 12px;
  font-weight: 700;
  margin-top: 4px;
}

.public-profile-page .public-profile-price-list {
  font-variant-numeric: tabular-nums;
}

.public-profile-page .public-profile-rig-actions,
.favorite-rigs-page .favorite-rigs-actions {
  white-space: normal;
}




.public-profile-page .public-profile-rig-actions .btn,
.favorite-rigs-page .favorite-rigs-actions .btn {
  margin: 2px 1px;
}
body[data-mrrtheme="dark"] .public-profile-page .public-profile-rig-inventory.box {
  border-color: #cfd7df;
  box-shadow: 0 10px 24px rgba(31, 53, 72, 0.08);
}

body[data-mrrtheme="dark"] .public-profile-page .public-profile-rig-inventory .header-box,
body[data-mrrtheme="dark"] .public-profile-page .public-profile-rig-inventory .box > .box-content {
  background: #eef1f4;
}

body[data-mrrtheme="dark"] .public-profile-page .public-profile-rig-inventory .header-box {
  border-bottom-color: #cfd7df;
}

body[data-mrrtheme="dark"] .public-profile-page .public-profile-rig-inventory .header-box .title,
body[data-mrrtheme="dark"] .public-profile-page .public-profile-rig-name,
body[data-mrrtheme="dark"] .public-profile-page .table > tbody > tr > td,
body[data-mrrtheme="dark"] .public-profile-page .table > tbody > tr > td a {
  color: #203246;
}

body[data-mrrtheme="dark"] .public-profile-page .public-profile-rig-subtle,
body[data-mrrtheme="dark"] .public-profile-page .public-profile-rented-copy,
body[data-mrrtheme="dark"] .public-profile-page .public-profile-rigs-count {
  color: #6a7480;
}

body[data-mrrtheme="dark"] .public-profile-page .public-profile-rigs-count span + span {
  border-left-color: rgba(42, 122, 226, 0.24);
}

body[data-mrrtheme="dark"] .public-profile-page .public-profile-massrent-tools {
  border-bottom-color: #cfd7df;
}

body[data-mrrtheme="night"] .public-profile-page .public-profile-rig-inventory.box {
  border-color: #3a4148;
  box-shadow: 0 12px 26px rgba(0, 0, 0, 0.3);
}

body[data-mrrtheme="night"] .public-profile-page .public-profile-rig-inventory .header-box,
body[data-mrrtheme="night"] .public-profile-page .public-profile-rig-inventory .box > .box-content {
  background: #24282d;
}

body[data-mrrtheme="night"] .public-profile-page .public-profile-rig-inventory .header-box {
  border-bottom-color: #3a4148;
}

body[data-mrrtheme="night"] .public-profile-page .public-profile-rig-inventory .header-box .title,
body[data-mrrtheme="night"] .public-profile-page .public-profile-rig-name,
body[data-mrrtheme="night"] .public-profile-page .table > tbody > tr > td,
body[data-mrrtheme="night"] .public-profile-page .table > tbody > tr > td a {
  color: #eef2f5;
}

body[data-mrrtheme="night"] .public-profile-page .public-profile-rig-subtle,
body[data-mrrtheme="night"] .public-profile-page .public-profile-rented-copy,
body[data-mrrtheme="night"] .public-profile-page .public-profile-rigs-count {
  color: #a0aab4;
}

body[data-mrrtheme="night"] .public-profile-page .public-profile-rigs-count span + span {
  border-left-color: rgba(140, 188, 255, 0.28);
}

body[data-mrrtheme="night"] .public-profile-page .public-profile-massrent-tools {
  border-bottom-color: #3a4148;
}

body[data-mrrtheme="dark"] .public-profile-top-area,
body[data-mrrtheme="dark"] .public-profile-stat,
body[data-mrrtheme="dark"] .public-rig-row,
body[data-mrrtheme="dark"] .public-profile-empty {
  background: #f7f8fa;
  border-color: #cfd8e1;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.82), 0 1px 2px rgba(31,53,72,0.05);
}

body[data-mrrtheme="dark"] .public-profile-stat {
	  border-left: 4px solid #3c8dbc;
}

body[data-mrrtheme="dark"] .public-profile-page .page-header h1,
body[data-mrrtheme="dark"] .public-profile-identity h2,
body[data-mrrtheme="dark"] .public-profile-inventory-title,
body[data-mrrtheme="dark"] .public-profile-stat strong,
body[data-mrrtheme="dark"] .public-rig-cell strong,
body[data-mrrtheme="dark"] .public-rig-title,
body[data-mrrtheme="dark"] .public-profile-empty h3 {
  color: #203246 !important;
}

body[data-mrrtheme="dark"] .public-profile-kicker,
body[data-mrrtheme="dark"] .public-profile-section-eyebrow,
body[data-mrrtheme="dark"] .public-profile-identity p,
body[data-mrrtheme="dark"] .public-profile-stat span,
body[data-mrrtheme="dark"] .public-rig-cell span,
body[data-mrrtheme="dark"] .public-rig-cell small,
body[data-mrrtheme="dark"] .public-rig-meta,
body[data-mrrtheme="dark"] .public-rig-rented-copy,
body[data-mrrtheme="dark"] .public-profile-empty p {
  color: #6a7480 !important;
}

body[data-mrrtheme="dark"] .public-profile-avatar {
  background: rgba(42, 122, 226, 0.1);
  border-color: rgba(42, 122, 226, 0.22);
}

body[data-mrrtheme="dark"] .public-rig-row.is-available {
  border-color: rgba(46, 204, 113, 0.32);
  box-shadow: inset 4px 0 0 rgba(46, 204, 113, 0.68);
}

body[data-mrrtheme="dark"] .public-rig-row.is-rented {
  border-color: rgba(245, 166, 35, 0.36);
  box-shadow: inset 4px 0 0 rgba(245, 166, 35, 0.74);
}

body[data-mrrtheme="dark"] .public-rig-status-text.is-available {
  color: #167d42 !important;
}

body[data-mrrtheme="dark"] .public-rig-status-text.is-rented {
  color: #9a5d00 !important;
}

body[data-mrrtheme="dark"] .public-profile-count-summary span + span {
  border-left-color: rgba(42, 122, 226, 0.24);
}

body[data-mrrtheme="night"] .public-profile-top-area,
body[data-mrrtheme="night"] .public-profile-stat,
body[data-mrrtheme="night"] .public-rig-row,
body[data-mrrtheme="night"] .public-profile-empty {
  background: #2f343a;
  border-color: #424950;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.04), 0 1px 2px rgba(0,0,0,0.18);
}

body[data-mrrtheme="night"] .public-profile-page .page-header h1,
body[data-mrrtheme="night"] .public-profile-identity h2,
body[data-mrrtheme="night"] .public-profile-inventory-title,
body[data-mrrtheme="night"] .public-profile-stat strong,
body[data-mrrtheme="night"] .public-rig-cell strong,
body[data-mrrtheme="night"] .public-rig-title,
body[data-mrrtheme="night"] .public-profile-empty h3 {
  color: #eef2f5 !important;
}

body[data-mrrtheme="night"] .public-profile-kicker,
body[data-mrrtheme="night"] .public-profile-section-eyebrow,
body[data-mrrtheme="night"] .public-profile-identity p,
body[data-mrrtheme="night"] .public-profile-stat span,
body[data-mrrtheme="night"] .public-rig-cell span,
body[data-mrrtheme="night"] .public-rig-cell small,
body[data-mrrtheme="night"] .public-rig-meta,
body[data-mrrtheme="night"] .public-rig-rented-copy,
body[data-mrrtheme="night"] .public-profile-empty p {
  color: #a0aab4 !important;
}

body[data-mrrtheme="night"] .public-profile-avatar {
  background: rgba(94, 160, 255, 0.12);
  border-color: rgba(94, 160, 255, 0.24);
  color: #8cbcff;
}

body[data-mrrtheme="night"] .public-rig-meta a {
  color: #8cbcff;
}

body[data-mrrtheme="night"] .public-rig-row.is-available {
  border-color: rgba(92, 184, 92, 0.42);
  box-shadow: inset 4px 0 0 rgba(92, 184, 92, 0.78);
}

body[data-mrrtheme="night"] .public-rig-row.is-rented {
  border-color: rgba(240, 173, 78, 0.48);
  box-shadow: inset 4px 0 0 rgba(240, 173, 78, 0.82);
}

body[data-mrrtheme="night"] .public-rig-status-text.is-available {
  color: #80d98a !important;
}

body[data-mrrtheme="night"] .public-rig-status-text.is-rented {
  color: #f5c46f !important;
}

body[data-mrrtheme="night"] .public-profile-count-summary span + span {
  border-left-color: rgba(140, 188, 255, 0.28);
}

@media (min-width: 768px) {
  .account-profile-page .profile-section-header,
  .account-profile-page .profile-card-grid,
  .account-profile-page .profile-achievements-summary,
  .account-profile-page .profile-achievements-wrap,
  .account-profile-page .profile-form-grid,
  .account-profile-page .profile-auth-card,
  .account-profile-page .profile-actions {
    margin-left: 26px;
  }
}

@media (min-width: 1200px) {
  .account-profile-page .profile-section-header,
  .account-profile-page .profile-card-grid,
  .account-profile-page .profile-achievements-summary,
  .account-profile-page .profile-achievements-wrap,
  .account-profile-page .profile-form-grid,
  .account-profile-page .profile-auth-card,
  .account-profile-page .profile-actions {
    margin-left: 90px;
  }
}

.account-history-page .page-header {
  margin-bottom: 18px;
}

.account-history-page .page-header h1 {
  display: flex;
  float: none !important;
  font-size: 32px;
  font-weight: 700;
  margin: 0;
}

.account-history-page .history-kicker {
  color: #209cee;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  margin-bottom: 8px;
  text-transform: uppercase;
}

.account-history-page .history-intro {
  color: #6a7480;
  font-size: 15px;
  line-height: 1.6;
  margin: 10px 0 0;
  max-width: 780px;
}

.account-history-page .history-status-stack {
  margin-bottom: 20px;
}

.account-history-page .history-status-stack .alert {
  border-radius: 12px;
  margin-bottom: 12px;
  padding: 14px 16px;
}

.account-history-page .history-account-nav {
  margin-bottom: 16px;
}

.account-history-page .history-box-intro {
  align-items: flex-start;
  display: flex;
  gap: 16px;
  justify-content: space-between;
  margin: 0;
}

.account-history-page .history-box-title {
  color: inherit;
  font-size: 20px;
  font-weight: 700;
  line-height: 1.35;
  margin: 0;
}

.account-history-page .history-box-copy {
  color: #6a7480;
  font-size: 15px;
  line-height: 1.55;
  margin: 0 0 18px;
  max-width: 760px;
}

.account-history-page .history-box-badge {
  background: rgba(42, 122, 226, 0.12);
  border-radius: 999px;
  color: #1f5ea8;
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  padding: 8px 12px;
  white-space: nowrap;
}

.account-history-page .box {
  border: 1px solid #dbe5ef;
  border-radius: 16px;
  box-shadow: 0 12px 28px rgba(32, 50, 70, 0.08);
  margin-bottom: 18px;
  overflow: hidden;
}

.account-history-page .box .header-box {
  background: #fafcff;
  border-bottom: 1px solid #e3ebf3;
  padding: 0;
}

.account-history-page .box .header-box .title {
  color: #203246;
  padding: 20px 24px;
}

.account-history-page .box > .box-content {
  background: #fafcff;
  border: 0;
  padding: 24px;
}

.account-history-page .box:last-child {
  margin-bottom: 0;
}

.account-history-page .box-content table.table {
  margin-bottom: 0;
}

.account-history-page .box-content table.table > thead > tr > th {
  background: rgba(42, 122, 226, 0.04);
  border-bottom-width: 1px;
  color: #4b5663;
  font-size: 12px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.account-history-page .box-content table.table > tbody > tr > td {
  vertical-align: middle;
}

.account-history-page #account_table table.table {
  table-layout: fixed;
  width: 100% !important;
  min-width: 900px;
}

.account-history-page #account_table {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.account-history-page #account_table table.table > thead > tr > th,
.account-history-page #account_table table.table > tbody > tr > td {
  white-space: normal;
  word-break: break-word;
}

.account-history-page #account_table table.table > thead > tr > th:first-child,
.account-history-page #account_table table.table > tbody > tr > td:first-child {
  white-space: nowrap;
}

.account-history-page .history-admin-close {
  margin-left: 6px;
  min-width: 27px;
}

.account-history-page .history-id-cell {
  font-weight: 600;
  white-space: nowrap;
}

.account-history-page .history-box-meta {
  color: #6a7480;
  font-size: 13px;
  line-height: 1.5;
  margin-top: 10px;
}

body[data-mrrtheme="dark"] .account-history-page .box {
  border-color: #cfd7df;
  box-shadow: 0 10px 24px rgba(31, 53, 72, 0.08);
}

body[data-mrrtheme="dark"] .account-history-page .box > .box-content {
  background: #eef1f4;
}

body[data-mrrtheme="dark"] .account-history-page .box .header-box {
  background: #eef1f4;
  border-bottom-color: #cfd7df;
}

body[data-mrrtheme="dark"] .account-history-page .box .header-box .title {
  color: #203246;
}

body[data-mrrtheme="night"] .account-history-page .box {
  border-color: #3a4148;
  box-shadow: 0 12px 26px rgba(0, 0, 0, 0.3);
}

body[data-mrrtheme="night"] .account-history-page .box > .box-content {
  background: #24282d;
}

body[data-mrrtheme="night"] .account-history-page .box .header-box {
  background: #24282d;
  border-bottom-color: #3a4148;
}

body[data-mrrtheme="night"] .account-history-page .box .header-box .title {
  color: #eef2f5;
}

@media (max-width: 1199px) {
  .balance-page .box-content > .col-lg-9,
  .balance-page .box-content > .col-lg-3 {
    width: 100%;
  }

  .balance-page .table.borderless td[rowspan] {
    display: none;
  }
}

@media (min-width: 992px) and (max-width: 1399px) {
  .ticket-detail-layout .ticket-detail-columns {
    display: flex;
    flex-direction: column;
  }

  .ticket-detail-layout .ticket-summary-rail,
  .ticket-detail-layout .ticket-main-column {
    float: none;
    max-width: 100%;
    width: 100%;
  }

  .ticket-detail-layout .ticket-main-column {
    order: 1;
  }

  .ticket-detail-layout .ticket-summary-rail {
    order: 2;
  }
}
@media (max-width: 1399px) {
  .rig-detail-page .rig-detail-main-grid > .rig-detail-action-column,
  .rig-detail-page .rig-detail-main-grid > .rig-detail-performance-column {
    float: none;
    width: 100%;
  }
}

@media (max-width: 991px) {
  .settings-page .settings-security-layout,
  .settings-page .settings-referral-layout {
    grid-template-columns: 1fr;
  }

  .settings-page .settings-choice-group {
    justify-content: flex-start;
    margin-top: 14px;
  }
}

@media (max-width: 1199px) {
  .public-rig-row {
    align-items: start;
    grid-template-columns: minmax(220px, 1fr) minmax(110px, 0.55fr) minmax(120px, 0.6fr);
  }

  .public-rig-row-actions {
    grid-column: 1 / -1;
    justify-content: flex-start;
  }
}

@media (max-width: 991px) {
  .public-profile-top-area {
    grid-template-columns: 1fr;
  }
}


@media (min-width: 768px) and (max-width: 991px) {
  .rig-detail-page.rig-detail-owner-page .rig-detail-title-actions.rig-detail-owner-status {
    align-items: stretch;
    flex-direction: row;
    min-width: 320px;
  }

  .rig-detail-page.rig-detail-owner-page .rig-detail-owner-status .rig-detail-status-pill,
  .rig-detail-page.rig-detail-owner-page .rig-detail-owner-status .rig-detail-rental-state {
    flex: 1 1 0;
    min-width: 145px;
    width: auto;
  }
}
@media (max-width: 767px) {
  .public-profile-page .page-header {
    display: block;
  }

  .public-profile-status-pill {
    margin-top: 12px;
  }

  .public-profile-top-area,
  .public-profile-stat-grid,
  .public-rig-row {
    grid-template-columns: 1fr;
  }

  .public-profile-inventory-header {
    align-items: flex-start;
    display: block;
  }

  .public-profile-inventory-header .public-profile-count {
    margin-top: 10px;
  }

  .public-rig-row {
    align-items: stretch;
    gap: 10px;
    padding: 12px 14px;
  }

  .public-rig-row-actions {
    justify-content: flex-start;
  }

  .public-profile-page .page-header h1 {
    font-size: 28px;
  }

  .account-profile-page .page-header h1 {
    font-size: 28px;
  }

  .account-profile-page .profile-section-header {
    display: block;
  }

  .account-profile-page .profile-section-badge {
    margin-top: 12px;
  }

  .account-profile-page .profile-achievements-summary {
    grid-template-columns: 1fr;
  }

  .account-profile-page .profile-achievement-row {
    grid-template-columns: 40px 1fr;
  }

  .account-profile-page .profile-achievement-state {
    grid-column: 2;
    justify-self: flex-start;
  }

  .account-profile-page .profile-actions {
    text-align: center;
  }

  .account-profile-page .profile-actions .btn {
    width: 100%;
  }

  .settings-page .settings-section .header-box .title {
    padding: 16px;
  }

  .settings-page .settings-section .box-content {
    padding: 16px;
  }

  .settings-page .settings-jumpnav {
    padding: 10px;
    top: 0;
  }

  .settings-page .settings-section-header {
    display: block;
  }

  .settings-page .settings-section-badge {
    margin-top: 12px;
  }

  .settings-page .form-horizontal .control-label {
    margin-bottom: 6px;
    text-align: left;
  }

  .settings-page .settings-actions .settings-actions-inline {
    display: block;
  }

  .settings-page .settings-actions .btn,
  .settings-page .settings-confirm-box .btn {
    margin-right: 0;
    width: 100%;
  }

  .settings-page .settings-choice-group {
    display: block;
  }

  .settings-page .settings-choice-group .radio-inline {
    display: block;
    margin-bottom: 8px;
    width: 100%;
  }

  .settings-page .settings-region-checkbox-grid {
    grid-template-columns: 1fr;
  }

  .settings-page .settings-currency-header {
    display: block;
  }

  .settings-page .settings-address-button {
    margin-top: 12px;
  }

  .settings-page .settings-qr-card {
    display: flex;
    flex-direction: column;
  }

  .settings-page .settings-qr-card h3 {
    order: 1;
  }

  .settings-page .settings-qr-card p {
    order: 2;
  }

  .settings-page .settings-qr-card .settings-inline-inputs {
    order: 3;
  }

  .settings-page .settings-qr-action {
    order: 4;
  }

  .settings-page .settings-qr-card img {
    order: 5;
  }

  .account-history-page .box .header-box .title,
  .account-history-page .box > .box-content {
    padding: 16px;
  }

  .account-history-page .history-box-intro {
    display: block;
  }

  .account-history-page .history-box-badge {
    margin-top: 12px;
  }

  .balance-page .page-header h1 {
    font-size: 28px;
  }

  .balance-page .box > .box-content {
    padding: 18px;
  }

  .balance-page .box .header-box .title {
    font-size: 18px;
    padding: 18px;
  }

  .balance-page .balance-rate-chart-top {
    display: block;
  }

  .balance-page .balance-rate-chart-stats {
    justify-content: flex-start;
    margin-top: 12px;
  }

  .balance-page .balance-activity-list {
    max-height: 900px;
    padding-right: 4px;
  }

  .balance-page .balance-activity-row {
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
  }

  .balance-page .balance-activity-date {
    flex-basis: auto;
  }

  .balance-page .balance-activity-amount {
    flex-basis: auto;
    text-align: left;
    width: 100%;
  }

  .balance-page .table.borderless,
  .balance-page .table.borderless > tbody,
  .balance-page .table.borderless > tbody > tr,
  .balance-page .table.borderless > tbody > tr > td {
    display: block;
    width: 100% !important;
  }

  .balance-page .table.borderless > tbody > tr {
    border-top: 1px solid #e8edf4;
    padding: 10px 0;
  }

  .balance-page .table.borderless > tbody > tr:first-child {
    border-top: 0;
    padding-top: 0;
  }

  .balance-page .table.borderless > tbody > tr > td {
    border-top: 0;
    padding: 4px 0;
    text-align: left !important;
  }

  .balance-page .table.borderless td img {
    margin-top: 10px;
  }

  .balance-page .balance-qr-row {
    margin-top: 12px;
    padding-top: 16px !important;
  }

  .balance-page .balance-qr-row > td:first-child {
    color: #647587;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-align: center !important;
    text-transform: uppercase;
  }

  .balance-page .balance-qr-row > td {
    text-align: center !important;
  }

  .balance-page .balance-qr-row img {
    display: block;
    float: none !important;
    margin: 10px auto 0;
  }
}

/* Support Tickets center */
.tickets-center .page-header {
  border-bottom: 0;
  margin-bottom: 18px;
}

.txhistory-page .txhistory-account-nav {
  margin-bottom: 16px;
}

.txhistory-page .page-header {
  border-bottom: 0;
  margin: 0 0 18px;
}

.txhistory-page .page-header h1 {
  display: flex;
  float: none !important;
  font-size: 32px;
  font-weight: 700;
  margin: 0;
}

.txhistory-page .txhistory-kicker {
  color: #5e7388;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  margin-bottom: 10px;
  text-transform: uppercase;
}

.txhistory-page .txhistory-intro {
  color: #5f6f80;
  font-size: 15px;
  line-height: 1.7;
  margin: 12px 0 0;
  max-width: 850px;
}

.txhistory-page .txhistory-status-stack {
  margin-bottom: 18px;
}

.txhistory-page .txhistory-status-stack .alert + .alert {
  margin-top: 10px;
}

.txhistory-page .box {
  border: 1px solid #dbe5ef;
  border-radius: 16px;
  box-shadow: 0 12px 28px rgba(32, 50, 70, 0.08);
  margin-bottom: 24px;
  overflow: hidden;
}

.txhistory-page .box .header-box {
  background: #fafcff;
  border-bottom: 1px solid #e3ebf3;
  padding: 0;
}

.txhistory-page .box .header-box .title {
  color: #203246;
  font-size: 20px;
  font-weight: 700;
  line-height: 1.35;
  padding: 20px 24px;
}

.txhistory-page .box > .box-content {
  background: #fafcff;
  padding: 24px;
}

.txhistory-page .txhistory-panel-grid {
  margin-bottom: 18px;
}

.txhistory-page .txhistory-action-card {
  background: #ffffff;
  border: 1px solid #dbe6ef;
  border-radius: 16px;
  box-shadow: 0 10px 22px rgba(32, 50, 70, 0.06);
  padding: 18px;
}

.txhistory-page .txhistory-panel-grid .txhistory-action-card {
  box-shadow: none;
  padding: 14px 16px;
}

.txhistory-page .txhistory-action-card.is-download {
  background: linear-gradient(135deg, #ffffff 0%, #f3f8fd 100%);
  border-color: #cfe0ef;
}

.txhistory-page .txhistory-audit-section .box-content {
  padding: 20px 24px;
}

.txhistory-page .txhistory-audit-section .txhistory-action-card {
  max-width: 940px;
}

.txhistory-page .txhistory-insights-section .box-content {
  padding: 20px 24px 24px;
}

.txhistory-page .txhistory-insights-toolbar {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: space-between;
  margin-bottom: 16px;
}

.txhistory-page .txhistory-insights-title h3 {
  color: #203246;
  font-size: 18px;
  font-weight: 700;
  margin: 0 0 4px;
}

.txhistory-page .txhistory-insights-title p {
  color: #637383;
  font-size: 13px;
  line-height: 1.5;
  margin: 0;
}

.txhistory-page .txhistory-insights-controls {
  align-items: center;
  display: flex;
  gap: 8px;
}

.txhistory-page .txhistory-insights-controls label {
  color: #526579;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  margin: 0;
  text-transform: uppercase;
}

.txhistory-page .txhistory-insights-controls .form-control {
  border: 1px solid #cfe0ef;
  border-radius: 12px;
  min-height: 38px;
  min-width: 130px;
}

.txhistory-page .txhistory-insights-state {
  background: #ffffff;
  border: 1px dashed #cfe0ef;
  border-radius: 14px;
  color: #637383;
  padding: 18px;
}

.txhistory-page .txhistory-insights-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 360px);
}

.txhistory-page .txhistory-insights-card {
  background: #ffffff;
  border: 1px solid #dbe6ef;
  border-radius: 16px;
  box-shadow: 0 10px 22px rgba(32, 50, 70, 0.05);
  padding: 16px;
}

.txhistory-page .txhistory-insights-card h4 {
  color: #203246;
  font-size: 15px;
  font-weight: 800;
  margin: 0 0 12px;
}

.txhistory-page .txhistory-summary-grid,
.txhistory-page .txhistory-ledger-grid,
.txhistory-page .txhistory-rental-grid {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
}

.txhistory-page .txhistory-metric {
  background: linear-gradient(135deg, #fbfdff 0%, #f5f9fd 100%);
  border: 1px solid #e0e9f2;
  border-radius: 14px;
  padding: 12px;
}

.txhistory-page .txhistory-metric-label {
  color: #6a7b8d;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.06em;
  margin-bottom: 5px;
  text-transform: uppercase;
}

.txhistory-page .txhistory-metric-value {
  color: #203246;
  font-size: 18px;
  font-weight: 800;
  line-height: 1.25;
  overflow-wrap: anywhere;
}

.txhistory-page .txhistory-metric-note {
  color: #728296;
  font-size: 12px;
  margin-top: 4px;
}

.txhistory-page .txhistory-monthly-chart {
  display: grid;
  gap: 8px;
  grid-template-columns: repeat(12, minmax(34px, 1fr));
  min-height: 170px;
  overflow-x: auto;
  padding-bottom: 2px;
}

.txhistory-page .txhistory-month-bar {
  align-items: center;
  display: flex;
  flex-direction: column;
  gap: 7px;
  justify-content: flex-end;
  min-width: 34px;
}

.txhistory-page .txhistory-month-stack {
  align-items: stretch;
  background: #edf3f9;
  border-radius: 7px 7px 4px 4px;
  display: flex;
  flex-direction: column-reverse;
  height: 118px;
  justify-content: flex-start;
  overflow: hidden;
  width: 100%;
}

.txhistory-page .txhistory-month-segment {
  min-height: 2px;
}

.txhistory-page .txhistory-month-label {
  color: #6b7d8f;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
}

.txhistory-page .txhistory-chart-key {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
  margin-top: 12px;
}

.txhistory-page .txhistory-chart-key span {
  align-items: center;
  color: #647587;
  display: inline-flex;
  font-size: 12px;
  gap: 6px;
}

.txhistory-page .txhistory-chart-key i {
  border-radius: 999px;
  display: inline-block;
  height: 9px;
  width: 9px;
}

.txhistory-page .txhistory-rental-list {
  display: grid;
  gap: 8px;
  margin-top: 12px;
}

.txhistory-page .txhistory-rental-row {
  align-items: center;
  background: #f8fbfe;
  border: 1px solid #e1eaf3;
  border-radius: 12px;
  display: flex;
  gap: 10px;
  justify-content: space-between;
  padding: 9px 10px;
}

.txhistory-page .txhistory-rental-row a {
  font-weight: 800;
  text-decoration: underline;
}

.txhistory-page .txhistory-card-kicker {
  color: #647587;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  margin-bottom: 6px;
  text-transform: uppercase;
}

.txhistory-page .txhistory-card-title {
  color: #203246;
  font-size: 18px;
  font-weight: 700;
  margin: 0 0 8px;
}

.txhistory-page .txhistory-card-copy {
  color: #637383;
  font-size: 13px;
  line-height: 1.6;
  margin: 0 0 14px;
}

.txhistory-page .txhistory-shortcut-heading {
  align-items: flex-start;
  display: flex;
  gap: 16px;
  justify-content: space-between;
  margin-bottom: 12px;
}

.txhistory-page .txhistory-shortcut-heading .txhistory-card-copy {
  margin-bottom: 0;
  max-width: 640px;
}

.txhistory-page .txhistory-shortcuts {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
}

.txhistory-page .txhistory-shortcut {
  border-radius: 999px;
  font-weight: 700;
  padding: 8px 13px;
}

.txhistory-page .txhistory-download-btn {
  align-items: center;
  border-radius: 14px;
  display: flex;
  font-size: 14px;
  font-weight: 800;
  gap: 9px;
  justify-content: center;
  min-height: 46px;
  width: 100%;
}

.txhistory-page .txhistory-download-note {
  color: #738396;
  display: block;
  font-size: 12px;
  line-height: 1.5;
  margin-top: 10px;
}

.txhistory-page .txhistory-audit-form {
  display: grid;
  gap: 12px;
}

.txhistory-page .txhistory-audit-fields {
  display: grid;
  gap: 10px;
  grid-template-columns: 120px minmax(0, 1fr);
}

.txhistory-page .txhistory-audit-field label {
  color: #526579;
  display: block;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  margin-bottom: 6px;
  text-transform: uppercase;
}

.txhistory-page .txhistory-audit-field .form-control {
  border: 1px solid #cfe0ef;
  border-radius: 12px;
  box-shadow: none;
  min-height: 36px;
}

.txhistory-page .txhistory-audit-field .form-control:focus {
  border-color: #9dc0eb;
  box-shadow: 0 0 0 3px rgba(42, 122, 226, 0.12);
}

.txhistory-page .txhistory-audit-actions {
  display: grid;
  gap: 9px;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
}

.txhistory-page .txhistory-audit-actions .btn {
  align-items: center;
  border-radius: 14px;
  display: flex;
  font-size: 13px;
  font-weight: 800;
  gap: 8px;
  justify-content: center;
  min-height: 44px;
}

.txhistory-page .txhistory-audit-detail {
  background: rgba(42, 122, 226, 0.06);
  border: 1px solid rgba(42, 122, 226, 0.12);
  border-radius: 12px;
  color: #526579;
  font-size: 12px;
  line-height: 1.55;
  margin: 0;
  padding: 10px 12px;
}

.txhistory-page .txhistory-table-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.txhistory-page #txnt1 {
  margin-bottom: 0 !important;
  min-width: 980px;
  width: 100% !important;
}

.txhistory-page .box-content table.table > thead > tr > th {
  background: rgba(42, 122, 226, 0.04);
  border-bottom-width: 1px;
  color: #4b5663;
  font-size: 12px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.txhistory-page .box-content table.table > tbody > tr > td {
  vertical-align: middle;
}

.txhistory-page #txnt1 td:first-child,
.txhistory-page #txnt1 th:first-child {
  text-align: center;
  width: 34px;
}

.txhistory-page #txnt1 td:nth-child(4) {
  white-space: nowrap;
}

.txhistory-page #txnt1 td:nth-child(6) {
  max-width: 460px;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.txhistory-page .dataTables_wrapper .dataTables_filter input,
.txhistory-page .dataTables_wrapper .dataTables_length select {
  border: 1px solid #cfe0ef;
  border-radius: 10px;
  padding: 6px 9px;
}

.txhistory-page .dataTables_wrapper .dataTables_filter input:focus,
.txhistory-page .dataTables_wrapper .dataTables_length select:focus {
  border-color: #9dc0eb;
  box-shadow: 0 0 0 3px rgba(42, 122, 226, 0.12);
  outline: none;
}

.txhistory-page .txhistory-table-meta {
  color: #6a7480;
  font-size: 13px;
  line-height: 1.5;
  margin: 14px 0 0;
}

body[data-mrrtheme="dark"] .txhistory-page .box {
  border-color: #cfd7df;
  box-shadow: 0 10px 24px rgba(31, 53, 72, 0.08);
}

body[data-mrrtheme="dark"] .txhistory-page .box .header-box,
body[data-mrrtheme="dark"] .txhistory-page .box > .box-content {
  background: #eef1f4;
}

body[data-mrrtheme="dark"] .txhistory-page .box .header-box {
  border-bottom-color: #cfd7df;
}

body[data-mrrtheme="night"] .txhistory-page .txhistory-kicker,
body[data-mrrtheme="night"] .txhistory-page .txhistory-intro,
body[data-mrrtheme="night"] .txhistory-page .txhistory-card-copy,
body[data-mrrtheme="night"] .txhistory-page .txhistory-insights-title p,
body[data-mrrtheme="night"] .txhistory-page .txhistory-table-meta,
body[data-mrrtheme="night"] .txhistory-page .txhistory-download-note {
  color: #a0aab4;
}

body[data-mrrtheme="night"] .txhistory-page .box {
  border-color: #3a4148;
  box-shadow: 0 12px 26px rgba(0, 0, 0, 0.3);
}

body[data-mrrtheme="night"] .txhistory-page .box .header-box,
body[data-mrrtheme="night"] .txhistory-page .box > .box-content {
  background: #24282d;
}

body[data-mrrtheme="night"] .txhistory-page .box .header-box {
  border-bottom-color: #3a4148;
}

body[data-mrrtheme="night"] .txhistory-page .box .header-box .title,
body[data-mrrtheme="night"] .txhistory-page .txhistory-card-title,
body[data-mrrtheme="night"] .txhistory-page .txhistory-insights-title h3,
body[data-mrrtheme="night"] .txhistory-page .txhistory-insights-card h4 {
  color: #eef2f5;
}

body[data-mrrtheme="night"] .txhistory-page .txhistory-action-card,
body[data-mrrtheme="night"] .txhistory-page .txhistory-insights-card,
body[data-mrrtheme="night"] .txhistory-page .txhistory-insights-state {
  background: #2b3036;
  border-color: #3a4148;
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.24);
}

body[data-mrrtheme="night"] .txhistory-page .txhistory-action-card.is-download {
  background: linear-gradient(135deg, #2b3036 0%, #252a2f 100%);
  border-color: #3a4148;
}

body[data-mrrtheme="night"] .txhistory-page .txhistory-card-kicker,
body[data-mrrtheme="night"] .txhistory-page .txhistory-insights-controls label,
body[data-mrrtheme="night"] .txhistory-page .txhistory-audit-field label,
body[data-mrrtheme="night"] .txhistory-page .txhistory-metric-label,
body[data-mrrtheme="night"] .txhistory-page .txhistory-month-label,
body[data-mrrtheme="night"] .txhistory-page .txhistory-chart-key span {
  color: #a0aab4;
}

body[data-mrrtheme="night"] .txhistory-page .txhistory-insights-controls .form-control,
body[data-mrrtheme="night"] .txhistory-page .txhistory-audit-field .form-control,
body[data-mrrtheme="night"] .txhistory-page .dataTables_wrapper .dataTables_filter input,
body[data-mrrtheme="night"] .txhistory-page .dataTables_wrapper .dataTables_length select {
  background: #202428;
  border-color: #343a40;
  color: #eef2f5;
}

body[data-mrrtheme="night"] .txhistory-page .txhistory-insights-controls .form-control:focus,
body[data-mrrtheme="night"] .txhistory-page .txhistory-audit-field .form-control:focus,
body[data-mrrtheme="night"] .txhistory-page .dataTables_wrapper .dataTables_filter input:focus,
body[data-mrrtheme="night"] .txhistory-page .dataTables_wrapper .dataTables_length select:focus {
  border-color: #5ea0ff;
  box-shadow: 0 0 0 3px rgba(94, 160, 255, 0.16);
}

body[data-mrrtheme="night"] .txhistory-page .txhistory-metric,
body[data-mrrtheme="night"] .txhistory-page .txhistory-rental-row {
  background: #202428;
  border-color: #343a40;
}

body[data-mrrtheme="night"] .txhistory-page .txhistory-metric-value,
body[data-mrrtheme="night"] .txhistory-page .txhistory-rental-row strong {
  color: #eef2f5;
}

body[data-mrrtheme="night"] .txhistory-page .txhistory-metric-note {
  color: #8f99a3;
}

body[data-mrrtheme="night"] .txhistory-page .txhistory-month-stack {
  background: #202428;
}

body[data-mrrtheme="night"] .txhistory-page .txhistory-audit-detail {
  background: #202428;
  border-color: #343a40;
  color: #a0aab4;
}

body[data-mrrtheme="night"] .txhistory-page .pagination > li > a,
body[data-mrrtheme="night"] .txhistory-page .pagination > li > span {
  background: #202428;
  border-color: #343a40;
  color: #d8dde2;
}

body[data-mrrtheme="night"] .txhistory-page .pagination > .active > a,
body[data-mrrtheme="night"] .txhistory-page .pagination > .active > span {
  background: #2a7ae2;
  border-color: #2a7ae2;
  color: #fff;
}

@media (max-width: 991px) {
  .txhistory-page .txhistory-shortcut-heading {
    display: block;
  }

  .txhistory-page .txhistory-insights-grid {
    grid-template-columns: 1fr;
  }
}


@media (min-width: 768px) and (max-width: 991px) {
  .rig-detail-page.rig-detail-owner-page .rig-detail-title-actions.rig-detail-owner-status {
    align-items: stretch;
    flex-direction: row;
    min-width: 320px;
  }

  .rig-detail-page.rig-detail-owner-page .rig-detail-owner-status .rig-detail-status-pill,
  .rig-detail-page.rig-detail-owner-page .rig-detail-owner-status .rig-detail-rental-state {
    flex: 1 1 0;
    min-width: 145px;
    width: auto;
  }
}
@media (max-width: 767px) {
  .txhistory-page .page-header h1 {
    font-size: 28px;
  }

  .txhistory-page .box > .box-content {
    padding: 18px;
  }

  .txhistory-page .box .header-box .title {
    font-size: 18px;
    padding: 18px;
  }

  .txhistory-page .txhistory-shortcut {
    width: 100%;
  }

  .txhistory-page .txhistory-audit-fields,
  .txhistory-page .txhistory-audit-actions {
    grid-template-columns: 1fr;
  }

  .txhistory-page .txhistory-insights-toolbar,
  .txhistory-page .txhistory-insights-controls {
    align-items: stretch;
    display: grid;
    width: 100%;
  }

  .txhistory-page .txhistory-insights-controls .form-control {
    width: 100%;
  }

  .txhistory-page .txhistory-monthly-chart {
    grid-template-columns: repeat(12, 44px);
  }
}

.tickets-center .page-header h1 {
  display: flex;
  float: none !important;
  font-size: 32px;
  font-weight: 700;
  margin: 0;
}

.tickets-center .tickets-status-stack {
  margin-bottom: 20px;
}

.tickets-center .tickets-intro {
  color: #6a7480;
  font-size: 15px;
  line-height: 1.6;
  margin: 10px 0 18px;
  max-width: 820px;
}

.tickets-center .tickets-mobile-create-action {
  float: right;
  margin: 0 0 12px;
}

.tickets-center .tickets-alerts .alert {
  border-radius: 12px;
  margin-bottom: 14px;
  padding: 14px 16px;
}

.tickets-center .tickets-support-notices {
  align-items: stretch;
  background: #fafcff;
  border: 1px solid #dbe5ef;
  border-radius: 16px;
  box-shadow: 0 12px 28px rgba(32, 50, 70, 0.08);
  display: flex;
  margin-bottom: 18px;
  overflow: hidden;
}

.tickets-center .tickets-support-notices-icon {
  align-items: center;
  background: #2a7ae2;
  color: #ffffff;
  display: flex;
  flex: 0 0 52px;
  font-size: 22px;
  justify-content: center;
}

.tickets-center .tickets-support-notices-body {
  padding: 18px 20px;
}

.tickets-center .tickets-support-notices-body h3 {
  color: #203246;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.3;
  margin: 0 0 8px;
}

.tickets-center .tickets-support-notices-body p {
  color: #6a7480;
  font-size: 14px;
  line-height: 1.55;
  margin: 0 0 8px;
}

.tickets-center .tickets-support-notices-body p:last-child {
  margin-bottom: 0;
}

.tickets-center .tickets-panel {
  border: 1px solid #dbe5ef;
  border-radius: 16px;
  box-shadow: 0 12px 28px rgba(32, 50, 70, 0.08);
  margin-bottom: 18px;
  overflow: hidden;
}

.tickets-center .tickets-panel .header-box {
  background: #fafcff;
  border-bottom: 1px solid #e3ebf3;
  padding: 0;
}

.tickets-center .tickets-panel .header-box .title {
  color: #203246;
  font-size: 20px;
  font-weight: 700;
  line-height: 1.35;
  padding: 20px 24px;
}

.tickets-center .tickets-panel .box-content {
  background: #fafcff;
  border: 0;
  padding: 24px;
}

.tickets-center .tickets-create-panel .control-label {
  font-weight: 700;
}

.tickets-center .tickets-create-panel .help-block {
  color: #6a7480;
  font-size: 12px;
  line-height: 1.45;
  margin-bottom: 0;
}

.tickets-center .tickets-refund-option {
  background: rgba(42, 122, 226, 0.06);
  border: 1px solid rgba(42, 122, 226, 0.1);
  border-radius: 14px;
  margin: 2px 0 16px;
  padding: 12px 14px;
}

.tickets-center .tickets-refund-option label {
  cursor: pointer;
  font-weight: 600;
  margin: 0;
}

.tickets-center .tickets-refund-option input {
  margin-right: 7px;
}

.tickets-center .tickets-form-actions {
  border-top: 1px solid rgba(42, 122, 226, 0.1);
  margin-top: 16px;
  padding-top: 16px;
  text-align: right;
}

.tickets-center .tickets-tabs {
  padding: 0 24px;
}

.tickets-center .tickets-tabs > li > a {
  font-weight: 700;
}

.tickets-center .tickets-tab-content {
  padding: 16px 24px 24px;
}

.tickets-center .tickets-history-table-surface {
  background: #fafcff;
  border-radius: 14px;
}

.tickets-center .tickets-table-wrap {
  background: #ffffff;
  border: 1px solid rgba(42, 122, 226, 0.1);
  border-radius: 14px;
  overflow-x: auto;
}

.tickets-center .tickets-table td,
.tickets-center .tickets-table th {
  vertical-align: middle;
}

.tickets-center .tickets-table > thead > tr > th {
  background: rgba(42, 122, 226, 0.04);
  border-bottom-width: 1px;
  color: #4b5663;
  font-size: 12px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.tickets-center .tickets-table .tickets-unread-row td {
  font-weight: 700;
}

.tickets-center .tickets-reply-label {
  display: inline-block;
  margin-right: 5px;
}

.tickets-center .tickets-guidance .box-content,
.tickets-center .tickets-status-summary .box-content {
  padding-top: 24px;
}

.tickets-center .tickets-guidance-item {
  align-items: flex-start;
  border-bottom: 1px solid rgba(42, 122, 226, 0.1);
  display: flex;
  padding: 13px 0;
}

.tickets-center .tickets-guidance-item:first-child {
  padding-top: 0;
}

.tickets-center .tickets-guidance-item > i {
  color: #2a7ae2;
  flex: 0 0 28px;
  font-size: 18px;
  line-height: 24px;
}

.tickets-center .tickets-guidance-item h4 {
  color: #203246;
  font-size: 14px;
  font-weight: 700;
  margin: 0 0 4px;
}

.tickets-center .tickets-guidance-item p {
  color: #6a7480;
  font-size: 13px;
  line-height: 1.5;
  margin: 0;
}

.tickets-center .tickets-guidance-footer {
  padding-top: 14px;
}

.tickets-center .tickets-guidance-footer .btn + .btn {
  margin-top: 8px;
}

.tickets-center .tickets-summary-row {
  align-items: center;
  border-bottom: 1px solid rgba(42, 122, 226, 0.1);
  display: flex;
  justify-content: space-between;
  padding: 11px 0;
}

.tickets-center .tickets-summary-row:first-child {
  padding-top: 0;
}

.tickets-center .tickets-summary-row:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.tickets-center .tickets-summary-row span i {
  margin-right: 6px;
}

.tickets-center .tickets-mobile-list {
  padding: 0 0 4px;
}

.tickets-center .tickets-mobile-card {
  background: rgba(42, 122, 226, 0.03);
  border: 1px solid rgba(42, 122, 226, 0.1);
  border-radius: 14px;
  margin-bottom: 12px;
  padding: 13px;
}

.tickets-center .tickets-mobile-card.tickets-unread-card {
  border-left: 4px solid #f0ad4e;
}

.tickets-center .tickets-mobile-top {
  align-items: center;
  display: flex;
  justify-content: space-between;
  margin-bottom: 8px;
}

.tickets-center .tickets-id {
  font-weight: 700;
}

.tickets-center .tickets-mobile-subject {
  color: #203246;
  display: block;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.35;
  margin-bottom: 8px;
}

.tickets-center .tickets-mobile-reply {
  margin-bottom: 8px;
}

.tickets-center .tickets-mobile-meta {
  color: #6a7480;
  font-size: 12px;
  line-height: 1.5;
  margin-bottom: 10px;
}

.tickets-center .tickets-mobile-meta span {
  display: block;
}

.tickets-center .tickets-mobile-meta i {
  margin-right: 5px;
}

.tickets-center .tickets-empty-state {
  background: rgba(42, 122, 226, 0.03);
  border: 1px dashed rgba(42, 122, 226, 0.18);
  border-radius: 14px;
  color: #6a7480;
  padding: 18px;
  text-align: center;
}

body[data-mrrtheme="dark"] .tickets-center .tickets-support-notices,
body[data-mrrtheme="dark"] .tickets-center .tickets-panel {
  border-color: #cfd7df;
  box-shadow: 0 10px 24px rgba(31, 53, 72, 0.08);
}

body[data-mrrtheme="dark"] .tickets-center .tickets-support-notices,
body[data-mrrtheme="dark"] .tickets-center .tickets-panel .header-box,
body[data-mrrtheme="dark"] .tickets-center .tickets-panel .box-content {
  background: #eef1f4;
}

body[data-mrrtheme="dark"] .tickets-center .tickets-panel .header-box,
body[data-mrrtheme="dark"] .tickets-center .tickets-table-wrap {
  border-bottom-color: #cfd7df;
  border-color: #cfd7df;
}

body[data-mrrtheme="dark"] .tickets-center .tickets-empty-state,
body[data-mrrtheme="dark"] .tickets-center .tickets-mobile-card,
body[data-mrrtheme="dark"] .tickets-center .tickets-refund-option {
  background: #f3f6fa;
  border-color: #cfd7df;
}

body[data-mrrtheme="dark"] .tickets-center .tickets-history-table-surface,
body[data-mrrtheme="dark"] .tickets-center .tickets-table-wrap {
  background: #f7f8fa;
}

body[data-mrrtheme="night"] .tickets-center .tickets-intro,
body[data-mrrtheme="night"] .tickets-center .tickets-create-panel .help-block,
body[data-mrrtheme="night"] .tickets-center .tickets-guidance-item p,
body[data-mrrtheme="night"] .tickets-center .tickets-mobile-meta,
body[data-mrrtheme="night"] .tickets-center .tickets-empty-state {
  color: #a0aab4;
}

body[data-mrrtheme="night"] .tickets-center .tickets-support-notices,
body[data-mrrtheme="night"] .tickets-center .tickets-panel {
  border-color: #3a4148;
  box-shadow: 0 12px 26px rgba(0, 0, 0, 0.3);
}

body[data-mrrtheme="night"] .tickets-center .tickets-support-notices-body h3,
body[data-mrrtheme="night"] .tickets-center .tickets-panel .header-box .title,
body[data-mrrtheme="night"] .tickets-center .tickets-guidance-item h4,
body[data-mrrtheme="night"] .tickets-center .tickets-mobile-subject {
  color: #eef2f5;
}

body[data-mrrtheme="night"] .tickets-center .tickets-support-notices,
body[data-mrrtheme="night"] .tickets-center .tickets-panel .header-box,
body[data-mrrtheme="night"] .tickets-center .tickets-panel .box-content {
  background: #24282d;
}

body[data-mrrtheme="night"] .tickets-center .tickets-panel .header-box,
body[data-mrrtheme="night"] .tickets-center .tickets-table-wrap,
body[data-mrrtheme="night"] .tickets-center .tickets-guidance-item,
body[data-mrrtheme="night"] .tickets-center .tickets-summary-row {
  border-color: #3a4148;
}

body[data-mrrtheme="night"] .tickets-center .tickets-table > thead > tr > th {
  background: #2b3036;
  border-bottom-color: #3a4148;
  color: #9ba8b5;
}

body[data-mrrtheme="night"] .tickets-center .tickets-empty-state,
body[data-mrrtheme="night"] .tickets-center .tickets-mobile-card,
body[data-mrrtheme="night"] .tickets-center .tickets-refund-option {
  background: #2b3036;
  border-color: #3a4148;
}

body[data-mrrtheme="night"] .tickets-center .tickets-history-table-surface,
body[data-mrrtheme="night"] .tickets-center .tickets-table-wrap {
  background: #2b3036;
}

/* API documentation */
.api-doc-page .page-header {
  border-bottom: 0;
  margin: 0 0 18px;
}

.api-doc-page .page-header h1 {
  display: flex;
  float: none !important;
  font-size: 32px;
  font-weight: 700;
  margin: 0;
}

.api-doc-page .nav-pills,
.api-doc-page .nav-tabs {
  margin-bottom: 16px;
}

.api-doc-page .nav-tabs-simple + .tab-content > .tab-pane {
  background: #ffffff;
  border: 1px solid rgba(42, 122, 226, 0.1);
  border-radius: 14px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9);
  margin-top: 14px;
  padding: 18px 20px;
}

.api-doc-page .nav-tabs-simple + .tab-content > .tab-pane > .row:last-child,
.api-doc-page .nav-tabs-simple + .tab-content > .tab-pane > pre:last-child,
.api-doc-page .nav-tabs-simple + .tab-content > .tab-pane > p:last-child,
.api-doc-page .nav-tabs-simple + .tab-content > .tab-pane > ul:last-child {
  margin-bottom: 0;
}

.api-doc-page #rigview_tabs + .tab-content > .tab-pane {
  background: #fafcff;
  border: 1px solid #dbe5ef;
  border-radius: 16px;
  box-shadow: 0 12px 28px rgba(32, 50, 70, 0.08);
  padding: 24px;
}

.api-doc-page #rigview_tabs + .tab-content > .tab-pane > .box:last-child {
  margin-bottom: 0;
}

.api-doc-page .box {
  border: 1px solid #dbe5ef;
  border-radius: 16px;
  box-shadow: 0 12px 28px rgba(32, 50, 70, 0.08);
  margin-bottom: 24px;
  overflow: hidden;
}

.api-doc-page .box .header-box {
  background: #fafcff;
  border-bottom: 1px solid #e3ebf3;
  padding: 0;
}

.api-doc-page .box .header-box .title {
  color: #203246;
  font-size: 20px;
  font-weight: 700;
  line-height: 1.35;
  padding: 20px 24px;
}

.api-doc-page .box > .box-content {
  background: #fafcff;
  border: 0;
  padding: 24px;
}

.api-doc-page .box > .box-content > .box-content {
  background: transparent;
  border: 0;
  padding: 0;
}

.api-doc-page .lead {
  color: #6a7480;
  font-size: 15px;
  line-height: 1.6;
}

.api-doc-page .panel.panel-default {
  background: rgba(42, 122, 226, 0.03);
  border: 1px solid rgba(42, 122, 226, 0.1);
  border-radius: 14px;
  box-shadow: none;
  overflow: hidden;
}

.api-doc-page .panel.panel-default .panel-heading {
  background: transparent;
  border-bottom: 1px solid rgba(42, 122, 226, 0.1);
}

.api-doc-page .panel.panel-default .panel-title {
  color: #203246;
  font-weight: 700;
}

.api-doc-page .panel.panel-default .panel-body {
  background: transparent;
}

.api-doc-page .nav-tabs-simple > li > a,
.api-doc-page .nav-tabs > li > a,
.api-doc-page .nav-pills > li > a {
  font-weight: 700;
}

.api-doc-page table.table > thead > tr > th {
  background: rgba(42, 122, 226, 0.04);
  border-bottom-width: 1px;
  color: #4b5663;
  font-size: 12px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.api-doc-page pre {
  background: #f6f9fc;
  border: 1px solid rgba(42, 122, 226, 0.1);
  border-radius: 14px;
  color: #314559;
}

body[data-mrrtheme="dark"] .api-doc-page .box {
  border-color: #cfd7df;
  box-shadow: 0 10px 24px rgba(31, 53, 72, 0.08);
}

body[data-mrrtheme="dark"] .api-doc-page #rigview_tabs + .tab-content > .tab-pane {
  background: #eef1f4;
  border-color: #cfd7df;
  box-shadow: 0 10px 24px rgba(31, 53, 72, 0.08);
}

body[data-mrrtheme="dark"] .api-doc-page .nav-tabs-simple + .tab-content > .tab-pane {
  background: #ffffff;
  border-color: #c7d1da;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.95);
}

body[data-mrrtheme="dark"] .api-doc-page .box .header-box,
body[data-mrrtheme="dark"] .api-doc-page .box > .box-content {
  background: #eef1f4;
}

body[data-mrrtheme="dark"] .api-doc-page .box .header-box {
  border-bottom-color: #cfd7df;
}

body[data-mrrtheme="dark"] .api-doc-page .panel.panel-default,
body[data-mrrtheme="dark"] .api-doc-page pre {
  background: #f3f6fa;
  border-color: #cfd7df;
}

body[data-mrrtheme="dark"] .api-doc-page .panel.panel-default .panel-heading {
  border-bottom-color: #cfd7df;
}

body[data-mrrtheme="night"] .api-doc-page .box {
  border-color: #3a4148;
  box-shadow: 0 12px 26px rgba(0, 0, 0, 0.3);
}

body[data-mrrtheme="night"] .api-doc-page #rigview_tabs + .tab-content > .tab-pane {
  background: #24282d;
  border-color: #3a4148;
  box-shadow: 0 12px 26px rgba(0, 0, 0, 0.3);
}

body[data-mrrtheme="night"] .api-doc-page .nav-tabs-simple + .tab-content > .tab-pane {
  background: #30363d;
  border-color: #3a4148;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

body[data-mrrtheme="night"] .api-doc-page .box .header-box,
body[data-mrrtheme="night"] .api-doc-page .box > .box-content {
  background: #24282d;
}

body[data-mrrtheme="night"] .api-doc-page .box .header-box {
  border-bottom-color: #3a4148;
}

body[data-mrrtheme="night"] .api-doc-page .box .header-box .title,
body[data-mrrtheme="night"] .api-doc-page .panel.panel-default .panel-title {
  color: #eef2f5;
}

body[data-mrrtheme="night"] .api-doc-page .lead,
body[data-mrrtheme="night"] .api-doc-page .panel.panel-default .panel-body,
body[data-mrrtheme="night"] .api-doc-page .panel.panel-default .panel-body p,
body[data-mrrtheme="night"] .api-doc-page .panel.panel-default .panel-body li,
body[data-mrrtheme="night"] .api-doc-page .panel.panel-default .panel-body td {
  color: #a0aab4;
}

body[data-mrrtheme="night"] .api-doc-page .panel.panel-default,
body[data-mrrtheme="night"] .api-doc-page pre {
  background: #2b3036;
  border-color: #3a4148;
  color: #d8dde2;
}

body[data-mrrtheme="night"] .api-doc-page .nav-tabs-simple + .tab-content > .tab-pane,
body[data-mrrtheme="night"] .api-doc-page .nav-tabs-simple + .tab-content > .tab-pane p,
body[data-mrrtheme="night"] .api-doc-page .nav-tabs-simple + .tab-content > .tab-pane li,
body[data-mrrtheme="night"] .api-doc-page .nav-tabs-simple + .tab-content > .tab-pane td {
  color: #a0aab4;
}

body[data-mrrtheme="night"] .api-doc-page .panel.panel-default .panel-heading {
  border-bottom-color: #3a4148;
}

body[data-mrrtheme="night"] .api-doc-page table.table > thead > tr > th {
  background: #2b3036;
  border-bottom-color: #3a4148;
  color: #9ba8b5;
}

/* Public ticket detail */
.ticket-detail-layout .page-header {
  border-bottom: 0;
  margin: 0 0 18px;
}

.ticket-detail-layout .page-header h1 {
  display: flex;
  float: none !important;
  font-size: 32px;
  font-weight: 700;
  margin: 0;
}

.ticket-summary-rail .box,
.ticket-main-column .box {
  border: 1px solid #dbe5ef;
  border-radius: 16px;
  box-shadow: 0 12px 28px rgba(32, 50, 70, 0.08);
  margin-bottom: 20px;
  overflow: hidden;
}

.ticket-detail-layout .box .header-box {
  background: #fafcff;
  border-bottom: 1px solid #e3ebf3;
  padding: 0;
}

.ticket-detail-layout .box .header-box .title {
  color: #203246;
  font-size: 20px;
  font-weight: 700;
  line-height: 1.35;
  padding: 20px 24px;
}

.ticket-detail-layout .box > .box-content {
  background: #fafcff;
  border: 0;
  padding: 24px;
}

.ticket-summary-rail .box-content.box-statistic {
  border-radius: 14px;
  overflow: hidden;
}

.ticket-related-rail-copy {
  margin-bottom: 16px;
  color: #6a7480;
}

.ticket-related-rail-copy p {
  margin: 0;
}

.ticket-summary-links {
  margin-bottom: 16px;
  text-align: center;
}

.ticket-summary-links p {
  margin: 0 0 8px;
}

.ticket-support-hours-alert {
  margin: 14px auto 0;
  padding: 14px 16px;
  max-width: 420px;
  border: 1px solid #f2d18c;
  border-radius: 14px;
  background: linear-gradient(180deg, #fff9ec 0%, #fff3d7 100%);
  box-shadow: 0 10px 24px rgba(161, 112, 24, 0.12);
  text-align: left;
}

.ticket-support-hours-alert-title {
  margin: 0 0 6px;
  color: #8f5a00;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.4;
}

.ticket-support-hours-alert-title i {
  margin-right: 6px;
}

.ticket-support-hours-alert p {
  margin: 0;
  color: #6e5420;
  font-size: 13px;
  line-height: 1.55;
}

.ticket-summary-action {
  padding-top: 10px;
  text-align: center;
}

.ticket-summary-action .btn {
  min-width: 140px;
}

.ticket-main-intro {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 16px;
}

.ticket-main-intro p {
  margin: 6px 0 0;
  color: #6a7480;
}

.ticket-main-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.ticket-main-actions .btn {
  white-space: nowrap;
}

.ticket-jump-reply {
  white-space: nowrap;
}

.ticket-context-alert {
  margin: 16px 0 0;
}

.ticket-body-panel {
  margin-top: 18px;
  padding: 16px 18px;
  border: 1px solid rgba(42, 122, 226, 0.1);
  border-radius: 14px;
  background: rgba(42, 122, 226, 0.03);
}

.ticket-body-panel h4 {
  margin: 0 0 10px;
  color: inherit;
  font-size: 15px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  opacity: 0.9;
}

.ticket-related-stack {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.ticket-support-timeline {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 18px;
  padding: 14px 16px;
  border: 1px solid rgba(42, 122, 226, 0.1);
  border-radius: 14px;
  background: rgba(42, 122, 226, 0.03);
}

.ticket-support-timeline-item {
  flex: 1 1 155px;
  min-width: 140px;
}

.ticket-support-timeline-label {
  display: block;
  margin-bottom: 4px;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  opacity: 0.72;
}

.ticket-support-timeline-value {
  display: block;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.4;
}

.ticket-support-timeline-secondary {
  display: block;
  margin-top: 2px;
  font-size: 12px;
  font-weight: 400;
  opacity: 0.82;
}

.ticket-stat-secondary {
  display: block;
  margin-top: 4px;
  font-size: 12px;
  line-height: 1.4;
  opacity: 0.8;
}

.ticket-related-card {
  border: 1px solid rgba(42, 122, 226, 0.1);
  border-radius: 14px;
  padding: 18px;
  background: rgba(42, 122, 226, 0.03);
}

.ticket-related-card.is-collapsed .ticket-related-card-header {
  margin-bottom: 0;
}

.ticket-related-card-heading {
  flex: 1 1 260px;
  min-width: 0;
}

.ticket-related-card-actions {
  margin-left: auto;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 10px;
}

.ticket-related-state-badges {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.ticket-related-state {
  font-size: 10px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.ticket-related-card-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 10px;
}

.ticket-related-card-header h3 {
  margin: 0;
  font-size: 20px;
}

.ticket-related-card-header p {
  margin: 6px 0 0;
  color: #6a7480;
}

.ticket-related-card-links {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
}

.ticket-related-card-links .ticket-related-primary-link {
  margin-right: 10px;
}

.ticket-related-toggle {
  min-width: 170px;
  font-weight: 600;
}

.ticket-related-card-body {
  margin-top: 4px;
}

.ticket-related-stats .box-statistic {
  margin-bottom: 15px;
  border-radius: 14px;
  background: #ffffff;
  border: 1px solid rgba(42, 122, 226, 0.1);
  box-shadow: none;
  padding: 14px 16px;
  position: relative;
  overflow: hidden;
}

.ticket-related-stats .box-statistic:before,
.ticket-related-stats .box-statistic:after,
.ticket-related-stats .box-statistic *:not([class^="cc-"]):not([class*=" cc-"]):before,
.ticket-related-stats .box-statistic *:not([class^="cc-"]):not([class*=" cc-"]):after {
  content: none !important;
  display: none !important;
}

.ticket-related-stats .box-statistic .title {
  display: block;
  margin: 0 0 6px;
  color: inherit;
  line-height: 1.25;
  position: relative;
  z-index: 2;
}

.ticket-related-stats .box-statistic small {
  display: block;
  color: inherit;
  opacity: 0.8;
  line-height: 1.35;
  position: relative;
  z-index: 2;
}

.ticket-related-stats .box-statistic .title span {
  color: inherit;
}

.ticket-related-currency-icon {
  font-size: inherit !important;
  line-height: inherit !important;
  vertical-align: baseline;
}

.ticket-related-currency-icon:before {
  font-size: inherit !important;
  line-height: inherit !important;
  vertical-align: baseline;
}

.ticket-related-meta {
  margin: 0 0 14px;
  color: inherit;
  opacity: 0.86;
  line-height: 1.5;
  word-break: break-word;
  overflow-wrap: break-word;
}

.ticket-related-helper {
  margin: 0 0 16px;
  padding: 12px 14px;
  border: 1px solid rgba(42, 122, 226, 0.1);
  border-radius: 14px;
  background: rgba(42, 122, 226, 0.03);
  color: #6a7480;
  line-height: 1.55;
}

.ticket-related-helper strong {
  display: inline-block;
  margin-right: 4px;
}

.ticket-related-chart {
  width: 100%;
  height: 310px !important;
  min-height: 310px !important;
  margin-bottom: 16px;
  background: #ffffff;
  border: 1px solid rgba(42, 122, 226, 0.1);
  border-radius: 14px;
}

.ticket-detail-layout .ticket-body-panel,
.ticket-detail-layout .ticket-support-timeline,
.ticket-detail-layout .ticket-related-card,
.ticket-detail-layout .ticket-related-helper,
.ticket-detail-layout .ticket-related-stats .box-statistic,
.ticket-detail-layout .ticket-related-chart {
  transition: background-color 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease;
}

body[data-mrrtheme="dark"] .ticket-detail-layout .ticket-body-panel,
body[data-mrrtheme="dark"] .ticket-detail-layout .ticket-support-timeline,
body[data-mrrtheme="dark"] .ticket-detail-layout .ticket-related-stack,
body[data-mrrtheme="dark"] .ticket-detail-layout .ticket-related-card {
  background: #f7f8fa;
  border-color: #c7d7e8;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.82), 0 1px 2px rgba(31,53,72,0.06);
}

body[data-mrrtheme="dark"] .ticket-detail-layout .ticket-related-stack {
  border: 1px solid #c7d7e8;
  border-radius: 14px;
  padding: 14px;
}

body[data-mrrtheme="dark"] .ticket-summary-rail .box,
body[data-mrrtheme="dark"] .ticket-main-column .box {
  border-color: #cfd7df;
  box-shadow: 0 10px 24px rgba(31, 53, 72, 0.08);
}

body[data-mrrtheme="dark"] .ticket-detail-layout .box .header-box,
body[data-mrrtheme="dark"] .ticket-detail-layout .box > .box-content {
  background: #eef1f4;
}

body[data-mrrtheme="dark"] .ticket-detail-layout .box .header-box {
  border-bottom-color: #cfd7df;
}

body[data-mrrtheme="dark"] .ticket-detail-layout .ticket-related-helper {
  background: #f2f5f7;
  border-color: #d5dde4;
}

body[data-mrrtheme="dark"] .ticket-detail-layout .ticket-message-table tr.ticket-messages-userrow td {
  background: #eef2f5;
  border-color: #d0d9e1;
}

body[data-mrrtheme="dark"] .ticket-detail-layout .ticket-message-body-card {
  background: #fafbfc;
  border-color: #d0d9e1;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.85), 0 1px 2px rgba(31,53,72,0.05);
}

body[data-mrrtheme="dark"] .ticket-detail-layout .box-content.box-statistic,
body[data-mrrtheme="dark"] .ticket-detail-layout .ticket-related-stats .box-content.box-statistic,
body[data-mrrtheme="dark"] .ticket-detail-layout .ticket-summary-rail .box-content.box-statistic,
body[data-mrrtheme="dark"] .ticket-detail-layout .ticket-related-card .box-content.box-statistic {
  background: #ffffff !important;
  background-color: #ffffff !important;
  background-image: none !important;
  border-color: #d7dde4;
  box-shadow: 0 1px 2px rgba(31,53,72,0.06);
  filter: none;
  mix-blend-mode: normal;
  opacity: 1;
}

body[data-mrrtheme="dark"] .ticket-detail-layout .ticket-body-panel,
body[data-mrrtheme="dark"] .ticket-detail-layout .ticket-support-timeline {
  background: #f7f8fa !important;
  background-color: #f7f8fa !important;
  background-image: none !important;
  border-color: #c7d7e8;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.82), 0 1px 2px rgba(31,53,72,0.06);
}

body[data-mrrtheme="dark"] .ticket-detail-layout .ticket-related-chart {
  background: #f7f8fa;
  border-color: #d7dde4;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.9), 0 1px 2px rgba(31,53,72,0.06);
}

body[data-mrrtheme="dark"] .ticket-support-hours-alert {
  background: linear-gradient(180deg, #fff8e5 0%, #ffefc6 100%);
  border-color: #e7c46a;
  box-shadow: 0 10px 24px rgba(161, 112, 24, 0.14);
}

body[data-mrrtheme="night"] .ticket-detail-layout .ticket-body-panel,
body[data-mrrtheme="night"] .ticket-detail-layout .ticket-support-timeline,
body[data-mrrtheme="night"] .ticket-detail-layout .ticket-related-stack,
body[data-mrrtheme="night"] .ticket-detail-layout .ticket-related-card {
  background: #2f343a;
  border-color: #4d5f73;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.04), 0 1px 2px rgba(0,0,0,0.18);
}

body[data-mrrtheme="night"] .ticket-detail-layout .ticket-related-stack {
  border: 1px solid #4d5f73;
  border-radius: 14px;
  padding: 14px;
}

body[data-mrrtheme="night"] .ticket-summary-rail .box,
body[data-mrrtheme="night"] .ticket-main-column .box {
  border-color: #3a4148;
  box-shadow: 0 12px 26px rgba(0,0,0,0.3);
}

body[data-mrrtheme="night"] .ticket-detail-layout .box .header-box,
body[data-mrrtheme="night"] .ticket-detail-layout .box > .box-content {
  background: #24282d;
}

body[data-mrrtheme="night"] .ticket-detail-layout .box .header-box {
  border-bottom-color: #3a4148;
}

body[data-mrrtheme="night"] .ticket-detail-layout .box .header-box .title {
  color: #eef2f5;
}

body[data-mrrtheme="night"] .ticket-detail-layout .ticket-related-helper {
  background: #2b3036;
  border-color: #3a4148;
}

body[data-mrrtheme="night"] .ticket-detail-layout .ticket-message-table tr.ticket-messages-userrow td {
  background: #2b3036;
  border-color: #3a4148;
}

body[data-mrrtheme="night"] .ticket-detail-layout .ticket-message-body-card {
  background: #2b3036;
  border-color: #3a4148;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.03), 0 1px 2px rgba(0,0,0,0.22);
}

body[data-mrrtheme="night"] .ticket-detail-layout .box-content.box-statistic,
body[data-mrrtheme="night"] .ticket-detail-layout .ticket-related-stats .box-content.box-statistic {
  background: #373d43 !important;
  border-color: #50575f;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.04), 0 1px 2px rgba(0,0,0,0.18);
}

body[data-mrrtheme="night"] .ticket-detail-layout .ticket-related-chart {
  background: #2b3036;
  border-color: #3a4148;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.03), 0 1px 2px rgba(0,0,0,0.22);
}

body[data-mrrtheme="night"] .ticket-support-hours-alert {
  background: linear-gradient(180deg, #4b3921 0%, #3f301d 100%);
  border-color: #8a6635;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.04), 0 10px 24px rgba(0,0,0,0.24);
}

body[data-mrrtheme="night"] .ticket-support-hours-alert-title {
  color: #ffd786;
}

body[data-mrrtheme="night"] .ticket-support-hours-alert p {
  color: #f2ddb0;
}

.ticket-reply-compose {
  margin-bottom: 22px;
  padding-bottom: 18px;
  border-bottom: 1px solid #edf1f5;
}

.ticket-reply-draft-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  margin: 10px 0 0;
  font-size: 12px;
  line-height: 1.4;
  opacity: 0.84;
}

.ticket-reply-draft-status {
  min-height: 18px;
}

.ticket-reply-draft-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.ticket-reply-draft-clear {
  padding: 0;
  border: 0;
  background: transparent;
  font-size: 12px;
  text-decoration: underline;
}

.ticket-reply-compose .btn {
  min-width: 150px;
}

.ticket-message-table {
  margin-bottom: 0;
}

.ticket-message-table tr.ticket-messages-userrow td {
  padding: 12px 16px 10px;
  vertical-align: middle;
  border: 1px solid rgba(42, 122, 226, 0.1);
  border-bottom: 0;
  background: #f6f9fc;
}

.ticket-message-table tr.ticket-messages-userrow td:first-child {
  border-right: 0;
  border-top-left-radius: 8px;
}

.ticket-message-table tr.ticket-messages-userrow td:last-child {
  border-left: 0;
  border-top-right-radius: 8px;
}

.ticket-message-when-primary {
  display: block;
  font-weight: 600;
  line-height: 1.25;
}

.ticket-message-when-secondary {
  display: block;
  margin-top: 3px;
  font-size: 11px;
  opacity: 0.78;
  line-height: 1.3;
}

.ticket-message-table tr.ticket-message-content-row td.ticket-message-body {
  padding: 0 0 18px;
  border: 0;
}

.ticket-message-body-card {
  padding: 14px 16px 16px;
  border: 1px solid rgba(42, 122, 226, 0.1);
  border-top: 0;
  border-radius: 0 0 14px 14px;
  background: #ffffff;
}

.ticket-detail-layout .ticket-message-table tr.ticket-messages-userrow td,
.ticket-detail-layout .ticket-message-body-card {
  transition: background-color 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease;
}

/* API key management */
.apikey-page .page-header {
  border-bottom: 0;
  margin: 0 0 18px;
}

.apikey-page .page-header h1 {
  display: flex;
  float: none !important;
  font-size: 32px;
  font-weight: 700;
  margin: 0;
}

.apikey-page .apikey-status-stack {
  margin-bottom: 18px;
}

.apikey-page .apikey-status-stack-hidden {
  display: none;
}

.apikey-page .apikey-status-stack .alert {
  border-radius: 12px;
  margin-bottom: 0;
  padding: 14px 16px;
}

.apikey-page .box {
  border: 1px solid #dbe5ef;
  border-radius: 16px;
  box-shadow: 0 12px 28px rgba(32, 50, 70, 0.08);
  margin-bottom: 24px;
  overflow: hidden;
}

.apikey-page .box .header-box {
  background: #fafcff;
  border-bottom: 1px solid #e3ebf3;
  padding: 0;
}

.apikey-page .box .header-box .title {
  color: #203246;
  font-size: 20px;
  font-weight: 700;
  line-height: 1.35;
  padding: 20px 24px;
}

.apikey-page .box > .box-content {
  background: #fafcff;
  border: 0;
  padding: 24px;
}

.apikey-page .apikey-table-shell.box-content {
  border: 0 !important;
  border-top: 0 !important;
  border-right: 0 !important;
  border-bottom: 0 !important;
  border-left: 0 !important;
  border-radius: 0 !important;
  margin: 0 0 -24px;
  box-shadow: none !important;
  padding: 0;
}

.apikey-page .apikey-section-copy {
  color: #6a7480;
  line-height: 1.6;
  margin: 0 0 18px;
  max-width: 760px;
}

.apikey-page .apikey-actions {
  margin-bottom: 14px;
  text-align: right;
}

.apikey-page .apikey-table-wrap {
  border: 1px solid rgba(42, 122, 226, 0.1);
  border-radius: 14px;
  overflow: hidden;
}

.apikey-page .apikey-table-full {
  margin-bottom: 0;
  width: 100%;
}

.api-key-table > tbody > tr.api-key-row > td {
  vertical-align: middle;
}

.apikey-page .apikey-col-id {
  width: 60px;
}

.apikey-page .apikey-col-nonce {
  width: 160px;
}

.apikey-page .apikey-col-action {
  width: 90px;
}

.apikey-page .api-key-table > thead > tr > th {
  background: rgba(42, 122, 226, 0.04);
  border-bottom-width: 1px;
  color: #4b5663;
  font-size: 12px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.api-key-table > tbody > tr.api-key-permission-row > td {
  border-top: 0;
  background: inherit;
}

.api-key-value {
  word-break: break-all;
}

.apikey-page .apikey-form-tight {
  margin-bottom: 0;
}

.api-permission-form {
  padding: 8px 0 12px 0;
}

.api-permission-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 10px;
}

.api-permission-head-title {
  color: #203246;
  font-size: 16px;
  font-weight: 700;
}

.api-permission-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 10px;
}

.api-permission-grid-modal {
  grid-template-columns: 1fr;
}

.api-permission-item {
  background: rgba(42, 122, 226, 0.03);
  border: 1px solid rgba(42, 122, 226, 0.1);
  border-radius: 14px;
  padding: 14px;
}

.api-permission-title {
  color: #203246;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
  font-weight: bold;
}

.api-permission-title small {
  color: #7a8794;
  font-weight: normal;
  white-space: nowrap;
}

.api-permission-description {
  color: #6a7480;
  font-size: 12px;
  line-height: 1.35;
  min-height: 32px;
  margin: 5px 0 8px 0;
}

.api-permission-options {
  display: flex;
  width: 100%;
}

.api-permission-options .btn {
  flex: 1 1 0;
  overflow: hidden;
  text-overflow: ellipsis;
  background: #fff;
  border-color: #d3deea;
  color: #405669;
}

.api-permission-options .btn:hover,
.api-permission-options .btn:focus {
  background: #eef4fb;
  border-color: #b8cce2;
  color: #284d74;
}

.api-permission-options .btn.active,
.api-permission-options .btn.active:hover,
.api-permission-options .btn.active:focus {
  background: #00acec;
  border-color: #0087b9;
  color: #fff;
}

.apikey-page .apikey-delete-button {
  width: 25px;
}

.apikey-page .apikey-empty-row {
  color: #6a7480;
  padding: 18px !important;
  text-align: center;
}

body[data-mrrtheme="dark"] .apikey-page .box {
  border-color: #cfd7df;
  box-shadow: 0 10px 24px rgba(31, 53, 72, 0.08);
}

body[data-mrrtheme="dark"] .apikey-page .box .header-box,
body[data-mrrtheme="dark"] .apikey-page .box > .box-content {
  background: #eef1f4;
}

body[data-mrrtheme="dark"] .apikey-page .apikey-table-shell.box-content {
  border-color: transparent !important;
}

body[data-mrrtheme="dark"] .apikey-page .box .header-box {
  border-bottom-color: #cfd7df;
}

body[data-mrrtheme="dark"] .apikey-page .box .header-box .title,
body[data-mrrtheme="dark"] .apikey-page .api-permission-head-title,
body[data-mrrtheme="dark"] .apikey-page .api-permission-title {
  color: #203246;
}

body[data-mrrtheme="dark"] .apikey-page .apikey-table-wrap,
body[data-mrrtheme="dark"] .apikey-page .api-permission-item {
  border-color: #cfd7df;
}

body[data-mrrtheme="dark"] .apikey-page .api-permission-item {
  background: #f3f6fa;
}

body[data-mrrtheme="dark"] .apikey-page .api-permission-options .btn {
  background: #f6f8fb;
  border-color: #cfd7df;
  color: #405669;
}

body[data-mrrtheme="dark"] .apikey-page .api-permission-options .btn:hover,
body[data-mrrtheme="dark"] .apikey-page .api-permission-options .btn:focus {
  background: #e8edf3;
  border-color: #bfcbd8;
  color: #284d74;
}

body[data-mrrtheme="dark"] .apikey-page .api-permission-options .btn.active,
body[data-mrrtheme="dark"] .apikey-page .api-permission-options .btn.active:hover,
body[data-mrrtheme="dark"] .apikey-page .api-permission-options .btn.active:focus {
  background: #2a7ae2;
  border-color: #1f5ea8;
  color: #fff;
}

body[data-mrrtheme="night"] .apikey-page .box {
  border-color: #3a4148;
  box-shadow: 0 12px 26px rgba(0, 0, 0, 0.3);
}

body[data-mrrtheme="night"] .apikey-page .box .header-box,
body[data-mrrtheme="night"] .apikey-page .box > .box-content {
  background: #24282d;
}

body[data-mrrtheme="night"] .apikey-page .apikey-table-shell.box-content {
  border-color: transparent !important;
}

body[data-mrrtheme="night"] .apikey-page .box .header-box {
  border-bottom-color: #3a4148;
}

body[data-mrrtheme="night"] .apikey-page .box .header-box .title,
body[data-mrrtheme="night"] .apikey-page .api-permission-head-title,
body[data-mrrtheme="night"] .apikey-page .api-permission-title,
body[data-mrrtheme="night"] .apikey-page .api-key-table > tbody > tr > td {
  color: #eef2f5;
}

body[data-mrrtheme="night"] .apikey-page .apikey-section-copy,
body[data-mrrtheme="night"] .apikey-page .api-permission-description,
body[data-mrrtheme="night"] .apikey-page .apikey-empty-row {
  color: #a0aab4;
}

body[data-mrrtheme="night"] .apikey-page .api-key-table > thead > tr > th {
  background: #2b3036;
  border-bottom-color: #3a4148;
  color: #9ba8b5;
}

body[data-mrrtheme="night"] .apikey-page .apikey-table-wrap,
body[data-mrrtheme="night"] .apikey-page .api-permission-item {
  border-color: #3a4148;
}

body[data-mrrtheme="night"] .apikey-page .api-permission-item {
  background: #2b3036;
}

body[data-mrrtheme="night"] .apikey-page .api-permission-title small {
  color: #9ba8b5;
}

body[data-mrrtheme="night"] .apikey-page .api-permission-options .btn {
  background: #24282d;
  border-color: #3a4148;
  color: #d8dde2;
}

body[data-mrrtheme="night"] .apikey-page .api-permission-options .btn:hover,
body[data-mrrtheme="night"] .apikey-page .api-permission-options .btn:focus {
  background: #373d43;
  border-color: #50575f;
  color: #fff;
}

body[data-mrrtheme="night"] .apikey-page .api-permission-options .btn.active,
body[data-mrrtheme="night"] .apikey-page .api-permission-options .btn.active:hover,
body[data-mrrtheme="night"] .apikey-page .api-permission-options .btn.active:focus {
  background: #2a7ae2;
  border-color: #1f5ea8;
  color: #fff;
}

/* Favorite rigs */
.favorite-rigs-page .page-header {
  border-bottom: 0;
  margin: 0 0 18px;
}

.favorite-rigs-page .page-header h1 {
  display: flex;
  float: none !important;
  font-size: 32px;
  font-weight: 700;
  margin: 0;
}

.favorite-rigs-page .favorite-rigs-status-stack {
  margin-bottom: 18px;
}

.favorite-rigs-page .favorite-rigs-status-stack .alert {
  border-radius: 8px;
  margin-bottom: 0;
  padding: 14px 16px;
}

.favorite-rigs-page .box {
  border: 1px solid #dbe5ef;
  border-radius: 8px;
  box-shadow: 0 10px 22px rgba(32, 50, 70, 0.08);
  margin-bottom: 24px;
  overflow: hidden;
}

.favorite-rigs-page .box .header-box {
  background: #fafcff;
  border-bottom: 1px solid #e3ebf3;
  padding: 0;
}

.favorite-rigs-page .box .header-box .title {
  color: #203246;
  font-size: 20px;
  font-weight: 700;
  line-height: 1.35;
  padding: 18px 22px;
}

.favorite-rigs-page .box > .box-content {
  background: #fafcff;
  border: 0;
  padding: 22px;
}

.favorite-rigs-page .favorite-rigs-group-body {
  padding: 0;
}

.favorite-rigs-page .favorite-rigs-table-shell {
  border: 0;
  padding: 22px;
}

.favorite-rigs-page .favorite-rigs-tools label {
  color: #4b5663;
  font-size: 12px;
  text-transform: uppercase;
}

.favorite-rigs-page .favorite-rigs-summary {
  margin-bottom: 18px;
}

.favorite-rigs-page .favorite-rigs-stat {
  background: #fff;
  border: 1px solid #e3ebf3;
  border-radius: 8px;
  margin-bottom: 10px;
  padding: 14px;
}

.favorite-rigs-page .favorite-rigs-stat strong {
  color: #203246;
  display: block;
  font-size: 21px;
  line-height: 1;
}

.favorite-rigs-page .favorite-rigs-stat span {
  color: #6a7480;
  font-size: 12px;
  text-transform: uppercase;
}

.favorite-rigs-page .favorite-rigs-toggle-wrap {
  padding-top: 24px;
}

.favorite-rigs-page .favorite-rigs-checkbox {
  border: 1px solid transparent;
  border-radius: 8px;
  display: inline-block;
  font-size: 13px !important;
  font-weight: 600;
  margin: 6px 12px 8px 0;
  padding: 8px 10px;
  text-transform: none !important;
}

.favorite-rigs-page .favorite-rigs-checkbox input {
  margin-right: 6px;
}

.favorite-rigs-page .favorite-rigs-checkbox-active {
  background: rgba(217, 83, 79, 0.08);
  border-color: #d9534f;
  color: #a94442;
}

.favorite-rigs-page .favorite-rigs-checkbox-warning {
  background: rgba(240, 173, 78, 0.12);
  border-color: #f0ad4e;
  color: #8a6d3b;
}

.favorite-rigs-page .favorite-rigs-currency-toolbar,
.favorite-rigs-page .favorite-rigs-massrent-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.favorite-rigs-page .favorite-rigs-currency-toolbar .btn {
  align-items: center;
  display: inline-flex;
  gap: 5px;
  justify-content: center;
  min-height: 30px;
}

.favorite-rigs-page .favorite-rigs-massrent-panel {
  background: #fff;
  border: 1px solid #e3ebf3;
  border-radius: 8px;
  margin-top: 18px;
  padding: 16px;
}

.favorite-rigs-page .favorite-rigs-massrent-head {
  align-items: flex-start;
  border-bottom: 1px solid #e9eff6;
  display: flex;
  gap: 16px;
  justify-content: space-between;
  margin-bottom: 14px;
  padding-bottom: 12px;
}

.favorite-rigs-page .favorite-rigs-tool-kicker {
  color: #52657a;
  display: block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  margin-bottom: 4px;
  text-transform: uppercase;
}

.favorite-rigs-page .favorite-rigs-massrent-head strong {
  color: #203246;
  display: block;
  font-size: 18px;
  line-height: 1.3;
}

.favorite-rigs-page .favorite-rigs-massrent-head p,
.favorite-rigs-page .favorite-rigs-massrent-meta,
.favorite-rigs-page .favorite-rigs-massrent-empty,
.favorite-rigs-page .favorite-rigs-selected-price {
  color: #6a7480;
}

.favorite-rigs-page .favorite-rigs-massrent-head p {
  margin: 6px 0 0;
}

.favorite-rigs-page .favorite-rigs-massrent-meta {
  flex: 0 0 auto;
  font-weight: 600;
  padding-top: 4px;
}

.favorite-rigs-page .favorite-rigs-massrent-empty {
  background: #f8fbff;
  border: 1px solid #dfe8f3;
  border-radius: 8px;
  padding: 12px 14px;
}

.favorite-rigs-page .favorite-rigs-massrent-grid {
  align-items: stretch;
  display: grid;
  gap: 12px;
  grid-template-columns: minmax(170px, 220px) minmax(230px, 1fr) auto;
}

.favorite-rigs-page .favorite-rigs-massrent-hours,
.favorite-rigs-page .favorite-rigs-selection-status,
.favorite-rigs-page .favorite-rigs-massrent-summary {
  background: #f8fbff;
  border: 1px solid #dfe8f3;
  border-radius: 8px;
}

.favorite-rigs-page .favorite-rigs-massrent-hours {
  padding: 12px;
}

.favorite-rigs-page .favorite-rigs-hour-control {
  display: flex;
  gap: 6px;
}

.favorite-rigs-page .favorite-rigs-hour-control .form-control {
  max-width: 88px;
  text-align: center;
}

.favorite-rigs-page .favorite-rigs-selection-status {
  align-items: center;
  display: flex;
  justify-content: space-between;
  margin-bottom: 8px;
  padding: 10px 12px;
}

.favorite-rigs-page .favorite-rigs-massrent-summary {
  gap: 5px;
  margin: 0;
  padding: 10px 12px;
}

.favorite-rigs-page .favorite-rigs-massrent-actions {
  align-content: center;
  align-items: center;
  justify-content: flex-end;
}

.favorite-rigs-page .favorite-rigs-select-col {
  text-align: center;
  width: 38px;
}

.favorite-rigs-page .favorite-rigs-selected-price {
  display: block;
  font-size: 12px;
  margin-top: 3px;
  white-space: nowrap;
}
.favorite-rigs-page .favorite-rigs-add-row {
  border-top: 1px solid #e3ebf3;
  margin-top: 18px;
  padding-top: 18px;
}

.favorite-rigs-page .favorite-rigs-add-action {
  padding-top: 24px;
}

.favorite-rigs-page .favorite-rigs-group-header {
  align-items: center;
  display: flex;
  justify-content: space-between;
}

.favorite-rigs-page .favorite-rigs-group-count {
  color: #6a7480;
  font-weight: 700;
  padding-right: 22px;
}

.favorite-rigs-page .table > thead > tr > th {
  background: rgba(42, 122, 226, 0.04);
  border-bottom-width: 1px;
  color: #4b5663;
  font-size: 12px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.favorite-rigs-page .table > tbody > tr > td {
  vertical-align: middle;
}

.favorite-rigs-page .favorite-rigs-actions {
  white-space: normal;
}

.favorite-rigs-page .favorite-rigs-actions .btn {
  margin: 1px;
}

.favorite-rigs-page .favorite-rigs-action-group {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 3px;
  align-items: center;
  vertical-align: middle;
}

.favorite-rigs-page .favorite-rigs-mass-actions {
  border-right: 1px solid #d8e0e8;
  margin-right: 5px;
  padding-right: 8px;
}

.favorite-rigs-page .favorite-rigs-standard-actions {
  row-gap: 3px;
}

.favorite-rigs-page .favorite-rigs-price-list {
  display: inline-block;
  line-height: 1.45;
  min-width: 0;
  white-space: normal;
}

.favorite-rigs-page .favorite-rigs-price-line {
  display: block;
}

.favorite-rigs-page .favorite-rigs-price-entry,
.favorite-rigs-page .favorite-rigs-price-separator {
  white-space: nowrap;
}

.favorite-rigs-page .favorite-rigs-price-unit {
  display: block;
  white-space: nowrap;
}

.favorite-rigs-page .favorite-rigs-empty-row {
  color: #6a7480;
  line-height: 1.65;
  margin: 0;
  padding: 24px !important;
  text-align: center;
}

.favorite-rigs-page .favorite-rig-focus-highlight > td {
  animation: favorite-rig-focus-pulse 2.4s ease-in-out 0s 3;
  box-shadow: inset 4px 0 0 #2f9e44;
}

@keyframes favorite-rig-focus-pulse {
  0% {
    background: rgba(47, 158, 68, 0.08);
  }
  45% {
    background: rgba(47, 158, 68, 0.22);
  }
  100% {
    background: rgba(47, 158, 68, 0.08);
  }
}



@media (min-width: 768px) and (max-width: 991px) {
  .rig-detail-page.rig-detail-owner-page .rig-detail-title-actions.rig-detail-owner-status {
    align-items: stretch;
    flex-direction: row;
    min-width: 320px;
  }

  .rig-detail-page.rig-detail-owner-page .rig-detail-owner-status .rig-detail-status-pill,
  .rig-detail-page.rig-detail-owner-page .rig-detail-owner-status .rig-detail-rental-state {
    flex: 1 1 0;
    min-width: 145px;
    width: auto;
  }
}
@media (max-width: 767px) {
  .public-profile-page .public-profile-rig-inventory .header-box .title,
  .public-profile-page .public-profile-rig-inventory .box > .box-content,
  .public-profile-page .public-profile-rigs-table-shell {
    padding: 16px;
  }

  .public-profile-page .public-profile-rigs-header {
    align-items: flex-start;
    display: block;
  }

  .public-profile-page .public-profile-rigs-count {
    padding: 0 16px 16px;
  }


}

body[data-mrrtheme="dark"] .favorite-rigs-page .box,
body[data-mrrtheme="dark"] .favorite-rigs-page .favorite-rigs-stat {
  border-color: #cfd7df;
  box-shadow: 0 10px 24px rgba(31, 53, 72, 0.08);
}

body[data-mrrtheme="dark"] .favorite-rigs-page .box .header-box,
body[data-mrrtheme="dark"] .favorite-rigs-page .box > .box-content,
body[data-mrrtheme="dark"] .favorite-rigs-page .favorite-rigs-stat {
  background: #eef1f4;
}

body[data-mrrtheme="dark"] .favorite-rigs-page .favorite-rigs-stat {
  background: #f8fafc;
  border-left: 4px solid #3c8dbc;
  box-shadow: 0 8px 18px rgba(31, 53, 72, 0.12);
}

body[data-mrrtheme="dark"] .favorite-rigs-page .box .header-box,
body[data-mrrtheme="dark"] .favorite-rigs-page .favorite-rigs-add-row {
  border-bottom-color: #cfd7df;
  border-top-color: #cfd7df;
}

body[data-mrrtheme="night"] .favorite-rigs-page .box,
body[data-mrrtheme="night"] .favorite-rigs-page .favorite-rigs-stat {
  border-color: #3a4148;
  box-shadow: 0 12px 26px rgba(0, 0, 0, 0.3);
}

body[data-mrrtheme="night"] .favorite-rigs-page .box .header-box,
body[data-mrrtheme="night"] .favorite-rigs-page .box > .box-content,
body[data-mrrtheme="night"] .favorite-rigs-page .favorite-rigs-stat {
  background: #24282d;
}

body[data-mrrtheme="night"] .favorite-rigs-page .favorite-rigs-stat {
  background: #2b3036;
  border-left: 4px solid #5ea0ff;
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.38);
}

body[data-mrrtheme="night"] .favorite-rigs-page .box .header-box,
body[data-mrrtheme="night"] .favorite-rigs-page .favorite-rigs-add-row {
  border-bottom-color: #3a4148;
  border-top-color: #3a4148;
}

body[data-mrrtheme="night"] .favorite-rigs-page .box .header-box .title,
body[data-mrrtheme="night"] .favorite-rigs-page .favorite-rigs-stat strong,
body[data-mrrtheme="night"] .favorite-rigs-page .table > tbody > tr > td,
body[data-mrrtheme="night"] .favorite-rigs-page .table > tbody > tr > td a {
  color: #eef2f5;
}

body[data-mrrtheme="night"] .favorite-rigs-page .favorite-rigs-tools label,
body[data-mrrtheme="night"] .favorite-rigs-page .favorite-rigs-stat span,
body[data-mrrtheme="night"] .favorite-rigs-page .favorite-rigs-group-count,
body[data-mrrtheme="night"] .favorite-rigs-page .favorite-rigs-empty-row {
  color: #a0aab4;
}

body[data-mrrtheme="night"] .favorite-rigs-page .favorite-rigs-checkbox-active {
  background: rgba(217, 83, 79, 0.16);
  border-color: #d9534f;
  color: #f2b8b5;
}

body[data-mrrtheme="night"] .favorite-rigs-page .favorite-rigs-checkbox-warning {
  background: rgba(240, 173, 78, 0.18);
  border-color: #f0ad4e;
  color: #ffd89a;
}

body[data-mrrtheme="night"] .favorite-rigs-page .table > thead > tr > th {
  background: #2b3036;
  border-bottom-color: #3a4148;
  color: #9ba8b5;
}

body[data-mrrtheme="dark"] .favorite-rigs-page .favorite-rigs-mass-actions {
  border-right-color: #c7d0da;
}

body[data-mrrtheme="night"] .favorite-rigs-page .favorite-rigs-mass-actions {
  border-right-color: #414b55;
}

body[data-mrrtheme="dark"] .favorite-rigs-page .favorite-rigs-massrent-panel,
body[data-mrrtheme="dark"] .favorite-rigs-page .favorite-rigs-massrent-empty,
body[data-mrrtheme="dark"] .favorite-rigs-page .favorite-rigs-massrent-hours,
body[data-mrrtheme="dark"] .favorite-rigs-page .favorite-rigs-selection-status,
body[data-mrrtheme="dark"] .favorite-rigs-page .favorite-rigs-massrent-summary {
  background: #f8fafc;
  border-color: #cfd7df;
}

body[data-mrrtheme="dark"] .favorite-rigs-page .favorite-rigs-massrent-head {
  border-bottom-color: #cfd7df;
}

body[data-mrrtheme="dark"] .favorite-rigs-page .favorite-rigs-massrent-head strong,
body[data-mrrtheme="dark"] .favorite-rigs-page .favorite-rigs-selection-status strong {
  color: #203246;
}

body[data-mrrtheme="dark"] .favorite-rigs-page .favorite-rigs-massrent-head p,
body[data-mrrtheme="dark"] .favorite-rigs-page .favorite-rigs-tool-kicker,
body[data-mrrtheme="dark"] .favorite-rigs-page .favorite-rigs-massrent-meta,
body[data-mrrtheme="dark"] .favorite-rigs-page .favorite-rigs-massrent-empty,
body[data-mrrtheme="dark"] .favorite-rigs-page .favorite-rigs-selected-price,
body[data-mrrtheme="dark"] .favorite-rigs-page .favorite-rigs-selection-status span {
  color: #6a7480;
}

body[data-mrrtheme="night"] .favorite-rigs-page .favorite-rigs-massrent-panel,
body[data-mrrtheme="night"] .favorite-rigs-page .favorite-rigs-massrent-empty,
body[data-mrrtheme="night"] .favorite-rigs-page .favorite-rigs-massrent-hours,
body[data-mrrtheme="night"] .favorite-rigs-page .favorite-rigs-selection-status,
body[data-mrrtheme="night"] .favorite-rigs-page .favorite-rigs-massrent-summary {
  background: #2b3036;
  border-color: #3a4148;
}

body[data-mrrtheme="night"] .favorite-rigs-page .favorite-rigs-massrent-head {
  border-bottom-color: #3a4148;
}

body[data-mrrtheme="night"] .favorite-rigs-page .favorite-rigs-massrent-head strong,
body[data-mrrtheme="night"] .favorite-rigs-page .favorite-rigs-selection-status strong,
body[data-mrrtheme="night"] .favorite-rigs-page .favorite-rigs-massrent-hours label {
  color: #eef2f5;
}

body[data-mrrtheme="night"] .favorite-rigs-page .favorite-rigs-massrent-head p,
body[data-mrrtheme="night"] .favorite-rigs-page .favorite-rigs-tool-kicker,
body[data-mrrtheme="night"] .favorite-rigs-page .favorite-rigs-massrent-meta,
body[data-mrrtheme="night"] .favorite-rigs-page .favorite-rigs-massrent-empty,
body[data-mrrtheme="night"] .favorite-rigs-page .favorite-rigs-selected-price,
body[data-mrrtheme="night"] .favorite-rigs-page .favorite-rigs-selection-status span {
  color: #a0aab4;
}

body[data-mrrtheme="dark"] .favorite-rigs-page .favorite-rigs-massrent-hours {
  background: #f2f7fd;
  border-color: #b8c6d6;
  box-shadow: 0 8px 18px rgba(31, 53, 72, 0.1);
}

body[data-mrrtheme="dark"] .favorite-rigs-page .favorite-rigs-selection-status {
  background: #f2f7fd;
  border-color: #b7cce4;
  box-shadow: 0 8px 18px rgba(31, 53, 72, 0.09);
}

body[data-mrrtheme="dark"] .favorite-rigs-page .favorite-rigs-massrent-summary {
  background: #f7fbf8;
  border-color: #b8d8bf;
  border-left: 4px solid #5cb85c;
  box-shadow: 0 8px 18px rgba(31, 53, 72, 0.09);
}

body[data-mrrtheme="night"] .favorite-rigs-page .favorite-rigs-massrent-hours
{
  background: #26323b;
  border-color: #4d6680;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.34);
}

body[data-mrrtheme="night"] .favorite-rigs-page .favorite-rigs-selection-status {
  background: #26323b;
  border-color: #4b7488;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.3);
}

body[data-mrrtheme="night"] .favorite-rigs-page .favorite-rigs-massrent-summary {
  background: #233127;
  border-color: #4f7758;
  border-left: 4px solid #80d98a;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.3);
}
body[data-mrrtheme="night"] .favorite-rigs-page .favorite-rigs-hour-control .form-control {
  background: #202428;
  border-color: #3a4148;
  color: #eef2f5;
}


@media (min-width: 768px) and (max-width: 991px) {
  .rig-detail-page.rig-detail-owner-page .rig-detail-title-actions.rig-detail-owner-status {
    align-items: stretch;
    flex-direction: row;
    min-width: 320px;
  }

  .rig-detail-page.rig-detail-owner-page .rig-detail-owner-status .rig-detail-status-pill,
  .rig-detail-page.rig-detail-owner-page .rig-detail-owner-status .rig-detail-rental-state {
    flex: 1 1 0;
    min-width: 145px;
    width: auto;
  }
}
@media (max-width: 767px) {
  .favorite-rigs-page .favorite-rigs-massrent-head,
  .favorite-rigs-page .favorite-rigs-massrent-grid {
    display: block;
  }

  .favorite-rigs-page .favorite-rigs-massrent-meta,
  .favorite-rigs-page .favorite-rigs-massrent-selection,
  .favorite-rigs-page .favorite-rigs-massrent-actions {
    margin-top: 10px;
  }

  .favorite-rigs-page .favorite-rigs-massrent-actions .btn,
  .favorite-rigs-page .favorite-rigs-currency-toolbar .btn {
    flex: 1 1 auto;
  }
}
/* Pools and profiles hub */
#account-pools-profiles-hub .hub-hero,
#account-pools-profiles-hub .hub-section-box,
#account-pools-profiles-hub .favorite-pool-card {
  border-radius: 16px;
}

#account-pools-profiles-hub .hub-hero {
  overflow: hidden;
}

#account-pools-profiles-hub .hub-section-box {
  overflow: visible;
}

#account-pools-profiles-hub .hub-hero,
#account-pools-profiles-hub .hub-section-box {
  border: 1px solid #dbe5ef;
  box-shadow: 0 12px 28px rgba(32, 50, 70, 0.08);
}

#account-pools-profiles-hub .hub-hero .header-box,
#account-pools-profiles-hub .hub-section-box .header-box {
  background: #fafcff;
  border-bottom: 1px solid #e3ebf3;
  border-radius: 16px 16px 0 0;
  padding: 0;
}

#account-pools-profiles-hub .hub-hero .header-box .title,
#account-pools-profiles-hub .hub-section-box .header-box .title {
  color: #203246;
  font-size: 20px;
  font-weight: 700;
  line-height: 1.35;
  padding: 20px 24px;
}

#account-pools-profiles-hub .hub-hero > .box-content,
#account-pools-profiles-hub .hub-section-box > .box-content {
  background: #fafcff;
  border: 0;
  border-radius: 0 0 16px 16px;
  padding: 24px;
}

#account-pools-profiles-hub .hub-lead {
  color: #5f6f82;
  font-size: 15px;
  line-height: 1.7;
  margin-bottom: 0;
}

#account-pools-profiles-hub .hub-stat {
  background: linear-gradient(180deg, #fbfdff 0%, #f1f6fc 100%);
  border: 1px solid #d8e4f1;
  border-radius: 12px;
  height: 100%;
  margin-bottom: 15px;
  min-height: 110px;
  padding: 16px 18px;
  position: relative;
}

#account-pools-profiles-hub .hub-stat-row {
  display: flex;
  flex-wrap: wrap;
}

#account-pools-profiles-hub .hub-stat-row > [class*="col-"] {
  display: flex;
}

#account-pools-profiles-hub .hub-stat-value {
  color: #2c5b8f;
  display: block;
  font-size: 28px;
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 6px;
}

#account-pools-profiles-hub .hub-stat-label {
  color: #6f7f92;
  display: block;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

#account-pools-profiles-hub .hub-stat-copy {
  color: #516274;
  display: block;
  font-size: 13px;
  line-height: 1.5;
  margin-top: 8px;
}

#account-pools-profiles-hub .hub-switcher {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

#account-pools-profiles-hub .hub-switcher .btn {
  border-radius: 999px;
  font-weight: 600;
  padding: 10px 18px;
}

#account-pools-profiles-hub .hub-switcher .badge {
  margin-left: 8px;
}

#account-pools-profiles-hub .hub-section {
  display: none;
  margin-top: 20px;
}

#account-pools-profiles-hub .hub-section.is-active {
  display: block;
}

#account-pools-profiles-hub .hub-section-header {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: space-between;
  margin-bottom: 18px;
}

#account-pools-profiles-hub .hub-section-copy {
  color: #627487;
  font-size: 14px;
  line-height: 1.7;
  margin-bottom: 0;
}

#account-pools-profiles-hub .hub-section-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: flex-end;
}

#account-pools-profiles-hub .hub-toolbar {
  align-items: flex-end;
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 18px;
}

#account-pools-profiles-hub .hub-toolbar .form-group {
  margin-bottom: 0;
}

#account-pools-profiles-hub .hub-toolbar-label,
#account-pools-profiles-hub .hub-chip-label,
#account-pools-profiles-hub .favorite-pools-results {
  color: #7a899a;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

#account-pools-profiles-hub .hub-toolbar-label {
  display: block;
  margin-bottom: 8px;
}

#account-pools-profiles-hub .hub-algo-select {
  min-width: 280px;
}

#account-pools-profiles-hub .hub-chip-list {
  margin-bottom: 10px;
}

#account-pools-profiles-hub .hub-chip-label {
  display: block;
  margin-bottom: 10px;
}

#account-pools-profiles-hub .hub-chip {
  background: #fff;
  border: 1px solid #d8e4f1;
  border-radius: 999px;
  color: #405669;
  display: inline-block;
  font-size: 13px;
  font-weight: 600;
  margin: 0 8px 8px 0;
  padding: 8px 14px;
  text-decoration: none;
  transition: all 0.2s ease;
}

#account-pools-profiles-hub .hub-chip:hover,
#account-pools-profiles-hub .hub-chip:focus {
  background: #eef4fb;
  border-color: #b8cce2;
  color: #284d74;
  text-decoration: none;
}

#account-pools-profiles-hub .hub-chip-count {
  background: #2f679f;
  border-radius: 999px;
  color: #fff;
  display: inline-block;
  font-size: 11px;
  margin-left: 8px;
  min-width: 24px;
  padding: 2px 8px;
  text-align: center;
}

#account-pools-profiles-hub .hub-empty,
#account-pools-profiles-hub .favorite-pool-empty {
  background: #f9fbfe;
  border: 1px dashed #cfdeee;
  border-radius: 12px;
  color: #5b6d7f;
  padding: 26px 22px;
  text-align: center;
}

#account-pools-profiles-hub .hub-empty p,
#account-pools-profiles-hub .favorite-pool-empty p {
  font-size: 14px;
  line-height: 1.7;
  margin: 0;
}

#account-pools-profiles-hub #profile-widget-empty-state {
  background: rgba(42, 122, 226, 0.03);
  border: 1px solid rgba(42, 122, 226, 0.1);
  border-radius: 14px;
  color: #5b6d7f;
  padding: 18px;
  text-align: left;
}

#account-pools-profiles-hub #profile-widget-empty-state p {
  color: #6a7480;
  line-height: 1.55;
  margin: 0;
}

#account-pools-profiles-hub .profile-widget-frame {
  background: rgba(42, 122, 226, 0.03);
  border: 1px solid rgba(42, 122, 226, 0.1);
  border-radius: 14px;
  padding: 18px;
}

body[data-mrrtheme="dark"] #account-pools-profiles-hub #profile-widget-empty-state,
body[data-mrrtheme="night"] #account-pools-profiles-hub #profile-widget-empty-state {
  background: rgba(42, 122, 226, 0.03);
  border-color: rgba(42, 122, 226, 0.1);
  color: #5b6d7f;
}

body[data-mrrtheme="dark"] #account-pools-profiles-hub .profile-widget-frame,
body[data-mrrtheme="night"] #account-pools-profiles-hub .profile-widget-frame {
  background: rgba(42, 122, 226, 0.03);
  border-color: rgba(42, 122, 226, 0.1);
}

body[data-mrrtheme="dark"] #account-pools-profiles-hub #profile-widget-empty-state p,
body[data-mrrtheme="night"] #account-pools-profiles-hub #profile-widget-empty-state p {
  color: #6a7480;
}

#account-pools-profiles-hub .hub-widget-shell {
  margin-top: 18px;
}

#profilesPoolWidget.pool-widget {
  margin-left: auto;
  margin-right: auto;
  max-width: 1900px;
}

#account-pools-profiles-hub .favorite-pools-toolbar {
  align-items: flex-end;
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: space-between;
  margin-bottom: 20px;
}

#account-pools-profiles-hub .favorite-pools-filters {
  align-items: flex-end;
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  flex: 1 1 auto;
}

#account-pools-profiles-hub .favorite-pools-algo-filter {
  max-width: 300px;
  min-width: 240px;
}

#account-pools-profiles-hub .favorite-pools-filter {
  max-width: 360px;
  min-width: 250px;
}

#account-pools-profiles-hub .favorite-pools-filter .input-group-btn .btn {
  height: 34px;
}

#account-pools-profiles-hub .favorite-pools-results {
  display: block;
  margin-top: 10px;
}

#account-pools-profiles-hub .favorite-pools-grid {
  align-items: flex-start;
  display: flex;
  gap: 20px;
}

#account-pools-profiles-hub .favorite-pools-grid-column {
  flex: 1 1 0;
  min-width: 0;
}

#account-pools-profiles-hub .favorite-pool-card-wrap {
  margin-bottom: 20px;
  width: 100%;
}

#account-pools-profiles-hub .favorite-pool-card {
  background: #fff;
  border: 1px solid #d8e4f1;
  box-shadow: 0 10px 25px rgba(50, 82, 121, 0.08);
  height: 100%;
  overflow-wrap: anywhere;
  overflow: hidden;
}

#account-pools-profiles-hub .favorite-pool-card-header {
  background: linear-gradient(180deg, #fbfdff 0%, #edf3fa 100%);
  border-bottom: 1px solid #d8e4f1;
  padding: 16px 18px 14px;
}

#account-pools-profiles-hub .favorite-pool-type {
  background: #e8f0fb;
  border-radius: 999px;
  color: #2f679f;
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  padding: 4px 10px;
  text-transform: uppercase;
}

#account-pools-profiles-hub .favorite-pool-name {
  color: #223548;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.35;
  margin-top: 10px;
  overflow-wrap: anywhere;
  word-break: break-word;
}

#account-pools-profiles-hub .favorite-pool-body {
  padding: 18px;
}

#account-pools-profiles-hub .favorite-pool-endpoint {
  background: #f6f8fb;
  border-radius: 10px;
  color: #30485f;
  font-size: 13px;
  line-height: 1.6;
  margin-bottom: 16px;
  overflow-wrap: anywhere;
  padding: 10px 12px;
  word-break: break-word;
}

#account-pools-profiles-hub .favorite-pool-endpoint-label,
#account-pools-profiles-hub .favorite-pool-meta-label,
#account-pools-profiles-hub .pool-widget .pool_hostport:before,
#account-pools-profiles-hub .pool-widget .pool_user:before,
#account-pools-profiles-hub .pool-widget .pool_pass:before,
#account-pools-profiles-hub .pool-widget .pool_option1:before {
  color: #8796a8;
  display: block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  margin-bottom: 4px;
  text-transform: uppercase;
}

#account-pools-profiles-hub .favorite-pool-meta {
  margin-bottom: 14px;
}

#account-pools-profiles-hub .favorite-pool-meta-value {
  color: #314559;
  display: block;
  font-size: 13px;
  line-height: 1.6;
  overflow-wrap: anywhere;
  word-break: break-word;
}

#account-pools-profiles-hub .favorite-pool-actions {
  border-top: 1px solid #ecf1f6;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 6px;
  padding-top: 16px;
}

#account-pools-profiles-hub .favorite-pool-notes-empty {
  color: #95a4b3;
  font-style: italic;
}

#account-pools-profiles-hub .favorite-pool-no-results {
  margin-top: 10px;
}

#account-pools-profiles-hub .pool-widget {
  margin-top: 12px;
}

#account-pools-profiles-hub .pool-widget .pool-widget-pool-item {
  background: #fff;
  border: 1px solid #d8e4f1;
  border-radius: 12px;
  box-shadow: 0 10px 25px rgba(50, 82, 121, 0.08);
  margin-bottom: 15px;
  padding: 18px 58px 18px 18px;
  position: relative;
}

#account-pools-profiles-hub .pool-widget .pool-widget-pool-counter {
  margin-right: 16px;
  text-align: center;
  width: 48px;
}

#account-pools-profiles-hub .pool-widget .pool-widget-pool-counter .number {
  background: #e9f1fb;
  border-radius: 999px;
  color: #2f679f;
  font-size: 18px;
  font-weight: 700;
  height: 40px;
  line-height: 40px;
  margin: 0 auto 10px;
  width: 40px;
}

#account-pools-profiles-hub .pool-widget .pool-widget-pool-entry {
  min-width: 0;
}

#account-pools-profiles-hub .pool-widget .pool-widget-pool-entry .handle {
  color: #9aa8b8;
  font-size: 18px;
  margin-bottom: 10px;
}

#account-pools-profiles-hub .pool-widget .pool-widget-pool-entry .pool_label {
  color: #223548;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.4;
  margin-bottom: 10px;
  padding-right: 20px;
  word-break: break-word;
}

#account-pools-profiles-hub .pool-widget .pool-widget-pool-entry .pool_hostport,
#account-pools-profiles-hub .pool-widget .pool-widget-pool-entry .pool_user,
#account-pools-profiles-hub .pool-widget .pool-widget-pool-entry .pool_pass,
#account-pools-profiles-hub .pool-widget .pool-widget-pool-entry .pool_option1 {
  color: #314559;
  font-size: 13px;
  line-height: 1.6;
  margin-bottom: 10px;
  word-break: break-word;
}

#account-pools-profiles-hub .pool-widget .pool-widget-muted {
  color: #93a2b0;
  font-style: italic;
}

#account-pools-profiles-hub .pool-widget .pool-widget-pool-sorting-up,
#account-pools-profiles-hub .pool-widget .pool-widget-pool-sorting-down {
  right: 12px !important;
}

#account-pools-profiles-hub .pool-widget .pool-widget-add-new-button .pool-widget-pool-item,
#account-pools-profiles-hub .pool-widget .pool-widget-add-new .pool-widget-pool-item,
#account-pools-profiles-hub .pool-widget .pool-widget-edit-existing .pool-widget-pool-item {
  margin-left: auto;
  margin-right: auto;
  max-width: 1900px;
  padding-left: 18px !important;
  width: 100%;
}

#account-pools-profiles-hub .pool-widget .pool-widget-add-new-button,
#account-pools-profiles-hub .pool-widget .pool-widget-add-new,
#account-pools-profiles-hub .pool-widget .pool-widget-edit-existing {
  display: flex;
  justify-content: center;
}

#account-pools-profiles-hub .pool-widget .pool-widget-add-new-button .pool-widget-pool-not-entry,
#account-pools-profiles-hub .pool-widget .pool-widget-add-new .pool-widget-pool-new-entry,
#account-pools-profiles-hub .pool-widget .pool-widget-edit-existing .pool-widget-pool-edit-entry {
  min-width: 0;
}

#account-pools-profiles-hub .pool-widget .pool_widget_save_changes,
#account-pools-profiles-hub .pool-widget .pool_widget_cancel_changes,
#account-pools-profiles-hub .pool-widget .pool_widget_delete_confirm {
  margin: 5px;
}

#account-pools-profiles-hub .pool-widget .profile_name_edit .form-group,
#account-pools-profiles-hub .pool-widget .pool_form_option1 .form-group {
  margin-bottom: 0;
}

#account-pools-profiles-hub .pool-widget .selectpicker,
#account-pools-profiles-hub .pool-widget select,
#account-pools-profiles-hub .favorite-pools-filter .form-control,
#account-pools-profiles-hub .hub-toolbar .bootstrap-select {
  width: 100% !important;
}

#modal-pooledit .error_display,
#modal-pooledit .error_display_badpool,
#modal-pooledit .pool-save-error {
  margin-left: 0;
  margin-right: 0;
}

#modal-pooledit .error_display .alert,
#modal-pooledit .error_display_badpool .alert,
#modal-pooledit .pool-save-error .alert {
  box-sizing: border-box;
  max-width: 100%;
  overflow-wrap: anywhere;
  white-space: pre-wrap;
  word-break: break-word;
}

body[data-mrrtheme="dark"] #account-pools-profiles-hub .hub-hero,
body[data-mrrtheme="dark"] #account-pools-profiles-hub .hub-section-box {
  border-color: #cfd7df;
  box-shadow: 0 10px 24px rgba(31, 53, 72, 0.08);
}

body[data-mrrtheme="dark"] #account-pools-profiles-hub .hub-hero .header-box,
body[data-mrrtheme="dark"] #account-pools-profiles-hub .hub-section-box .header-box,
body[data-mrrtheme="dark"] #account-pools-profiles-hub .hub-hero > .box-content,
body[data-mrrtheme="dark"] #account-pools-profiles-hub .hub-section-box > .box-content {
  background: #eef1f4;
}

body[data-mrrtheme="dark"] #account-pools-profiles-hub .hub-hero .header-box,
body[data-mrrtheme="dark"] #account-pools-profiles-hub .hub-section-box .header-box {
  border-bottom-color: #cfd7df;
}

body[data-mrrtheme="dark"] #account-pools-profiles-hub .hub-hero .header-box .title,
body[data-mrrtheme="dark"] #account-pools-profiles-hub .hub-section-box .header-box .title {
  color: #203246;
}

body[data-mrrtheme="dark"] #account-pools-profiles-hub .hub-stat {
  background: linear-gradient(180deg, #fbfcfe 0%, #f4f7fa 100%);
  border-color: #c5d0db;
  box-shadow: 0 8px 18px rgba(31, 53, 72, 0.1);
}

body[data-mrrtheme="dark"] #account-pools-profiles-hub .hub-chip {
  background: #f6f8fb;
  border-color: #cfd7df;
}

body[data-mrrtheme="dark"] #account-pools-profiles-hub .hub-empty,
body[data-mrrtheme="dark"] #account-pools-profiles-hub .favorite-pool-empty {
  background: #f3f6fa;
  border-color: #cfd7df;
}

body[data-mrrtheme="dark"] #account-pools-profiles-hub .favorite-pool-card {
  background: #f6f8fb;
  border-color: #cfd7df;
  box-shadow: 0 10px 24px rgba(31, 53, 72, 0.08);
}

body[data-mrrtheme="dark"] #account-pools-profiles-hub .favorite-pool-card-header {
  background: linear-gradient(180deg, #f3f6fa 0%, #e8edf3 100%);
  border-bottom-color: #cfd7df;
}

body[data-mrrtheme="dark"] #account-pools-profiles-hub .favorite-pool-endpoint,
body[data-mrrtheme="dark"] #account-pools-profiles-hub .pool-widget .pool-widget-pool-item {
  background: #f6f8fb;
  border-color: #cfd7df;
}

body[data-mrrtheme="night"] #account-pools-profiles-hub .hub-hero,
body[data-mrrtheme="night"] #account-pools-profiles-hub .hub-section-box {
  border-color: #3a4148;
  box-shadow: 0 12px 26px rgba(0, 0, 0, 0.3);
}

body[data-mrrtheme="night"] #account-pools-profiles-hub .hub-hero .header-box,
body[data-mrrtheme="night"] #account-pools-profiles-hub .hub-section-box .header-box,
body[data-mrrtheme="night"] #account-pools-profiles-hub .hub-hero > .box-content,
body[data-mrrtheme="night"] #account-pools-profiles-hub .hub-section-box > .box-content {
  background: #24282d;
}

body[data-mrrtheme="night"] #account-pools-profiles-hub .hub-hero .header-box,
body[data-mrrtheme="night"] #account-pools-profiles-hub .hub-section-box .header-box {
  border-bottom-color: #3a4148;
}

body[data-mrrtheme="night"] #account-pools-profiles-hub .hub-hero .header-box .title,
body[data-mrrtheme="night"] #account-pools-profiles-hub .hub-section-box .header-box .title,
body[data-mrrtheme="night"] #account-pools-profiles-hub .favorite-pool-name,
body[data-mrrtheme="night"] #account-pools-profiles-hub .pool-widget .pool-widget-pool-entry .pool_label {
  color: #eef2f5;
}

body[data-mrrtheme="night"] #account-pools-profiles-hub .hub-lead,
body[data-mrrtheme="night"] #account-pools-profiles-hub .hub-section-copy,
body[data-mrrtheme="night"] #account-pools-profiles-hub .hub-stat-copy,
body[data-mrrtheme="night"] #account-pools-profiles-hub .hub-empty,
body[data-mrrtheme="night"] #account-pools-profiles-hub .favorite-pool-empty,
body[data-mrrtheme="night"] #account-pools-profiles-hub .favorite-pool-endpoint,
body[data-mrrtheme="night"] #account-pools-profiles-hub .favorite-pool-meta-value,
body[data-mrrtheme="night"] #account-pools-profiles-hub .pool-widget .pool-widget-pool-entry .pool_hostport,
body[data-mrrtheme="night"] #account-pools-profiles-hub .pool-widget .pool-widget-pool-entry .pool_user,
body[data-mrrtheme="night"] #account-pools-profiles-hub .pool-widget .pool-widget-pool-entry .pool_pass,
body[data-mrrtheme="night"] #account-pools-profiles-hub .pool-widget .pool-widget-pool-entry .pool_option1 {
  color: #a0aab4;
}

body[data-mrrtheme="night"] #account-pools-profiles-hub .hub-stat-label,
body[data-mrrtheme="night"] #account-pools-profiles-hub .hub-toolbar-label,
body[data-mrrtheme="night"] #account-pools-profiles-hub .hub-chip-label,
body[data-mrrtheme="night"] #account-pools-profiles-hub .favorite-pools-results,
body[data-mrrtheme="night"] #account-pools-profiles-hub .favorite-pool-endpoint-label,
body[data-mrrtheme="night"] #account-pools-profiles-hub .favorite-pool-meta-label,
body[data-mrrtheme="night"] #account-pools-profiles-hub .pool-widget .pool_hostport:before,
body[data-mrrtheme="night"] #account-pools-profiles-hub .pool-widget .pool_user:before,
body[data-mrrtheme="night"] #account-pools-profiles-hub .pool-widget .pool_pass:before,
body[data-mrrtheme="night"] #account-pools-profiles-hub .pool-widget .pool_option1:before {
  color: #9ba8b5;
}

body[data-mrrtheme="night"] #account-pools-profiles-hub .hub-stat {
  background: linear-gradient(180deg, #30363c 0%, #2a3036 100%);
  border-color: #444c54;
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.3);
}

body[data-mrrtheme="night"] #account-pools-profiles-hub .hub-stat-value,
body[data-mrrtheme="night"] #account-pools-profiles-hub .hub-chip,
body[data-mrrtheme="night"] #account-pools-profiles-hub .favorite-pool-empty p,
body[data-mrrtheme="night"] #account-pools-profiles-hub .hub-empty p {
  color: #d8dde2;
}

body[data-mrrtheme="night"] #account-pools-profiles-hub .hub-chip {
  background: #2b3036;
  border-color: #3a4148;
}

body[data-mrrtheme="night"] #account-pools-profiles-hub .hub-chip:hover,
body[data-mrrtheme="night"] #account-pools-profiles-hub .hub-chip:focus {
  background: #373d43;
  border-color: #50575f;
  color: #fff;
}

body[data-mrrtheme="night"] #account-pools-profiles-hub .hub-empty,
body[data-mrrtheme="night"] #account-pools-profiles-hub .favorite-pool-empty {
  background: #2b3036;
  border-color: #3a4148;
}

body[data-mrrtheme="night"] #account-pools-profiles-hub .favorite-pool-card,
body[data-mrrtheme="night"] #account-pools-profiles-hub .pool-widget .pool-widget-pool-item {
  background: #2b3036;
  border-color: #3a4148;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.24);
}

body[data-mrrtheme="night"] #account-pools-profiles-hub .favorite-pool-card-header {
  background: linear-gradient(180deg, #30353b 0%, #2b3036 100%);
  border-bottom-color: #3a4148;
}

body[data-mrrtheme="night"] #account-pools-profiles-hub .favorite-pool-type,
body[data-mrrtheme="night"] #account-pools-profiles-hub .pool-widget .pool-widget-pool-counter .number {
  background: #31465c;
  color: #eef2f5;
}

body[data-mrrtheme="night"] #account-pools-profiles-hub .favorite-pool-endpoint {
  background: #24282d;
}

body[data-mrrtheme="night"] #account-pools-profiles-hub .favorite-pool-actions {
  border-top-color: #3a4148;
}

@media (max-width: 991px) {
  #account-pools-profiles-hub .hub-stat-row {
    display: block;
  }

  #account-pools-profiles-hub .hub-stat-row > [class*="col-"] {
    display: block;
  }

  #account-pools-profiles-hub .hub-algo-select,
  #account-pools-profiles-hub .favorite-pools-algo-filter,
  #account-pools-profiles-hub .favorite-pools-filter {
    max-width: none;
    min-width: 0;
    width: 100%;
  }

  .ticket-detail-columns {
    display: flex;
    flex-direction: column;
  }

  .ticket-summary-rail,
  .ticket-main-column {
    width: 100%;
  }

  .ticket-main-column {
    order: 1;
  }

  .ticket-summary-rail {
    order: 2;
  }

  .ticket-related-card-actions {
    width: 100%;
    margin-left: 0;
    align-items: flex-start;
  }

  .ticket-related-state-badges,
  .ticket-related-card-links {
    justify-content: flex-start;
  }

  .ticket-related-chart {
    height: 290px !important;
    min-height: 290px !important;
  }
}


@media (min-width: 768px) and (max-width: 991px) {
  .rig-detail-page.rig-detail-owner-page .rig-detail-title-actions.rig-detail-owner-status {
    align-items: stretch;
    flex-direction: row;
    min-width: 320px;
  }

  .rig-detail-page.rig-detail-owner-page .rig-detail-owner-status .rig-detail-status-pill,
  .rig-detail-page.rig-detail-owner-page .rig-detail-owner-status .rig-detail-rental-state {
    flex: 1 1 0;
    min-width: 145px;
    width: auto;
  }
}
@media (max-width: 767px) {
  .tickets-center .page-header h1 {
    max-width: calc(100% - 145px);
  }

  .tickets-center .tickets-mobile-create-action {
    margin-bottom: 12px;
  }

  .tickets-center .tickets-support-notices-icon {
    flex-basis: 44px;
  }

  .tickets-center .tickets-support-notices-body,
  .tickets-center .tickets-panel .header-box .title,
  .tickets-center .tickets-panel .box-content,
  .api-doc-page #rigview_tabs + .tab-content > .tab-pane,
  .api-doc-page .box .header-box .title,
  .api-doc-page .box > .box-content,
  .apikey-page .box .header-box .title,
  .apikey-page .box > .box-content,
  .favorite-rigs-page .box .header-box .title,
  .favorite-rigs-page .box > .box-content,
  .favorite-rigs-page .favorite-rigs-table-shell {
    padding: 16px;
  }

  .apikey-page .apikey-table-shell.box-content {
    margin: 0 0 -16px;
  }

  .tickets-center .tickets-form-actions .btn {
    width: 100%;
  }

  .tickets-center .tickets-tab-content {
    padding: 12px 16px 16px;
  }

  .tickets-center .tickets-tabs {
    padding: 0 16px;
  }

  .tickets-center .tickets-tabs > li {
    width: 50%;
  }

  .tickets-center .tickets-tabs > li > a {
    margin-right: 0;
    text-align: center;
  }

  .tickets-center .tickets-form-actions {
    text-align: center;
  }

  .apikey-page .apikey-actions {
    text-align: left;
  }

  .apikey-page .apikey-actions .btn {
    width: 100%;
  }

  .api-permission-head {
    display: block;
  }

  .api-permission-head .btn {
    margin-top: 8px;
    width: 100%;
  }

  .favorite-rigs-page .favorite-rigs-group-header {
    align-items: flex-start;
    display: block;
  }

  .favorite-rigs-page .favorite-rigs-group-count {
    padding: 0 16px 16px;
  }

  .favorite-rigs-page .favorite-rigs-toggle-wrap,
  .favorite-rigs-page .favorite-rigs-add-action {
    padding-top: 12px;
  }

  .favorite-rigs-page .favorite-rigs-actions {
    white-space: normal;
  }

  #account-pools-profiles-hub .hub-hero .header-box .title,
  #account-pools-profiles-hub .hub-section-box .header-box .title,
  #account-pools-profiles-hub .hub-hero > .box-content,
  #account-pools-profiles-hub .hub-section-box > .box-content {
    padding: 16px;
  }

  #account-pools-profiles-hub .favorite-pools-grid {
    display: block;
  }

  #account-pools-profiles-hub .hub-switcher {
    flex-direction: column;
  }

  #account-pools-profiles-hub .hub-switcher .btn {
    width: 100%;
  }

  #account-pools-profiles-hub .hub-toolbar,
  #account-pools-profiles-hub .favorite-pools-toolbar {
    display: block;
  }

  #account-pools-profiles-hub .favorite-pools-filters {
    display: block;
  }

  #account-pools-profiles-hub .favorite-pools-algo-filter,
  #account-pools-profiles-hub .favorite-pools-filter {
    margin-top: 15px;
  }

  #account-pools-profiles-hub .pool-widget .pool-widget-pool-item {
    display: block !important;
    padding: 16px 16px 62px;
  }

  #account-pools-profiles-hub .pool-widget .pool-widget-pool-counter {
    align-items: center;
    display: flex;
    margin: 0 0 12px;
    text-align: left;
    width: auto;
  }

  #account-pools-profiles-hub .pool-widget .pool-widget-pool-counter .number {
    margin: 0 10px 0 0;
  }

  #account-pools-profiles-hub .pool-widget .pool-edit,
  #account-pools-profiles-hub .pool-widget .pool-remove {
    margin-right: 8px;
    margin-top: 0 !important;
  }

  #account-pools-profiles-hub .pool-widget .pool-widget-pool-sorting-up {
    bottom: 12px !important;
    right: 54px !important;
    top: auto !important;
  }

  #account-pools-profiles-hub .pool-widget .pool-widget-pool-sorting-down {
    bottom: 12px !important;
    right: 12px !important;
  }

  .ticket-detail-columns {
    display: flex;
    flex-direction: column;
  }

  .ticket-main-column {
    order: 1;
  }

  .ticket-summary-rail {
    order: 2;
  }

  .ticket-main-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .ticket-support-timeline {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    padding: 10px 12px;
  }

  .ticket-support-timeline-item {
    min-width: 0;
  }

  .ticket-support-timeline-label {
    margin-bottom: 2px;
    font-size: 10px;
  }

  .ticket-support-timeline-value {
    font-size: 13px;
    line-height: 1.3;
  }

  .ticket-support-timeline-secondary {
    font-size: 11px;
  }

  .ticket-stat-secondary,
  .ticket-message-when-secondary {
    font-size: 10px;
  }

  .ticket-related-chart {
    height: 270px !important;
    min-height: 270px !important;
  }
}

/* Account Addresses */
.addresses-page .page-header {
    margin-bottom: 18px;
}

.addresses-page .page-header h1 {
    display: flex;
    float: none !important;
    font-size: 32px;
    font-weight: 700;
    margin: 0;
}

.addresses-page .addresses-kicker {
    color: #2a7ae2;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.08em;
    margin-bottom: 8px;
    text-transform: uppercase;
}

.addresses-page .addresses-intro {
    color: #6a7480;
    font-size: 15px;
    line-height: 1.6;
    margin: 10px 0 0;
    max-width: 820px;
}

.addresses-page .addresses-status-stack {
    margin-bottom: 20px;
}

.addresses-page .addresses-status-stack .alert {
    border-radius: 12px;
    margin-bottom: 12px;
    padding: 14px 16px;
}

.addresses-page .addresses-account-nav {
    margin-bottom: 16px;
}

.addresses-page .addresses-coin-nav {
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid rgba(42, 122, 226, 0.12);
    border-radius: 14px;
    margin-bottom: 22px;
    padding: 12px;
}

.addresses-page .addresses-coin-nav .nav-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.addresses-page .addresses-coin-nav .nav-pills > li {
    float: none;
}

.addresses-page .addresses-coin-nav .nav-pills > li > a {
    border: 1px solid rgba(42, 122, 226, 0.15);
    border-radius: 999px;
    color: #4b5663;
    font-size: 13px;
    font-weight: 700;
    padding: 9px 14px;
}

.addresses-page .addresses-coin-nav .nav-pills > li.active > a,
.addresses-page .addresses-coin-nav .nav-pills > li.active > a:hover,
.addresses-page .addresses-coin-nav .nav-pills > li.active > a:focus {
    background: #2a7ae2;
    border-color: #2a7ae2;
    color: #fff;
}

.addresses-page .box {
    border: 1px solid #dbe5ef;
    border-radius: 16px;
    box-shadow: 0 12px 28px rgba(32, 50, 70, 0.08);
    margin-bottom: 24px;
    overflow: hidden;
}

.addresses-page .box .header-box {
    background: #fafcff;
    border-bottom: 1px solid #e3ebf3;
    min-height: 0;
    padding: 0;
}

.addresses-page .box .header-box .title {
    color: #203246;
    font-size: 20px;
    font-weight: 700;
    line-height: 1.35;
    padding: 20px 24px;
}

.addresses-page .box > .box-content {
    background: #fafcff;
    padding: 24px;
}

.addresses-page .addresses-section-copy {
    color: #6a7480;
    line-height: 1.6;
    margin: 0 0 18px;
    max-width: 760px;
}

.addresses-page .addresses-action-panel {
    background: rgba(42, 122, 226, 0.035);
    border: 1px solid rgba(42, 122, 226, 0.12);
    border-radius: 14px;
    box-shadow: none;
    margin-bottom: 18px;
}

.addresses-page .addresses-action-panel .panel-heading {
    background: transparent;
    border-bottom: 1px solid rgba(42, 122, 226, 0.1);
    padding: 14px 16px 0;
}

.addresses-page .addresses-action-panel .panel-title {
    color: #2f3f52;
    font-size: 16px;
    font-weight: 700;
}

.addresses-page .addresses-admin-note {
    color: #7a8794;
    font-size: 12px;
    line-height: 1.5;
    margin: 6px 0 12px;
}

.addresses-page .addresses-action-panel .panel-body {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    padding: 16px;
}

.addresses-page .addresses-action-panel .btn-success {
    border-radius: 999px;
    font-weight: 700;
    padding: 9px 16px;
}

.addresses-page .addresses-help-trigger {
    align-items: center;
    background: #fff;
    border: 1px solid rgba(42, 122, 226, 0.16);
    border-radius: 999px;
    color: #2a7ae2;
    display: inline-flex;
    height: 34px;
    justify-content: center;
    width: 34px;
}

.addresses-page .addresses-label-field {
    flex: 1 1 240px;
    max-width: 360px;
}

.addresses-page .addresses-label-field .form-control {
    border-radius: 999px;
    height: 40px;
}

.addresses-page .addresses-table-wrap {
    border: 1px solid rgba(42, 122, 226, 0.12);
    border-radius: 14px;
    overflow-x: auto;
}

.addresses-page .addresses-table-wrap table {
    margin-bottom: 0 !important;
    min-width: 760px;
    width: 100% !important;
}

.addresses-page .addresses-table-wrap thead th {
    color: #6a7480;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.addresses-page .addresses-table-wrap td:nth-child(2) {
    font-family: Consolas, "Courier New", monospace;
    overflow-wrap: anywhere;
}

.addresses-page .addresses-table-wrap .btn-primary {
    border-radius: 999px;
    font-weight: 700;
    padding-left: 14px;
    padding-right: 14px;
}

.addresses-page .dataTables_wrapper .dataTables_filter input,
.addresses-page .dataTables_wrapper .dataTables_length select {
    border: 1px solid rgba(42, 122, 226, 0.18);
    border-radius: 999px;
    padding: 6px 10px;
}

body[data-mrrtheme="night"] .addresses-page .addresses-kicker,
body[data-mrrtheme="night"] .addresses-page .addresses-intro,
body[data-mrrtheme="night"] .addresses-page .addresses-section-copy,
body[data-mrrtheme="night"] .addresses-page .addresses-admin-note {
    color: #a0aab4;
}

body[data-mrrtheme="dark"] .addresses-page .box {
    border-color: #cfd7df;
    box-shadow: 0 10px 24px rgba(31, 53, 72, 0.08);
}

body[data-mrrtheme="dark"] .addresses-page .box .header-box,
body[data-mrrtheme="dark"] .addresses-page .box > .box-content {
    background: #eef1f4;
}

body[data-mrrtheme="dark"] .addresses-page .box .header-box {
    border-bottom-color: #cfd7df;
}

body[data-mrrtheme="night"] .addresses-page .addresses-coin-nav {
    background: #24282d;
    border-color: #3a4148;
}

body[data-mrrtheme="night"] .addresses-page .addresses-coin-nav .nav-pills > li > a {
    background: #2b3036;
    border-color: #3a4148;
    color: #d8dde2;
}

body[data-mrrtheme="night"] .addresses-page .addresses-coin-nav .nav-pills > li > a:hover,
body[data-mrrtheme="night"] .addresses-page .addresses-coin-nav .nav-pills > li > a:focus {
    background: #373d43;
    border-color: #50575f;
    color: #fff;
}

body[data-mrrtheme="night"] .addresses-page .addresses-coin-nav .nav-pills > li.active > a,
body[data-mrrtheme="night"] .addresses-page .addresses-coin-nav .nav-pills > li.active > a:hover,
body[data-mrrtheme="night"] .addresses-page .addresses-coin-nav .nav-pills > li.active > a:focus {
    background: #2a7ae2;
    border-color: #2a7ae2;
    color: #fff;
}

body[data-mrrtheme="night"] .addresses-page .box {
    border-color: #3a4148;
    box-shadow: 0 12px 26px rgba(0, 0, 0, 0.3);
}

body[data-mrrtheme="night"] .addresses-page .box .header-box,
body[data-mrrtheme="night"] .addresses-page .box > .box-content {
    background: #24282d;
}

body[data-mrrtheme="night"] .addresses-page .box .header-box {
    border-bottom-color: #3a4148;
}

body[data-mrrtheme="night"] .addresses-page .box .header-box .title,
body[data-mrrtheme="night"] .addresses-page .addresses-action-panel .panel-title {
    color: #eef2f5;
}

body[data-mrrtheme="night"] .addresses-page .addresses-action-panel {
    background: #2b3036;
    border-color: #3a4148;
}

body[data-mrrtheme="night"] .addresses-page .addresses-action-panel .panel-heading {
    border-bottom-color: #3a4148;
}

body[data-mrrtheme="night"] .addresses-page .addresses-help-trigger {
    background: #202428;
    border-color: #343a40;
    color: #5ea0ff;
}

body[data-mrrtheme="night"] .addresses-page .addresses-label-field .form-control,
body[data-mrrtheme="night"] .addresses-page .dataTables_wrapper .dataTables_filter input,
body[data-mrrtheme="night"] .addresses-page .dataTables_wrapper .dataTables_length select {
    background: #202428;
    border-color: #343a40;
    color: #eef2f5;
}

body[data-mrrtheme="night"] .addresses-page .addresses-label-field .form-control:focus,
body[data-mrrtheme="night"] .addresses-page .dataTables_wrapper .dataTables_filter input:focus,
body[data-mrrtheme="night"] .addresses-page .dataTables_wrapper .dataTables_length select:focus {
    border-color: #5ea0ff;
    box-shadow: 0 0 0 3px rgba(94, 160, 255, 0.16);
}

body[data-mrrtheme="night"] .addresses-page .addresses-table-wrap {
    background: #202428;
    border-color: #343a40;
}

body[data-mrrtheme="night"] .addresses-page .addresses-table-wrap thead th {
    background: #202428;
    border-color: #343a40;
    color: #a0aab4;
}

body[data-mrrtheme="night"] .addresses-page .addresses-table-wrap tbody td {
    border-color: #343a40;
}

body[data-mrrtheme="night"] .addresses-page .addresses-table-wrap .table-striped > tbody > tr:nth-of-type(odd) {
    background-color: rgba(255, 255, 255, 0.025);
}

body[data-mrrtheme="night"] .addresses-page .addresses-table-wrap .table-hover > tbody > tr:hover {
    background-color: rgba(94, 160, 255, 0.08);
}

body[data-mrrtheme="night"] .addresses-page .pagination > li > a,
body[data-mrrtheme="night"] .addresses-page .pagination > li > span {
    background: #202428;
    border-color: #343a40;
    color: #d8dde2;
}

body[data-mrrtheme="night"] .addresses-page .pagination > .active > a,
body[data-mrrtheme="night"] .addresses-page .pagination > .active > span {
    background: #2a7ae2;
    border-color: #2a7ae2;
    color: #fff;
}


@media (min-width: 768px) and (max-width: 991px) {
  .rig-detail-page.rig-detail-owner-page .rig-detail-title-actions.rig-detail-owner-status {
    align-items: stretch;
    flex-direction: row;
    min-width: 320px;
  }

  .rig-detail-page.rig-detail-owner-page .rig-detail-owner-status .rig-detail-status-pill,
  .rig-detail-page.rig-detail-owner-page .rig-detail-owner-status .rig-detail-rental-state {
    flex: 1 1 0;
    min-width: 145px;
    width: auto;
  }
}
@media (max-width: 767px) {
    .addresses-page .box > .box-content {
        padding: 18px;
    }

    .addresses-page .box .header-box .title {
        font-size: 18px;
        padding: 16px 18px;
    }

    .addresses-page .addresses-coin-nav .nav-pills > li,
    .addresses-page .addresses-coin-nav .nav-pills > li > a {
        width: 100%;
    }

    .addresses-page .addresses-action-panel .panel-body {
        align-items: stretch;
        flex-direction: column;
    }

    .addresses-page .addresses-action-panel .btn-success,
    .addresses-page .addresses-label-field,
    .addresses-page .addresses-label-field .form-control {
        max-width: none;
        width: 100%;
    }

    .addresses-page .addresses-help-trigger {
        align-self: flex-start;
    }
}

/* /rigs algorithm listing refresh */

.rig-market-page {
    padding-right: 0;
}

.rig-market-page .rig-market-header {
    align-items: flex-start;
    display: flex;
    gap: 18px;
    justify-content: space-between;
}

.rig-market-page .rig-market-header h1 {
    color: #10233f;
    display: flex;
    float: none !important;
    flex-wrap: wrap;
    font-size: 32px;
    font-weight: 700;
    gap: 10px;
    margin: 0;
}

.rig-market-page .rig-market-header-meta {
    align-items: flex-end;
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: 4px;
    text-align: right;
}

.rig-market-page .rig-market-title-currency {
    align-items: baseline;
    border-left: 1px solid #cfd9e5;
    color: #10233f;
    display: inline-flex;
    gap: 6px;
    margin-left: 6px;
    padding-left: 16px;
}

.rig-market-page .rig-market-title-currency span {
    color: #5f6f85;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
}

.rig-market-page .rig-market-title-currency strong {
    color: #2a7ae2;
    font-size: 22px;
    font-weight: 800;
}

.rig-market-page .rig-market-pill {
    background: #2a7ae2;
    border: 1px solid #1f5ea8;
    border-radius: 999px;
    box-shadow: 0 10px 22px rgba(42, 122, 226, 0.24);
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    padding: 8px 14px;
    text-transform: uppercase;
}

.rig-market-page .rig-market-pill span {
    display: block;
    font-size: 10px;
    letter-spacing: 0.08em;
    opacity: 0.85;
}

.rig-market-page .rig-market-muted,
.rig-market-page .rig-market-card-sub,
.rig-market-page .rig-rent-tool-card p,
.rig-market-page .rig-profile-empty-state p {
    color: #5f6f85;
}

.rig-market-page .rig-market-card-sub {
    font-size: 13px;
    margin-top: 8px;
}

.rig-market-page .rig-market-summary-row {
    margin-bottom: 10px;
}

.rig-market-page .rig-market-signal-strip {
    background: #fff;
    border: 1px solid #d9e3f2;
    border-radius: 18px;
    box-shadow: 0 12px 28px rgba(16, 35, 63, 0.06);
    display: grid;
    gap: 0;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    margin: 0 0 18px;
    overflow: hidden;
}

.rig-market-page .rig-market-signal {
    border-right: 1px solid #e5edf7;
    padding: 14px 16px;
}

.rig-market-page .rig-market-signal:last-child {
    border-right: 0;
}

.rig-market-page .rig-market-signal-label {
    color: #5f6f85;
    display: block;
    font-size: 11px;
    font-weight: 700;
    margin-bottom: 5px;
    text-transform: uppercase;
}

.rig-market-page .rig-market-signal strong {
    color: #10233f;
    font-size: 15px;
}

.rig-market-page .rig-market-control-row {
    margin-bottom: 18px;
}

.rig-market-page .rig-rent-controls-col,
.rig-market-page .rig-filter-controls-col {
    width: 100%;
}

.rig-market-page .rig-market-panel.box,
.rig-market-page .rig-market-table-box.box {
    border: 1px solid #d9e3f2;
    border-radius: 18px;
    box-shadow: 0 16px 40px rgba(16, 35, 63, 0.08);
    overflow: hidden;
}

.rig-market-page .rig-market-panel .header-box,
.rig-market-page .rig-market-table-box .header-box {
    background: #fafcff;
    border-bottom: 1px solid #d9e3f2;
    padding: 0;
}

.rig-market-page .rig-market-panel .header-box .title,
.rig-market-page .rig-market-table-box .header-box .title {
    color: #10233f;
    font-size: 20px;
    font-weight: 700;
    padding: 20px 24px;
}

.rig-market-page .rig-market-panel > .box-content,
.rig-market-page .rig-market-table-box > .box-content {
    background: #fff;
}

.rig-market-page .rig-market-panel > .box-content {
    padding: 20px 24px;
}

.rig-market-page .rig-rent-tools-grid {
    align-items: stretch;
}

.rig-market-page .rig-rent-tools-grid > [class*="col-"] {
    display: flex;
}

.rig-market-page .rig-rent-tool-card,
.rig-market-page .rig-profile-empty-state {
    background: #f8fbff;
    border: 1px solid #dfe8f3;
    border-radius: 14px;
    display: flex;
    flex-direction: column;
    min-height: 220px;
    padding: 18px;
    width: 100%;
}

.rig-market-page .rig-rent-tool-finder {
    border-left: 4px solid #3c8dbc;
}

.rig-market-page .rig-rent-tool-manual {
    border-left: 4px solid #2f9e44;
}

.rig-market-page .rig-rent-tool-kicker {
    color: #52657a;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.rig-market-page .rig-rent-tool-card h3,
.rig-market-page .rig-profile-empty-state h3 {
    color: #10233f;
    font-size: 18px;
    font-weight: 700;
    line-height: 1.35;
    margin: 8px 0 8px;
}

.rig-market-page .rig-rent-tool-card .btn {
    max-width: 100%;
    overflow-wrap: anywhere;
    white-space: normal;
}

.rig-market-page .rig-rent-tool-finder .btn {
    align-self: flex-start;
}

.rig-market-page .rig-selection-status {
    align-items: center;
    background: #fff;
    border: 1px solid #dfe8f3;
    border-radius: 12px;
    display: flex;
    justify-content: space-between;
    margin: auto 0 12px;
    padding: 10px 12px;
}

.rig-market-page .rig-selection-status span {
    color: #5f6f85;
    font-weight: 700;
}

.rig-market-page .rig-selection-status strong {
    color: #10233f;
}

.rig-market-page .rig-massrent-summary {
    background: #fff;
    border: 1px solid #dfe8f3;
    border-radius: 12px;
    display: grid;
    gap: 6px;
    margin: 0 0 12px;
    padding: 10px 12px;
}

.rig-market-page .rig-rent-actions,
.rig-market-page .rig-filter-actions,
.rig-market-page .rig-currency-toolbar {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.rig-market-page .rig-filter-hours {
    align-items: flex-start;
    background: #f8fbff;
    border: 1px solid #dfe8f3;
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin-bottom: 16px;
    padding: 14px 16px;
}

.rig-market-page .rig-filter-hours label,
.rig-market-page .rig-filter-toggle-grid label {
    color: #405267;
    font-weight: 700;
}

.rig-market-page .rig-filter-hours label {
    margin: 0;
}

.rig-market-page .rig-filter-hours .md-number-input.number-input {
    background: #fff;
    border-color: #c9d8e8;
    border-radius: 10px;
    box-shadow: 0 8px 18px rgba(16, 35, 63, 0.08);
    max-width: 220px;
    width: 100%;
}

.rig-market-page .rig-filter-hours .md-number-input.number-input button {
    height: 36px;
}

.rig-market-page .rig-filter-hours .md-number-input.number-input input[type=number] {
    border-color: #c9d8e8;
    flex: 1;
    height: 36px;
    max-width: none;
    min-width: 0;
}

.rig-market-page .rig-filter-toggle-grid {
    display: grid;
    gap: 8px;
    grid-template-columns: 1fr;
    margin-bottom: 16px;
}

.rig-market-page .rig-filter-toggle-grid label {
    background: #f8fbff;
    border: 1px solid #dfe8f3;
    border-radius: 12px;
    margin: 0;
    padding: 10px 12px;
}

.rig-market-page .rig-filter-toggle-grid .rig-filter-toggle-selected.rig-filter-toggle-offline {
    border-color: #d9534f;
    box-shadow: inset 4px 0 0 #d9534f;
}

.rig-market-page .rig-filter-toggle-grid .rig-filter-toggle-selected.rig-filter-toggle-rented {
    border-color: #f0ad4e;
    box-shadow: inset 4px 0 0 #f0ad4e;
}

.rig-market-page .rig-filter-toggle-grid .rig-filter-toggle-selected.rig-filter-toggle-live {
    border-color: #5cb85c;
    box-shadow: inset 4px 0 0 #5cb85c;
}

.rig-market-page .rig-filter-toggle-grid input {
    margin-right: 6px;
}

.rig-market-page .rig-filter-dirty {
    background: #fff8e5;
    border: 1px solid #f0ad4e;
    border-radius: 12px;
    color: #8a5d12;
    font-weight: 700;
    margin: 0 0 12px;
    padding: 10px 12px;
}

.rig-market-page .rig-filter-apply-dirty {
    box-shadow: 0 0 0 3px rgba(92, 184, 92, 0.22);
}

.rig-market-page .rig-filter-box.rig-filter-box-active > .box-content {
    border: 2px solid #2a7ae2;
    border-radius: 0 0 16px 16px;
    box-shadow: inset 4px 0 0 #2a7ae2;
    box-sizing: border-box;
}

.rig-market-page .rig-filter-active-tab {
    background: #eaf3ff;
    border: 1px solid #2a7ae2;
    color: #1f5ea8;
    font-weight: 700;
}

.rig-market-page .rig-filter-active-tab:hover,
.rig-market-page .rig-filter-active-tab:focus {
    background: #dbeaff;
    border-color: #1f5ea8;
    color: #173f73;
}

.rig-market-page .rig-currency-toolbar {
    align-items: center;
    border-top: 1px solid #e5edf7;
    margin-top: 18px;
    padding-top: 16px;
}

.rig-market-page .rig-currency-toolbar .btn-icon-only {
    border-radius: 12px;
    font-size: 18px;
    height: 36px;
    line-height: 21px;
    padding: 7px 0;
    width: 38px;
}

.rig-market-page .rig-market-table-box .box-content {
    background: #fff;
}

.rig-market-page .rig-market-table-box .table-responsive {
    background: #fff;
}

body > .popover {
  max-width: calc(100vw - 24px);
}

body > .tooltip {
    z-index: 20000;
}

.rig-market-modal .modal-dialog {
    max-width: 760px;
    width: calc(100% - 30px);
}

.rig-selection-modal .modal-dialog {
    max-width: 860px;
}

.rig-market-modal .modal-content {
    border: 1px solid #d9e3f2;
    border-radius: 18px;
    box-shadow: 0 24px 60px rgba(16, 35, 63, 0.18);
    overflow: hidden;
}

.rig-market-modal .modal-header {
    background: #fafcff;
    border-bottom: 1px solid #d9e3f2;
    padding: 18px 22px;
}

.rig-market-modal .modal-title {
    color: #10233f;
    font-size: 20px;
    font-weight: 700;
}

.rig-market-modal .modal-body {
    background: #fff;
    padding: 22px;
}

.rig-market-modal .modal-footer {
    background: #fafcff;
    border-top: 1px solid #d9e3f2;
    margin-top: 0 !important;
    padding: 14px 22px;
}

.rig-market-modal .close {
    color: #405267;
    opacity: 0.75;
}

.rig-dialog-lead,
.rig-modal-section,
.rig-modal-note,
.rig-selection-profile,
.rig-selection-summary > div,
.rig-selection-result-state {
    background: #f8fbff;
    border: 1px solid #dfe8f3;
    border-radius: 14px;
}

.rig-dialog-lead {
    margin-bottom: 16px;
    padding: 16px 18px;
}

.rig-dialog-lead p {
    color: #5f6f85;
    margin: 6px 0 0;
}

.rig-dialog-kicker {
    color: #52657a;
    display: block;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
}

.rig-modal-section {
    padding: 18px 18px 4px;
}

.rig-modal-form {
    margin-bottom: 0;
}

.rig-modal-form .form-group {
    margin-left: 0;
    margin-right: 0;
}

.rig-modal-form .control-label {
    color: #405267;
    font-weight: 700;
}

.rig-modal-form .form-control {
    border-color: #c9d8e8;
    border-radius: 10px;
    box-shadow: none;
}

.rig-modal-form .help-block {
    color: #6a7480;
    font-size: 12px;
    margin-bottom: 0;
}

.rig-modal-divider {
    border-top: 1px solid #e5edf7;
    margin: 14px 0 18px;
}

.rig-modal-center-action {
    text-align: center;
}

.rig-modal-note {
    color: #405267;
    margin-bottom: 16px;
    padding: 12px 14px;
}

.rig-modal-error {
    background: #fff3f3;
    border: 1px solid #d9534f;
    border-radius: 12px;
    color: #9f2f2b;
    margin-bottom: 14px;
    padding: 10px 12px;
}

.rig-modal-error p {
    margin: 0;
}

.rig-modal-loading {
    color: #405267;
    font-weight: 700;
    padding: 24px;
    text-align: center;
}

.rig-filter-modal .table.borderless,
.rig-filter-modal .table.borderless td {
    border: 0;
}

.rig-filter-modal .rig-filter-range-grid {
    display: grid;
    gap: 14px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin-bottom: 0;
}

.rig-filter-modal .rig-filter-range-grid:before,
.rig-filter-modal .rig-filter-range-grid:after {
    content: none;
    display: none;
}

.rig-filter-modal .rig-filter-range-card {
    background: #ffffffe8;
    border: 1px solid #dfe8f3;
    border-radius: 12px;
    padding: 14px;
}

.rig-filter-modal .rig-filter-range-card-head {
    border-bottom: 1px solid #e5edf7;
    margin-bottom: 12px;
    padding-bottom: 10px;
}

.rig-filter-modal .rig-filter-range-card-head strong,
.rig-filter-modal .rig-filter-field label {
    color: #10233f;
    display: block;
    font-weight: 700;
}

.rig-filter-modal .rig-filter-range-card-head span {
    color: #5f6f85;
    display: block;
    font-size: 12px;
    line-height: 1.45;
    margin-top: 4px;
}

.rig-filter-modal .rig-filter-range-fields {
    display: grid;
    gap: 12px;
}

.rig-filter-modal .rig-filter-field label {
    font-size: 13px;
    margin-bottom: 5px;
}

.rig-filter-modal .rig-filter-field .help-block {
    line-height: 1.45;
    margin-top: 5px;
}
.rig-filter-modal .table.borderless {
    margin-bottom: 0;
}

.rig-finder-modal .modal-body {
    padding-bottom: 22px !important;
}

.rig-finder-modal .rig-finder-price-help {
    margin-bottom: 0;
}

.rig-finder-modal #rentfind_maxprice_multiplier:disabled {
    cursor: not-allowed;
    opacity: 0.65;
}

.rig-selection-summary {
    display: grid;
    gap: 12px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin-bottom: 16px;
}

.rig-selection-summary > div {
    padding: 14px 16px;
}

.rig-selection-summary span,
.rig-selection-profile-copy span,
.rig-selection-result-state span {
    color: #5f6f85;
    display: block;
    font-size: 11px;
    font-weight: 700;
    margin-bottom: 4px;
    text-transform: uppercase;
}

.rig-selection-summary strong,
.rig-selection-profile-copy strong,
.rig-selection-result-state strong {
    color: #10233f;
    font-size: 18px;
    font-weight: 700;
}

.rig-selection-table-wrap {
    border: 1px solid #dfe8f3;
    border-radius: 14px;
    margin-bottom: 16px;
    overflow: hidden;
}

.rig-selection-table-wrap .table {
    margin-bottom: 0;
}

.rig-selection-remove {
    min-width: 28px;
    width: 28px;
}

.rig-selection-profile {
    align-items: flex-end;
    display: grid;
    gap: 16px;
    grid-template-columns: minmax(0, 1.1fr) minmax(220px, 1fr) auto;
    margin-top: 16px;
    padding: 16px;
}

.rig-selection-profile-copy p {
    color: #5f6f85;
    margin: 4px 0 0;
}

.rig-selection-profile-control label {
    color: #405267;
    font-weight: 700;
}

.rig-selection-profile-preview {
    grid-column: 1 / -1;
    min-width: 0;
}

.rig-profile-preview-list,
.rig-profile-preview-empty {
    margin-top: 8px;
}

.rig-profile-preview,
.rig-profile-preview-empty {
    background: rgba(255, 255, 255, 0.72);
    border: 1px solid #e5edf7;
    border-radius: 10px;
    color: #5f6f85;
    font-size: 12px;
    padding: 8px 10px;
}

.rig-profile-preview-title {
    color: #405267;
    font-size: 12px;
    font-weight: 700;
    margin-bottom: 6px;
}

.rig-profile-preview-table {
    margin-bottom: 0;
    min-width: 520px;
}

.rig-profile-preview-table-wrap {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.rig-profile-preview-table > thead > tr > th,
.rig-profile-preview-table > tbody > tr > td {
    border-color: #e5edf7;
    font-size: 12px;
    padding: 4px 6px;
}

.rig-profile-preview-table > thead > tr > th {
    color: #52657a;
    font-weight: 700;
}

.rig-profile-preview-table > tbody > tr > td {
    color: #5f6f85;
    white-space: nowrap;
}

.rig-selection-result-state {
    border-left: 4px solid #5cb85c;
    margin-bottom: 16px;
    padding: 14px 16px;
}

.rig-selection-result-actions {
    text-align: center;
}

body[data-mrrtheme="dark"] .rig-market-page .rig-market-header h1,
body[data-mrrtheme="dark"] .rig-market-page .rig-market-signal strong,
body[data-mrrtheme="dark"] .rig-market-page .rig-market-title-currency,
body[data-mrrtheme="dark"] .rig-market-page .rig-market-panel .header-box .title,
body[data-mrrtheme="dark"] .rig-market-page .rig-market-table-box .header-box .title,
body[data-mrrtheme="dark"] .rig-market-page .rig-rent-tool-card h3,
body[data-mrrtheme="dark"] .rig-market-page .rig-profile-empty-state h3,
body[data-mrrtheme="dark"] .rig-market-page .rig-selection-status strong {
    color: #203246 !important;
}

body[data-mrrtheme="dark"] .rig-market-page .rig-market-muted,
body[data-mrrtheme="dark"] .rig-market-page .rig-market-card-sub,
body[data-mrrtheme="dark"] .rig-market-page .rig-market-signal-label,
body[data-mrrtheme="dark"] .rig-market-page .rig-market-title-currency span,
body[data-mrrtheme="dark"] .rig-market-page .rig-rent-tool-card p,
body[data-mrrtheme="dark"] .rig-market-page .rig-profile-empty-state p,
body[data-mrrtheme="dark"] .rig-market-page .rig-selection-status span {
    color: #6a7480 !important;
}

body[data-mrrtheme="dark"] .rig-market-page .rig-market-title-currency {
    border-left-color: #cfd7df;
}

body[data-mrrtheme="dark"] .rig-market-page .rig-market-title-currency strong {
    color: #2a7ae2;
}

body[data-mrrtheme="dark"] .rig-market-page .rig-market-signal-strip,
body[data-mrrtheme="dark"] .rig-market-page .rig-market-panel.box,
body[data-mrrtheme="dark"] .rig-market-page .rig-market-table-box.box {
    border-color: #cfd7df;
    box-shadow: 0 10px 24px rgba(31, 53, 72, 0.08);
}

body[data-mrrtheme="dark"] .rig-market-page .rig-market-signal-strip,
body[data-mrrtheme="dark"] .rig-market-page .rig-market-panel .header-box,
body[data-mrrtheme="dark"] .rig-market-page .rig-market-table-box .header-box,
body[data-mrrtheme="dark"] .rig-market-page .rig-market-panel > .box-content,
body[data-mrrtheme="dark"] .rig-market-page .rig-market-table-box > .box-content,
body[data-mrrtheme="dark"] .rig-market-page .rig-rent-tool-card,
body[data-mrrtheme="dark"] .rig-market-page .rig-profile-empty-state,
body[data-mrrtheme="dark"] .rig-market-page .rig-selection-status,
body[data-mrrtheme="dark"] .rig-market-page .rig-massrent-summary,
body[data-mrrtheme="dark"] .rig-market-page .rig-filter-hours,
body[data-mrrtheme="dark"] .rig-market-page .rig-filter-toggle-grid label,
body[data-mrrtheme="dark"] .rig-market-page .rig-market-table-box .table-responsive {
    background: #eef1f4;
}

body[data-mrrtheme="dark"] .rig-market-page .rig-rent-tool-card {
    background: #f7f8fa;
    border-color: #c7d7e8;
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.82), 0 1px 2px rgba(31,53,72,0.06);
}

body[data-mrrtheme="dark"] .rig-market-page .rig-filter-hours .md-number-input.number-input {
    background: #f6f8fb;
}

body[data-mrrtheme="dark"] .rig-market-page .rig-filter-hours {
    background: #f7f8fa;
    border-color: #c7d7e8;
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.82), 0 1px 2px rgba(31,53,72,0.06);
}

body[data-mrrtheme="dark"] .rig-market-page .rig-filter-toggle-grid label {
    background: #f7f8fa;
    border-color: #cfd8e1;
    color: #203246 !important;
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.82), 0 1px 2px rgba(31,53,72,0.05);
}

body[data-mrrtheme="dark"] .rig-market-page .rig-filter-toggle-grid label:hover {
    background: #fff;
    border-color: #b9c8d6;
}

body[data-mrrtheme="dark"] .rig-market-page .rig-filter-toggle-grid input[type=checkbox] {
    accent-color: #2a7ae2;
}

body[data-mrrtheme="dark"] .rig-market-page .rig-market-panel .header-box,
body[data-mrrtheme="dark"] .rig-market-page .rig-market-table-box .header-box,
body[data-mrrtheme="dark"] .rig-market-page .rig-market-signal,
body[data-mrrtheme="dark"] .rig-market-page .rig-selection-status,
body[data-mrrtheme="dark"] .rig-market-page .rig-massrent-summary,
body[data-mrrtheme="dark"] .rig-market-page .rig-filter-hours .md-number-input.number-input,
body[data-mrrtheme="dark"] .rig-market-page .rig-filter-hours .md-number-input.number-input input[type=number],
body[data-mrrtheme="dark"] .rig-market-page .rig-currency-toolbar {
    border-color: #cfd7df;
}

body[data-mrrtheme="night"] .rig-market-page .rig-market-header h1,
body[data-mrrtheme="night"] .rig-market-page .rig-market-signal strong,
body[data-mrrtheme="night"] .rig-market-page .rig-market-title-currency,
body[data-mrrtheme="night"] .rig-market-page .rig-market-panel .header-box .title,
body[data-mrrtheme="night"] .rig-market-page .rig-market-table-box .header-box .title,
body[data-mrrtheme="night"] .rig-market-page .rig-rent-tool-card h3,
body[data-mrrtheme="night"] .rig-market-page .rig-profile-empty-state h3,
body[data-mrrtheme="night"] .rig-market-page .rig-selection-status strong,
body[data-mrrtheme="night"] .rig-market-page .rig-filter-hours label,
body[data-mrrtheme="night"] .rig-market-page .rig-filter-toggle-grid label {
    color: #eef2f5 !important;
}

body[data-mrrtheme="night"] .rig-market-page .rig-market-muted,
body[data-mrrtheme="night"] .rig-market-page .rig-market-card-sub,
body[data-mrrtheme="night"] .rig-market-page .rig-market-signal-label,
body[data-mrrtheme="night"] .rig-market-page .rig-market-title-currency span,
body[data-mrrtheme="night"] .rig-market-page .rig-rent-tool-card p,
body[data-mrrtheme="night"] .rig-market-page .rig-profile-empty-state p,
body[data-mrrtheme="night"] .rig-market-page .rig-selection-status span {
    color: #a0aab4 !important;
}

body[data-mrrtheme="night"] .rig-market-page .rig-market-title-currency {
    border-left-color: #3a4148;
}

body[data-mrrtheme="night"] .rig-market-page .rig-market-title-currency strong {
    color: #5ea0ff;
}

body[data-mrrtheme="night"] .rig-market-page .rig-market-signal-strip,
body[data-mrrtheme="night"] .rig-market-page .rig-market-panel.box,
body[data-mrrtheme="night"] .rig-market-page .rig-market-table-box.box {
    border-color: #3a4148;
    box-shadow: 0 12px 26px rgba(0, 0, 0, 0.3);
}

body[data-mrrtheme="night"] .rig-market-page .rig-market-signal-strip,
body[data-mrrtheme="night"] .rig-market-page .rig-market-panel .header-box,
body[data-mrrtheme="night"] .rig-market-page .rig-market-table-box .header-box,
body[data-mrrtheme="night"] .rig-market-page .rig-market-panel > .box-content,
body[data-mrrtheme="night"] .rig-market-page .rig-market-table-box > .box-content,
body[data-mrrtheme="night"] .rig-market-page .rig-rent-tool-card,
body[data-mrrtheme="night"] .rig-market-page .rig-profile-empty-state,
body[data-mrrtheme="night"] .rig-market-page .rig-selection-status,
body[data-mrrtheme="night"] .rig-market-page .rig-massrent-summary,
body[data-mrrtheme="night"] .rig-market-page .rig-filter-hours,
body[data-mrrtheme="night"] .rig-market-page .rig-filter-toggle-grid label,
body[data-mrrtheme="night"] .rig-market-page .rig-market-table-box .table-responsive {
    background: #24282d;
}

body[data-mrrtheme="night"] .rig-market-page .rig-rent-tool-card {
    background: #2f343a;
    border-color: #4d5f73;
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.04), 0 1px 2px rgba(0,0,0,0.18);
}

body[data-mrrtheme="night"] .rig-market-page .rig-filter-hours .md-number-input.number-input,
body[data-mrrtheme="night"] .rig-market-page .rig-filter-hours .md-number-input.number-input input[type=number] {
    background: #202428;
    color: #eef2f5;
}

body[data-mrrtheme="night"] .rig-market-page .rig-filter-hours {
    background: #2f343a;
    border-color: #4d5f73;
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.04), 0 1px 2px rgba(0,0,0,0.18);
}

body[data-mrrtheme="night"] .rig-market-page .rig-filter-toggle-grid label {
    background: #2f343a;
    border-color: #424950;
    color: #d8dde2 !important;
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.04), 0 1px 2px rgba(0,0,0,0.18);
}

body[data-mrrtheme="night"] .rig-market-page .rig-filter-toggle-grid label:hover {
    background: #373d43;
    border-color: #50575f;
}

body[data-mrrtheme="night"] .rig-market-page .rig-filter-toggle-grid input[type=checkbox] {
    accent-color: #5ea0ff;
}

body[data-mrrtheme="night"] .rig-market-page .rig-market-panel .header-box,
body[data-mrrtheme="night"] .rig-market-page .rig-market-table-box .header-box,
body[data-mrrtheme="night"] .rig-market-page .rig-market-signal,
body[data-mrrtheme="night"] .rig-market-page .rig-selection-status,
body[data-mrrtheme="night"] .rig-market-page .rig-massrent-summary,
body[data-mrrtheme="night"] .rig-market-page .rig-filter-hours .md-number-input.number-input,
body[data-mrrtheme="night"] .rig-market-page .rig-filter-hours .md-number-input.number-input input[type=number],
body[data-mrrtheme="night"] .rig-market-page .rig-currency-toolbar {
    border-color: #3a4148;
}

body[data-mrrtheme="night"] .rig-market-page .rig-market-pill {
    background: #2a7ae2;
    border-color: #5ea0ff;
    color: #fff;
}

body[data-mrrtheme="dark"] .rig-market-page .rig-filter-toggle-grid .rig-filter-toggle-selected.rig-filter-toggle-offline,
body[data-mrrtheme="night"] .rig-market-page .rig-filter-toggle-grid .rig-filter-toggle-selected.rig-filter-toggle-offline {
    border-color: #d9534f;
    background: rgba(217, 83, 79, 0.13);
    box-shadow: inset 4px 0 0 #d9534f;
}

body[data-mrrtheme="dark"] .rig-market-page .rig-filter-toggle-grid .rig-filter-toggle-selected.rig-filter-toggle-rented,
body[data-mrrtheme="night"] .rig-market-page .rig-filter-toggle-grid .rig-filter-toggle-selected.rig-filter-toggle-rented {
    border-color: #f0ad4e;
    background: rgba(240, 173, 78, 0.14);
    box-shadow: inset 4px 0 0 #f0ad4e;
}

body[data-mrrtheme="dark"] .rig-market-page .rig-filter-toggle-grid .rig-filter-toggle-selected.rig-filter-toggle-live,
body[data-mrrtheme="night"] .rig-market-page .rig-filter-toggle-grid .rig-filter-toggle-selected.rig-filter-toggle-live {
    border-color: #5cb85c;
    background: rgba(92, 184, 92, 0.13);
    box-shadow: inset 4px 0 0 #5cb85c;
}

body[data-mrrtheme="dark"] .rig-market-page .rig-filter-toggle-grid .rig-filter-toggle-selected.rig-filter-toggle-offline {
    background: #fff0f0;
}

body[data-mrrtheme="dark"] .rig-market-page .rig-filter-toggle-grid .rig-filter-toggle-selected.rig-filter-toggle-rented {
    background: #fff7e9;
}

body[data-mrrtheme="dark"] .rig-market-page .rig-filter-toggle-grid .rig-filter-toggle-selected.rig-filter-toggle-live {
    background: #effaf0;
}

body[data-mrrtheme="dark"] .rig-market-page .rig-filter-dirty {
    background: #fff8e5;
    border-color: #f0ad4e;
    color: #8a5d12;
}

body[data-mrrtheme="night"] .rig-market-page .rig-filter-dirty {
    background: #342b16;
    border-color: #f0ad4e;
    color: #ffd98f;
}

body[data-mrrtheme="dark"] .rig-market-page .rig-filter-box.rig-filter-box-active > .box-content {
    border-color: #2a7ae2;
    box-shadow: inset 4px 0 0 #2a7ae2, inset 0 1px 0 rgba(255,255,255,0.82);
}

body[data-mrrtheme="dark"] .rig-market-page .rig-filter-active-tab {
    background: #e7f0ff;
    border-color: #2a7ae2;
    color: #1f5ea8;
}

body[data-mrrtheme="night"] .rig-market-page .rig-filter-box.rig-filter-box-active > .box-content {
    border-color: #5ea0ff;
    box-shadow: inset 4px 0 0 #5ea0ff;
}

body[data-mrrtheme="night"] .rig-market-page .rig-filter-active-tab {
    background: #1d3350;
    border-color: #5ea0ff;
    color: #d9e9ff;
}

body[data-mrrtheme="night"] .rig-market-page .rig-filter-active-tab:hover,
body[data-mrrtheme="night"] .rig-market-page .rig-filter-active-tab:focus {
    background: #244265;
    border-color: #8bbaff;
    color: #fff;
}

body[data-mrrtheme="dark"] .rig-filter-modal .rig-filter-range-card {
    background: #f8fafc;
    border-color: #cfd7df;
    box-shadow: 0 8px 18px rgba(31, 53, 72, 0.08);
}

body[data-mrrtheme="dark"] .rig-filter-modal .rig-filter-range-card-head {
    border-bottom-color: #cfd7df;
}

body[data-mrrtheme="dark"] .rig-filter-modal .rig-filter-range-card-head strong,
body[data-mrrtheme="dark"] .rig-filter-modal .rig-filter-field label {
    color: #203246;
}

body[data-mrrtheme="dark"] .rig-filter-modal .rig-filter-range-card-head span {
    color: #6a7480;
}
body[data-mrrtheme="dark"] .rig-market-modal .modal-title,
body[data-mrrtheme="dark"] .rig-modal-form .control-label,
body[data-mrrtheme="dark"] .rig-modal-note,
body[data-mrrtheme="dark"] .rig-selection-summary strong,
body[data-mrrtheme="dark"] .rig-selection-profile-copy strong,
body[data-mrrtheme="dark"] .rig-selection-result-state strong {
    color: #203246 !important;
}

body[data-mrrtheme="dark"] .rig-dialog-lead p,
body[data-mrrtheme="dark"] .rig-dialog-kicker,
body[data-mrrtheme="dark"] .rig-modal-form .help-block,
body[data-mrrtheme="dark"] .rig-selection-summary span,
body[data-mrrtheme="dark"] .rig-selection-profile-copy span,
body[data-mrrtheme="dark"] .rig-selection-profile-copy p,
body[data-mrrtheme="dark"] .rig-selection-result-state span,
body[data-mrrtheme="dark"] .rig-profile-preview,
body[data-mrrtheme="dark"] .rig-profile-preview-empty,
body[data-mrrtheme="dark"] .rig-profile-preview-table > tbody > tr > td {
    color: #6a7480 !important;
}

body[data-mrrtheme="dark"] .rig-profile-preview-title,
body[data-mrrtheme="dark"] .rig-profile-preview-table > thead > tr > th {
    color: #405267 !important;
}

body[data-mrrtheme="dark"] .rig-market-modal .modal-content,
body[data-mrrtheme="dark"] .rig-market-modal .modal-header,
body[data-mrrtheme="dark"] .rig-market-modal .modal-body,
body[data-mrrtheme="dark"] .rig-market-modal .modal-footer,
body[data-mrrtheme="dark"] .rig-dialog-lead,
body[data-mrrtheme="dark"] .rig-modal-section,
body[data-mrrtheme="dark"] .rig-modal-note,
body[data-mrrtheme="dark"] .rig-selection-profile,
body[data-mrrtheme="dark"] .rig-selection-summary > div,
body[data-mrrtheme="dark"] .rig-selection-table-wrap,
body[data-mrrtheme="dark"] .rig-selection-result-state,
body[data-mrrtheme="dark"] .rig-profile-preview,
body[data-mrrtheme="dark"] .rig-profile-preview-empty {
    background: #eef1f4;
    border-color: #cfd7df;
}

body[data-mrrtheme="dark"] .rig-dialog-lead,
body[data-mrrtheme="dark"] .rig-modal-section,
body[data-mrrtheme="dark"] .rig-selection-profile,
body[data-mrrtheme="dark"] .rig-selection-summary > div,
body[data-mrrtheme="dark"] .rig-selection-table-wrap,
body[data-mrrtheme="dark"] .rig-selection-profile-preview {
    background: #f7f8fa;
    border-color: #c7d7e8;
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.82), 0 1px 2px rgba(31,53,72,0.06);
}

body[data-mrrtheme="dark"] .rig-selection-profile-preview {
    border: 1px solid #c7d7e8;
    border-radius: 12px;
    padding: 12px;
}
body[data-mrrtheme="dark"] .rig-selection-table-wrap .table,
body[data-mrrtheme="dark"] .rig-selection-table-wrap .table > thead > tr > th,
body[data-mrrtheme="dark"] .rig-selection-table-wrap .table > tbody > tr,
body[data-mrrtheme="dark"] .rig-selection-table-wrap .table > tbody > tr > td {
    background: #f7f8fa;
    border-color: #d7e2ee;
}

body[data-mrrtheme="dark"] .rig-selection-table-wrap .table-striped > tbody > tr:nth-of-type(odd) > td,
body[data-mrrtheme="dark"] .rig-selection-table-wrap .table-striped > tbody > tr:nth-of-type(odd) > th {
    background: #fff;
}

body[data-mrrtheme="dark"] .rig-selection-table-wrap .table-hover > tbody > tr:hover > td,
body[data-mrrtheme="dark"] .rig-selection-table-wrap .table-hover > tbody > tr:hover > th {
    background: #eef5ff;
}
body[data-mrrtheme="dark"] .rig-market-modal .modal-header,
body[data-mrrtheme="dark"] .rig-market-modal .modal-footer,
body[data-mrrtheme="dark"] .rig-modal-divider {
    border-color: #cfd7df;
}

body[data-mrrtheme="night"] .rig-filter-modal .rig-filter-range-card {
    background: #2b3036;
    border-color: #3a4148;
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.3);
}

body[data-mrrtheme="night"] .rig-filter-modal .rig-filter-range-card-head {
    border-bottom-color: #3a4148;
}

body[data-mrrtheme="night"] .rig-filter-modal .rig-filter-range-card-head strong,
body[data-mrrtheme="night"] .rig-filter-modal .rig-filter-field label {
    color: #eef2f5;
}

body[data-mrrtheme="night"] .rig-filter-modal .rig-filter-range-card-head span {
    color: #a0aab4;
}
body[data-mrrtheme="night"] .rig-market-modal .modal-title,
body[data-mrrtheme="night"] .rig-modal-form .control-label,
body[data-mrrtheme="night"] .rig-modal-note,
body[data-mrrtheme="night"] .rig-selection-summary strong,
body[data-mrrtheme="night"] .rig-selection-profile-copy strong,
body[data-mrrtheme="night"] .rig-selection-result-state strong {
    color: #eef2f5 !important;
}

body[data-mrrtheme="night"] .rig-dialog-lead p,
body[data-mrrtheme="night"] .rig-dialog-kicker,
body[data-mrrtheme="night"] .rig-modal-form .help-block,
body[data-mrrtheme="night"] .rig-selection-summary span,
body[data-mrrtheme="night"] .rig-selection-profile-copy span,
body[data-mrrtheme="night"] .rig-selection-profile-copy p,
body[data-mrrtheme="night"] .rig-selection-result-state span,
body[data-mrrtheme="night"] .rig-profile-preview,
body[data-mrrtheme="night"] .rig-profile-preview-empty,
body[data-mrrtheme="night"] .rig-profile-preview-table > tbody > tr > td {
    color: #a0aab4 !important;
}

body[data-mrrtheme="night"] .rig-profile-preview-title,
body[data-mrrtheme="night"] .rig-profile-preview-table > thead > tr > th {
    color: #d7dde3 !important;
}

body[data-mrrtheme="night"] .rig-market-modal .modal-content,
body[data-mrrtheme="night"] .rig-market-modal .modal-header,
body[data-mrrtheme="night"] .rig-market-modal .modal-body,
body[data-mrrtheme="night"] .rig-market-modal .modal-footer,
body[data-mrrtheme="night"] .rig-dialog-lead,
body[data-mrrtheme="night"] .rig-modal-section,
body[data-mrrtheme="night"] .rig-modal-note,
body[data-mrrtheme="night"] .rig-selection-profile,
body[data-mrrtheme="night"] .rig-selection-summary > div,
body[data-mrrtheme="night"] .rig-selection-table-wrap,
body[data-mrrtheme="night"] .rig-selection-result-state,
body[data-mrrtheme="night"] .rig-profile-preview,
body[data-mrrtheme="night"] .rig-profile-preview-empty {
    background: #24282d;
    border-color: #3a4148;
}

body[data-mrrtheme="night"] .rig-dialog-lead,
body[data-mrrtheme="night"] .rig-modal-section,
body[data-mrrtheme="night"] .rig-selection-profile,
body[data-mrrtheme="night"] .rig-selection-summary > div,
body[data-mrrtheme="night"] .rig-selection-table-wrap,
body[data-mrrtheme="night"] .rig-selection-profile-preview {
    background: #2f343a;
    border-color: #4d5f73;
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.04), 0 1px 2px rgba(0,0,0,0.18);
}

body[data-mrrtheme="night"] .rig-selection-profile-preview {
    border: 1px solid #4d5f73;
    border-radius: 12px;
    padding: 12px;
}
body[data-mrrtheme="night"] .rig-selection-table-wrap .table,
body[data-mrrtheme="night"] .rig-selection-table-wrap .table > thead > tr > th,
body[data-mrrtheme="night"] .rig-selection-table-wrap .table > tbody > tr,
body[data-mrrtheme="night"] .rig-selection-table-wrap .table > tbody > tr > td {
    background: #2f343a;
    border-color: #424950;
}

body[data-mrrtheme="night"] .rig-selection-table-wrap .table-striped > tbody > tr:nth-of-type(odd) > td,
body[data-mrrtheme="night"] .rig-selection-table-wrap .table-striped > tbody > tr:nth-of-type(odd) > th {
    background: #373d43;
}

body[data-mrrtheme="night"] .rig-selection-table-wrap .table-hover > tbody > tr:hover > td,
body[data-mrrtheme="night"] .rig-selection-table-wrap .table-hover > tbody > tr:hover > th {
    background: #3d454d;
}
body[data-mrrtheme="night"] .rig-market-modal .modal-header,
body[data-mrrtheme="night"] .rig-market-modal .modal-footer,
body[data-mrrtheme="night"] .rig-modal-divider {
    border-color: #3a4148;
}

body[data-mrrtheme="night"] .rig-modal-form .form-control {
    background: #202428;
    border-color: #3a4148;
    color: #eef2f5;
}

body[data-mrrtheme="night"] .rig-modal-error {
    background: #3a1f22;
    color: #ffc4c4;
}

@media (min-width: 1280px) {
    .rig-market-page .rig-market-control-row {
        display: flex;
    }

    .rig-market-page .rig-rent-controls-col {
        flex: 0 0 58.333333%;
        max-width: 58.333333%;
    }

    .rig-market-page .rig-filter-controls-col {
        flex: 0 0 41.666667%;
        max-width: 41.666667%;
    }
}

@media (max-width: 991px) {
    .rig-market-page .rig-market-header {
        display: block;
    }

    .rig-market-page .rig-market-header-meta {
        align-items: flex-start;
        margin-top: 12px;
        text-align: left;
    }

    .rig-market-page .rig-market-signal-strip {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}


@media (min-width: 768px) and (max-width: 991px) {
  .rig-detail-page.rig-detail-owner-page .rig-detail-title-actions.rig-detail-owner-status {
    align-items: stretch;
    flex-direction: row;
    min-width: 320px;
  }

  .rig-detail-page.rig-detail-owner-page .rig-detail-owner-status .rig-detail-status-pill,
  .rig-detail-page.rig-detail-owner-page .rig-detail-owner-status .rig-detail-rental-state {
    flex: 1 1 0;
    min-width: 145px;
    width: auto;
  }
}
@media (max-width: 767px) {
    .rig-market-page .rig-market-header h1 {
        font-size: 28px;
    }

    .rig-market-page .rig-market-panel .header-box .title,
    .rig-market-page .rig-market-table-box .header-box .title {
        font-size: 18px;
        padding: 16px 18px;
    }

    .rig-market-page .rig-market-panel > .box-content {
        padding: 18px;
    }

    .rig-market-page .rig-market-signal-strip {
        grid-template-columns: 1fr;
    }

    .rig-market-page .rig-market-signal {
        border-right: 0;
        border-bottom: 1px solid #e5edf7;
    }

    .rig-market-page .rig-market-signal:last-child {
        border-bottom: 0;
    }

    .rig-market-page .rig-rent-tools-grid > [class*="col-"] {
        display: block;
    }

    .rig-market-page .rig-rent-tool-card {
        margin-bottom: 12px;
        min-height: 0;
    }

    .rig-market-page .rig-filter-hours {
        align-items: stretch;
        flex-direction: column;
    }

    .rig-market-page .rig-filter-actions .btn,
    .rig-market-page .rig-rent-actions .btn {
        width: 100%;
    }

    .rig-market-modal .modal-dialog {
        margin: 10px auto;
        width: calc(100% - 20px);
    }

    .rig-market-modal .modal-header,
    .rig-market-modal .modal-body,
    .rig-market-modal .modal-footer {
        padding-left: 16px;
        padding-right: 16px;
    }

    .rig-selection-summary,
    .rig-selection-profile {
        grid-template-columns: 1fr;
    }

    .rig-selection-profile .btn {
        width: 100%;
    }

    .rig-filter-modal .rig-filter-range-grid {
        display: block;
    }

    .rig-filter-modal .rig-filter-range-card + .rig-filter-range-card {
        margin-top: 12px;
    }

    .rig-filter-modal .rig-filter-range-card {
        padding: 12px;
    }

    .rig-filter-modal .rig-filter-field + .rig-filter-field {
        margin-top: 12px;
    }
    .rig-filter-modal .table.borderless td {
        display: block;
        width: 100% !important;
    }
}


/* Rig detail overhaul */
.rig-detail-page {
  color: #203246;
}

.rig-detail-page .rig-detail-status-stack {
  margin-bottom: 14px;
}

.rig-detail-page .rig-detail-status-stack .alert,
.rig-detail-page .rig-detail-alert {
  border-radius: 8px;
  margin-bottom: 10px;
  padding: 12px 14px;
}

.rig-detail-page .page-header.rig-detail-header {
  background: #fafcff;
  border: 1px solid #dbe5ef;
  border-radius: 8px;
  box-shadow: 0 10px 22px rgba(32, 50, 70, 0.08);
  margin: 0 0 14px;
  padding: 18px 20px;
}

.rig-detail-page .rig-detail-title-row {
  align-items: flex-start;
  display: flex;
  gap: 16px;
  justify-content: space-between;
}

.rig-detail-page .rig-detail-title-main {
  min-width: 0;
  width: 100%;
}

.rig-detail-page .rig-detail-heading-line {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: flex-start;
}

.rig-detail-page .rig-detail-heading-line h1 {
  min-width: 0;
}

.rig-detail-page .rig-detail-title-favorite {
  align-items: center;
  border-left: 1px solid #dbe5ef;
  display: inline-flex;
  margin-left: 2px;
  min-height: 32px;
  padding-left: 12px;
}

.rig-detail-page .rig-detail-title-favorite .public-rig-favorite {
  border-color: #dbe5ef;
  border-radius: 8px;
  font-weight: 700;
  padding: 7px 10px;
}

.rig-detail-page .rig-detail-title-favorite .public-rig-favorite.is-loading {
  opacity: 0.82;
}

.rig-detail-page .rig-detail-action-row,
.rig-detail-page .rig-detail-admin-row {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: flex-start;
}

.rig-detail-page .rig-detail-action-row {
  margin-top: 12px;
}

.rig-detail-page .rig-detail-admin-row {
  background: rgba(42, 122, 226, 0.045);
  border: 1px solid rgba(42, 122, 226, 0.14);
  border-radius: 8px;
  margin-top: 10px;
  padding: 9px 10px;
}

.rig-detail-page .rig-detail-admin-label {
  color: #4f6175;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
}

.rig-detail-page .rig-detail-admin-metric {
  background: #fff;
  border: 1px solid #dbe5ef;
  border-radius: 8px;
  color: #4f6175;
  display: inline-flex;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.2;
  padding: 7px 9px;
}

.rig-detail-page .rig-detail-kicker {
  color: #6a7480;
  display: block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
}

.rig-detail-page .rig-detail-title-rule {
  border-top: 1px solid #dbe5ef;
  margin-top: 12px;
  width: 100%;
}

.rig-detail-page .rig-detail-header h1 {
  color: #203246;
  float: none !important;
  font-size: 30px;
  font-weight: 700;
  line-height: 1.15;
  margin: 2px 0 0;
  overflow-wrap: anywhere;
}

.rig-detail-page .rig-detail-meta-line,
.rig-detail-page .rig-detail-title-actions,
.rig-detail-page .rig-detail-admin-links {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.rig-detail-page .rig-detail-meta-line {
  color: #6a7480;
  font-size: 13px;
}

.rig-detail-page .rig-detail-meta-grid {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
}

.rig-detail-page .rig-detail-meta-grid-below {
  margin: -4px 0 14px;
}

.rig-detail-page .rig-detail-meta-chip {
  background: #fff;
  border: 1px solid #e3ebf3;
  border-radius: 8px;
  color: #203246;
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-width: 0;
  padding: 12px 14px;
}

.rig-detail-page .rig-detail-meta-chip:hover,
.rig-detail-page .rig-detail-meta-chip:focus {
  border-color: rgba(42, 122, 226, 0.28);
  color: #1f5ea8;
  text-decoration: none;
}

.rig-detail-page .rig-detail-meta-chip span {
  color: #6a7480;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1.1;
  text-transform: uppercase;
}

.rig-detail-page .rig-detail-meta-chip strong {
  color: inherit;
  font-size: 19px;
  line-height: 1.2;
  margin-top: 4px;
  overflow-wrap: anywhere;
}

.rig-detail-page .rig-detail-meta-chip-compact {
  min-width: 0;
}

.rig-detail-page .rig-detail-meta-chip .badge.badge-inverse {
  align-self: flex-start;
  background: rgba(42, 122, 226, 0.1);
  border: 1px solid rgba(42, 122, 226, 0.2);
  border-radius: 8px;
  color: #1f5ea8;
  display: inline-flex;
  font-size: 13px;
  font-weight: 800;
  line-height: 1.2;
  margin-top: 4px;
  padding: 6px 9px;
  text-shadow: none;
}

.rig-detail-page .rig-detail-title-actions {
  justify-content: flex-start;
  max-width: none;
}

.rig-detail-page .rig-detail-status-pill,
.rig-detail-page .rig-detail-favorite-pill,
.rig-detail-page .rig-detail-shortlink,
.rig-detail-page .rig-detail-admin-links a {
  border: 1px solid #dbe5ef;
  border-radius: 8px;
  display: inline-flex;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.2;
  padding: 7px 9px;
}

.rig-detail-page .rig-detail-status-pill {
  align-items: center;
  font-size: 15px;
  min-height: 38px;
  padding: 10px 14px;
  text-transform: uppercase;
}

.rig-detail-page .rig-detail-status-available {
  background: #eaf8f0;
  border-color: #bfe7cf;
  color: #207849;
}

.rig-detail-page .rig-detail-status-pending,
.rig-detail-page .rig-detail-status-rented,
.rig-detail-page .rig-detail-status-unavailable {
  background: #fff6df;
  border-color: #f2d999;
  color: #8a5b00;
}

.rig-detail-page .rig-detail-status-offline {
  background: #fdecec;
  border-color: #f2b8b8;
  color: #9b2a2a;
}


.rig-detail-page .rig-detail-live-strip,
.rig-detail-page .rig-detail-signal-grid {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
}

.rig-detail-page .rig-detail-live-strip {
  margin-top: 14px;
}

.rig-detail-page .rig-detail-live-card,
.rig-detail-page .rig-detail-signal-card,
.rig-detail-page .rig-detail-rate-card,
.rig-detail-page .rig-detail-rental-state {
  background: #fff;
  border: 1px solid #e3ebf3;
  border-radius: 8px;
  padding: 12px 14px;
}

.rig-detail-page .rig-detail-live-card span,
.rig-detail-page .rig-detail-signal-card span,
.rig-detail-page .rig-detail-rate-card span,
.rig-detail-page .rig-detail-worker-label,
.rig-detail-page .rig-detail-worker-gridline span,
.rig-detail-page .rig-detail-rental-state span {
  color: #6a7480;
  display: block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
}

.rig-detail-page .rig-detail-live-card strong,
.rig-detail-page .rig-detail-signal-card strong,
.rig-detail-page .rig-detail-rate-card strong,
.rig-detail-page .rig-detail-rental-state strong {
  color: #203246;
  display: block;
  font-size: 19px;
  line-height: 1.2;
  margin-top: 4px;
  overflow-wrap: anywhere;
}

.rig-detail-page .rig-detail-rate-card span {
  color: #2a7ae2;
  font-size: 12px;
  font-weight: 800;
}

.rig-detail-page .rig-detail-live-card-offline strong {
  color: #b43131;
}

.rig-detail-page .rig-detail-signal-grid {
  margin-bottom: 14px;
}

.rig-detail-page .box.rig-detail-panel {
  border: 1px solid #dbe5ef;
  border-radius: 8px;
  box-shadow: 0 10px 22px rgba(32, 50, 70, 0.08);
  margin-bottom: 16px;
  overflow: hidden;
}

.rig-detail-page .box.rig-detail-panel .header-box {
  background: #fafcff;
  border-bottom: 1px solid #e3ebf3;
  padding: 0;
}

.rig-detail-page .box.rig-detail-panel .header-box .title {
  color: #203246;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.3;
  padding: 14px 16px;
}

.rig-detail-page .box.rig-detail-panel > .box-content {
  background: #fafcff;
  border: 0;
  padding: 16px;
}

.rig-detail-page .rig-detail-main-grid > [class*="col-"] {
  padding-left: 15px;
  padding-right: 15px;
}

.rig-detail-page .rig-detail-chart-block {
  background: #fff;
  border: 1px solid #e3ebf3;
  border-radius: 8px;
  margin-bottom: 12px;
  padding: 10px;
}

.rig-detail-page .rig-detail-chart-block:last-child {
  margin-bottom: 0;
}

.rig-detail-page .rig-detail-chart-head {
  color: #6a7480;
  font-size: 12px;
  font-weight: 700;
  margin-bottom: 8px;
  text-transform: uppercase;
}

.rig-detail-page .rig-detail-live-chart {
  height: 220px;
  min-height: 220px;
  width: 100%;
}

.rig-detail-page .rig-detail-history-chart {
  height: 330px;
  min-height: 330px;
  width: 100%;
}

.rig-detail-page .rig-detail-hidden-form {
  margin: 0;
}

.rig-detail-page .rig-detail-panel-status {
  margin-bottom: 12px;
  width: 100%;
}

.rig-detail-page .rig-detail-panel-status .rig-detail-status-pill {
  display: flex;
  justify-content: center;
  text-align: center;
  width: 100%;
}

.rig-detail-page .rig-detail-primary-action,
.rig-detail-page .rig-detail-secondary-action {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 12px;
  overflow-wrap: anywhere;
  width: 100%;
}

.rig-detail-page .rig-detail-rate-grid {
  display: grid;
  gap: 8px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-bottom: 14px;
}

.rig-detail-page .rig-detail-calculator {
  background: #fff;
  border: 1px solid #e3ebf3;
  border-radius: 8px;
  padding: 12px;
}

.rig-detail-page .rig-detail-calculator-title {
  color: #203246;
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 10px;
  text-transform: uppercase;
}

.rig-detail-page .rig-detail-duration-controls {
  align-items: end;
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(2, 126px);
  justify-content: start;
  margin-bottom: 10px;
}

.rig-detail-page .rig-detail-duration-control {
  display: grid;
  gap: 5px;
  text-align: left;
}

.rig-detail-page .rig-detail-duration-control span {
  color: #6a7480;
  display: block;
  font-size: 11px;
  font-weight: 700;
  margin: 0;
  text-transform: uppercase;
}

.rig-detail-page .rig-detail-duration-control .number-input {
  align-items: stretch;
  border-width: 1px;
  box-sizing: border-box;
  display: grid;
  grid-template-columns: 36px 54px 36px;
  margin: 0;
  max-width: none;
  width: 126px;
}

.rig-detail-page .rig-detail-duration-control .number-input .rigminus,
.rig-detail-page .rig-detail-duration-control .number-input .rigplus {
  box-sizing: border-box;
  display: block;
  height: 36px;
  margin: 0;
  min-width: 36px;
  padding: 0;
  width: 36px;
}

.rig-detail-page .rig-detail-duration-control .md-number-input.number-input button.minus,
.rig-detail-page .rig-detail-duration-control .md-number-input.number-input button.plus.rigplus {
  align-items: center;
  box-sizing: border-box;
  display: flex;
  height: 36px !important;
  justify-content: center;
  margin: 0 !important;
  max-width: 36px;
  min-width: 36px;
  padding: 0 !important;
  width: 36px !important;
}

.rig-detail-page .rig-detail-duration-control .number-input input[type=number] {
  box-sizing: border-box;
  font-size: 21px;
  height: 36px !important;
  line-height: 36px;
  margin: 0;
  max-width: none;
  min-width: 0;
  padding: 0;
  width: 54px !important;
}

.rig-detail-page .rig-detail-duration-control .md-number-input.number-input button.minus:before,
.rig-detail-page .rig-detail-duration-control .md-number-input.number-input button.plus.rigplus:before,
.rig-detail-page .rig-detail-duration-control .md-number-input.number-input button.plus.rigplus:after {
  left: 50%;
  top: 50%;
  width: 10px;
}

.rig-detail-page .rig-detail-duration-control .md-number-input.number-input button.minus:after {
  display: none !important;
}

.rig-detail-page .rig-detail-calc-inputs {
  display: grid;
  gap: 8px;
}

.rig-detail-page .rig-detail-calc-inputs .iconoverlay {
  margin: 0;
  max-width: none;
  width: 100%;
}

.rig-detail-page .quick-calc-currency-selected .quick-calc-input {
  background-color: #f3fff6;
  border-color: #28a745;
  box-shadow: 0 0 0 2px rgba(40, 167, 69, 0.16);
}

.rig-detail-page .rig-detail-tabs {
  border-bottom-color: #dbe5ef;
  margin-bottom: 14px;
}

.rig-detail-page .rig-detail-tabs > li > a {
  border-radius: 8px 8px 0 0;
  font-weight: 700;
  padding: 9px 12px;
}

.rig-detail-page .rig-detail-tab-content {
  min-height: 150px;
}

.rig-detail-page .rig-detail-empty-state {
  background: #fff;
  border: 1px dashed #dbe5ef;
  border-radius: 8px;
  padding: 18px;
  text-align: center;
}

.rig-detail-page .rig-detail-worker-grid {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  justify-content: start;
  width: 100%;
}

.rig-detail-page .rig-detail-worker-card {
  background: #fff;
  border: 1px solid #e3ebf3;
  border-radius: 8px;
  min-width: 0;
  padding: 12px;
}

.rig-detail-page .rig-detail-worker-card-head {
  align-items: center;
  display: flex;
  gap: 8px;
  justify-content: space-between;
}

.rig-detail-page .rig-detail-worker-card .title,
.rig-detail-page .rig-detail-worker-value {
  display: block;
  font-size: 22px;
  line-height: 1.2;
  margin: 4px 0 10px;
  overflow-wrap: anywhere;
}

.rig-detail-page .rig-detail-worker-gridline {
  display: grid;
  gap: 8px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.rig-detail-page .rig-detail-worker-gridline strong {
  display: block;
  font-size: 14px;
  margin-top: 2px;
  overflow-wrap: anywhere;
}

.rig-detail-page .rig-detail-worker-diff,
.rental-detail-thread-area .rig-detail-worker-diff {
  overflow: hidden;
  overflow-wrap: normal;
  text-overflow: clip;
  white-space: nowrap;
}

.rig-detail-page .rig-detail-worker-version,
.rig-detail-page .rig-detail-worker-pass {
  border-top: 1px solid #e3ebf3;
  color: #6a7480;
  font-size: 12px;
  margin-top: 10px;
  padding-top: 8px;
  overflow-wrap: anywhere;
}

.rig-detail-page .rig-detail-worker-pass {
  align-items: center;
  display: flex;
  gap: 8px;
  justify-content: space-between;
}


/* Rental detail threads reuse the rig detail worker card renderer without broadening rig-detail-page scope. */
.rental-detail-thread-area .rig-detail-empty-state {
  background: #fff;
  border: 1px dashed #dbe5ef;
  border-radius: 8px;
  padding: 18px;
  text-align: center;
}

.rental-detail-thread-area .rig-detail-worker-grid {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  justify-content: start;
  width: 100%;
}

.rental-detail-thread-area .rig-detail-worker-card {
  background: #fff;
  border: 1px solid #e3ebf3;
  border-radius: 8px;
  min-width: 0;
  padding: 12px;
}

.rental-detail-thread-area .rig-detail-worker-card-head {
  align-items: center;
  display: flex;
  gap: 8px;
  justify-content: space-between;
}

.rental-detail-thread-area .rig-detail-worker-card .title,
.rental-detail-thread-area .rig-detail-worker-value {
  display: block;
  font-size: 22px;
  line-height: 1.2;
  margin: 4px 0 10px;
  overflow-wrap: anywhere;
}

.rental-detail-thread-area .rig-detail-worker-gridline {
  display: grid;
  gap: 8px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.rental-detail-thread-area .rig-detail-worker-gridline strong {
  display: block;
  font-size: 14px;
  margin-top: 2px;
  overflow-wrap: anywhere;
}

.rental-detail-thread-area .rig-detail-worker-label,
.rental-detail-thread-area .rig-detail-worker-gridline span {
  color: #6a7480;
  display: block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
}

.rental-detail-thread-area .rig-detail-worker-version,
.rental-detail-thread-area .rig-detail-worker-pass {
  border-top: 1px solid #e3ebf3;
  color: #6a7480;
  font-size: 12px;
  margin-top: 10px;
  padding-top: 8px;
  overflow-wrap: anywhere;
}

.rental-detail-thread-area .rig-detail-worker-pass {
  align-items: center;
  display: flex;
  gap: 8px;
  justify-content: space-between;
}
.rig-detail-page .rig-detail-worker-heading,
.rental-detail-thread-area .rig-detail-worker-heading {
  align-items: center;
  display: flex;
  flex: 1 1 auto;
  flex-wrap: wrap;
  gap: 6px;
  min-width: 0;
}

.rig-detail-page .rig-detail-worker-state-tags,
.rental-detail-thread-area .rig-detail-worker-state-tags {
  align-items: center;
  display: inline-flex;
  flex-wrap: wrap;
  gap: 4px;
  min-height: 14px;
}

.rig-detail-page .rig-detail-worker-state-tag,
.rental-detail-thread-area .rig-detail-worker-state-tag {
  border: 1px solid rgba(106, 116, 128, 0.22);
  border-radius: 999px;
  color: #6a7480;
  display: inline-flex;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1;
  padding: 2px 5px;
  text-transform: uppercase;
}

.rig-detail-page .rig-detail-worker-state-new,
.rental-detail-thread-area .rig-detail-worker-state-new {
  background: rgba(42, 122, 226, 0.08);
  border-color: rgba(42, 122, 226, 0.18);
  color: #2a6fbf;
}

.rig-detail-page .rig-detail-worker-state-slow,
.rental-detail-thread-area .rig-detail-worker-state-slow {
  background: rgba(171, 119, 31, 0.09);
  border-color: rgba(171, 119, 31, 0.2);
  color: #8a641d;
}

.rig-detail-page .rig-detail-worker-state-idle,
.rental-detail-thread-area .rig-detail-worker-state-idle,
.rig-detail-page .rig-detail-worker-state-ghost,
.rental-detail-thread-area .rig-detail-worker-state-ghost {
  background: rgba(122, 63, 83, 0.08);
  border-color: rgba(122, 63, 83, 0.18);
  color: #7a3f53;
}

body[data-mrrtheme="night"] .rig-detail-page .rig-detail-worker-state-tag,
body[data-mrrtheme="night"] .rental-detail-thread-area .rig-detail-worker-state-tag {
  border-color: rgba(160, 170, 180, 0.22);
  color: #a0aab4;
}

body[data-mrrtheme="night"] .rig-detail-page .rig-detail-worker-state-new,
body[data-mrrtheme="night"] .rental-detail-thread-area .rig-detail-worker-state-new {
  background: rgba(94, 160, 255, 0.12);
  border-color: rgba(94, 160, 255, 0.24);
  color: #9ec5ff;
}

body[data-mrrtheme="night"] .rig-detail-page .rig-detail-worker-state-slow,
body[data-mrrtheme="night"] .rental-detail-thread-area .rig-detail-worker-state-slow {
  background: rgba(216, 160, 67, 0.12);
  border-color: rgba(216, 160, 67, 0.24);
  color: #e0b25c;
}

body[data-mrrtheme="night"] .rig-detail-page .rig-detail-worker-state-idle,
body[data-mrrtheme="night"] .rental-detail-thread-area .rig-detail-worker-state-idle,
body[data-mrrtheme="night"] .rig-detail-page .rig-detail-worker-state-ghost,
body[data-mrrtheme="night"] .rental-detail-thread-area .rig-detail-worker-state-ghost {
  background: rgba(220, 102, 123, 0.12);
  border-color: rgba(220, 102, 123, 0.24);
  color: #e19aa7;
}

body[data-mrrtheme="dark"] .rental-detail-thread-area .rig-detail-empty-state,
body[data-mrrtheme="dark"] .rental-detail-thread-area .rig-detail-worker-card {
  background: #f7f8fa;
  border-color: #d7dde4;
}

body[data-mrrtheme="night"] .rental-detail-thread-area .rig-detail-empty-state,
body[data-mrrtheme="night"] .rental-detail-thread-area .rig-detail-worker-card {
  background: #2d3238;
  border-color: #424951;
}

body[data-mrrtheme="dark"] .rental-detail-thread-area .rig-detail-worker-label,
body[data-mrrtheme="dark"] .rental-detail-thread-area .rig-detail-worker-gridline span,
body[data-mrrtheme="dark"] .rental-detail-thread-area .rig-detail-worker-version,
body[data-mrrtheme="dark"] .rental-detail-thread-area .rig-detail-worker-pass {
  color: #6a7480;
}

body[data-mrrtheme="night"] .rental-detail-thread-area .rig-detail-worker-label,
body[data-mrrtheme="night"] .rental-detail-thread-area .rig-detail-worker-gridline span,
body[data-mrrtheme="night"] .rental-detail-thread-area .rig-detail-worker-version,
body[data-mrrtheme="night"] .rental-detail-thread-area .rig-detail-worker-pass {
  color: #a0aab4;
}

@media (max-width: 767px) {
  .rental-detail-thread-area .rig-detail-worker-grid,
  .rental-detail-thread-area .rig-detail-worker-gridline {
    grid-template-columns: 1fr;
  }
}.rig-detail-page .rig-detail-history-table {
  border: 1px solid #e3ebf3;
  border-radius: 8px;
  overflow: hidden;
}

.rig-detail-page .rig-detail-description-warning {
  border-radius: 8px;
  margin-bottom: 10px;
  padding: 10px 12px;
}

.rig-detail-page .rig-detail-description {
  background: #fff;
  border: 1px solid #e3ebf3;
  border-radius: 8px;
  line-height: 1.55;
  padding: 14px;
  overflow-wrap: anywhere;
}

.rig-detail-page .rig-detail-runtime-warning-stack .alert {
  border-radius: 8px;
  margin-bottom: 10px;
}

.rig-detail-page .rig-detail-pool-toolbar {
  align-items: center;
  display: flex;
  gap: 10px;
  justify-content: space-between;
  margin-bottom: 12px;
}

.rig-detail-page .rig-detail-profile-select {
  align-items: center;
  display: flex;
  flex: 1 1 auto;
  gap: 8px;
  min-width: 0;
}

.rig-detail-page .rig-detail-profile-select .form-control {
  min-width: 0;
}

.rig-detail-page .rig-detail-pool-list {
  border: 1px solid #e3ebf3;
  border-radius: 8px;
  overflow: hidden;
}

.rig-detail-page .rig-detail-ticket-actions .btn {
  width: 100%;
}

body[data-mrrtheme="dark"] .rig-detail-page {
  color: #203246;
}

body[data-mrrtheme="night"] .rig-detail-page {
  color: #edf2f7;
}

body[data-mrrtheme="dark"] .rig-detail-page .page-header.rig-detail-header,
body[data-mrrtheme="dark"] .rig-detail-page .box.rig-detail-panel,
body[data-mrrtheme="dark"] .rig-detail-page .box.rig-detail-panel .header-box,
body[data-mrrtheme="dark"] .rig-detail-page .box.rig-detail-panel > .box-content {
  background: #eef1f4;
  border-color: #cfd7df;
}

body[data-mrrtheme="night"] .rig-detail-page .page-header.rig-detail-header,
body[data-mrrtheme="night"] .rig-detail-page .box.rig-detail-panel,
body[data-mrrtheme="night"] .rig-detail-page .box.rig-detail-panel .header-box,
body[data-mrrtheme="night"] .rig-detail-page .box.rig-detail-panel > .box-content {
  background: #24282d;
  border-color: #3a4148;
}

body[data-mrrtheme="dark"] .rig-detail-page .rig-detail-header h1,
body[data-mrrtheme="dark"] .rig-detail-page .box.rig-detail-panel .header-box .title,
body[data-mrrtheme="dark"] .rig-detail-page .rig-detail-live-card strong,
body[data-mrrtheme="dark"] .rig-detail-page .rig-detail-signal-card strong,
body[data-mrrtheme="dark"] .rig-detail-page .rig-detail-rate-card strong,
body[data-mrrtheme="dark"] .rig-detail-page .rig-detail-rental-state strong,
body[data-mrrtheme="dark"] .rig-detail-page .rig-detail-calculator-title,
body[data-mrrtheme="dark"] .rig-detail-page .rig-detail-meta-chip strong {
  color: #203246;
}

body[data-mrrtheme="night"] .rig-detail-page .rig-detail-header h1,
body[data-mrrtheme="night"] .rig-detail-page .box.rig-detail-panel .header-box .title,
body[data-mrrtheme="night"] .rig-detail-page .rig-detail-live-card strong,
body[data-mrrtheme="night"] .rig-detail-page .rig-detail-signal-card strong,
body[data-mrrtheme="night"] .rig-detail-page .rig-detail-rate-card strong,
body[data-mrrtheme="night"] .rig-detail-page .rig-detail-rental-state strong,
body[data-mrrtheme="night"] .rig-detail-page .rig-detail-calculator-title,
body[data-mrrtheme="night"] .rig-detail-page .rig-detail-meta-chip strong {
  color: #edf2f7;
}

body[data-mrrtheme="dark"] .rig-detail-page .rig-detail-meta-chip .badge.badge-inverse {
  background: rgba(42, 122, 226, 0.09);
  border-color: rgba(42, 122, 226, 0.2);
  color: #1f5ea8;
}

body[data-mrrtheme="night"] .rig-detail-page .rig-detail-meta-chip .badge.badge-inverse {
  background: rgba(114, 167, 247, 0.14);
  border-color: rgba(114, 167, 247, 0.28);
  color: #d9e8ff;
}

body[data-mrrtheme="dark"] .rig-detail-page .rig-detail-title-rule,
body[data-mrrtheme="dark"] .rig-detail-page .rig-detail-title-favorite {
  border-color: #cfd7df;
}

body[data-mrrtheme="night"] .rig-detail-page .rig-detail-title-rule,
body[data-mrrtheme="night"] .rig-detail-page .rig-detail-title-favorite {
  border-color: #3a4148;
}

body[data-mrrtheme="dark"] .rig-detail-page .rig-detail-kicker,
body[data-mrrtheme="dark"] .rig-detail-page .rig-detail-meta-line,
body[data-mrrtheme="dark"] .rig-detail-page .rig-detail-meta-chip span,
body[data-mrrtheme="dark"] .rig-detail-page .rig-detail-live-card span,
body[data-mrrtheme="dark"] .rig-detail-page .rig-detail-signal-card span,
body[data-mrrtheme="dark"] .rig-detail-page .rig-detail-worker-label,
body[data-mrrtheme="dark"] .rig-detail-page .rig-detail-worker-gridline span,
body[data-mrrtheme="dark"] .rig-detail-page .rig-detail-rental-state span,
body[data-mrrtheme="dark"] .rig-detail-page .rig-detail-chart-head,
body[data-mrrtheme="dark"] .rig-detail-page .rig-detail-duration-control span,
body[data-mrrtheme="dark"] .rig-detail-page .rig-detail-worker-version,
body[data-mrrtheme="dark"] .rig-detail-page .rig-detail-worker-pass,
body[data-mrrtheme="dark"] .rig-detail-page .rig-detail-admin-label,
body[data-mrrtheme="dark"] .rig-detail-page .rig-detail-admin-metric {
  color: #6a7480;
}

body[data-mrrtheme="night"] .rig-detail-page .rig-detail-kicker,
body[data-mrrtheme="night"] .rig-detail-page .rig-detail-meta-line,
body[data-mrrtheme="night"] .rig-detail-page .rig-detail-meta-chip span,
body[data-mrrtheme="night"] .rig-detail-page .rig-detail-live-card span,
body[data-mrrtheme="night"] .rig-detail-page .rig-detail-signal-card span,
body[data-mrrtheme="night"] .rig-detail-page .rig-detail-worker-label,
body[data-mrrtheme="night"] .rig-detail-page .rig-detail-worker-gridline span,
body[data-mrrtheme="night"] .rig-detail-page .rig-detail-rental-state span,
body[data-mrrtheme="night"] .rig-detail-page .rig-detail-chart-head,
body[data-mrrtheme="night"] .rig-detail-page .rig-detail-duration-control span,
body[data-mrrtheme="night"] .rig-detail-page .rig-detail-worker-version,
body[data-mrrtheme="night"] .rig-detail-page .rig-detail-worker-pass,
body[data-mrrtheme="night"] .rig-detail-page .rig-detail-admin-label,
body[data-mrrtheme="night"] .rig-detail-page .rig-detail-admin-metric {
  color: #a0aab4;
}

body[data-mrrtheme="dark"] .rig-detail-page .rig-detail-live-card,
body[data-mrrtheme="dark"] .rig-detail-page .rig-detail-signal-card,
body[data-mrrtheme="dark"] .rig-detail-page .rig-detail-rate-card,
body[data-mrrtheme="dark"] .rig-detail-page .rig-detail-rental-state,
body[data-mrrtheme="dark"] .rig-detail-page .rig-detail-chart-block,
body[data-mrrtheme="dark"] .rig-detail-page .rig-detail-calculator,
body[data-mrrtheme="dark"] .rig-detail-page .rig-detail-empty-state,
body[data-mrrtheme="dark"] .rig-detail-page .rig-detail-worker-card,
body[data-mrrtheme="dark"] .rig-detail-page .rig-detail-description,
body[data-mrrtheme="dark"] .rig-detail-page .rig-detail-history-table,
body[data-mrrtheme="dark"] .rig-detail-page .rig-detail-pool-list,
body[data-mrrtheme="dark"] .rig-detail-page .rig-detail-meta-chip,
body[data-mrrtheme="dark"] .rig-detail-page .rig-detail-admin-metric {
  background: #f7f8fa;
  border-color: #d7dde4;
}

body[data-mrrtheme="night"] .rig-detail-page .rig-detail-live-card,
body[data-mrrtheme="night"] .rig-detail-page .rig-detail-signal-card,
body[data-mrrtheme="night"] .rig-detail-page .rig-detail-rate-card,
body[data-mrrtheme="night"] .rig-detail-page .rig-detail-rental-state,
body[data-mrrtheme="night"] .rig-detail-page .rig-detail-chart-block,
body[data-mrrtheme="night"] .rig-detail-page .rig-detail-calculator,
body[data-mrrtheme="night"] .rig-detail-page .rig-detail-empty-state,
body[data-mrrtheme="night"] .rig-detail-page .rig-detail-worker-card,
body[data-mrrtheme="night"] .rig-detail-page .rig-detail-description,
body[data-mrrtheme="night"] .rig-detail-page .rig-detail-history-table,
body[data-mrrtheme="night"] .rig-detail-page .rig-detail-pool-list,
body[data-mrrtheme="night"] .rig-detail-page .rig-detail-meta-chip,
body[data-mrrtheme="night"] .rig-detail-page .rig-detail-admin-metric {
  background: #2d3238;
  border-color: #424951;
}

body[data-mrrtheme="dark"] .rig-detail-page .rig-detail-admin-row {
  background: rgba(42, 122, 226, 0.055);
  border-color: rgba(42, 122, 226, 0.18);
}

body[data-mrrtheme="night"] .rig-detail-page .rig-detail-admin-row {
  background: #2d3238;
  border-color: #424951;
}

body[data-mrrtheme="dark"] .rig-detail-page .rig-detail-tabs,
body[data-mrrtheme="dark"] .rig-detail-page .rig-detail-worker-version,
body[data-mrrtheme="dark"] .rig-detail-page .rig-detail-worker-pass {
  border-color: #d7dde4;
}

body[data-mrrtheme="night"] .rig-detail-page .rig-detail-tabs,
body[data-mrrtheme="night"] .rig-detail-page .rig-detail-worker-version,
body[data-mrrtheme="night"] .rig-detail-page .rig-detail-worker-pass {
  border-color: #424951;
}

body[data-mrrtheme="dark"] .rig-detail-page .rig-detail-rate-card span {
  color: #1f5ea8;
}

body[data-mrrtheme="night"] .rig-detail-page .rig-detail-rate-card span {
  color: #72a7f7;
}

body[data-mrrtheme="dark"] .rig-detail-page .quick-calc-currency-selected .quick-calc-input {
  background-color: #f3fff6;
  border-color: #28a745;
  color: #203246;
}

body[data-mrrtheme="night"] .rig-detail-page .quick-calc-currency-selected .quick-calc-input {
  background-color: rgba(47, 191, 113, 0.14);
  border-color: #2fbf71;
  color: #edf2f7;
}


/* Rig detail owner view */
.rig-detail-page.rig-detail-owner-page .rig-detail-owner-status {
  align-items: stretch;
  min-width: 220px;
}

.rig-detail-page.rig-detail-owner-page .rig-detail-owner-status .rig-detail-status-pill,
.rig-detail-page.rig-detail-owner-page .rig-detail-owner-status .rig-detail-rental-state {
  width: 100%;
}

.rig-detail-page.rig-detail-owner-page .rig-detail-pool-status-card {
  border-left-width: 4px;
}

.rig-detail-page.rig-detail-owner-page .rig-detail-pool-status-card strong {
  font-size: 18px;
  letter-spacing: 0;
}

.rig-detail-page.rig-detail-owner-page .rig-detail-pool-worker-summary {
  border-top: 1px solid rgba(32, 120, 73, 0.16);
  color: #3d4d5f;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.25;
  margin-top: 7px;
  padding-top: 7px;
}

.rig-detail-page.rig-detail-owner-page .rig-detail-pool-worker-summary.is-unknown {
  color: #6a7480;
}

.rig-detail-page.rig-detail-owner-page .rig-detail-pool-status-card.is-pool-online {
  background: #eef9f2;
  border-color: #c5e8d0;
  border-left-color: #2fbf71;
}

.rig-detail-page.rig-detail-owner-page .rig-detail-pool-status-card.is-pool-online strong {
  color: #207849;
}

.rig-detail-page.rig-detail-owner-page .rig-detail-pool-status-card.is-pool-offline {
  background: #fdeeee;
  border-color: #f1c0c0;
  border-left-color: #d84a4a;
}

.rig-detail-page.rig-detail-owner-page .rig-detail-pool-status-card.is-pool-offline strong {
  color: #9b2a2a;
}

.rig-detail-page.rig-detail-owner-page .rig-detail-pool-status-card.is-pool-nopool {
  background: #fff8e7;
  border-color: #efdca7;
  border-left-color: #d5a11e;
}

.rig-detail-page.rig-detail-owner-page .rig-detail-pool-status-card.is-pool-nopool strong {
  color: #8a6414;
}

.rig-detail-page.rig-detail-owner-page .rig-detail-pool-status-card.is-pool-unknown {
  background: #f4f7fa;
  border-color: #dbe5ef;
  border-left-color: #8a96a3;
}

.rig-detail-page.rig-detail-owner-page .rig-detail-pool-status-card.is-pool-unknown strong {
  color: #536170;
}

body[data-mrrtheme="dark"] .rig-detail-page.rig-detail-owner-page .rig-detail-pool-status-card.is-pool-online {
  background: #eef9f2;
  border-color: #c5e8d0;
  border-left-color: #2fbf71;
}

body[data-mrrtheme="dark"] .rig-detail-page.rig-detail-owner-page .rig-detail-pool-status-card.is-pool-offline {
  background: #fdeeee;
  border-color: #f1c0c0;
  border-left-color: #d84a4a;
}

body[data-mrrtheme="dark"] .rig-detail-page.rig-detail-owner-page .rig-detail-pool-status-card.is-pool-nopool {
  background: #fff8e7;
  border-color: #efdca7;
  border-left-color: #d5a11e;
}

body[data-mrrtheme="dark"] .rig-detail-page.rig-detail-owner-page .rig-detail-pool-status-card.is-pool-unknown {
  background: #f4f7fa;
  border-color: #dbe5ef;
  border-left-color: #8a96a3;
}

body[data-mrrtheme="dark"] .rig-detail-page.rig-detail-owner-page .rig-detail-pool-worker-summary {
  border-top-color: rgba(32, 120, 73, 0.16);
  color: #3d4d5f;
}

body[data-mrrtheme="dark"] .rig-detail-page.rig-detail-owner-page .rig-detail-pool-worker-summary.is-unknown {
  color: #6a7480;
}

body[data-mrrtheme="night"] .rig-detail-page.rig-detail-owner-page .rig-detail-pool-status-card.is-pool-online {
  background: rgba(47, 191, 113, 0.12);
  border-color: rgba(47, 191, 113, 0.28);
  border-left-color: #2fbf71;
}

body[data-mrrtheme="night"] .rig-detail-page.rig-detail-owner-page .rig-detail-pool-status-card.is-pool-online strong {
  color: #9be4b8;
}

body[data-mrrtheme="night"] .rig-detail-page.rig-detail-owner-page .rig-detail-pool-status-card.is-pool-offline {
  background: rgba(216, 74, 74, 0.13);
  border-color: rgba(216, 74, 74, 0.3);
  border-left-color: #e26a6a;
}

body[data-mrrtheme="night"] .rig-detail-page.rig-detail-owner-page .rig-detail-pool-status-card.is-pool-offline strong {
  color: #ffb1b1;
}

body[data-mrrtheme="night"] .rig-detail-page.rig-detail-owner-page .rig-detail-pool-status-card.is-pool-nopool {
  background: rgba(213, 161, 30, 0.14);
  border-color: rgba(213, 161, 30, 0.32);
  border-left-color: #e0b34d;
}

body[data-mrrtheme="night"] .rig-detail-page.rig-detail-owner-page .rig-detail-pool-status-card.is-pool-nopool strong {
  color: #f2d18a;
}

body[data-mrrtheme="night"] .rig-detail-page.rig-detail-owner-page .rig-detail-pool-status-card.is-pool-unknown {
  background: #2d3238;
  border-color: #424951;
  border-left-color: #768390;
}

body[data-mrrtheme="night"] .rig-detail-page.rig-detail-owner-page .rig-detail-pool-status-card.is-pool-unknown strong {
  color: #d3d9df;
}

body[data-mrrtheme="night"] .rig-detail-page.rig-detail-owner-page .rig-detail-pool-worker-summary {
  border-top-color: rgba(155, 228, 184, 0.22);
  color: #d7e1ea;
}

body[data-mrrtheme="night"] .rig-detail-page.rig-detail-owner-page .rig-detail-pool-worker-summary.is-unknown {
  color: #aeb8c2;
}

.rig-detail-page.rig-detail-owner-page .rig-detail-owner-staff-header {
  margin-top: 0;
}

.rig-detail-page.rig-detail-owner-page .rig-detail-owner-staff-actions,
.rig-detail-page.rig-detail-owner-page .rig-detail-owner-staff-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.rig-detail-page.rig-detail-owner-page .rig-detail-owner-staff-meta {
  color: #6a7480;
  font-size: 12px;
  margin-top: 8px;
}

.rig-detail-page.rig-detail-owner-page .rig-detail-owner-staff-meta a,
.rig-detail-page.rig-detail-owner-page .rig-detail-owner-staff-meta span {
  background: rgba(42, 122, 226, 0.08);
  border: 1px solid rgba(42, 122, 226, 0.18);
  border-radius: 6px;
  color: #245d9f;
  font-weight: 700;
  padding: 5px 8px;
}

.rig-detail-page.rig-detail-owner-page .rig-detail-owner-tabs {
  margin-bottom: 0;
}
.rig-detail-page.rig-detail-owner-page .rig-detail-owner-tabs-shell {
  background: #fafcff;
  border: 1px solid #dbe5ef;
  border-radius: 8px;
  box-shadow: 0 8px 18px rgba(32, 50, 70, 0.05);
  margin-bottom: 14px;
  padding: 10px 10px 10px;
}

.rig-detail-page.rig-detail-owner-page .rig-detail-owner-staff-rule {
  border: 0;
  border-top: 1px solid #e3ebf3;
  margin: 12px 0 10px;
}

.rig-detail-page.rig-detail-owner-page .rig-detail-owner-staff-detail-row {
  align-items: center;
  margin-top: 0;
}

.rig-detail-page.rig-detail-owner-page .rig-detail-owner-staff-separator {
  align-self: stretch;
  background: #d8e1ea !important;
  border: 0 !important;
  border-radius: 0 !important;
  min-height: 24px;
  padding: 0 !important;
  width: 1px;
}

.rig-detail-page.rig-detail-owner-page .rig-detail-owner-examples summary {
  align-items: center;
  display: flex;
  gap: 10px;
  justify-content: space-between;
}

.rig-detail-page.rig-detail-owner-page .rig-detail-owner-examples-icon {
  color: #6a7480;
  transition: transform 0.16s ease;
}

.rig-detail-page.rig-detail-owner-page .rig-detail-owner-examples[open] .rig-detail-owner-examples-icon {
  transform: rotate(180deg);
}


.rig-detail-page.rig-detail-owner-page .rig-detail-owner-config-content {
  background: #fff;
  border: 1px solid #e3ebf3;
  border-top: 0;
  border-radius: 0 0 8px 8px;
  padding: 14px;
}

.rig-detail-page.rig-detail-owner-page .rig-detail-owner-config-content .form-group {
  align-items: center;
  border-bottom: 1px solid #edf2f7;
  display: flex;
  flex-wrap: wrap;
  margin: 0;
  padding: 10px 0;
}

.rig-detail-page.rig-detail-owner-page .rig-detail-owner-config-content .form-group:last-child {
  border-bottom: 0;
}

.rig-detail-page.rig-detail-owner-page .rig-detail-owner-config-content .control-label {
  color: #536170;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0;
  padding-top: 0;
  text-align: left;
  text-transform: uppercase;
}

.rig-detail-page.rig-detail-owner-page .rig-detail-owner-config-content .form-control,
.rig-detail-page.rig-detail-owner-page .rig-detail-owner-config-content .select2-container .select2-choice {
  border-color: #d8e1ea;
  border-radius: 6px;
  box-shadow: none;
}

.rig-detail-page.rig-detail-owner-page .rig-detail-owner-performance-column .box-statistic {
  background: #fff;
  border: 1px solid #e3ebf3;
  border-radius: 8px;
  margin-bottom: 10px;
  padding: 12px 14px;
}

.rig-detail-page.rig-detail-owner-page .rig-detail-owner-performance-column .box > .tabbable {
  background: #fff;
  border: 1px solid #e3ebf3;
  border-radius: 8px;
  overflow: hidden;
}

.rig-detail-page.rig-detail-owner-page .rig-detail-owner-performance-tabs {
  background: #fafcff;
  margin: 0;
  padding: 10px 10px 0;
}

.rig-detail-page.rig-detail-owner-page .rig-detail-owner-performance-column .rig-detail-tab-content {
  padding: 10px;
}

.rig-detail-page.rig-detail-owner-page #live_hashchart,
.rig-detail-page.rig-detail-owner-page #minerhash,
.rig-detail-page.rig-detail-owner-page #minerhash3,
.rig-detail-page.rig-detail-owner-page #difficultychart1,
.rig-detail-page.rig-detail-owner-page #rig_income_day {
  background: #fff;
  border: 1px solid #e3ebf3;
  border-radius: 8px;
  margin-bottom: 12px;
  min-height: 260px;
  overflow: hidden;
}

.rig-detail-page.rig-detail-owner-page #live_hashchart {
  min-height: 220px;
}

.rig-detail-page.rig-detail-owner-page #difficultychart1,
.rig-detail-page.rig-detail-owner-page #rig_income_day {
  min-height: 340px;
}

.rig-detail-page.rig-detail-owner-page .rig-detail-owner-detail-tabs {
  margin-bottom: 12px;
}


.rig-detail-page.rig-detail-owner-page .rig-detail-owner-activity-panel .box-no-padding,
.rig-detail-page.rig-detail-owner-page .rig-detail-owner-activity-panel table {
  background: #fff;
  border: 1px solid #e3ebf3;
  border-radius: 8px;
  overflow: hidden;
}

.rig-detail-page.rig-detail-owner-page .rig-detail-owner-connection-grid {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-bottom: 12px;
}

.rig-detail-page.rig-detail-owner-page .rig-detail-owner-connection-card,
.rig-detail-page.rig-detail-owner-page .rig-detail-owner-rigport-callout,
.rig-detail-page.rig-detail-owner-page .rig-detail-owner-backup-note,
.rig-detail-page.rig-detail-owner-page .rig-detail-owner-examples summary {
  background: #fff;
  border: 1px solid #e3ebf3;
  border-radius: 8px;
  padding: 12px 14px;
}

.rig-detail-page.rig-detail-owner-page .rig-detail-owner-connection-card span {
  color: #6a7480;
  display: block;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
}

.rig-detail-page.rig-detail-owner-page .rig-detail-owner-connection-card strong {
  color: #203246;
  display: block;
  font-size: 15px;
  margin-top: 4px;
  overflow-wrap: anywhere;
}

.rig-detail-page.rig-detail-owner-page .rig-detail-owner-rigport-callout {
  border-color: rgba(180, 49, 49, 0.24);
  margin-bottom: 12px;
}
.rig-detail-page.rig-detail-owner-page #newmyport,
.rig-detail-page.rig-detail-owner-page #adminremport {
  background: #fff7e6;
  border: 1px solid rgba(180, 118, 18, 0.34);
  border-left: 4px solid #d99019;
  border-radius: 8px;
  color: #6f4a07;
  font-weight: 700;
  margin-top: 10px;
  padding: 10px 12px;
  overflow-wrap: anywhere;
}

.rig-detail-page.rig-detail-owner-page #newmyport:empty,
.rig-detail-page.rig-detail-owner-page #adminremport:empty {
  display: none;
}

.rig-detail-page.rig-detail-owner-page .rig-detail-owner-rigport-callout p,
.rig-detail-page.rig-detail-owner-page .rig-detail-owner-backup-note p {
  margin: 6px 0 0;
}

.rig-detail-page.rig-detail-owner-page .rig-detail-owner-rigport-admin {
  margin-top: 10px;
}

.rig-detail-page.rig-detail-owner-page .rig-detail-owner-examples {
  margin-bottom: 12px;
}

.rig-detail-page.rig-detail-owner-page .rig-detail-owner-examples summary {
  cursor: pointer;
  font-weight: 800;
}

.rig-detail-page.rig-detail-owner-page .rig-detail-owner-examples-body {
  border-top: 0;
  border-radius: 0 0 8px 8px;
  margin-top: -1px;
  max-height: 420px;
  overflow: auto;
}

.rig-detail-page.rig-detail-owner-page .rig-detail-owner-failover-note {
  margin-bottom: 12px;
}

.rig-detail-page.rig-detail-owner-page .rig-detail-owner-failover-list {
  display: grid;
  gap: 10px;
}

.rig-detail-page.rig-detail-owner-page .rig-detail-owner-failover-row {
  align-items: center;
  display: flex;
  gap: 10px;
}

.rig-detail-page.rig-detail-owner-page .rig-detail-owner-failover-row .rig-detail-owner-connection-card {
  flex: 1 1 auto;
  min-width: 0;
}

.rig-detail-page.rig-detail-owner-page .rig-detail-owner-failover-port-btn {
  flex: 0 0 auto;
  white-space: nowrap;
}

.rig-detail-page.rig-detail-owner-page .form-actions {
  background: transparent;
  border: 0;
  padding: 12px 0 0;
}

.rig-detail-page.rig-detail-owner-page .form-actions .btn {
  margin: 4px;
}

.rig-detail-page.rig-detail-owner-page .rig-detail-owner-current-rental-panel,
.rig-detail-page.rig-detail-owner-page .rig-detail-owner-pool-panel,
.rig-detail-page.rig-detail-owner-page .rig-detail-owner-communication-panel {
  margin-left: auto;
  margin-right: auto;
  max-width: 1400px;
}

.rig-detail-page.rig-detail-owner-page .rig-detail-owner-pool-panel {
  max-width: 1900px;
}

.rig-detail-page.rig-detail-owner-page .rig-detail-owner-current-rental-panel .box-statistic {
  background: #fff;
  border: 1px solid #e3ebf3;
  border-radius: 8px;
  margin-bottom: 10px;
  padding: 12px 14px;
}


.rig-detail-page.rig-detail-owner-page .rig-detail-owner-price-panel {
  padding: 0;
}

.rig-detail-page.rig-detail-owner-page .rig-detail-owner-price-tabs {
  align-items: center;
  background: #f4f7fa;
  border: 1px solid #dfe7ef;
  border-radius: 8px 8px 0 0;
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  margin: 0;
  padding: 8px 8px 0;
}

.rig-detail-page.rig-detail-owner-page .rig-detail-owner-price-tabs > li {
  float: none;
  margin: 0;
}

.rig-detail-page.rig-detail-owner-page .rig-detail-owner-price-tabs > li > a {
  border: 0;
  border-radius: 7px 7px 0 0;
  color: #405368;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0;
  line-height: 1.2;
  margin: 0;
  padding: 9px 12px;
  text-transform: uppercase;
}

.rig-detail-page.rig-detail-owner-page .rig-detail-owner-price-tabs > li.active > a,
.rig-detail-page.rig-detail-owner-page .rig-detail-owner-price-tabs > li.active > a:hover,
.rig-detail-page.rig-detail-owner-page .rig-detail-owner-price-tabs > li.active > a:focus {
  background: #fff;
  color: #102338;
}

.rig-detail-page.rig-detail-owner-page .rig-detail-owner-price-tabs > li.disabled > a,
.rig-detail-page.rig-detail-owner-page .rig-detail-owner-price-tabs > li.disabled > a:hover,
.rig-detail-page.rig-detail-owner-page .rig-detail-owner-price-tabs > li.disabled > a:focus {
  background: transparent;
  color: #9aa7b5;
  cursor: not-allowed;
}

.rig-detail-page.rig-detail-owner-page .rig-detail-owner-price-content {
  background: #fff;
  border: 1px solid #dfe7ef;
  border-top: 0;
  border-radius: 0 0 8px 8px;
  padding: 12px;
}

.rig-detail-page.rig-detail-owner-page #rigc_price .visible-lg > .box.box-content,
.rig-detail-page.rig-detail-owner-page #rigc_price .rig-detail-owner-price-pane > .row .box.box-content,
.rig-detail-page.rig-detail-owner-page #rigc_price .rig-detail-owner-price-pane .box.box-content {
  background: #fff;
  border: 1px solid #dfe7ef;
  border-radius: 8px !important;
  box-shadow: none;
  margin-bottom: 12px;
  overflow: hidden;
  padding: 12px;
}

.rig-detail-page.rig-detail-owner-page #rigc_price .hidden-lg .row,
.rig-detail-page.rig-detail-owner-page #rigc_price .visible-lg .row {
  margin-left: -5px;
  margin-right: -5px;
}

.rig-detail-page.rig-detail-owner-page #rigc_price .hidden-lg [class*="col-"],
.rig-detail-page.rig-detail-owner-page #rigc_price .visible-lg [class*="col-"] {
  padding-left: 5px !important;
  padding-right: 5px !important;
}

.rig-detail-page.rig-detail-owner-page #rigc_price .box-statistic {
  background: #f8fafc;
  border: 1px solid #e1e8f0;
  border-radius: 8px;
  box-shadow: none;
  min-height: 76px;
  padding: 11px 12px;
}

.rig-detail-page.rig-detail-owner-page #rigc_price .box-statistic .title {
  color: #102338 !important;
  font-size: 18px;
  font-weight: 800;
  line-height: 1.2;
  margin: 0 0 6px;
  overflow-wrap: anywhere;
}

.rig-detail-page.rig-detail-owner-page #rigc_price .box-statistic small {
  color: #5f6f82;
  display: block;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0;
  line-height: 1.25;
  text-transform: uppercase;
}

.rig-detail-page.rig-detail-owner-page #rigc_price h4 {
  color: #102338;
  font-size: 14px;
  font-weight: 800;
  margin: 0 0 12px;
  text-align: left;
}

.rig-detail-page.rig-detail-owner-page #rigc_price p {
  color: #5f6f82;
  font-size: 13px;
  line-height: 1.45;
  margin: 0 0 12px;
}

.rig-detail-page.rig-detail-owner-page #rigc_price .form-group {
  align-items: center;
  border-top: 1px solid #edf1f5;
  display: flex;
  flex-wrap: wrap;
  margin: 0;
  padding: 10px 0;
}

.rig-detail-page.rig-detail-owner-page #rigc_price .form-group:first-of-type {
  border-top: 0;
}

.rig-detail-page.rig-detail-owner-page #rigc_price .control-label {
  color: #526275;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0;
  margin: 0;
  text-align: left;
  text-transform: uppercase;
}

.rig-detail-page.rig-detail-owner-page #rigc_price .radio-inline {
  color: #203246;
  font-weight: 700;
  margin-right: 12px;
  padding-top: 0;
}
.rig-detail-page .popover,
.rig-detail-page .popover-content,
.rig-detail-page .popover-content *,
.rig-detail-page .tooltip,
.rig-detail-page .tooltip-inner {
  font-size: 13px;
  font-style: normal;
  font-weight: 400;
  letter-spacing: 0;
  line-height: 1.45;
  text-transform: none;
}

.rig-detail-page .popover-title {
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1.3;
  text-transform: none;
}


.rig-detail-page.rig-detail-owner-page #rigc_price .form-control {
  border-color: #cfd9e4;
  border-radius: 6px;
  box-shadow: none;
  min-height: 34px;
}

.rig-detail-page.rig-detail-owner-page #rigc_price .form-control[disabled] {
  background: #eef3f7;
  color: #405368;
}

.rig-detail-page.rig-detail-owner-page #rigc_price .text-error {
  background: #fff5f2;
  border: 1px solid rgba(185, 71, 45, 0.24);
  border-radius: 8px;
  color: #a94442;
  margin: 8px 0 12px;
  padding: 9px 11px;
  text-align: left;
}
body[data-mrrtheme="dark"] .rig-detail-page.rig-detail-owner-page .rig-detail-owner-tabs-shell,
body[data-mrrtheme="dark"] .rig-detail-page.rig-detail-owner-page .rig-detail-owner-config-content,
body[data-mrrtheme="dark"] .rig-detail-page.rig-detail-owner-page .rig-detail-owner-performance-column .box > .tabbable,
body[data-mrrtheme="dark"] .rig-detail-page.rig-detail-owner-page .rig-detail-owner-performance-tabs,
body[data-mrrtheme="dark"] .rig-detail-page.rig-detail-owner-page #live_hashchart,
body[data-mrrtheme="dark"] .rig-detail-page.rig-detail-owner-page #minerhash,
body[data-mrrtheme="dark"] .rig-detail-page.rig-detail-owner-page #minerhash3,
body[data-mrrtheme="dark"] .rig-detail-page.rig-detail-owner-page #difficultychart1,
body[data-mrrtheme="dark"] .rig-detail-page.rig-detail-owner-page #rig_income_day,
body[data-mrrtheme="dark"] .rig-detail-page.rig-detail-owner-page .rig-detail-owner-connection-card,
body[data-mrrtheme="dark"] .rig-detail-page.rig-detail-owner-page .rig-detail-owner-rigport-callout,
body[data-mrrtheme="dark"] .rig-detail-page.rig-detail-owner-page .rig-detail-owner-backup-note,
body[data-mrrtheme="dark"] .rig-detail-page.rig-detail-owner-page .rig-detail-owner-examples summary,
body[data-mrrtheme="dark"] .rig-detail-page.rig-detail-owner-page .rig-detail-owner-examples-body,
body[data-mrrtheme="dark"] .rig-detail-page.rig-detail-owner-page .rig-detail-owner-current-rental-panel .box-statistic,
body[data-mrrtheme="dark"] .rig-detail-page.rig-detail-owner-page .rig-detail-owner-activity-panel .box-no-padding,
body[data-mrrtheme="dark"] .rig-detail-page.rig-detail-owner-page .rig-detail-owner-activity-panel table {
  background: #f7f8fa;
  border-color: #d7dde4;
}

body[data-mrrtheme="night"] .rig-detail-page.rig-detail-owner-page .rig-detail-owner-tabs-shell,
body[data-mrrtheme="night"] .rig-detail-page.rig-detail-owner-page .rig-detail-owner-config-content,
body[data-mrrtheme="night"] .rig-detail-page.rig-detail-owner-page .rig-detail-owner-performance-column .box > .tabbable,
body[data-mrrtheme="night"] .rig-detail-page.rig-detail-owner-page .rig-detail-owner-performance-tabs,
body[data-mrrtheme="night"] .rig-detail-page.rig-detail-owner-page #live_hashchart,
body[data-mrrtheme="night"] .rig-detail-page.rig-detail-owner-page #minerhash,
body[data-mrrtheme="night"] .rig-detail-page.rig-detail-owner-page #minerhash3,
body[data-mrrtheme="night"] .rig-detail-page.rig-detail-owner-page #difficultychart1,
body[data-mrrtheme="night"] .rig-detail-page.rig-detail-owner-page #rig_income_day,
body[data-mrrtheme="night"] .rig-detail-page.rig-detail-owner-page .rig-detail-owner-connection-card,
body[data-mrrtheme="night"] .rig-detail-page.rig-detail-owner-page .rig-detail-owner-rigport-callout,
body[data-mrrtheme="night"] .rig-detail-page.rig-detail-owner-page .rig-detail-owner-backup-note,
body[data-mrrtheme="night"] .rig-detail-page.rig-detail-owner-page .rig-detail-owner-examples summary,
body[data-mrrtheme="night"] .rig-detail-page.rig-detail-owner-page .rig-detail-owner-examples-body,
body[data-mrrtheme="night"] .rig-detail-page.rig-detail-owner-page .rig-detail-owner-current-rental-panel .box-statistic,
body[data-mrrtheme="night"] .rig-detail-page.rig-detail-owner-page .rig-detail-owner-activity-panel .box-no-padding,
body[data-mrrtheme="night"] .rig-detail-page.rig-detail-owner-page .rig-detail-owner-activity-panel table {
  background: #2d3238;
  border-color: #424951;
}

body[data-mrrtheme="dark"] .rig-detail-page.rig-detail-owner-page .rig-detail-owner-connection-card strong {
  color: #203246;
}
body[data-mrrtheme="dark"] .rig-detail-page.rig-detail-owner-page #newmyport {
  background: #fff2d6;
  border-color: rgba(180, 118, 18, 0.38);
  border-left-color: #c57d10;
  color: #664406;
}

body[data-mrrtheme="night"] .rig-detail-page.rig-detail-owner-page .rig-detail-owner-connection-card strong {
  color: #edf2f7;
}
body[data-mrrtheme="night"] .rig-detail-page.rig-detail-owner-page #newmyport {
  background: #3a311f;
  border-color: rgba(217, 144, 25, 0.42);
  border-left-color: #d99019;
  color: #ffe0a3;
}

body[data-mrrtheme="dark"] .rig-detail-page.rig-detail-owner-page .rig-detail-owner-config-content .control-label,
body[data-mrrtheme="dark"] .rig-detail-page.rig-detail-owner-page .rig-detail-owner-connection-card span,
body[data-mrrtheme="dark"] .rig-detail-page.rig-detail-owner-page .rig-detail-owner-staff-meta {
  color: #6a7480;
}

body[data-mrrtheme="night"] .rig-detail-page.rig-detail-owner-page .rig-detail-owner-config-content .control-label,
body[data-mrrtheme="night"] .rig-detail-page.rig-detail-owner-page .rig-detail-owner-connection-card span,
body[data-mrrtheme="night"] .rig-detail-page.rig-detail-owner-page .rig-detail-owner-staff-meta {
  color: #a0aab4;
}
body[data-mrrtheme="dark"] .rig-detail-page.rig-detail-owner-page .rig-detail-owner-staff-rule {
  border-top-color: #d7dde4;
}

body[data-mrrtheme="night"] .rig-detail-page.rig-detail-owner-page .rig-detail-owner-staff-rule {
  border-top-color: #424951;
}

body[data-mrrtheme="night"] .rig-detail-page.rig-detail-owner-page .rig-detail-owner-staff-separator {
  background: #424951 !important;
}

@media (min-width: 1400px) {
  .rig-detail-page.rig-detail-owner-page .rig-detail-main-grid > .rig-detail-owner-config-column {
    float: left !important;
    width: 41.66666667% !important;
  }

  .rig-detail-page.rig-detail-owner-page .rig-detail-main-grid > .rig-detail-owner-performance-column {
    float: left !important;
    width: 58.33333333% !important;
  }
}


@media (min-width: 768px) and (max-width: 991px) {
  .rig-detail-page.rig-detail-owner-page .rig-detail-title-actions.rig-detail-owner-status {
    align-items: stretch;
    flex-direction: row;
    min-width: 320px;
  }

  .rig-detail-page.rig-detail-owner-page .rig-detail-owner-status .rig-detail-status-pill,
  .rig-detail-page.rig-detail-owner-page .rig-detail-owner-status .rig-detail-rental-state {
    flex: 1 1 0;
    min-width: 145px;
    width: auto;
  }
}
@media (max-width: 767px) {
  .rig-detail-page.rig-detail-owner-page .rig-detail-owner-status {
    min-width: 0;
    width: 100%;
  }

  .rig-detail-page.rig-detail-owner-page .rig-detail-owner-connection-grid {
    grid-template-columns: 1fr;
  }

  .rig-detail-page.rig-detail-owner-page .rig-detail-owner-failover-row {
    align-items: stretch;
    flex-direction: column;
  }

  .rig-detail-page.rig-detail-owner-page .rig-detail-owner-failover-port-btn {
    width: 100%;
  }

  .rig-detail-page.rig-detail-owner-page .rig-detail-owner-config-content .form-group {
    display: block;
  }

  .rig-detail-page.rig-detail-owner-page .rig-detail-owner-config-content .control-label {
    display: block;
    margin-bottom: 6px;
  }

  .rig-detail-page.rig-detail-owner-page .rig-detail-owner-staff-actions .btn,
  .rig-detail-page.rig-detail-owner-page .rig-detail-owner-staff-actions a.btn {
    width: 100%;
  }
}

@media (max-width: 991px) {
  .rig-detail-page .rig-detail-title-row {
    align-items: flex-start;
    flex-direction: column;
    text-align: left;
  }

  .rig-detail-page .rig-detail-pool-toolbar,
  .rig-detail-page .rig-detail-profile-select {
    align-items: stretch;
    flex-direction: column;
  }

  .rig-detail-page .rig-detail-title-actions {
    justify-content: flex-start;
    max-width: none;
  }
}


@media (min-width: 768px) and (max-width: 991px) {
  .rig-detail-page.rig-detail-owner-page .rig-detail-title-actions.rig-detail-owner-status {
    align-items: stretch;
    flex-direction: row;
    min-width: 320px;
  }

  .rig-detail-page.rig-detail-owner-page .rig-detail-owner-status .rig-detail-status-pill,
  .rig-detail-page.rig-detail-owner-page .rig-detail-owner-status .rig-detail-rental-state {
    flex: 1 1 0;
    min-width: 145px;
    width: auto;
  }
}
@media (max-width: 767px) {
  .rig-detail-page .page-header.rig-detail-header {
    padding: 14px;
  }

  .rig-detail-page .rig-detail-header h1 {
    font-size: 21px;
  }

  .rig-detail-page .rig-detail-heading-line {
    align-items: center;
    justify-content: flex-start;
    text-align: left;
  }

  .rig-detail-page .rig-detail-rate-grid,
  .rig-detail-page .rig-detail-worker-grid,
  .rig-detail-page .rig-detail-worker-gridline {
    grid-template-columns: 1fr;
  }

  .rig-detail-page .rig-detail-duration-controls {
    grid-template-columns: repeat(2, minmax(0, 126px));
  }

  .rig-detail-page .rig-detail-live-chart {
    height: 190px;
    min-height: 190px;
  }

  .rig-detail-page .rig-detail-history-chart {
    height: 270px;
    min-height: 270px;
  }

  .rig-detail-page .rig-detail-tabs > li > a {
    padding: 8px 9px;
  }
}

@media (max-width: 380px) {
  .rig-detail-page .rig-detail-duration-controls {
    grid-template-columns: 126px;
  }
}

body[data-mrrtheme="dark"] .rig-detail-page.rig-detail-owner-page .rig-detail-owner-price-tabs,
body[data-mrrtheme="dark"] .rig-detail-page.rig-detail-owner-page .rig-detail-owner-price-content,
body[data-mrrtheme="dark"] .rig-detail-page.rig-detail-owner-page #rigc_price .visible-lg > .box.box-content,
body[data-mrrtheme="dark"] .rig-detail-page.rig-detail-owner-page #rigc_price .rig-detail-owner-price-pane > .row .box.box-content,
body[data-mrrtheme="dark"] .rig-detail-page.rig-detail-owner-page #rigc_price .rig-detail-owner-price-pane .box.box-content,
body[data-mrrtheme="dark"] .rig-detail-page.rig-detail-owner-page #rigc_price .box-statistic {
  background: #f7f8fa;
  border-color: #d7dde4;
}

body[data-mrrtheme="dark"] .rig-detail-page.rig-detail-owner-page #rigc_price .box-statistic,
body[data-mrrtheme="dark"] .rig-detail-page.rig-detail-owner-page #rigc_price .form-control[disabled] {
  background: #eef1f4;
}

body[data-mrrtheme="dark"] .rig-detail-page.rig-detail-owner-page .rig-detail-owner-price-tabs > li.active > a,
body[data-mrrtheme="dark"] .rig-detail-page.rig-detail-owner-page .rig-detail-owner-price-tabs > li.active > a:hover,
body[data-mrrtheme="dark"] .rig-detail-page.rig-detail-owner-page .rig-detail-owner-price-tabs > li.active > a:focus {
  background: #f7f8fa;
  color: #102338;
}

body[data-mrrtheme="dark"] .rig-detail-page.rig-detail-owner-page #rigc_price .box-statistic .title,
body[data-mrrtheme="dark"] .rig-detail-page.rig-detail-owner-page #rigc_price h4,
body[data-mrrtheme="dark"] .rig-detail-page.rig-detail-owner-page #rigc_price .radio-inline {
  color: #203246 !important;
}

body[data-mrrtheme="dark"] .rig-detail-page.rig-detail-owner-page #rigc_price .box-statistic small,
body[data-mrrtheme="dark"] .rig-detail-page.rig-detail-owner-page #rigc_price p,
body[data-mrrtheme="dark"] .rig-detail-page.rig-detail-owner-page #rigc_price .control-label,
body[data-mrrtheme="dark"] .rig-detail-page.rig-detail-owner-page .rig-detail-owner-price-tabs > li > a {
  color: #6a7480;
}

body[data-mrrtheme="night"] .rig-detail-page.rig-detail-owner-page .rig-detail-owner-price-tabs,
body[data-mrrtheme="night"] .rig-detail-page.rig-detail-owner-page .rig-detail-owner-price-content,
body[data-mrrtheme="night"] .rig-detail-page.rig-detail-owner-page #rigc_price .visible-lg > .box.box-content,
body[data-mrrtheme="night"] .rig-detail-page.rig-detail-owner-page #rigc_price .rig-detail-owner-price-pane > .row .box.box-content,
body[data-mrrtheme="night"] .rig-detail-page.rig-detail-owner-page #rigc_price .rig-detail-owner-price-pane .box.box-content,
body[data-mrrtheme="night"] .rig-detail-page.rig-detail-owner-page #rigc_price .box-statistic {
  background: #2d3238;
  border-color: #424951;
}

body[data-mrrtheme="night"] .rig-detail-page.rig-detail-owner-page #rigc_price .box-statistic,
body[data-mrrtheme="night"] .rig-detail-page.rig-detail-owner-page #rigc_price .form-control[disabled] {
  background: #252a30;
}

body[data-mrrtheme="night"] .rig-detail-page.rig-detail-owner-page .rig-detail-owner-price-tabs > li.active > a,
body[data-mrrtheme="night"] .rig-detail-page.rig-detail-owner-page .rig-detail-owner-price-tabs > li.active > a:hover,
body[data-mrrtheme="night"] .rig-detail-page.rig-detail-owner-page .rig-detail-owner-price-tabs > li.active > a:focus {
  background: #2d3238;
  color: #edf2f7;
}

body[data-mrrtheme="night"] .rig-detail-page.rig-detail-owner-page #rigc_price .box-statistic .title,
body[data-mrrtheme="night"] .rig-detail-page.rig-detail-owner-page #rigc_price h4,
body[data-mrrtheme="night"] .rig-detail-page.rig-detail-owner-page #rigc_price .radio-inline {
  color: #edf2f7 !important;
}

body[data-mrrtheme="night"] .rig-detail-page.rig-detail-owner-page #rigc_price .box-statistic small,
body[data-mrrtheme="night"] .rig-detail-page.rig-detail-owner-page #rigc_price p,
body[data-mrrtheme="night"] .rig-detail-page.rig-detail-owner-page #rigc_price .control-label,
body[data-mrrtheme="night"] .rig-detail-page.rig-detail-owner-page .rig-detail-owner-price-tabs > li > a {
  color: #a0aab4;
}

@media (max-width: 767px) {
  .rig-detail-page.rig-detail-owner-page .rig-detail-owner-price-content {
    padding: 10px;
  }

  .rig-detail-page.rig-detail-owner-page #rigc_price .form-group {
    display: block;
  }

  .rig-detail-page.rig-detail-owner-page #rigc_price .control-label,
  .rig-detail-page.rig-detail-owner-page #rigc_price .form-group > div[class*="col-"] {
    float: none;
    width: 100%;
  }

  .rig-detail-page.rig-detail-owner-page #rigc_price .control-label {
    margin-bottom: 6px;
  }
}

.rig-detail-page.rig-detail-owner-page .rig-detail-owner-pool-header {
  align-items: stretch;
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: space-between;
  margin-bottom: 14px;
}

.rig-detail-page.rig-detail-owner-page .rig-detail-owner-pool-copy {
  flex: 1 1 420px;
  min-width: 0;
}

.rig-detail-page.rig-detail-owner-page .rig-detail-owner-pool-eyebrow,
.rig-detail-page.rig-detail-owner-page .rig-detail-owner-pool-summary span,
.rig-detail-page.rig-detail-owner-page #rigPoolWidget.pool-widget .text-uppercase {
  color: #7a899a;
  display: block;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  line-height: 1.3;
  text-transform: uppercase;
}

.rig-detail-page.rig-detail-owner-page .rig-detail-owner-pool-copy h3 {
  color: #203246;
  font-size: 18px;
  font-weight: 800;
  line-height: 1.25;
  margin: 5px 0 6px;
}

.rig-detail-page.rig-detail-owner-page .rig-detail-owner-pool-copy p {
  color: #627487;
  font-size: 14px;
  line-height: 1.55;
  margin: 0;
}

.rig-detail-page.rig-detail-owner-page .rig-detail-owner-pool-summary {
  display: grid;
  flex: 0 1 360px;
  gap: 10px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  min-width: 280px;
}

.rig-detail-page.rig-detail-owner-page .rig-detail-owner-pool-summary > div {
  background: #fff;
  border: 1px solid #e3ebf3;
  border-radius: 8px;
  padding: 11px 12px;
}

.rig-detail-page.rig-detail-owner-page .rig-detail-owner-pool-summary strong {
  color: #203246;
  display: block;
  font-size: 15px;
  font-weight: 800;
  line-height: 1.35;
  margin-top: 5px;
  overflow-wrap: anywhere;
}

.rig-detail-page.rig-detail-owner-page .rig-detail-owner-pool-rented-note {
  background: #f2fbf5;
  border: 1px solid rgba(68, 157, 68, 0.2);
  border-radius: 8px;
  color: #2f6f3b;
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 12px;
  padding: 10px 12px;
}

.rig-detail-page.rig-detail-owner-page .rig-detail-owner-pool-widget-frame {
  background: rgba(42, 122, 226, 0.03);
  border: 1px solid rgba(42, 122, 226, 0.1);
  border-radius: 8px;
  padding: 14px;
}

.rig-detail-page.rig-detail-owner-page #rigPoolWidget.pool-widget {
  margin: 0 auto;
  max-width: 1900px;
}

.rig-detail-page.rig-detail-owner-page #rigPoolWidget.pool-widget > .col-xs-12 {
  padding-left: 0;
  padding-right: 0;
}

.rig-detail-page.rig-detail-owner-page #rigPoolWidget.pool-widget .pool-widget-pool-profile,
.rig-detail-page.rig-detail-owner-page #rigPoolWidget.pool-widget .bootstrap-select,
.rig-detail-page.rig-detail-owner-page #rigPoolWidget.pool-widget select,
.rig-detail-page.rig-detail-owner-page #rigPoolWidget.pool-widget .form-control {
  width: 100% !important;
}

.rig-detail-page.rig-detail-owner-page #rigPoolWidget.pool-widget .profile_name_edit {
  padding: 12px;
}

.rig-detail-page.rig-detail-owner-page #rigPoolWidget.pool-widget .profile_name_edit .form-group,
.rig-detail-page.rig-detail-owner-page #rigPoolWidget.pool-widget .pool_form_option1 .form-group {
  margin-bottom: 0;
}

.rig-detail-page.rig-detail-owner-page #rigPoolWidget.pool-widget .pool-widget-profile-name-error {
  color: #a94442;
  font-size: 12px;
  font-weight: 700;
  margin-left: 0 !important;
  margin-right: 0 !important;
}

.rig-detail-page.rig-detail-owner-page #rigPoolWidget.pool-widget .pool-widget-changes-display,
.rig-detail-page.rig-detail-owner-page #rigPoolWidget.pool-widget .pool-widget-delete,
.rig-detail-page.rig-detail-owner-page #rigPoolWidget.pool-widget .pool-widget-save-error {
  margin-left: 0;
  margin-right: 0;
}

.rig-detail-page.rig-detail-owner-page #rigPoolWidget.pool-widget .pool-widget-changes-display > .col-xs-12,
.rig-detail-page.rig-detail-owner-page #rigPoolWidget.pool-widget .pool-widget-delete > .col-xs-12,
.rig-detail-page.rig-detail-owner-page #rigPoolWidget.pool-widget .pool-widget-save-error > .col-xs-12 {
  padding-left: 0;
  padding-right: 0;
}

.rig-detail-page.rig-detail-owner-page #rigPoolWidget.pool-widget .pool-widget-pool-item {
  background: #fff;
  border: 1px solid #d8e4f1;
  border-radius: 8px;
  box-shadow: 0 8px 18px rgba(50, 82, 121, 0.07);
  margin-bottom: 12px;
  padding: 14px 52px 14px 14px !important;
  position: relative;
}

.rig-detail-page.rig-detail-owner-page #rigPoolWidget.pool-widget .pool-widget-pool-counter,
.rig-detail-page.rig-detail-owner-page #rigPoolWidget.pool-widget .pool-widget-pool-new-counter,
.rig-detail-page.rig-detail-owner-page #rigPoolWidget.pool-widget .pool-widget-pool-edit-counter {
  background: #e9f1fb;
  border-radius: 999px;
  color: #2f679f;
  flex: 0 0 36px;
  font-size: 16px;
  font-weight: 800;
  height: 36px;
  line-height: 36px;
  margin-right: 14px;
  text-align: center;
  width: 36px;
}

.rig-detail-page.rig-detail-owner-page #rigPoolWidget.pool-widget .pool-widget-pool-entry,
.rig-detail-page.rig-detail-owner-page #rigPoolWidget.pool-widget .pool-widget-pool-not-entry,
.rig-detail-page.rig-detail-owner-page #rigPoolWidget.pool-widget .pool-widget-pool-new-entry,
.rig-detail-page.rig-detail-owner-page #rigPoolWidget.pool-widget .pool-widget-pool-edit-entry {
  min-width: 0;
}

.rig-detail-page.rig-detail-owner-page #rigPoolWidget.pool-widget .pool-widget-pool-entry .handle {
  color: #9aa8b8;
  font-size: 16px;
  margin-bottom: 8px;
}

.rig-detail-page.rig-detail-owner-page #rigPoolWidget.pool-widget .pool-widget-pool-entry .pool_label {
  color: #223548;
  font-size: 17px;
  font-weight: 800;
  line-height: 1.35;
  margin-bottom: 8px;
  padding-right: 18px;
  word-break: break-word;
}

.rig-detail-page.rig-detail-owner-page #rigPoolWidget.pool-widget .pool-widget-pool-entry .pool_hostport,
.rig-detail-page.rig-detail-owner-page #rigPoolWidget.pool-widget .pool-widget-pool-entry .pool_user,
.rig-detail-page.rig-detail-owner-page #rigPoolWidget.pool-widget .pool-widget-pool-entry .pool_pass,
.rig-detail-page.rig-detail-owner-page #rigPoolWidget.pool-widget .pool-widget-pool-entry .pool_option1 {
  color: #314559;
  font-size: 13px;
  line-height: 1.55;
  margin-bottom: 8px;
  word-break: break-word;
}

.rig-detail-page.rig-detail-owner-page #rigPoolWidget.pool-widget .pool-widget-muted {
  color: #93a2b0;
  font-style: italic;
}

.rig-detail-page.rig-detail-owner-page #rigPoolWidget.pool-widget .pool-widget-pool-sorting-up,
.rig-detail-page.rig-detail-owner-page #rigPoolWidget.pool-widget .pool-widget-pool-sorting-down {
  right: 10px !important;
}

.rig-detail-page.rig-detail-owner-page #rigPoolWidget.pool-widget .pool-widget-add-new-button,
.rig-detail-page.rig-detail-owner-page #rigPoolWidget.pool-widget .pool-widget-add-new,
.rig-detail-page.rig-detail-owner-page #rigPoolWidget.pool-widget .pool-widget-edit-existing {
  display: flex;
  justify-content: center;
}

.rig-detail-page.rig-detail-owner-page #rigPoolWidget.pool-widget .pool-widget-add-new-button .pool-widget-pool-item,
.rig-detail-page.rig-detail-owner-page #rigPoolWidget.pool-widget .pool-widget-add-new .pool-widget-pool-item,
.rig-detail-page.rig-detail-owner-page #rigPoolWidget.pool-widget .pool-widget-edit-existing .pool-widget-pool-item {
  margin-left: auto;
  margin-right: auto;
  max-width: 1500px;
  width: 100%;
}

.rig-detail-page.rig-detail-owner-page #rigPoolWidget.pool-widget .pool-widget-add-new h3,
.rig-detail-page.rig-detail-owner-page #rigPoolWidget.pool-widget .pool-widget-edit-existing h3 {
  color: #203246;
  font-size: 17px;
  font-weight: 800;
}

.rig-detail-page.rig-detail-owner-page #rigPoolWidget.pool-widget .pool_widget_save_changes,
.rig-detail-page.rig-detail-owner-page #rigPoolWidget.pool-widget .pool_widget_cancel_changes,
.rig-detail-page.rig-detail-owner-page #rigPoolWidget.pool-widget .pool_widget_delete_confirm,
.rig-detail-page.rig-detail-owner-page #rigPoolWidget.pool-widget .pool_new_entry_button,
.rig-detail-page.rig-detail-owner-page #rigPoolWidget.pool-widget .pool_add_button,
.rig-detail-page.rig-detail-owner-page #rigPoolWidget.pool-widget .pool_add_button_cancel,
.rig-detail-page.rig-detail-owner-page #rigPoolWidget.pool-widget .pool_edit_button,
.rig-detail-page.rig-detail-owner-page #rigPoolWidget.pool-widget .pool_edit_button_cancel {
  margin: 4px;
}

body[data-mrrtheme="dark"] .rig-detail-page.rig-detail-owner-page .rig-detail-owner-pool-copy h3,
body[data-mrrtheme="dark"] .rig-detail-page.rig-detail-owner-page .rig-detail-owner-pool-summary strong,
body[data-mrrtheme="dark"] .rig-detail-page.rig-detail-owner-page #rigPoolWidget.pool-widget .pool-widget-pool-entry .pool_label,
body[data-mrrtheme="dark"] .rig-detail-page.rig-detail-owner-page #rigPoolWidget.pool-widget .pool-widget-add-new h3,
body[data-mrrtheme="dark"] .rig-detail-page.rig-detail-owner-page #rigPoolWidget.pool-widget .pool-widget-edit-existing h3 {
  color: #203246;
}

body[data-mrrtheme="dark"] .rig-detail-page.rig-detail-owner-page .rig-detail-owner-pool-widget-frame,
body[data-mrrtheme="dark"] .rig-detail-page.rig-detail-owner-page .rig-detail-owner-pool-summary > div,
body[data-mrrtheme="dark"] .rig-detail-page.rig-detail-owner-page #rigPoolWidget.pool-widget .profile_name_edit,
body[data-mrrtheme="dark"] .rig-detail-page.rig-detail-owner-page #rigPoolWidget.pool-widget .pool-widget-pool-item {
  background: #f7f8fa;
  border-color: #d7dde4;
}

body[data-mrrtheme="dark"] .rig-detail-page.rig-detail-owner-page .rig-detail-owner-pool-copy p,
body[data-mrrtheme="dark"] .rig-detail-page.rig-detail-owner-page #rigPoolWidget.pool-widget .pool-widget-pool-entry .pool_hostport,
body[data-mrrtheme="dark"] .rig-detail-page.rig-detail-owner-page #rigPoolWidget.pool-widget .pool-widget-pool-entry .pool_user,
body[data-mrrtheme="dark"] .rig-detail-page.rig-detail-owner-page #rigPoolWidget.pool-widget .pool-widget-pool-entry .pool_pass,
body[data-mrrtheme="dark"] .rig-detail-page.rig-detail-owner-page #rigPoolWidget.pool-widget .pool-widget-pool-entry .pool_option1 {
  color: #405368;
}

body[data-mrrtheme="night"] .rig-detail-page.rig-detail-owner-page .rig-detail-owner-pool-copy h3,
body[data-mrrtheme="night"] .rig-detail-page.rig-detail-owner-page .rig-detail-owner-pool-summary strong,
body[data-mrrtheme="night"] .rig-detail-page.rig-detail-owner-page #rigPoolWidget.pool-widget .pool-widget-pool-entry .pool_label,
body[data-mrrtheme="night"] .rig-detail-page.rig-detail-owner-page #rigPoolWidget.pool-widget .pool-widget-add-new h3,
body[data-mrrtheme="night"] .rig-detail-page.rig-detail-owner-page #rigPoolWidget.pool-widget .pool-widget-edit-existing h3 {
  color: #edf2f7;
}

body[data-mrrtheme="night"] .rig-detail-page.rig-detail-owner-page .rig-detail-owner-pool-widget-frame,
body[data-mrrtheme="night"] .rig-detail-page.rig-detail-owner-page .rig-detail-owner-pool-summary > div,
body[data-mrrtheme="night"] .rig-detail-page.rig-detail-owner-page #rigPoolWidget.pool-widget .profile_name_edit,
body[data-mrrtheme="night"] .rig-detail-page.rig-detail-owner-page #rigPoolWidget.pool-widget .pool-widget-pool-item {
  background: #2d3238;
  border-color: #424951;
}

body[data-mrrtheme="night"] .rig-detail-page.rig-detail-owner-page .rig-detail-owner-pool-copy p,
body[data-mrrtheme="night"] .rig-detail-page.rig-detail-owner-page .rig-detail-owner-pool-eyebrow,
body[data-mrrtheme="night"] .rig-detail-page.rig-detail-owner-page .rig-detail-owner-pool-summary span,
body[data-mrrtheme="night"] .rig-detail-page.rig-detail-owner-page #rigPoolWidget.pool-widget .text-uppercase,
body[data-mrrtheme="night"] .rig-detail-page.rig-detail-owner-page #rigPoolWidget.pool-widget .pool-widget-pool-entry .pool_hostport,
body[data-mrrtheme="night"] .rig-detail-page.rig-detail-owner-page #rigPoolWidget.pool-widget .pool-widget-pool-entry .pool_user,
body[data-mrrtheme="night"] .rig-detail-page.rig-detail-owner-page #rigPoolWidget.pool-widget .pool-widget-pool-entry .pool_pass,
body[data-mrrtheme="night"] .rig-detail-page.rig-detail-owner-page #rigPoolWidget.pool-widget .pool-widget-pool-entry .pool_option1 {
  color: #a0aab4;
}

body[data-mrrtheme="night"] .rig-detail-page.rig-detail-owner-page #rigPoolWidget.pool-widget .pool-widget-pool-counter,
body[data-mrrtheme="night"] .rig-detail-page.rig-detail-owner-page #rigPoolWidget.pool-widget .pool-widget-pool-new-counter,
body[data-mrrtheme="night"] .rig-detail-page.rig-detail-owner-page #rigPoolWidget.pool-widget .pool-widget-pool-edit-counter {
  background: #31465c;
  color: #eef2f5;
}

body[data-mrrtheme="night"] .rig-detail-page.rig-detail-owner-page .rig-detail-owner-pool-rented-note {
  background: #203629;
  border-color: rgba(96, 180, 110, 0.26);
  color: #b8e8c0;
}

@media (max-width: 767px) {
  .rig-detail-page.rig-detail-owner-page .rig-detail-owner-pool-summary {
    flex-basis: 100%;
    grid-template-columns: 1fr;
    min-width: 0;
  }

  .rig-detail-page.rig-detail-owner-page .rig-detail-owner-pool-widget-frame {
    padding: 10px;
  }

  .rig-detail-page.rig-detail-owner-page #rigPoolWidget.pool-widget .profile_name_edit .control-label,
  .rig-detail-page.rig-detail-owner-page #rigPoolWidget.pool-widget .pool-widget-add-new .control-label,
  .rig-detail-page.rig-detail-owner-page #rigPoolWidget.pool-widget .pool-widget-edit-existing .control-label {
    margin-bottom: 6px;
    text-align: left !important;
  }

  .rig-detail-page.rig-detail-owner-page #rigPoolWidget.pool-widget .pool-widget-pool-item {
    padding-right: 14px !important;
  }
}
.rig-detail-owner-pool-modal .modal-content {
  border: 1px solid #dbe5ef;
  border-radius: 8px;
  box-shadow: 0 18px 40px rgba(32, 50, 70, 0.18);
  overflow: hidden;
}

.rig-detail-owner-pool-modal .modal-header,
.rig-detail-owner-pool-modal .modal-body,
.rig-detail-owner-pool-modal .modal-footer {
  background: #fafcff;
}

.rig-detail-owner-pool-modal .modal-header {
  border-bottom: 1px solid #e3ebf3;
}

.rig-detail-owner-pool-modal .modal-title {
  color: #203246;
  font-size: 18px;
  font-weight: 800;
}

.rig-detail-owner-pool-modal .modal-body .form-group {
  background: #fff;
  border: 1px solid #e3ebf3;
  border-radius: 8px;
  margin-left: 0;
  margin-right: 0;
  padding: 10px 12px;
}

.rig-detail-owner-pool-modal .modal-body .control-label {
  color: #6a7480;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.rig-detail-owner-pool-modal .modal-body .form-control,
.rig-detail-owner-pool-modal .modal-body .input-group-addon {
  border-color: #d8e4f1;
  border-radius: 6px;
}

.rig-detail-owner-pool-modal .modal-footer {
  border-top: 1px solid #e3ebf3;
}

body[data-mrrtheme="dark"] .rig-detail-owner-pool-modal .modal-content,
body[data-mrrtheme="dark"] .rig-detail-owner-pool-modal .modal-body .form-group {
  border-color: #d7dde4;
}

body[data-mrrtheme="dark"] .rig-detail-owner-pool-modal .modal-header,
body[data-mrrtheme="dark"] .rig-detail-owner-pool-modal .modal-body,
body[data-mrrtheme="dark"] .rig-detail-owner-pool-modal .modal-footer,
body[data-mrrtheme="dark"] .rig-detail-owner-pool-modal .modal-body .form-group {
  background: #f7f8fa;
}

body[data-mrrtheme="dark"] .rig-detail-owner-pool-modal .modal-title {
  color: #203246;
}

body[data-mrrtheme="night"] .rig-detail-owner-pool-modal .modal-content,
body[data-mrrtheme="night"] .rig-detail-owner-pool-modal .modal-body .form-group {
  border-color: #424951;
}

body[data-mrrtheme="night"] .rig-detail-owner-pool-modal .modal-header,
body[data-mrrtheme="night"] .rig-detail-owner-pool-modal .modal-body,
body[data-mrrtheme="night"] .rig-detail-owner-pool-modal .modal-footer,
body[data-mrrtheme="night"] .rig-detail-owner-pool-modal .modal-body .form-group {
  background: #2d3238;
}

body[data-mrrtheme="night"] .rig-detail-owner-pool-modal .modal-title {
  color: #edf2f7;
}

body[data-mrrtheme="night"] .rig-detail-owner-pool-modal .modal-body .control-label {
  color: #a0aab4;
}

.rig-detail-page.rig-detail-owner-page .rig-detail-owner-market-signals {
  display: grid;
  gap: 8px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-bottom: 12px;
}

.rig-detail-page.rig-detail-owner-page .rig-detail-owner-coin-editor {
  display: grid;
  gap: 12px;
}

.rig-detail-page.rig-detail-owner-page .rig-detail-owner-coin-header {
  align-items: flex-start;
  background: #f8fafc;
  border: 1px solid #e1e8f0;
  border-radius: 8px;
  display: flex;
  gap: 14px;
  justify-content: space-between;
  padding: 12px 14px;
}

.rig-detail-page.rig-detail-owner-page .rig-detail-owner-coin-eyebrow,
.rig-detail-page.rig-detail-owner-page .rig-detail-owner-price-controls-head span,
.rig-detail-page.rig-detail-owner-page .rig-detail-owner-recent-market span {
  color: #5f6f82;
  display: block;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0;
  line-height: 1.25;
  text-transform: uppercase;
}

.rig-detail-page.rig-detail-owner-page .rig-detail-owner-coin-header h3 {
  color: #203246;
  font-size: 20px;
  font-weight: 800;
  line-height: 1.2;
  margin: 3px 0 0;
}

.rig-detail-page.rig-detail-owner-page .rig-detail-owner-coin-header p {
  color: #6a7480;
  font-size: 13px;
  line-height: 1.35;
  margin: 5px 0 0;
}

.rig-detail-page.rig-detail-owner-page .rig-detail-owner-coin-status-row {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  justify-content: flex-end;
  min-width: 220px;
}

.rig-detail-page.rig-detail-owner-page .rig-detail-owner-status-chip {
  align-items: center;
  background: #fff;
  border: 1px solid #dbe5ef;
  border-radius: 8px;
  color: #536170;
  display: inline-flex;
  font-size: 12px;
  font-weight: 800;
  line-height: 1.2;
  min-height: 30px;
  padding: 7px 9px;
}

.rig-detail-page.rig-detail-owner-page .rig-detail-owner-status-chip.is-enabled {
  background: #eaf8f0;
  border-color: #bfe7cf;
  color: #207849;
}

.rig-detail-page.rig-detail-owner-page .rig-detail-owner-status-chip.is-disabled {
  background: #fdecec;
  border-color: #f2b8b8;
  color: #9b2a2a;
}

.rig-detail-page.rig-detail-owner-page .rig-detail-owner-status-chip.is-neutral {
  background: #f4f7fa;
  color: #536170;
}

.rig-detail-page.rig-detail-owner-page .rig-detail-owner-market-signals-pricing,
.rig-detail-page.rig-detail-owner-page .rig-detail-owner-recent-market {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.rig-detail-page.rig-detail-owner-page .rig-detail-owner-market-signals > div {
  background: #f8fafc;
  border: 1px solid #e1e8f0;
  border-radius: 8px;
  min-width: 0;
  padding: 10px 12px;
}

.rig-detail-page.rig-detail-owner-page .rig-detail-owner-market-signals span {
  color: #5f6f82;
  display: block;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0;
  line-height: 1.2;
  margin-bottom: 4px;
  text-transform: uppercase;
}

.rig-detail-page.rig-detail-owner-page .rig-detail-owner-market-signals strong {
  color: #102338;
  display: block;
  font-size: 15px;
  font-weight: 800;
  line-height: 1.25;
  overflow-wrap: anywhere;
}

.rig-detail-page.rig-detail-owner-page .rig-detail-owner-market-signals small {
  color: #6a7480;
  display: block;
  font-size: 11px;
  font-weight: 700;
  margin-top: 2px;
  overflow-wrap: anywhere;
}

.rig-detail-page.rig-detail-owner-page .rig-detail-owner-recent-market {
  display: grid;
  gap: 8px;
  margin-bottom: 12px;
}

.rig-detail-page.rig-detail-owner-page .rig-detail-owner-recent-market > div {
  background: #fff;
  border: 1px solid #e3ebf3;
  border-radius: 8px;
  min-width: 0;
  padding: 9px 11px;
}

.rig-detail-page.rig-detail-owner-page .rig-detail-owner-recent-market strong {
  color: #203246;
  display: block;
  font-size: 14px;
  font-weight: 800;
  line-height: 1.25;
  margin-top: 3px;
  overflow-wrap: anywhere;
}

.rig-detail-page.rig-detail-owner-page .rig-detail-owner-price-controls {
  background: #fff;
  border: 1px solid #e3ebf3;
  border-radius: 8px;
  box-shadow: none;
  margin-bottom: 0;
  padding: 0;
}

.rig-detail-page.rig-detail-owner-page .rig-detail-owner-price-controls-head {
  align-items: center;
  background: #f8fafc;
  border-bottom: 1px solid #e3ebf3;
  border-radius: 8px 8px 0 0;
  display: flex;
  gap: 10px;
  justify-content: space-between;
  margin: 0 0 2px;
  padding: 10px 12px;
}

.rig-detail-page.rig-detail-owner-page .rig-detail-owner-price-controls-head h4 {
  color: #203246;
  font-size: 15px;
  font-weight: 800;
  line-height: 1.2;
  margin: 0;
}

.rig-detail-page.rig-detail-owner-page .rig-detail-owner-price-controls .form-group {
  border-bottom: 1px solid #eef2f6;
  margin: 0;
  padding: 10px 12px;
}

.rig-detail-page.rig-detail-owner-page .rig-detail-owner-price-controls .form-group:last-child {
  border-bottom: 0;
}

.rig-detail-page.rig-detail-owner-page .rig-detail-owner-price-controls .control-label {
  color: #536170;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0;
  line-height: 1.3;
  padding-top: 7px;
  text-transform: uppercase;
}

.rig-detail-page.rig-detail-owner-page .rig-detail-owner-price-controls .radio-inline {
  font-size: 13px;
  font-weight: 700;
  margin-right: 10px;
  padding-top: 5px;
}

.rig-detail-page.rig-detail-owner-page .rig-detail-owner-price-controls .form-control {
  border-radius: 8px;
  min-height: 34px;
}

.rig-detail-page.rig-detail-owner-page .rig-detail-owner-price-controls .form-control[disabled] {
  background: #f4f7fa;
  color: #536170;
  opacity: 1;
}

.rig-detail-page.rig-detail-owner-page .rig-detail-owner-price-note {
  background: #f8fafc;
  border-bottom: 1px solid #eef2f6;
  color: #536170;
  font-size: 13px;
  line-height: 1.45;
  padding: 10px 12px;
}

body[data-mrrtheme="dark"] .rig-detail-page.rig-detail-owner-page .rig-detail-owner-market-signals > div {
  background: #eef1f4;
  border-color: #d7dde4;
}

body[data-mrrtheme="dark"] .rig-detail-page.rig-detail-owner-page .rig-detail-owner-coin-header,
body[data-mrrtheme="dark"] .rig-detail-page.rig-detail-owner-page .rig-detail-owner-price-controls-head,
body[data-mrrtheme="dark"] .rig-detail-page.rig-detail-owner-page .rig-detail-owner-price-note {
  background: #eef1f4;
  border-color: #d7dde4;
}

body[data-mrrtheme="dark"] .rig-detail-page.rig-detail-owner-page .rig-detail-owner-recent-market > div,
body[data-mrrtheme="dark"] .rig-detail-page.rig-detail-owner-page .rig-detail-owner-price-controls,
body[data-mrrtheme="dark"] .rig-detail-page.rig-detail-owner-page .rig-detail-owner-status-chip {
  background: #f7f8fa;
  border-color: #d7dde4;
}

body[data-mrrtheme="dark"] .rig-detail-page.rig-detail-owner-page .rig-detail-owner-status-chip.is-enabled {
  background: #e4f3ea;
  border-color: #badfc9;
  color: #207849;
}

body[data-mrrtheme="dark"] .rig-detail-page.rig-detail-owner-page .rig-detail-owner-status-chip.is-disabled {
  background: #f7e6e6;
  border-color: #e7bcbc;
  color: #9b2a2a;
}

body[data-mrrtheme="dark"] .rig-detail-page.rig-detail-owner-page .rig-detail-owner-price-controls .form-group {
  border-bottom-color: #d7dde4;
}

body[data-mrrtheme="dark"] .rig-detail-page.rig-detail-owner-page .rig-detail-owner-market-signals strong {
  color: #203246;
}

body[data-mrrtheme="dark"] .rig-detail-page.rig-detail-owner-page .rig-detail-owner-coin-header h3,
body[data-mrrtheme="dark"] .rig-detail-page.rig-detail-owner-page .rig-detail-owner-price-controls-head h4,
body[data-mrrtheme="dark"] .rig-detail-page.rig-detail-owner-page .rig-detail-owner-recent-market strong {
  color: #203246;
}

body[data-mrrtheme="dark"] .rig-detail-page.rig-detail-owner-page .rig-detail-owner-market-signals span,
body[data-mrrtheme="dark"] .rig-detail-page.rig-detail-owner-page .rig-detail-owner-market-signals small,
body[data-mrrtheme="dark"] .rig-detail-page.rig-detail-owner-page .rig-detail-owner-coin-eyebrow,
body[data-mrrtheme="dark"] .rig-detail-page.rig-detail-owner-page .rig-detail-owner-price-controls-head span,
body[data-mrrtheme="dark"] .rig-detail-page.rig-detail-owner-page .rig-detail-owner-recent-market span,
body[data-mrrtheme="dark"] .rig-detail-page.rig-detail-owner-page .rig-detail-owner-coin-header p,
body[data-mrrtheme="dark"] .rig-detail-page.rig-detail-owner-page .rig-detail-owner-price-note,
body[data-mrrtheme="dark"] .rig-detail-page.rig-detail-owner-page .rig-detail-owner-price-controls .control-label {
  color: #6a7480;
}

body[data-mrrtheme="night"] .rig-detail-page.rig-detail-owner-page .rig-detail-owner-market-signals > div {
  background: #252a30;
  border-color: #424951;
}

body[data-mrrtheme="night"] .rig-detail-page.rig-detail-owner-page .rig-detail-owner-coin-header,
body[data-mrrtheme="night"] .rig-detail-page.rig-detail-owner-page .rig-detail-owner-price-controls-head,
body[data-mrrtheme="night"] .rig-detail-page.rig-detail-owner-page .rig-detail-owner-price-note {
  background: #252a30;
  border-color: #424951;
}

body[data-mrrtheme="night"] .rig-detail-page.rig-detail-owner-page .rig-detail-owner-recent-market > div,
body[data-mrrtheme="night"] .rig-detail-page.rig-detail-owner-page .rig-detail-owner-price-controls,
body[data-mrrtheme="night"] .rig-detail-page.rig-detail-owner-page .rig-detail-owner-status-chip {
  background: #2d3238;
  border-color: #424951;
}

body[data-mrrtheme="night"] .rig-detail-page.rig-detail-owner-page .rig-detail-owner-status-chip.is-enabled {
  background: rgba(49, 184, 116, 0.14);
  border-color: rgba(49, 184, 116, 0.34);
  color: #8ee0b6;
}

body[data-mrrtheme="night"] .rig-detail-page.rig-detail-owner-page .rig-detail-owner-status-chip.is-disabled {
  background: rgba(211, 87, 87, 0.16);
  border-color: rgba(211, 87, 87, 0.36);
  color: #f0a2a2;
}

body[data-mrrtheme="night"] .rig-detail-page.rig-detail-owner-page .rig-detail-owner-price-controls .form-group {
  border-bottom-color: #3a4148;
}

body[data-mrrtheme="night"] .rig-detail-page.rig-detail-owner-page .rig-detail-owner-market-signals strong {
  color: #edf2f7;
}

body[data-mrrtheme="night"] .rig-detail-page.rig-detail-owner-page .rig-detail-owner-coin-header h3,
body[data-mrrtheme="night"] .rig-detail-page.rig-detail-owner-page .rig-detail-owner-price-controls-head h4,
body[data-mrrtheme="night"] .rig-detail-page.rig-detail-owner-page .rig-detail-owner-recent-market strong {
  color: #edf2f7;
}

body[data-mrrtheme="night"] .rig-detail-page.rig-detail-owner-page .rig-detail-owner-market-signals span,
body[data-mrrtheme="night"] .rig-detail-page.rig-detail-owner-page .rig-detail-owner-market-signals small,
body[data-mrrtheme="night"] .rig-detail-page.rig-detail-owner-page .rig-detail-owner-coin-eyebrow,
body[data-mrrtheme="night"] .rig-detail-page.rig-detail-owner-page .rig-detail-owner-price-controls-head span,
body[data-mrrtheme="night"] .rig-detail-page.rig-detail-owner-page .rig-detail-owner-recent-market span,
body[data-mrrtheme="night"] .rig-detail-page.rig-detail-owner-page .rig-detail-owner-coin-header p,
body[data-mrrtheme="night"] .rig-detail-page.rig-detail-owner-page .rig-detail-owner-price-note,
body[data-mrrtheme="night"] .rig-detail-page.rig-detail-owner-page .rig-detail-owner-price-controls .control-label {
  color: #a0aab4;
}

body[data-mrrtheme="night"] .rig-detail-page.rig-detail-owner-page .rig-detail-owner-price-controls .form-control[disabled] {
  background: #252a30;
  color: #cbd3dc;
}

@media (max-width: 1199px) {
  .rig-detail-page.rig-detail-owner-page .rig-detail-owner-market-signals,
  .rig-detail-page.rig-detail-owner-page .rig-detail-owner-market-signals-pricing,
  .rig-detail-page.rig-detail-owner-page .rig-detail-owner-recent-market {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 767px) {
  .rig-detail-page.rig-detail-owner-page .rig-detail-owner-coin-header {
    display: block;
  }

  .rig-detail-page.rig-detail-owner-page .rig-detail-owner-coin-status-row {
    justify-content: flex-start;
    margin-top: 10px;
    min-width: 0;
  }

  .rig-detail-page.rig-detail-owner-page .rig-detail-owner-price-controls .control-label {
    padding-top: 0;
  }
}

@media (max-width: 520px) {
  .rig-detail-page.rig-detail-owner-page .rig-detail-owner-market-signals,
  .rig-detail-page.rig-detail-owner-page .rig-detail-owner-market-signals-pricing,
  .rig-detail-page.rig-detail-owner-page .rig-detail-owner-recent-market {
    grid-template-columns: 1fr;
  }
}
body > .popover,
body > .popover .popover-content,
body > .popover .popover-content *,
body > .tooltip,
body > .tooltip .tooltip-inner {
  font-size: 13px;
  font-style: normal;
  font-weight: 400;
  letter-spacing: 0;
  line-height: 1.45;
  text-transform: none;
}

body > .popover .popover-title {
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1.3;
  text-transform: none;
}

/* Rig owner pool floating controls */
.rig-detail-page.rig-detail-owner-page .rig-detail-owner-pool-panel,
.rig-detail-page.rig-detail-owner-page .rig-detail-owner-pool-panel > .box-content,
.rig-detail-page.rig-detail-owner-page .rig-detail-owner-pool-widget-frame,
.rig-detail-page.rig-detail-owner-page #rigPoolWidget.pool-widget,
.rig-detail-page.rig-detail-owner-page #rigPoolWidget.pool-widget .pool-widget-pool-item,
.rig-detail-owner-pool-modal .modal-dialog,
.rig-detail-owner-pool-modal .modal-content,
.rig-detail-owner-pool-modal .modal-body {
  overflow: visible;
}

.rig-detail-page.rig-detail-owner-page #rigPoolWidget.pool-widget .bootstrap-select.open,
.rig-detail-owner-pool-modal .bootstrap-select.open {
  position: relative;
  z-index: 2050;
}

.rig-detail-page.rig-detail-owner-page #rigPoolWidget.pool-widget .bootstrap-select .dropdown-menu,
.rig-detail-owner-pool-modal .bootstrap-select .dropdown-menu {
  max-width: min(680px, calc(100vw - 32px));
  z-index: 2050;
}

.rig-detail-page.rig-detail-owner-page #rigPoolWidget.pool-widget .bootstrap-select .dropdown-menu.inner,
.rig-detail-owner-pool-modal .bootstrap-select .dropdown-menu.inner {
  max-width: 100%;
}

/* Rig owner pricing warning heading contrast */
.rig-detail-page.rig-detail-owner-page #rigc_price h4.text-error,
body[data-mrrtheme="dark"] .rig-detail-page.rig-detail-owner-page #rigc_price h4.text-error,
body[data-mrrtheme="night"] .rig-detail-page.rig-detail-owner-page #rigc_price h4.text-error {
  color: #a94442 !important;
}

/* Rig owner night tabs shell tone */
body[data-mrrtheme="night"] .rig-detail-page.rig-detail-owner-page .rig-detail-owner-tabs-shell {
  background: #24282d;
  border-color: #3a4148;
  box-shadow: none;
}

/* Rig owner dark tabs shell tone */
body[data-mrrtheme="dark"] .rig-detail-page.rig-detail-owner-page .rig-detail-owner-tabs-shell {
  background: #eef1f4;
  border-color: #cfd7df;
  box-shadow: none;
}

/* Rig owner accepted refresh pass */
.rig-detail-page.rig-detail-owner-page .rig-detail-owner-form-section-heading {
  background: #f6f9fc;
  border: 1px solid #e1e8f0;
  border-left: 4px solid #2a7ae2;
  border-radius: 8px;
  margin: 12px 0 8px;
  padding: 10px 12px;
}

.rig-detail-page.rig-detail-owner-page .rig-detail-owner-form-section-heading:first-child {
  margin-top: 0;
}

.rig-detail-page.rig-detail-owner-page .rig-detail-owner-form-section-heading span {
  color: #203246;
  display: block;
  font-size: 13px;
  font-weight: 800;
  line-height: 1.25;
}

.rig-detail-page.rig-detail-owner-page .rig-detail-owner-form-section-heading small {
  color: #6a7480;
  display: block;
  font-size: 11px;
  font-weight: 700;
  line-height: 1.35;
  margin-top: 2px;
}

.rig-detail-page.rig-detail-owner-page .rig-detail-owner-communication-hero {
  align-items: stretch;
  background: #f6f9fc;
  border: 1px solid #e1e8f0;
  border-radius: 8px;
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: space-between;
  margin-bottom: 12px;
  padding: 12px 14px;
}

.rig-detail-page.rig-detail-owner-page .rig-detail-owner-communication-hero h3 {
  color: #203246;
  font-size: 18px;
  font-weight: 800;
  line-height: 1.25;
  margin: 2px 0 4px;
}

.rig-detail-page.rig-detail-owner-page .rig-detail-owner-communication-hero p {
  color: #5f6f82;
  font-size: 13px;
  line-height: 1.45;
  margin: 0;
}

.rig-detail-page.rig-detail-owner-page .rig-detail-owner-communication-eyebrow,
.rig-detail-page.rig-detail-owner-page .rig-detail-owner-communication-meta span,
.rig-detail-page.rig-detail-owner-page .rig-detail-owner-activity-summary span {
  color: #6a7480;
  display: block;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0;
  line-height: 1.25;
  text-transform: uppercase;
}

.rig-detail-page.rig-detail-owner-page .rig-detail-owner-communication-meta,
.rig-detail-page.rig-detail-owner-page .rig-detail-owner-activity-summary {
  display: grid;
  gap: 8px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.rig-detail-page.rig-detail-owner-page .rig-detail-owner-communication-meta {
  flex: 0 1 420px;
  min-width: 280px;
}

.rig-detail-page.rig-detail-owner-page .rig-detail-owner-communication-meta > div,
.rig-detail-page.rig-detail-owner-page .rig-detail-owner-activity-summary > div {
  background: #fff;
  border: 1px solid #dbe5ef;
  border-radius: 8px;
  min-width: 0;
  padding: 9px 11px;
}

.rig-detail-page.rig-detail-owner-page .rig-detail-owner-communication-meta strong,
.rig-detail-page.rig-detail-owner-page .rig-detail-owner-activity-summary strong {
  color: #203246;
  display: block;
  font-size: 15px;
  font-weight: 800;
  line-height: 1.25;
  margin-top: 2px;
  overflow-wrap: anywhere;
}

.rig-detail-page.rig-detail-owner-page .rig-detail-owner-message-row {
  padding-top: 0;
}

.rig-detail-page.rig-detail-owner-page .rig-detail-owner-communication-panel .chat > .col-sm-12 {
  padding-left: 0;
  padding-right: 0;
}

.rig-detail-page.rig-detail-owner-page .rig-detail-owner-communication-panel .chat .box {
  background: transparent;
  border: 0;
  box-shadow: none;
  margin-bottom: 12px;
}

.rig-detail-page.rig-detail-owner-page .rig-detail-owner-communication-panel .chat .box-content {
  background: transparent;
  border: 0;
  padding: 0;
}

.rig-detail-page.rig-detail-owner-page .rig-detail-owner-communication-panel #chatscroll {
  background: #f8fafc;
  border: 1px solid #e1e8f0;
  border-radius: 8px;
  padding: 12px;
}

.rig-detail-page.rig-detail-owner-page .rig-detail-owner-communication-panel .list-unstyled {
  margin-bottom: 0;
}

.rig-detail-page.rig-detail-owner-page .rig-detail-owner-communication-panel li.message {
  background: #fff;
  border: 1px solid #dbe5ef;
  border-radius: 8px;
  margin-bottom: 10px;
  padding: 10px 12px;
}

.rig-detail-page.rig-detail-owner-page .rig-detail-owner-communication-panel .name-and-time {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: space-between;
  margin: 0 0 8px !important;
}

.rig-detail-page.rig-detail-owner-page .rig-detail-owner-communication-panel .name.pull-left,
.rig-detail-page.rig-detail-owner-page .rig-detail-owner-communication-panel .time.pull-right,
.rig-detail-page.rig-detail-owner-page .rig-detail-owner-communication-panel .date.pull-right {
  float: none !important;
}

.rig-detail-page.rig-detail-owner-page .rig-detail-owner-communication-panel .body {
  color: #314559;
  line-height: 1.5;
  overflow-wrap: anywhere;
}

.rig-detail-page.rig-detail-owner-page .rig-detail-owner-communication-panel textarea.form-control {
  border-radius: 8px;
  min-height: 130px;
}

.rig-detail-page.rig-detail-owner-page .rig-detail-owner-activity-summary {
  margin-bottom: 12px;
}

.rig-detail-page.rig-detail-owner-page .rig-detail-owner-activity-panel .dataTables_wrapper,
.rig-detail-page.rig-detail-owner-page .rig-detail-owner-activity-panel #riglisthistory {
  background: #fff;
  border: 1px solid #e3ebf3;
  border-radius: 8px;
  padding: 10px;
}

.rig-detail-page.rig-detail-owner-page .rig-detail-owner-activity-panel #riglisthistory table,
.rig-detail-page.rig-detail-owner-page .rig-detail-owner-activity-panel #ownrtxn1 {
  border: 0;
  margin-bottom: 0 !important;
}

.rig-detail-page.rig-detail-owner-page .rig-detail-owner-activity-panel table > thead > tr > th {
  background: #f4f7fa;
  border-bottom: 1px solid #dfe7ef;
  color: #536170;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.rig-detail-page.rig-detail-owner-page .rig-detail-owner-activity-panel table > tbody > tr > td {
  border-top-color: #edf1f5;
  color: #314559;
  vertical-align: middle;
}

body[data-mrrtheme="dark"] .rig-detail-page.rig-detail-owner-page .rig-detail-owner-form-section-heading,
body[data-mrrtheme="dark"] .rig-detail-page.rig-detail-owner-page .rig-detail-owner-communication-hero,
body[data-mrrtheme="dark"] .rig-detail-page.rig-detail-owner-page .rig-detail-owner-communication-panel #chatscroll,
body[data-mrrtheme="dark"] .rig-detail-page.rig-detail-owner-page .rig-detail-owner-activity-panel .dataTables_wrapper,
body[data-mrrtheme="dark"] .rig-detail-page.rig-detail-owner-page .rig-detail-owner-activity-panel #riglisthistory {
  background: #eef1f4;
  border-color: #d7dde4;
}

body[data-mrrtheme="dark"] .rig-detail-page.rig-detail-owner-page .rig-detail-owner-communication-meta > div,
body[data-mrrtheme="dark"] .rig-detail-page.rig-detail-owner-page .rig-detail-owner-activity-summary > div,
body[data-mrrtheme="dark"] .rig-detail-page.rig-detail-owner-page .rig-detail-owner-communication-panel li.message {
  background: #f7f8fa;
  border-color: #d7dde4;
}

body[data-mrrtheme="dark"] .rig-detail-page.rig-detail-owner-page .rig-detail-owner-form-section-heading span,
body[data-mrrtheme="dark"] .rig-detail-page.rig-detail-owner-page .rig-detail-owner-communication-hero h3,
body[data-mrrtheme="dark"] .rig-detail-page.rig-detail-owner-page .rig-detail-owner-communication-meta strong,
body[data-mrrtheme="dark"] .rig-detail-page.rig-detail-owner-page .rig-detail-owner-activity-summary strong {
  color: #203246;
}

body[data-mrrtheme="dark"] .rig-detail-page.rig-detail-owner-page .rig-detail-owner-form-section-heading small,
body[data-mrrtheme="dark"] .rig-detail-page.rig-detail-owner-page .rig-detail-owner-communication-hero p,
body[data-mrrtheme="dark"] .rig-detail-page.rig-detail-owner-page .rig-detail-owner-communication-eyebrow,
body[data-mrrtheme="dark"] .rig-detail-page.rig-detail-owner-page .rig-detail-owner-communication-meta span,
body[data-mrrtheme="dark"] .rig-detail-page.rig-detail-owner-page .rig-detail-owner-activity-summary span,
body[data-mrrtheme="dark"] .rig-detail-page.rig-detail-owner-page .rig-detail-owner-communication-panel .body {
  color: #5f6f82;
}

body[data-mrrtheme="night"] .rig-detail-page.rig-detail-owner-page .rig-detail-owner-form-section-heading,
body[data-mrrtheme="night"] .rig-detail-page.rig-detail-owner-page .rig-detail-owner-communication-hero,
body[data-mrrtheme="night"] .rig-detail-page.rig-detail-owner-page .rig-detail-owner-communication-panel #chatscroll,
body[data-mrrtheme="night"] .rig-detail-page.rig-detail-owner-page .rig-detail-owner-activity-panel .dataTables_wrapper,
body[data-mrrtheme="night"] .rig-detail-page.rig-detail-owner-page .rig-detail-owner-activity-panel #riglisthistory {
  background: #252a30;
  border-color: #424951;
}

body[data-mrrtheme="night"] .rig-detail-page.rig-detail-owner-page .rig-detail-owner-communication-meta > div,
body[data-mrrtheme="night"] .rig-detail-page.rig-detail-owner-page .rig-detail-owner-activity-summary > div,
body[data-mrrtheme="night"] .rig-detail-page.rig-detail-owner-page .rig-detail-owner-communication-panel li.message {
  background: #2d3238;
  border-color: #424951;
}

body[data-mrrtheme="night"] .rig-detail-page.rig-detail-owner-page .rig-detail-owner-form-section-heading span,
body[data-mrrtheme="night"] .rig-detail-page.rig-detail-owner-page .rig-detail-owner-communication-hero h3,
body[data-mrrtheme="night"] .rig-detail-page.rig-detail-owner-page .rig-detail-owner-communication-meta strong,
body[data-mrrtheme="night"] .rig-detail-page.rig-detail-owner-page .rig-detail-owner-activity-summary strong {
  color: #edf2f7;
}

body[data-mrrtheme="night"] .rig-detail-page.rig-detail-owner-page .rig-detail-owner-form-section-heading small,
body[data-mrrtheme="night"] .rig-detail-page.rig-detail-owner-page .rig-detail-owner-communication-hero p,
body[data-mrrtheme="night"] .rig-detail-page.rig-detail-owner-page .rig-detail-owner-communication-eyebrow,
body[data-mrrtheme="night"] .rig-detail-page.rig-detail-owner-page .rig-detail-owner-communication-meta span,
body[data-mrrtheme="night"] .rig-detail-page.rig-detail-owner-page .rig-detail-owner-activity-summary span,
body[data-mrrtheme="night"] .rig-detail-page.rig-detail-owner-page .rig-detail-owner-communication-panel .body {
  color: #a0aab4;
}

body[data-mrrtheme="night"] .rig-detail-page.rig-detail-owner-page .rig-detail-owner-activity-panel table > thead > tr > th {
  background: #24282d;
  border-bottom-color: #424951;
  color: #a0aab4;
}

body[data-mrrtheme="night"] .rig-detail-page.rig-detail-owner-page .rig-detail-owner-activity-panel table > tbody > tr > td {
  border-top-color: #3a4148;
  color: #d8dde2;
}

@media (max-width: 767px) {
  .rig-detail-page.rig-detail-owner-page .rig-detail-owner-communication-meta,
  .rig-detail-page.rig-detail-owner-page .rig-detail-owner-activity-summary {
    grid-template-columns: 1fr;
  }
}
.rig-detail-page.rig-detail-owner-page .rig-detail-owner-activity-summary small {
  color: #6a7480;
  display: block;
  font-size: 11px;
  font-weight: 700;
  line-height: 1.25;
  margin-top: 2px;
}
body[data-mrrtheme="night"] .rig-detail-page.rig-detail-owner-page .rig-detail-owner-activity-summary small {
  color: #a0aab4;
}

/* Password and PIN recovery pages */
.reset-recovery-page .reset-recovery-shell {
  float: none;
  margin-left: auto;
  margin-right: auto;
}

.reset-recovery-page .page-header {
  margin-bottom: 18px;
}

.reset-recovery-page .page-header h1 {
  display: flex;
  float: none !important;
  font-size: 32px;
  font-weight: 700;
  margin: 0;
}

.reset-recovery-page .reset-recovery-intro {
  color: #6a7480;
  font-size: 15px;
  line-height: 1.6;
  margin: 10px 0 0;
  max-width: 680px;
}

.reset-recovery-page .reset-recovery-status {
  margin-bottom: 18px;
}

.reset-recovery-page .reset-recovery-status .alert {
  border-radius: 12px;
  margin-bottom: 0;
  padding: 14px 16px;
}

.reset-recovery-page .reset-recovery-card {
  border: 1px solid #dbe5ef;
  border-radius: 16px;
  box-shadow: 0 12px 28px rgba(32, 50, 70, 0.08);
  margin-bottom: 18px;
  overflow: hidden;
}

.reset-recovery-page .reset-recovery-card .header-box {
  background: #fafcff;
  border-bottom: 1px solid #e3ebf3;
  padding: 0;
}

.reset-recovery-page .reset-recovery-card .header-box .title {
  color: #203246;
  font-size: 20px;
  font-weight: 700;
  line-height: 1.35;
  padding: 20px 24px;
}

.reset-recovery-page .reset-recovery-card > .box-content {
  background: #fafcff;
  border: 0;
  padding: 24px;
}

.reset-recovery-page .reset-recovery-form .form-group {
  margin-bottom: 20px;
}

.reset-recovery-page .reset-recovery-form .control-label {
  color: #314559;
  font-size: 13px;
  font-weight: 700;
  padding-top: 10px;
}

.reset-recovery-page .reset-recovery-form .form-control {
  border-color: #cbd8e5;
  border-radius: 8px;
  box-shadow: none;
  min-height: 40px;
}

.reset-recovery-page .reset-recovery-form .form-control:focus {
  border-color: #209cee;
  box-shadow: 0 0 0 3px rgba(32, 156, 238, 0.14);
}

.reset-recovery-page .reset-recovery-field-help {
  color: #6a7480;
  font-size: 13px;
  line-height: 1.5;
  margin: 8px 0 0;
}

.reset-recovery-page .reset-recovery-link {
  color: #1f72c5;
  font-weight: 700;
}

.reset-recovery-page .reset-recovery-form .form-actions {
  border-top: 1px solid #e3ebf3;
  margin: 4px -24px -24px;
  padding: 18px 24px;
}

.reset-recovery-page .reset-recovery-form .btn-primary {
  border-radius: 8px;
  font-weight: 700;
  min-width: 168px;
}

body[data-mrrtheme="dark"] .reset-recovery-page .reset-recovery-intro,
body[data-mrrtheme="dark"] .reset-recovery-page .reset-recovery-field-help {
  color: #5f6f82;
}

body[data-mrrtheme="dark"] .reset-recovery-page .reset-recovery-card {
  border-color: #cfd7df;
  box-shadow: 0 10px 24px rgba(31, 53, 72, 0.08);
}

body[data-mrrtheme="dark"] .reset-recovery-page .reset-recovery-card .header-box,
body[data-mrrtheme="dark"] .reset-recovery-page .reset-recovery-card > .box-content {
  background: #eef1f4;
}

body[data-mrrtheme="dark"] .reset-recovery-page .reset-recovery-card .header-box,
body[data-mrrtheme="dark"] .reset-recovery-page .reset-recovery-form .form-actions {
  border-color: #cfd7df;
}

body[data-mrrtheme="dark"] .reset-recovery-page .reset-recovery-card .header-box .title,
body[data-mrrtheme="dark"] .reset-recovery-page .reset-recovery-form .control-label {
  color: #203246;
}

body[data-mrrtheme="dark"] .reset-recovery-page .reset-recovery-form .form-control {
  background: #f8fafc;
  border-color: #c7d0da;
  color: #203246;
}

body[data-mrrtheme="night"] .reset-recovery-page .reset-recovery-intro,
body[data-mrrtheme="night"] .reset-recovery-page .reset-recovery-field-help {
  color: #a0aab4;
}

body[data-mrrtheme="night"] .reset-recovery-page .reset-recovery-card {
  border-color: #3a4148;
  box-shadow: 0 12px 26px rgba(0, 0, 0, 0.3);
}

body[data-mrrtheme="night"] .reset-recovery-page .reset-recovery-card .header-box,
body[data-mrrtheme="night"] .reset-recovery-page .reset-recovery-card > .box-content {
  background: #24282d;
}

body[data-mrrtheme="night"] .reset-recovery-page .reset-recovery-card .header-box,
body[data-mrrtheme="night"] .reset-recovery-page .reset-recovery-form .form-actions {
  border-color: #3a4148;
}

body[data-mrrtheme="night"] .reset-recovery-page .reset-recovery-card .header-box .title,
body[data-mrrtheme="night"] .reset-recovery-page .reset-recovery-form .control-label {
  color: #eef2f5;
}

body[data-mrrtheme="night"] .reset-recovery-page .reset-recovery-form .form-control {
  background: #2d3238;
  border-color: #424951;
  color: #edf2f7;
}

body[data-mrrtheme="night"] .reset-recovery-page .reset-recovery-link {
  color: #65b7f3;
}

@media (max-width: 767px) {
  .reset-recovery-page .page-header h1 {
    font-size: 28px;
  }

  .reset-recovery-page .reset-recovery-card .header-box .title,
  .reset-recovery-page .reset-recovery-card > .box-content {
    padding-left: 16px;
    padding-right: 16px;
  }

  .reset-recovery-page .reset-recovery-form .control-label {
    padding-top: 0;
    text-align: left;
  }

  .reset-recovery-page .reset-recovery-form .form-actions {
    margin-left: -16px;
    margin-right: -16px;
    margin-bottom: -16px;
    padding: 16px;
  }

  .reset-recovery-page .reset-recovery-form .btn-primary {
    width: 100%;
  }
}

/* Login */
.login-page .login-shell {
  float: none;
  margin-left: auto;
  margin-right: auto;
}

.login-page .page-header {
  margin-bottom: 18px;
}

.login-page .page-header h1 {
  color: #203246;
  display: flex;
  float: none !important;
  font-size: 32px;
  font-weight: 700;
  margin: 0;
}

.login-page .login-intro {
  color: #6a7480;
  font-size: 15px;
  line-height: 1.6;
  margin: 10px 0 0;
  max-width: 680px;
}

.login-page .login-status {
  margin-bottom: 18px;
}

.login-page .login-status .alert {
  border-radius: 12px;
  margin-bottom: 0;
  padding: 14px 16px;
}

.login-page .login-card {
  background: #fafcff;
  border: 1px solid #dbe5ef;
  border-radius: 16px;
  box-shadow: 0 12px 28px rgba(32, 50, 70, 0.08);
  margin-bottom: 18px;
  overflow: hidden;
}

.login-page .login-card .header-box {
  background: #fafcff;
  border-bottom: 1px solid #e3ebf3;
  padding: 0;
}

.login-page .login-card .header-box .title {
  color: #203246;
  font-size: 20px;
  font-weight: 700;
  line-height: 1.35;
  padding: 20px 24px;
}

.login-page .login-card > .box-content {
  background: #fafcff;
  border: 0;
  color: #203246;
  padding: 24px;
}

.login-page .login-card-intro {
  color: #5e6d7d;
  font-size: 14px;
  line-height: 1.6;
  margin: 0 0 22px;
}

.login-page .login-form .form-group {
  margin-bottom: 20px;
}

.login-page .login-form .control-label {
  color: #314559;
  font-size: 13px;
  font-weight: 700;
  padding-top: 10px;
}

.login-page .login-form .control-label .btn {
  color: #5c7187;
  margin-left: 2px;
  padding: 1px 4px;
}

.login-page .login-form .form-control {
  background: #fff;
  border-color: #cbd8e5;
  border-radius: 8px;
  box-shadow: none;
  color: #203246;
  min-height: 40px;
}

.login-page .login-form .form-control:focus {
  border-color: #209cee;
  box-shadow: 0 0 0 3px rgba(32, 156, 238, 0.14);
}

.login-page .login-form .form-control::placeholder {
  color: #8795a5;
}

.login-page .login-field-help {
  color: #6a7480;
  font-size: 13px;
  line-height: 1.5;
  margin: 8px 0 0;
}

.login-page .login-static-value {
  color: #203246;
  font-size: 15px;
  font-weight: 700;
  padding-top: 9px;
}

.login-page .login-form .form-actions {
  border-top: 1px solid #e3ebf3;
  margin: 4px -24px 0;
  padding: 18px 24px;
}

.login-page .login-actions .btn-primary {
  border-radius: 8px;
  font-weight: 700;
  min-width: 168px;
}

.login-page .login-security-note {
  align-items: flex-start;
  background: #eef7ff;
  border: 1px solid #cfe5f7;
  border-radius: 10px;
  color: #314559;
  display: flex;
  gap: 12px;
  margin-bottom: 24px;
  padding: 14px 16px;
}

.login-page .login-security-note > i {
  color: #1f72c5;
  font-size: 20px;
  margin-top: 2px;
}

.login-page .login-security-note strong,
.login-page .login-security-note span {
  display: block;
}

.login-page .login-security-note strong {
  color: #203246;
  margin-bottom: 3px;
}

.login-page .login-security-note span {
  font-size: 13px;
  line-height: 1.45;
}

.login-page .login-cancel-form {
  border-top: 1px solid #e3ebf3;
  margin: 0 -24px -24px;
  padding: 18px 24px 24px;
}

.login-page .login-cancel-form .btn {
  border-radius: 8px;
}

.login-page .login-support-links {
  border-top: 1px solid #e3ebf3;
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(3, 1fr);
  margin: 0 -24px -24px;
  padding: 18px 24px 24px;
}

.login-page .login-support-links > a {
  align-items: center;
  background: #fff;
  border: 1px solid #dbe5ef;
  border-radius: 10px;
  color: #203246;
  display: flex;
  gap: 10px;
  min-height: 62px;
  padding: 11px 12px;
  text-decoration: none;
  transition: border-color 0.15s ease, box-shadow 0.15s ease, transform 0.15s ease;
}

.login-page .login-support-links > a:hover,
.login-page .login-support-links > a:focus {
  border-color: #209cee;
  box-shadow: 0 7px 16px rgba(32, 50, 70, 0.09);
  color: #1f72c5;
  outline: 0;
  transform: translateY(-1px);
}

.login-page .login-support-links > a > i {
  color: #209cee;
  flex: 0 0 20px;
  font-size: 18px;
  text-align: center;
}

.login-page .login-support-links span,
.login-page .login-support-links strong,
.login-page .login-support-links small {
  display: block;
}

.login-page .login-support-links strong {
  font-size: 13px;
  line-height: 1.35;
}

.login-page .login-support-links small {
  color: #738194;
  font-size: 11px;
  line-height: 1.35;
  margin-top: 2px;
}

@media (max-width: 767px) {
  .login-page .page-header h1 {
    font-size: 28px;
  }

  .login-page .login-card .header-box .title,
  .login-page .login-card > .box-content {
    padding-left: 16px;
    padding-right: 16px;
  }

  .login-page .login-form .control-label {
    padding-top: 0;
    text-align: left;
  }

  .login-page .login-form .form-actions {
    margin-left: -16px;
    margin-right: -16px;
    padding: 16px;
  }

  .login-page .login-actions .btn-primary,
  .login-page .login-cancel-form .btn {
    width: 100%;
  }

  .login-page .login-support-links {
    grid-template-columns: 1fr;
    margin-left: -16px;
    margin-right: -16px;
    margin-bottom: -16px;
    padding: 16px;
  }

  .login-page .login-cancel-form {
    margin-left: -16px;
    margin-right: -16px;
    margin-bottom: -16px;
    padding: 16px;
  }
}

/* Discord access interstitial */
.discord-join-page .discord-join-shell {
  float: none;
  margin-left: auto;
  margin-right: auto;
}

.discord-join-page .page-header {
  margin-bottom: 18px;
}

.discord-join-page .page-header h1 {
  display: flex;
  float: none !important;
  font-size: 32px;
  font-weight: 700;
  margin: 0;
}

.discord-join-page .discord-join-intro {
  color: #6a7480;
  font-size: 15px;
  line-height: 1.6;
  margin: 10px 0 0;
  max-width: 680px;
}

.discord-join-page .discord-join-card {
  border: 1px solid #dbe5ef;
  border-radius: 16px;
  box-shadow: 0 12px 28px rgba(32, 50, 70, 0.08);
  overflow: hidden;
}

.discord-join-page .discord-join-card .header-box {
  background: #fafcff;
  border-bottom: 1px solid #e3ebf3;
  padding: 0;
}

.discord-join-page .discord-join-card .header-box .title {
  color: #203246;
  font-size: 20px;
  font-weight: 700;
  line-height: 1.35;
  padding: 20px 24px;
}

.discord-join-page .discord-join-card > .box-content {
  background: #fafcff;
  border: 0;
  padding: 32px 24px;
}

.discord-join-page .discord-join-panel {
  margin: 0 auto;
  max-width: 460px;
  text-align: center;
}

.discord-join-page .discord-join-icon {
  align-items: center;
  background: #5865f2;
  border-radius: 50%;
  color: #fff;
  display: flex;
  font-size: 32px;
  height: 72px;
  justify-content: center;
  margin: 0 auto 18px;
  width: 72px;
}

.discord-join-page .discord-join-panel h2 {
  color: #203246;
  font-size: 22px;
  font-weight: 700;
  line-height: 1.35;
  margin: 0 0 8px;
}

.discord-join-page .discord-join-panel p {
  color: #6a7480;
  font-size: 15px;
  line-height: 1.55;
  margin: 0 0 22px;
}

.discord-join-page .discord-join-panel .btn-primary {
  border-radius: 8px;
  font-weight: 700;
  min-width: 190px;
}

body[data-mrrtheme="dark"] .discord-join-page .discord-join-intro,
body[data-mrrtheme="dark"] .discord-join-page .discord-join-panel p {
  color: #5f6f82;
}

body[data-mrrtheme="dark"] .discord-join-page .discord-join-card {
  border-color: #cfd7df;
  box-shadow: 0 10px 24px rgba(31, 53, 72, 0.08);
}

body[data-mrrtheme="dark"] .discord-join-page .discord-join-card .header-box,
body[data-mrrtheme="dark"] .discord-join-page .discord-join-card > .box-content {
  background: #eef1f4;
}

body[data-mrrtheme="dark"] .discord-join-page .discord-join-card .header-box {
  border-bottom-color: #cfd7df;
}

body[data-mrrtheme="dark"] .discord-join-page .discord-join-card .header-box .title,
body[data-mrrtheme="dark"] .discord-join-page .discord-join-panel h2 {
  color: #203246;
}

body[data-mrrtheme="night"] .discord-join-page .discord-join-intro,
body[data-mrrtheme="night"] .discord-join-page .discord-join-panel p {
  color: #a0aab4;
}

body[data-mrrtheme="night"] .discord-join-page .discord-join-card {
  border-color: #3a4148;
  box-shadow: 0 12px 26px rgba(0, 0, 0, 0.3);
}

body[data-mrrtheme="night"] .discord-join-page .discord-join-card .header-box,
body[data-mrrtheme="night"] .discord-join-page .discord-join-card > .box-content {
  background: #24282d;
}

body[data-mrrtheme="night"] .discord-join-page .discord-join-card .header-box {
  border-bottom-color: #3a4148;
}

body[data-mrrtheme="night"] .discord-join-page .discord-join-card .header-box .title,
body[data-mrrtheme="night"] .discord-join-page .discord-join-panel h2 {
  color: #eef2f5;
}

.withdraw-hold-confirm-page .withdraw-hold-confirm-notice {
  margin-bottom: 20px;
}

.withdraw-hold-confirm-page .withdraw-hold-confirm-notice p:last-child {
  margin-bottom: 0;
}

body[data-mrrtheme="dark"] .withdraw-hold-confirm-page .settings-confirm-box p {
  color: #5f6f82;
}

body[data-mrrtheme="night"] .withdraw-hold-confirm-page .settings-confirm-box p {
  color: #a0aab4;
}

@media (max-width: 767px) {
  .discord-join-page .page-header h1 {
    font-size: 28px;
  }

  .discord-join-page .discord-join-card .header-box .title,
  .discord-join-page .discord-join-card > .box-content {
    padding-left: 16px;
    padding-right: 16px;
  }

  .discord-join-page .discord-join-card > .box-content {
    padding-bottom: 24px;
    padding-top: 24px;
  }

  .discord-join-page .discord-join-panel .btn-primary {
    width: 100%;
  }
}
