/* ==========================================================================
   MORAV1 WHITE & BLACK (MONOCHROME) DESIGN SYSTEM
   Universal 0px Sharp Corners & Pure Black/White Theme
   ========================================================================== */

/* Universal 0px Sharp Corners Mandate */
*, *::before, *::after,
[style*="borderRadius"],
[style*="border-radius"],
html body .ctrl-btn,
html body .ctrl-btn.ant-btn,
html body .ctrl-section-card,
html body .ctrl-section-card.ant-card,
html body .top-bar-btn,
html body .top-bar-btn.ant-btn,
html body .ant-btn, html body .ant-btn-primary, html body .ant-btn-default, html body .ant-btn-dangerous, html body .ant-btn-dashed,
html body .ant-tag, html body .ant-badge, html body .ant-badge-count, html body .ant-avatar,
html body .ant-input, html body .ant-input-affix-wrapper, html body .ant-select, html body .ant-select-selector,
html body .ant-radio-group, html body .ant-radio-button-wrapper, html body .ant-segmented, html body .ant-segmented-group,
html body .ant-pagination, html body .ant-pagination-item, html body .ant-pagination-prev, html body .ant-pagination-next,
html body .ant-card, html body .ant-card-head, html body .ant-card-body,
html body .ant-tabs, html body .ant-tabs-nav, html body .ant-tabs-tab, html body .ant-tabs-tab-btn, html body .ant-tabs-ink-bar,
html body .ant-tabs-dropdown-menu, html body .ant-tabs-dropdown-menu-item,
html body .ant-modal, html body .ant-modal-content, html body .ant-modal-header, html body .ant-modal-body, html body .ant-modal-footer,
html body .ant-dropdown-menu, html body .ant-dropdown-menu-item,
html body .ant-slider, html body .ant-slider-rail, html body .ant-slider-track, html body .ant-slider-handle,
html body #contact-kf-btn,
button, input, select, textarea, div, span, a, label, img, canvas, video {
  border-radius: 0px !important;
  -webkit-border-radius: 0px !important;
  -moz-border-radius: 0px !important;
}

/* 1. Global Page Background & Base Text (Pure Black & White) */
html, body, #root {
  background: #000000 !important;
  color: #FFFFFF !important;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif !important;
}

/* Standalone Device Shell */
div[style*="height: calc(100vh - 50px)"],
div[style*="height:calc(100vh - 50px)"] {
  background: #000000 !important;
}

/* 2. Top Header Bar Navigation & Badges (White & Black) */
div[style*="padding: 6px 14px"],
div[style*="padding:6px 14px"] {
  background: #0A0A0A !important;
  border-bottom: 1px solid #222222 !important;
}

.top-bar-btn,
.top-bar-btn.ant-btn {
  border-radius: 0px !important;
  height: 28px !important;
  box-shadow: none !important;
  text-shadow: none !important;
  font-size: 12px !important;
  font-weight: 500 !important;
}

.top-bar-btn.top-bar-default,
.top-bar-btn.top-bar-default.ant-btn {
  background: #141414 !important;
  border: 1px solid #2E2E2E !important;
  color: #CCCCCC !important;
  box-shadow: none !important;
}
.top-bar-btn.top-bar-default:not(:disabled):hover {
  background: #242424 !important;
  border-color: #555555 !important;
  color: #FFFFFF !important;
  box-shadow: none !important;
}

.top-bar-btn.top-bar-active,
.top-bar-btn.top-bar-active.ant-btn {
  background: #FFFFFF !important;
  border: 1px solid #FFFFFF !important;
  color: #000000 !important;
  font-weight: 600 !important;
  box-shadow: none !important;
}
.top-bar-btn.top-bar-active:not(:disabled):hover {
  background: #E5E5E5 !important;
  border-color: #E5E5E5 !important;
  color: #000000 !important;
}

.top-bar-btn.top-bar-purple,
.top-bar-btn.top-bar-purple.ant-btn {
  background: #181818 !important;
  border: 1px solid #383838 !important;
  color: #FFFFFF !important;
  box-shadow: none !important;
}
.top-bar-btn.top-bar-purple:not(:disabled):hover {
  background: #2A2A2A !important;
  border-color: #666666 !important;
  color: #FFFFFF !important;
}

.top-bar-btn.top-bar-red,
.top-bar-btn.top-bar-red.ant-btn {
  background: #141414 !important;
  border: 1px solid #7F1D1D !important;
  color: #EF4444 !important;
  box-shadow: none !important;
}
.top-bar-btn.top-bar-red:not(:disabled):hover {
  background: #DC2626 !important;
  border-color: #DC2626 !important;
  color: #FFFFFF !important;
}

/* Device selector & status tags in top bar */
.ant-tag {
  background: #141414 !important;
  border: 1px solid #2E2E2E !important;
  color: #CCCCCC !important;
  border-radius: 0px !important;
}

/* 3. Phone Frames & Screen Canvas */
div[style*="width"][style*="flexShrink: 0"][style*="flexDirection"] {
  background: #080808 !important;
  border: 1px solid #262626 !important;
  border-radius: 0px !important;
  box-shadow: none !important;
}
canvas, video {
  border-radius: 0px !important;
  background: #000000 !important;
}

/* Phone bottom text input and send button */
div[style*="justifyContent"][style*="background"][style*="borderRadius: 12"],
div[style*="justifyContent"][style*="background"][style*="borderRadius: 0"],
div[style*="justifyContent"][style*="background"] {
  background: #0E0E0E !important;
  border: 1px solid #262626 !important;
  border-radius: 0px !important;
  box-shadow: none !important;
}
input[placeholder*="???????????????"] {
  background: #000000 !important;
  border: 1px solid #333333 !important;
  color: #FFFFFF !important;
  border-radius: 0px !important;
}
input[placeholder*="???????????????"] + button {
  background: #FFFFFF !important;
  color: #000000 !important;
  border: 1px solid #FFFFFF !important;
  font-weight: 600 !important;
  border-radius: 0px !important;
}

/* 4. Middle Control Column & Buttons (White & Black) */
div[style*="width: 170"],
div[style*="width:170"],
div[style*="width: 0xaa"] {
  background: #080808 !important;
  border: 1px solid #222222 !important;
  box-shadow: none !important;
}

.ctrl-section-card.ant-card {
  background: #0E0E0E !important;
  border: 1px solid #262626 !important;
  border-radius: 0px !important;
  box-shadow: none !important;
  margin-bottom: 6px !important;
}
.ctrl-section-card .ant-card-head {
  min-height: 30px !important;
  background: #141414 !important;
  border-bottom: 1px solid #262626 !important;
  border-radius: 0px !important;
  padding: 0 8px !important;
}
.ctrl-section-card .ant-card-head-title {
  color: #FFFFFF !important;
  font-size: 12px !important;
  font-weight: 600 !important;
  padding: 4px 0 !important;
  letter-spacing: 0.04em !important;
}
.ctrl-section-card .ant-card-body {
  padding: 6px 4px !important;
  background: #0E0E0E !important;
  border-radius: 0px !important;
}

/* Control Buttons (.ctrl-btn) - Crisp White on Black */
.ctrl-btn,
.ctrl-btn.ant-btn,
.ctrl-btn.ant-btn-primary,
.ctrl-btn.ant-btn-dangerous,
.ctrl-btn.ant-btn-danger,
.ctrl-btn.ant-btn-default {
  width: 136px !important;
  height: 28px !important;
  border-radius: 0px !important;
  font-size: 12px !important;
  font-weight: 500 !important;
  letter-spacing: 0.3px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  box-shadow: none !important;
  text-shadow: none !important;
  transition: all 0.15s ease-in-out !important;
}

.ctrl-btn.ctrl-btn-default,
.ctrl-btn.ctrl-btn-default.ant-btn {
  background: #141414 !important;
  border: 1px solid #2E2E2E !important;
  color: #CCCCCC !important;
  box-shadow: none !important;
}
.ctrl-btn.ctrl-btn-default:not(:disabled):hover {
  background: #242424 !important;
  border-color: #555555 !important;
  color: #FFFFFF !important;
  box-shadow: none !important;
}

.ctrl-btn.ctrl-btn-cyan,
.ctrl-btn.ctrl-btn-cyan.ant-btn {
  background: #181818 !important;
  border: 1px solid #444444 !important;
  color: #FFFFFF !important;
  box-shadow: none !important;
}
.ctrl-btn.ctrl-btn-cyan:not(:disabled):hover {
  background: #FFFFFF !important;
  border-color: #FFFFFF !important;
  color: #000000 !important;
  font-weight: 600 !important;
  box-shadow: none !important;
}

.ctrl-btn.ctrl-btn-red,
.ctrl-btn.ctrl-btn-red.ant-btn {
  background: #141414 !important;
  border: 1px solid #7F1D1D !important;
  color: #EF4444 !important;
  box-shadow: none !important;
}
.ctrl-btn.ctrl-btn-red:not(:disabled):hover {
  background: #DC2626 !important;
  border-color: #DC2626 !important;
  color: #FFFFFF !important;
  box-shadow: none !important;
}

.ctrl-btn.ctrl-btn-lime,
.ctrl-btn.ctrl-btn-lime.ant-btn {
  background: #181818 !important;
  border: 1px solid #444444 !important;
  color: #FFFFFF !important;
  box-shadow: none !important;
}
.ctrl-btn.ctrl-btn-lime:not(:disabled):hover {
  background: #FFFFFF !important;
  border-color: #FFFFFF !important;
  color: #000000 !important;
  font-weight: 600 !important;
  box-shadow: none !important;
}

.ctrl-btn.ctrl-btn-purple,
.ctrl-btn.ctrl-btn-purple.ant-btn,
.ctrl-btn.ctrl-btn-orange,
.ctrl-btn.ctrl-btn-orange.ant-btn {
  background: #141414 !important;
  border: 1px solid #2E2E2E !important;
  color: #DDDDDD !important;
  box-shadow: none !important;
}
.ctrl-btn.ctrl-btn-purple:not(:disabled):hover,
.ctrl-btn.ctrl-btn-orange:not(:disabled):hover {
  background: #242424 !important;
  border-color: #555555 !important;
  color: #FFFFFF !important;
  box-shadow: none !important;
}

.ctrl-btn.ctrl-btn-black,
.ctrl-btn.ctrl-btn-black.ant-btn {
  background: #000000 !important;
  border: 1px solid #222222 !important;
  color: #666666 !important;
  box-shadow: none !important;
}

.ctrl-btn.ctrl-btn-mini,
.ctrl-btn.ctrl-btn-mini.ant-btn {
  width: 65px !important;
  border-radius: 0px !important;
}

/* 5. Right Content Area (White & Black) */
div[style*="flex: 1"][style*="overflow: auto"],
div[style*="flex: 1"][style*="overflow: hidden"],
div[style*="flex: 1; min-width: 0"],
div[style*="flex:1;min-width:0"] {
  background: #000000 !important;
}

/* Device Info Header Card */
div[style*="gridTemplateColumns"] {
  background: #0E0E0E !important;
  border: 1px solid #262626 !important;
  border-radius: 0px !important;
}

/* Tabs Navigation (White & Black) */
.ant-tabs-nav {
  margin-bottom: 10px !important;
}
.ant-tabs-tab {
  background: #141414 !important;
  border: 1px solid #2E2E2E !important;
  margin-right: 4px !important;
  padding: 5px 12px !important;
  font-size: 12px !important;
  border-radius: 0px !important;
  color: #888888 !important;
  box-shadow: none !important;
  transition: all 0.15s ease-in-out !important;
}
.ant-tabs-tab:hover {
  color: #FFFFFF !important;
  background: #222222 !important;
  border-color: #444444 !important;
}
.ant-tabs-tab.ant-tabs-tab-active {
  background: #FFFFFF !important;
  border-color: #FFFFFF !important;
}
.ant-tabs-tab.ant-tabs-tab-active .ant-tabs-tab-btn {
  color: #000000 !important;
  font-weight: 600 !important;
}
.ant-tabs-ink-bar {
  display: none !important;
}

/* Sub-panels (Data grab / snapshot) */
div[style*="????????????"],
div[style*="?????????"] {
  background: #0E0E0E !important;
  border: 1px solid #262626 !important;
  border-radius: 0px !important;
  box-shadow: none !important;
}

/* Wallet Injection Cards */
div[style*="22222"],
div[style*="????????????"],
div[style*="????????????"] {
  background: #141414 !important;
  border: 1px solid #2E2E2E !important;
  border-radius: 0px !important;
  box-shadow: none !important;
}
/* "??????" (Inject) buttons inside wallet cards */
.ant-card button,
div[style*="?????????"] button,
div[style*="22222"] button,
div[style*="????????????"] button,
div[style*="????????????"] button {
  background: #FFFFFF !important;
  color: #000000 !important;
  border: 1px solid #FFFFFF !important;
  font-weight: 600 !important;
  border-radius: 0px !important;
  box-shadow: none !important;
}
.ant-card button:hover,
div[style*="?????????"] button:hover {
  background: #E5E5E5 !important;
}

/* Camera Monitor Card */
div[style*="???????????????"] {
  background: #0E0E0E !important;
  border: 1px solid #262626 !important;
  border-radius: 0px !important;
}
div[style*="???????????????"] button {
  border-radius: 0px !important;
  box-shadow: none !important;
}

/* Information Record Form */
input.ant-input,
.ant-input-affix-wrapper,
.ant-select-selector {
  border-radius: 0px !important;
  border: 1px solid #333333 !important;
  background: #000000 !important;
  color: #FFFFFF !important;
}
input.ant-input:focus,
.ant-input-affix-wrapper-focused,
.ant-select-focused .ant-select-selector {
  border-color: #FFFFFF !important;
  box-shadow: none !important;
}
button[type="primary"],
.ant-btn-primary {
  background: #FFFFFF !important;
  border: 1px solid #FFFFFF !important;
  color: #000000 !important;
  font-weight: 600 !important;
  border-radius: 0px !important;
  box-shadow: none !important;
}
button[type="primary"]:hover,
.ant-btn-primary:hover {
  background: #E5E5E5 !important;
  border-color: #E5E5E5 !important;
  color: #000000 !important;
}

/* Floating Bottom-Right Button ("??????????????????") */
#contact-kf-btn,
button[style*="position: fixed"][style*="bottom:"],
div[style*="position: fixed"][style*="bottom:"] button {
  background: #141414 !important;
  border: 1px solid #333333 !important;
  color: #FFFFFF !important;
  border-radius: 0px !important;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.7) !important;
}
#contact-kf-btn:hover {
  background: #242424 !important;
  border-color: #555555 !important;
}
/* ==========================================================================
   APPLICATION LIST & TABLE DARK/MONOCHROME LAYOUT FIXES
   ========================================================================== */

/* Ensure Tabs and TabPanes in control panel fill the full height */
.control-tabs-wrapper {
  height: 100% !important;
  display: flex !important;
  flex-direction: column !important;
  flex: 1 1 auto !important;
  min-height: 0 !important;
  overflow: hidden !important;
  background: #0E0E0E !important;
  border: 1px solid #262626 !important;
  border-radius: 0px !important;
}

.control-tabs-wrapper > .ant-tabs {
  height: 100% !important;
  display: flex !important;
  flex-direction: column !important;
  flex: 1 1 auto !important;
  min-height: 0 !important;
  overflow: hidden !important;
}

.control-tabs-wrapper .ant-tabs-content-holder {
  display: flex !important;
  flex-direction: column !important;
  flex: 1 1 auto !important;
  height: 100% !important;
  min-height: 0 !important;
  overflow: hidden !important;
}

.control-tabs-wrapper .ant-tabs-content,
.control-tabs-wrapper .ant-tabs-content-top {
  display: flex !important;
  flex-direction: column !important;
  flex: 1 1 auto !important;
  height: 100% !important;
  min-height: 0 !important;
  overflow: hidden !important;
}

.control-tabs-wrapper .ant-tabs-tabpane,
.control-tabs-wrapper .ant-tabs-tabpane-active {
  display: flex !important;
  flex-direction: column !important;
  flex: 1 1 auto !important;
  height: 100% !important;
  min-height: 0 !important;
  overflow: hidden !important;
}

/* Application list inner container */
.control-tabs-wrapper .ant-tabs-tabpane > div[style*="height: 100%"],
.control-tabs-wrapper .ant-tabs-tabpane > div[style*="height:100%"],
.control-tabs-wrapper .ant-tabs-tabpane > div {
  height: 100% !important;
  display: flex !important;
  flex-direction: column !important;
  flex: 1 1 auto !important;
  min-height: 0 !important;
  overflow: hidden !important;
}

/* Application list table wrapper & container */
.control-tabs-wrapper .ant-table-wrapper {
  display: flex !important;
  flex-direction: column !important;
  flex: 1 1 auto !important;
  height: 100% !important;
  min-height: 280px !important;
}

.control-tabs-wrapper .ant-spin-nested-loading {
  display: flex !important;
  flex-direction: column !important;
  flex: 1 1 auto !important;
  height: 100% !important;
  min-height: 0 !important;
}

.control-tabs-wrapper .ant-spin-container {
  display: flex !important;
  flex-direction: column !important;
  flex: 1 1 auto !important;
  height: 100% !important;
  min-height: 0 !important;
}

/* Universal Ant Design Table Styling */
html body .control-tabs-wrapper .ant-table,
html body .ant-table {
  background: #0E0E0E !important;
  color: #E4E4E7 !important;
  border: 1px solid #262626 !important;
  border-radius: 0px !important;
  font-family: inherit !important;
}

html body .control-tabs-wrapper .ant-table-container,
html body .ant-table-container {
  background: #0E0E0E !important;
  border-radius: 0px !important;
  display: flex !important;
  flex-direction: column !important;
  flex: 1 1 auto !important;
  min-height: 0 !important;
}

html body .control-tabs-wrapper .ant-table-header,
html body .ant-table-header {
  background: #141414 !important;
  border-bottom: 1px solid #262626 !important;
  border-radius: 0px !important;
  flex-shrink: 0 !important;
}

html body .control-tabs-wrapper .ant-table-thead > tr > th,
html body .ant-table-thead > tr > th {
  background: #141414 !important;
  color: #FFFFFF !important;
  font-size: 12px !important;
  font-weight: 600 !important;
  padding: 8px 12px !important;
  border-bottom: 1px solid #262626 !important;
  border-right: 1px solid #262626 !important;
  border-radius: 0px !important;
}

html body .control-tabs-wrapper .ant-table-thead > tr > th::before {
  display: none !important;
}

html body .control-tabs-wrapper .ant-table-body,
html body .ant-table-body {
  background: #0A0A0A !important;
  flex: 1 1 auto !important;
  min-height: 220px !important;
}

html body .control-tabs-wrapper .ant-table-tbody > tr > td,
html body .ant-table-tbody > tr > td {
  background: #0A0A0A !important;
  color: #E4E4E7 !important;
  font-size: 12px !important;
  padding: 8px 12px !important;
  border-bottom: 1px solid #1E1E1E !important;
  border-right: 1px solid #1E1E1E !important;
  border-radius: 0px !important;
}

html body .control-tabs-wrapper .ant-table-tbody > tr:hover > td,
html body .ant-table-tbody > tr:hover > td,
html body .control-tabs-wrapper .ant-table-tbody > tr.ant-table-row:hover > td,
html body .ant-table-tbody > tr.ant-table-row:hover > td {
  background: #161616 !important;
}

html body .control-tabs-wrapper .ant-table-placeholder,
html body .ant-table-placeholder {
  background: #0A0A0A !important;
  border-bottom: 1px solid #262626 !important;
}

html body .control-tabs-wrapper .ant-table-placeholder .ant-table-cell,
html body .ant-table-placeholder .ant-table-cell {
  background: #0A0A0A !important;
  border-bottom: none !important;
  color: #A1A1AA !important;
  padding: 40px 16px !important;
}

html body .ant-empty,
html body .ant-empty-normal {
  color: #A1A1AA !important;
  margin: 32px 0 !important;
}

html body .ant-empty-description {
  color: #A1A1AA !important;
  font-size: 13px !important;
}

html body .ant-empty-image svg {
  fill: #3F3F46 !important;
}

/* Table scrollbars */
html body .ant-table-body::-webkit-scrollbar {
  width: 6px !important;
  height: 6px !important;
}
html body .ant-table-body::-webkit-scrollbar-track {
  background: #0A0A0A !important;
}
html body .ant-table-body::-webkit-scrollbar-thumb {
  background: #2E2E2E !important;
  border-radius: 0px !important;
}
html body .ant-table-body::-webkit-scrollbar-thumb:hover {
  background: #444444 !important;
}

/* Pagination bar at bottom of app list */
html body .control-tabs-wrapper div[style*="borderTop"],
html body .control-tabs-wrapper div[style*="border-top"] {
  border-top: 1px solid #262626 !important;
  background: #0E0E0E !important;
  margin-top: auto !important;
}

html body .ant-pagination .ant-pagination-item {
  background: #141414 !important;
  border: 1px solid #262626 !important;
  border-radius: 0px !important;
}
html body .ant-pagination .ant-pagination-item a {
  color: #A1A1AA !important;
}
html body .ant-pagination .ant-pagination-item-active {
  background: #FFFFFF !important;
  border-color: #FFFFFF !important;
}
html body .ant-pagination .ant-pagination-item-active a {
  color: #000000 !important;
  font-weight: 600 !important;
}
html body .ant-pagination .ant-pagination-prev .ant-pagination-item-link,
html body .ant-pagination .ant-pagination-next .ant-pagination-item-link {
  background: #141414 !important;
  border: 1px solid #262626 !important;
  color: #A1A1AA !important;
  border-radius: 0px !important;
}
html body .ant-pagination .ant-pagination-total-text {
  color: #A1A1AA !important;
}

/* ==========================================================================
   TRANSPARENT LOGIN CARD & REMOVE MARKED BADGES/CARDS
   ========================================================================== */
.login-card-3d {
  background: transparent !important;
  background-color: transparent !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  border: 1px solid rgba(255, 255, 255, 0.15) !important;
  box-shadow: none !important;
}

.login-card-container {
  background: transparent !important;
  background-color: transparent !important;
  box-shadow: none !important;
}

.top-rim-highlight {
  display: none !important;
}

.card-top-badge {
  display: none !important;
}

.hero-badge-3d {
  display: none !important;
}

.hero-features-3d,
.hero-feature-item-3d {
  display: none !important;
}

.card-3d-divider {
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.25), transparent) !important;
}


/* ==========================================================================
   RADIO BUTTONS, SEGMENTED CONTROLS & MODAL DIALOGS (HIGH CONTRAST & 0PX CORNERS)
   Prevents black-on-black or white-on-white text in all states
   ========================================================================== */

/* 1. Ant Design Radio Group & Radio Button Wrappers */
html body .ant-radio-group {
  border-radius: 0px !important;
  display: inline-flex !important;
  border: 1px solid #27272A !important;
  background: #0E0E0E !important;
  box-shadow: none !important;
}

html body .ant-radio-button-wrapper {
  background: #141414 !important;
  border: 1px solid #27272A !important;
  border-left: none !important;
  color: #CCCCCC !important;
  font-size: 13px !important;
  font-weight: 500 !important;
  border-radius: 0px !important;
  box-shadow: none !important;
  transition: all 0.15s ease !important;
  height: 32px !important;
  line-height: 30px !important;
}

html body .ant-radio-button-wrapper:first-child {
  border-left: 1px solid #27272A !important;
}

html body .ant-radio-button-wrapper:not(:first-child)::before {
  display: none !important;
}

html body .ant-radio-button-wrapper:hover {
  background: #242424 !important;
  border-color: #555555 !important;
  color: #FFFFFF !important;
}

/* Checked Radio Button: High-contrast White Background with Black Bold Text */
html body .ant-radio-button-wrapper-checked:not(.ant-radio-button-wrapper-disabled),
html body .ant-radio-button-wrapper-checked:not(.ant-radio-button-wrapper-disabled):hover {
  background: #FFFFFF !important;
  border-color: #FFFFFF !important;
  color: #000000 !important;
  font-weight: 700 !important;
  box-shadow: none !important;
  z-index: 1 !important;
}

html body .ant-radio-button-wrapper-checked .ant-radio-button {
  color: #000000 !important;
}

/* Standard Ant Radio (Round circles) */
html body .ant-radio-wrapper {
  color: #E4E4E7 !important;
  font-size: 13px !important;
}
html body .ant-radio-inner {
  background-color: #141414 !important;
  border-color: #52525B !important;
  border-radius: 0px !important;
}
html body .ant-radio-checked .ant-radio-inner {
  background-color: #FFFFFF !important;
  border-color: #FFFFFF !important;
}
html body .ant-radio-checked .ant-radio-inner::after {
  background-color: #000000 !important;
  border-radius: 0px !important;
}

/* 2. Segmented Controls */
html body .ant-segmented {
  background: #0E0E0E !important;
  border: 1px solid #27272A !important;
  border-radius: 0px !important;
  padding: 2px !important;
  color: #CCCCCC !important;
}

html body .ant-segmented-group {
  border-radius: 0px !important;
}

html body .ant-segmented-item {
  color: #A1A1AA !important;
  border-radius: 0px !important;
  font-size: 12px !important;
  font-weight: 500 !important;
  transition: all 0.15s ease !important;
}

html body .ant-segmented-item:hover {
  color: #FFFFFF !important;
  background: #1F1F23 !important;
}

html body .ant-segmented-item-selected {
  background: #FFFFFF !important;
  color: #000000 !important;
  font-weight: 700 !important;
  border-radius: 0px !important;
  box-shadow: none !important;
}

html body .ant-segmented-item-selected .ant-segmented-item-label {
  color: #000000 !important;
}

html body .ant-segmented-thumb {
  background: #FFFFFF !important;
  border-radius: 0px !important;
}

/* 3. Modal Dialog Content & Overlays */
html body .ant-modal-mask {
  background-color: rgba(0, 0, 0, 0.75) !important;
  backdrop-filter: blur(2px) !important;
}

html body .ant-modal-content {
  background: #121214 !important;
  border: 1px solid #2E2E32 !important;
  color: #FFFFFF !important;
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.9) !important;
  border-radius: 0px !important;
  padding: 20px 24px !important;
}

html body .ant-modal-header {
  background: #121214 !important;
  border-bottom: 1px solid #26262B !important;
  margin-bottom: 16px !important;
  padding-bottom: 12px !important;
  border-radius: 0px !important;
}

html body .ant-modal-title {
  color: #FFFFFF !important;
  font-size: 15px !important;
  font-weight: 600 !important;
  letter-spacing: 0.02em !important;
}

html body .ant-modal-close {
  color: #A1A1AA !important;
  top: 14px !important;
  right: 14px !important;
  border-radius: 0px !important;
  transition: all 0.15s ease !important;
}

html body .ant-modal-close:hover {
  color: #FFFFFF !important;
  background: #27272A !important;
}

html body .ant-modal-body {
  background: transparent !important;
  color: #E4E4E7 !important;
  font-size: 13px !important;
}

html body .ant-modal-footer {
  background: #121214 !important;
  border-top: 1px solid #26262B !important;
  margin-top: 16px !important;
  padding-top: 12px !important;
  border-radius: 0px !important;
}

/* Modal Form Items, Labels & Typography */
html body .ant-modal .ant-typography,
html body .ant-modal span.ant-typography {
  color: #D4D4D8 !important;
}

html body .ant-modal .ant-typography-secondary {
  color: #A1A1AA !important;
}

html body .ant-modal .ant-form-item-label > label {
  color: #E4E4E7 !important;
}

/* Modal card sections inside APK configuration dialog */
html body .ant-modal div[style*="borderRadius: 8"],
html body .ant-modal div[style*="border-radius: 8px"],
html body .ant-modal div[style*="background"] {
  border-radius: 0px !important;
}

/* Modal Cancel / Secondary Buttons */
html body .ant-modal .ant-modal-footer .ant-btn:not(.ant-btn-primary),
html body .ant-modal-footer .ant-btn-default {
  background: #18181B !important;
  border: 1px solid #3F3F46 !important;
  color: #E4E4E7 !important;
  border-radius: 0px !important;
  font-weight: 500 !important;
  height: 32px !important;
  box-shadow: none !important;
}

html body .ant-modal .ant-modal-footer .ant-btn:not(.ant-btn-primary):hover,
html body .ant-modal-footer .ant-btn-default:hover {
  background: #27272A !important;
  border-color: #71717A !important;
  color: #FFFFFF !important;
}

/* Modal Primary Button ("????????????") */
html body .ant-modal .ant-modal-footer .ant-btn-primary {
  background: #2563EB !important;
  border: 1px solid #2563EB !important;
  color: #FFFFFF !important;
  border-radius: 0px !important;
  font-weight: 600 !important;
  height: 32px !important;
  box-shadow: none !important;
}

html body .ant-modal .ant-modal-footer .ant-btn-primary:hover {
  background: #1D4ED8 !important;
  border-color: #1D4ED8 !important;
  color: #FFFFFF !important;
}

