@import url("https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600&family=Montserrat:wght@500;600;700&display=swap");

:root,
html[data-theme="light"],
html[data-theme="dark"] {
  --volt-black: #0a0a0a;
  --volt-surface: #151515;
  --volt-surface-raised: #2a2d31;
  --volt-muted: #8a8f98;
  --volt-white: #f5f5f5;
  --volt-blue: #2252ff;
  --volt-blue-hover: #4169ff;
  --volt-blue-text: #7c9aff;
  --volt-blue-soft: rgba(34, 82, 255, 0.12);
  --volt-blue-line: rgba(34, 82, 255, 0.38);
  --volt-border: rgba(245, 245, 245, 0.1);
  --volt-border-strong: rgba(245, 245, 245, 0.16);
  --primary: var(--volt-blue);
  --secondary: var(--volt-blue-hover);
  --accent: var(--volt-blue);
  --primary-fg: var(--volt-white);
  --body-bg: var(--volt-black);
  --body-fg: var(--volt-white);
  --body-quiet-color: var(--volt-muted);
  --body-loud-color: var(--volt-white);
  --header-bg: var(--volt-black);
  --header-color: var(--volt-white);
  --header-branding-color: var(--volt-white);
  --header-link-color: var(--volt-blue-text);
  --breadcrumbs-bg: var(--volt-surface);
  --breadcrumbs-fg: var(--volt-muted);
  --breadcrumbs-link-fg: var(--volt-blue-text);
  --link-fg: var(--volt-blue-text);
  --link-hover-color: var(--volt-white);
  --link-selected-fg: var(--volt-blue-text);
  --hairline-color: var(--volt-border);
  --border-color: var(--volt-border);
  --error-fg: #ff4d4d;
  --message-success-bg: var(--volt-blue-soft);
  --message-warning-bg: rgba(245, 183, 0, 0.12);
  --message-error-bg: rgba(255, 77, 77, 0.14);
  --darkened-bg: var(--volt-black);
  --selected-bg: var(--volt-blue-soft);
  --selected-row: rgba(34, 82, 255, 0.18);
}

html,
body {
  min-height: 100%;
}

body {
  font-family: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  background:
    radial-gradient(circle at 88% -8%, rgba(34, 82, 255, 0.13), rgba(34, 82, 255, 0) 34rem),
    var(--volt-black);
}

h1,
h2,
h3,
h4,
h5,
h6,
#site-name,
.module caption {
  font-family: "Montserrat", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  letter-spacing: 0.02em;
}

#header {
  border-bottom: 1px solid var(--volt-border);
  background: linear-gradient(180deg, var(--volt-surface) 0%, var(--volt-black) 100%);
}

.volt-branding {
  display: flex;
  align-items: center;
  gap: 14px;
}

.volt-brand-logo {
  width: 132px;
  height: auto;
  max-height: 44px;
  object-fit: contain;
  display: block;
}

#site-name {
  font-size: 16px;
  font-weight: 600;
}

#site-name a {
  color: var(--volt-white);
}

#user-tools a,
#logout-form button {
  color: var(--volt-white);
}

#breadcrumbs {
  border-top: 1px solid var(--volt-border);
  border-bottom: 1px solid var(--volt-border);
}

#content-related,
.module,
.inline-group,
.submit-row,
#changelist-filter,
#changelist .actions,
#changelist-form .paginator {
  border: 1px solid var(--volt-border);
  border-radius: 12px;
  background: linear-gradient(180deg, var(--volt-surface) 0%, var(--volt-black) 100%);
  box-shadow: none;
}

#content-related .module,
.dashboard .module,
.dashboard .module table {
  background: transparent;
  border: 0;
}

.volt-admin-sections {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.volt-admin-section-title {
  margin: 0 0 8px 0;
  padding: 0;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--volt-blue-text);
}

#nav-sidebar {
  border-right: 1px solid var(--volt-border);
  background: var(--volt-black);
}

#nav-filter {
  border-bottom: 1px solid var(--volt-border);
  background: var(--volt-surface);
}

#nav-sidebar .current-app .section:link,
#nav-sidebar .current-app .section:visited {
  color: var(--volt-blue-text);
}

#nav-sidebar td,
#nav-sidebar th {
  border-color: var(--volt-border);
}

.selector .selector-available h2,
.selector .selector-chosen h2 {
  background: var(--volt-surface);
  color: var(--volt-white);
  border-color: var(--volt-border-strong);
}

input[type="text"],
input[type="password"],
input[type="email"],
input[type="number"],
input[type="url"],
input[type="tel"],
input[type="search"],
input[type="date"],
input[type="datetime-local"],
textarea,
select,
.vTextField,
.vLargeTextField {
  border: 1px solid var(--volt-border-strong);
  border-radius: 10px;
  background: var(--volt-surface);
  color: var(--volt-white);
}

input:focus,
textarea:focus,
select:focus {
  border-color: var(--volt-blue-text);
  box-shadow: 0 0 0 3px rgba(34, 82, 255, 0.2);
}

a:link,
a:visited {
  color: var(--volt-blue-text);
}

a:hover,
a:active {
  color: var(--volt-white);
}

.viewlink,
.inlineviewlink {
  background-image: url("images/icon-viewlink.edf8fcf75168.svg");
}

.addlink {
  background-image: url("images/icon-addlink.5aa25535b042.svg");
}

.changelink,
.inlinechangelink {
  background-image: url("images/icon-changelink.f3eff731a591.svg");
}

.button,
input[type="submit"],
input[type="button"],
.submit-row input,
a.button,
.object-tools a:link,
.object-tools a:visited {
  border: 1px solid var(--volt-blue);
  border-radius: 10px;
  background: var(--volt-blue);
  color: var(--volt-white);
  font-family: "Montserrat", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  font-weight: 600;
}

.button:hover,
input[type="submit"]:hover,
input[type="button"]:hover,
.submit-row input:hover,
a.button:hover,
.object-tools a:hover,
.object-tools a:focus {
  background: var(--volt-blue-hover);
  border-color: var(--volt-blue-hover);
  color: var(--volt-white);
}

.object-tools .volt-action-btn {
  margin-left: 6px;
}

.volt-action-btn--approve {
  border-color: var(--volt-blue) !important;
  background: var(--volt-blue) !important;
  color: var(--volt-white) !important;
}

.volt-action-btn--approve:hover,
.volt-action-btn--approve:focus {
  border-color: var(--volt-blue-hover) !important;
  background: var(--volt-blue-hover) !important;
  color: var(--volt-white) !important;
}

.volt-action-btn--reject {
  border-color: #ff4d4d !important;
  background: #ff4d4d !important;
  color: #ffffff !important;
}

.volt-action-btn--reject:hover,
.volt-action-btn--reject:focus {
  border-color: #ff3535 !important;
  background: #ff3535 !important;
  color: #ffffff !important;
}

.volt-confirm-card {
  max-width: 760px;
  margin-top: 14px;
}

.volt-confirm-title {
  color: var(--volt-blue-text);
}

.volt-confirm-form textarea {
  min-height: 100px;
}

.volt-reason-row {
  padding-left: 8px;
}

.volt-reason-row label {
  margin-left: 6px;
}

.submit-row.volt-submit-row-extra {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 10px;
}

.submit-row.volt-submit-row-extra .volt-action-btn {
  min-width: 180px;
  padding: 12px 20px;
  font-size: 14px;
  line-height: 1.2;
  text-align: center;
}

.volt-commission-module {
  margin-top: 16px;
}

.volt-commission-form .form-row {
  display: grid;
  grid-template-columns: 1fr 1fr auto;
  gap: 12px;
  align-items: end;
}

.volt-commission-submit-wrap {
  display: flex;
  align-items: end;
}

.volt-commission-submit-wrap .button {
  min-width: 170px;
}

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

a.deletelink,
.button.deletelink,
input[type="submit"].deletelink {
  border-color: #ff4d4d;
  background: #ff4d4d;
  color: #ffffff;
}

a.deletelink:hover,
.button.deletelink:hover,
input[type="submit"].deletelink:hover {
  border-color: #ff3535;
  background: #ff3535;
}

body.change-list #changelist {
  border: 1px solid var(--volt-border);
  border-radius: 12px;
  background: linear-gradient(180deg, var(--volt-surface) 0%, var(--volt-black) 100%);
  padding: 12px;
}

body.change-list #changelist .results {
  border: 1px solid var(--volt-border);
  border-radius: 12px;
  background: var(--volt-surface);
  overflow-x: auto;
  overflow-y: hidden;
}

body.change-list #changelist #result_list {
  width: max-content;
  min-width: 100%;
  border-collapse: separate;
  border-spacing: 0;
}

body.change-list #changelist #result_list thead th {
  border-bottom: 1px solid var(--volt-border-strong);
  border-right: 1px solid var(--volt-border);
  background: var(--volt-surface);
  color: var(--volt-white);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 11px;
}

body.change-list #changelist #result_list thead th:last-child {
  border-right: 0;
}

body.change-list #changelist #result_list tbody td,
body.change-list #changelist #result_list tbody th {
  border-top: 0;
  border-bottom: 1px solid var(--volt-border);
  border-right: 1px solid var(--volt-border);
  background: rgba(21, 21, 21, 0.8);
  color: var(--volt-white);
  vertical-align: middle;
  padding: 10px 12px;
}

body.change-list #changelist #result_list tbody td:last-child,
body.change-list #changelist #result_list tbody th:last-child {
  border-right: 0;
}

body.change-list #changelist #result_list tbody tr:nth-child(odd) td,
body.change-list #changelist #result_list tbody tr:nth-child(odd) th {
  background: rgba(21, 21, 21, 0.92);
}

body.change-list #changelist #result_list tbody tr:hover td,
body.change-list #changelist #result_list tbody tr:hover th {
  background: rgba(34, 82, 255, 0.07);
}

body.change-list #changelist #result_list tbody tr:last-child td,
body.change-list #changelist #result_list tbody tr:last-child th {
  border-bottom: 0;
}

body.app-portal_models.model-clientmt4account.change-list #changelist #result_list td,
body.app-portal_models.model-clientmt4account.change-list #changelist #result_list th,
body.app-portal_models.model-clientprofile.change-list #changelist #result_list td,
body.app-portal_models.model-clientprofile.change-list #changelist #result_list th {
  white-space: nowrap;
}

body.change-list #changelist #toolbar,
body.change-list #changelist-filter {
  border: 1px solid var(--volt-border);
  border-radius: 10px;
  background: var(--volt-surface);
}

body.change-list #changelist-search input {
  min-height: 38px;
}

.volt-status-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 74px;
  padding: 4px 10px;
  border-radius: 999px;
  border: 1px solid var(--volt-surface-raised);
  background: var(--volt-border);
  color: var(--volt-white);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 10px;
  font-weight: 700;
}

.volt-status-badge--success {
  border-color: rgba(34, 82, 255, 0.55);
  background: rgba(34, 82, 255, 0.16);
  color: var(--volt-blue-text);
}

.volt-status-badge--error {
  border-color: rgba(255, 77, 77, 0.6);
  background: rgba(255, 77, 77, 0.16);
  color: #ffb7b7;
}

.volt-status-badge--neutral {
  border-color: rgba(138, 143, 152, 0.45);
  background: rgba(138, 143, 152, 0.12);
  color: var(--volt-muted);
}

.paginator a:link,
.paginator a:visited {
  border-radius: 8px;
  background: var(--volt-surface);
  border: 1px solid var(--volt-border-strong);
}

.paginator a:hover {
  border-color: var(--volt-blue-text);
}

ul.messagelist li {
  border: 1px solid var(--volt-border-strong);
  border-radius: 10px;
  background: var(--volt-blue-soft);
}

ul.messagelist li.warning {
  border-color: rgba(245, 183, 0, 0.5);
  background: rgba(245, 183, 0, 0.12);
}

ul.messagelist li.error {
  border-color: rgba(255, 77, 77, 0.6);
  background: rgba(255, 77, 77, 0.14);
}

.help,
p.help,
form .help {
  color: var(--volt-muted);
}

body.login {
  background:
    radial-gradient(900px 360px at 10% -8%, rgba(34, 82, 255, 0.18), rgba(34, 82, 255, 0)),
    radial-gradient(700px 320px at 100% 0%, rgba(34, 82, 255, 0.08), rgba(34, 82, 255, 0)),
    var(--volt-black);
}

.login #container {
  border: 0;
  background: transparent;
}

.login #content {
  border: 1px solid var(--volt-border);
  border-radius: 16px;
  background: linear-gradient(180deg, var(--volt-surface) 0%, var(--volt-black) 100%);
}

.login #content-main form {
  background: transparent;
}

.volt-invoice-pdf-modal {
  position: fixed;
  inset: 0;
  z-index: 1200;
  background: rgba(10, 10, 10, 0.75);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.volt-invoice-pdf-modal.is-open {
  display: flex;
}

.volt-invoice-pdf-dialog {
  width: min(1100px, 96vw);
  height: min(88vh, 860px);
  border: 1px solid var(--volt-border);
  border-radius: 14px;
  background: linear-gradient(180deg, var(--volt-surface) 0%, var(--volt-black) 100%);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.volt-invoice-pdf-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 12px;
  border-bottom: 1px solid var(--volt-border);
}

.volt-invoice-pdf-header > div {
  display: flex;
  gap: 8px;
}

.volt-invoice-pdf-header h2 {
  margin: 0;
  font-size: 15px;
  color: var(--volt-blue-text);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

#volt-invoice-pdf-frame,
#volt-invoice-html-frame {
  border: 0;
  width: 100%;
  height: 100%;
  background: #fff;
}

.volt-invoice-generate-wrap .module h2 {
  margin-bottom: 12px;
}

.volt-invoice-generate-wrap .help {
  margin-bottom: 16px;
}

.volt-invoice-email-module {
  margin-top: 16px;
}

.volt-invoice-open-email {
  font-size: 14px !important;
  font-weight: 700 !important;
  padding: 9px 18px !important;
  transform: translateY(-4px);
}

.volt-invoice-email-module h3 {
  margin: 14px 0 8px;
  color: var(--volt-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 12px;
}

.volt-invoice-email-history-wrap {
  overflow-x: auto;
}

.volt-invoice-email-history {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  min-width: 860px;
}

.volt-invoice-email-history th,
.volt-invoice-email-history td {
  padding: 9px 10px;
  border-bottom: 1px solid var(--volt-border);
  vertical-align: top;
}

.volt-invoice-email-history th {
  color: var(--volt-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 10px;
  white-space: nowrap;
}

.volt-invoice-email-history td {
  color: var(--volt-white);
  font-size: 12px;
}

.volt-invoice-email-dialog {
  height: auto;
  max-height: min(88vh, 780px);
}

.volt-invoice-email-body {
  padding: 14px;
  overflow-y: auto;
}

.volt-invoice-email-preview-actions {
  display: flex;
  gap: 10px;
  align-items: center;
  margin-bottom: 12px;
}

.volt-invoice-email-meta-title {
  margin: 10px 0 12px;
  color: var(--volt-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 12px;
}

.volt-invoice-email-form textarea {
  min-height: 120px;
}

.volt-invoice-email-status {
  min-height: 22px;
  margin: 8px 0 2px;
  font-size: 12px;
  line-height: 1.4;
}

.volt-invoice-email-status.is-loading {
  color: var(--volt-muted);
}

.volt-invoice-email-status.is-success {
  color: var(--volt-blue-text);
}

.volt-invoice-email-status.is-error {
  color: #ff6b6b;
}

.volt-invoice-send-btn {
  background: var(--volt-blue) !important;
  border-color: var(--volt-blue) !important;
  color: var(--volt-white) !important;
  font-size: 14px !important;
  font-weight: 800 !important;
  padding: 9px 18px !important;
}

.volt-invoice-send-btn:hover {
  background: var(--volt-blue-hover) !important;
  border-color: var(--volt-blue-hover) !important;
  color: var(--volt-white) !important;
}

.volt-invoice-close-btn {
  background: #ff4d4d !important;
  border-color: #ff4d4d !important;
  color: #ffffff !important;
  font-size: 14px !important;
  font-weight: 700 !important;
  padding: 9px 18px !important;
}

.volt-invoice-close-btn:hover {
  background: #e04040 !important;
  border-color: #e04040 !important;
  color: #ffffff !important;
}

.volt-financial-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 18px;
  align-items: end;
}

.volt-financial-filter-row {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 220px;
}

.volt-financial-filter-row input,
.volt-financial-filter-row select {
  width: 100%;
}

.volt-financial-table-wrap {
  overflow-x: auto;
}

.volt-financial-overview-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
}

.volt-financial-overview-table thead th {
  position: sticky;
  top: 0;
  z-index: 2;
  background: var(--volt-surface);
  border-bottom: 1px solid var(--volt-border);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 11px;
}

.volt-financial-overview-table th,
.volt-financial-overview-table td {
  padding: 10px 12px;
  vertical-align: top;
  border-bottom: 1px solid var(--volt-border);
}

.volt-financial-overview-table tbody tr.volt-fo-main-row:hover {
  background: rgba(34, 82, 255, 0.05);
}

.volt-fo-toggle-col {
  width: 86px;
  white-space: nowrap;
}

.volt-fo-expand-btn {
  border-color: var(--volt-border-strong) !important;
  background: var(--volt-surface) !important;
  color: var(--volt-white) !important;
  min-width: 68px;
  text-align: center;
  padding: 6px 10px;
}

.volt-fo-expand-btn:hover {
  border-color: var(--volt-blue) !important;
  background: var(--volt-blue) !important;
  color: var(--volt-white) !important;
}

.volt-fo-client-title {
  font-weight: 600;
  margin-bottom: 4px;
}

.volt-fo-meta {
  color: var(--volt-muted);
  font-size: 12px;
  line-height: 1.45;
}

.volt-fo-metric {
  font-size: 12px;
  color: var(--volt-white);
  line-height: 1.45;
}

.volt-fo-summary-link {
  display: block;
  text-decoration: none;
  border: 1px solid transparent;
  border-radius: 8px;
  padding: 6px 8px;
  margin: -6px -8px;
}

.volt-fo-summary-link:hover {
  text-decoration: none;
  border-color: var(--volt-blue-line);
  background: rgba(34, 82, 255, 0.08);
}

.volt-fo-summary-link .volt-fo-metric {
  color: var(--volt-white);
}

.volt-fo-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 6px;
}

.volt-fo-badge {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  font-size: 11px;
  line-height: 1;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 5px 8px;
  border: 1px solid var(--volt-border-strong);
  background: var(--volt-surface);
  color: var(--volt-white);
}

.volt-fo-badge--ok {
  border-color: rgba(34, 82, 255, 0.5);
  background: rgba(34, 82, 255, 0.14);
  color: var(--volt-blue-text);
}

.volt-fo-badge--warn {
  border-color: rgba(255, 77, 77, 0.5);
  background: rgba(255, 77, 77, 0.14);
  color: #ffc1c1;
}

.volt-fo-badge--payment {
  border-color: rgba(34, 82, 255, 0.5);
  color: var(--volt-blue-text);
}

.volt-fo-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.volt-fo-detail-row td {
  padding: 12px;
  background: rgba(21, 21, 21, 0.72);
}

.volt-fo-detail-panels {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}

.volt-fo-detail-panel {
  border: 1px solid var(--volt-border);
  border-radius: 10px;
  padding: 12px;
  background: rgba(21, 21, 21, 0.6);
}

.volt-fo-detail-panel h3 {
  margin: 0 0 10px 0;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  color: var(--volt-blue-text);
}

.volt-fo-nested-wrap {
  overflow-x: auto;
}

.volt-fo-nested-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  min-width: 760px;
}

.volt-fo-nested-table th,
.volt-fo-nested-table td {
  font-size: 12px;
  line-height: 1.4;
  padding: 8px 10px;
  border-bottom: 1px solid var(--volt-border);
  white-space: nowrap;
}

.volt-fo-nested-table th {
  color: var(--volt-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 10px;
}

.volt-fo-nested-table td code {
  color: var(--volt-muted);
  background: var(--volt-surface);
  border: 1px solid var(--volt-border);
  border-radius: 6px;
  padding: 1px 6px;
}

.volt-fo-empty {
  color: var(--volt-muted);
  font-size: 12px;
  padding: 6px 0;
}

@media (min-width: 1240px) {
  .volt-fo-detail-panels {
    grid-template-columns: 1fr 1fr;
  }
}

.volt-summary-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-bottom: 16px;
}

.volt-summary-card {
  min-height: 168px;
  padding: 20px 22px;
  border-radius: 24px;
  background:
    radial-gradient(420px 200px at 0% 0%, rgba(34, 82, 255, 0.08), rgba(34, 82, 255, 0)),
    linear-gradient(180deg, var(--volt-surface) 0%, var(--volt-black) 100%);
}

.volt-summary-label {
  color: var(--volt-muted);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 11px;
  font-weight: 700;
}

.volt-summary-value {
  margin-top: 14px;
  font-family: "Montserrat", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: clamp(34px, 4vw, 48px);
  font-weight: 700;
  line-height: 1;
  color: var(--volt-blue-text);
}

.volt-summary-note {
  margin-top: 14px;
  color: var(--volt-muted);
  font-size: 12px;
  line-height: 1.5;
}

.volt-live-status {
  margin-bottom: 16px;
  padding: 14px 16px;
  color: var(--volt-white);
  border-radius: 16px;
}

.volt-live-status.is-running {
  border-color: rgba(245, 183, 0, 0.45) !important;
  background: rgba(245, 183, 0, 0.1) !important;
  color: #f6d788;
}

.volt-live-status.is-complete {
  border-color: rgba(34, 82, 255, 0.4) !important;
  background: rgba(34, 82, 255, 0.08) !important;
  color: var(--volt-blue-text);
}

.volt-mt4core-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 18px;
  align-items: end;
}

.volt-mt4core-filter-row {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 240px;
}

.volt-mt4core-filter-row input {
  width: 100%;
}

.volt-mt4core-table-card {
  border-radius: 24px !important;
  background: linear-gradient(180deg, var(--volt-black) 0%, var(--volt-black) 100%) !important;
}

.volt-mt4core-table-wrap {
  overflow-x: auto;
}

.volt-mt4core-table {
  width: 100%;
  min-width: 1400px;
  table-layout: fixed;
  border-collapse: separate;
  border-spacing: 0;
}

.volt-mt4core-table thead th {
  padding: 11px 12px;
  border-bottom: 1px solid var(--volt-border);
  color: var(--volt-muted);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 10px;
  font-weight: 700;
  text-align: left;
  background: var(--volt-surface);
}

.volt-mt4core-table tbody td {
  padding: 12px;
  border-bottom: 1px solid var(--volt-border);
  color: var(--volt-white);
  font-size: 12px;
  line-height: 1.45;
  vertical-align: top;
  background: rgba(10, 10, 10, 0.95);
}

.volt-mt4core-table tbody tr:hover td {
  background: rgba(34, 82, 255, 0.05);
}

.volt-mt4core-break {
  word-break: break-word;
}

.volt-mt4core-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 88px;
  padding: 5px 10px;
  border-radius: 999px;
  border: 1px solid var(--volt-surface-raised);
  background: var(--volt-surface);
  color: var(--volt-white);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 10px;
  font-weight: 700;
}

.volt-mt4core-badge--success {
  border-color: rgba(34, 82, 255, 0.55);
  background: rgba(34, 82, 255, 0.14);
  color: var(--volt-blue-text);
}

.volt-mt4core-badge--error {
  border-color: rgba(255, 77, 77, 0.6);
  background: rgba(255, 77, 77, 0.14);
  color: #ffbbbb;
}

.volt-mt4core-badge--pending {
  border-color: rgba(240, 190, 72, 0.48);
  background: rgba(240, 190, 72, 0.12);
  color: #f4d07a;
}

.volt-mt4core-reason {
  margin-top: 6px;
  color: var(--volt-muted);
  font-size: 11px;
  line-height: 1.45;
}

.volt-actions-panel {
  position: relative;
  display: inline-flex;
  justify-content: flex-end;
  width: 100%;
}

.volt-actions-trigger {
  min-width: 88px;
  border-radius: 999px !important;
  background: var(--volt-surface) !important;
  border-color: var(--volt-border) !important;
  color: var(--volt-white) !important;
}

.volt-actions-trigger:hover,
.volt-actions-trigger:focus {
  background: var(--volt-blue) !important;
  border-color: var(--volt-blue) !important;
  color: var(--volt-white) !important;
}

.volt-actions-menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  z-index: 20;
  display: none;
  flex-direction: column;
  min-width: 160px;
  padding: 8px;
  border: 1px solid var(--volt-border);
  border-radius: 14px;
  background: linear-gradient(180deg, var(--volt-surface) 0%, var(--volt-black) 100%);
  box-shadow: 0 18px 32px rgba(0, 0, 0, 0.35);
}

.volt-actions-menu.is-open {
  display: flex;
}

.volt-actions-item {
  border: 0;
  border-radius: 10px;
  background: transparent;
  color: var(--volt-white);
  padding: 9px 10px;
  text-align: left;
  cursor: pointer;
  font-size: 12px;
}

.volt-actions-item:hover,
.volt-actions-item:focus {
  background: var(--volt-blue-soft);
  color: var(--volt-blue-text);
}

.volt-mt4core-empty {
  text-align: center;
  color: var(--volt-muted);
  padding: 28px 12px !important;
}

.volt-reconnect-modal {
  position: fixed;
  inset: 0;
  z-index: 1200;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: rgba(10, 10, 10, 0.8);
}

.volt-reconnect-modal.is-open {
  display: flex;
}

.volt-reconnect-dialog {
  width: min(680px, 100%);
  border: 1px solid var(--volt-border);
  border-radius: 18px;
  background: linear-gradient(180deg, var(--volt-surface) 0%, var(--volt-black) 100%);
  overflow: hidden;
}

.volt-reconnect-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 16px 18px;
  border-bottom: 1px solid var(--volt-border);
}

.volt-reconnect-header h2 {
  margin: 0;
  color: var(--volt-blue-text);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 14px;
}

.volt-reconnect-close {
  background: var(--volt-surface) !important;
  border-color: var(--volt-border) !important;
  color: var(--volt-white) !important;
}

.volt-reconnect-form {
  padding: 18px;
}

.volt-reconnect-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px 16px;
}

.volt-reconnect-grid .volt-mt4core-filter-row:first-child {
  grid-column: 1 / -1;
}

.volt-reconnect-checkbox {
  margin-top: 14px;
}

.volt-reconnect-checkbox label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.volt-reconnect-status {
  min-height: 22px;
  margin-top: 12px;
  color: var(--volt-muted);
  font-size: 12px;
  line-height: 1.4;
}

.volt-reconnect-status.is-loading {
  color: #d7bd74;
}

.volt-reconnect-status.is-success {
  color: var(--volt-blue-text);
}

.volt-reconnect-status.is-error {
  color: #ff9a9a;
}

@media (max-width: 1080px) {
  .volt-summary-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .volt-reconnect-grid {
    grid-template-columns: 1fr;
  }

  .volt-actions-menu {
    right: auto;
    left: 0;
  }
}
