/* Vidrush luxury divider cleanup: rely on rhythm and glass grouping. */
:root {
  --vr-lux-divider: rgba(255, 255, 255, .045);
  --vr-lux-row: rgba(255, 255, 255, .018);
}

hr {
  height: 1px !important;
  margin-block: 24px !important;
  border: 0 !important;
  background: var(--vr-lux-divider) !important;
  opacity: .8 !important;
}

.topbar {
  border-bottom-color: rgba(255, 255, 255, .055) !important;
}

.divider,
.composerFooter,
.formFooter,
.stepPanelIntro,
.stepPanelFooter,
.providerIntro,
.separated,
.lookCardActions,
.providerDetailActions,
.securityActions,
.mappingControl,
.resourceDetails,
.heygenActions,
.voiceSettingsDisclosure,
.voiceLibrary,
.unavailableRoutes,
.routingTestResults,
.jobEventList,
.jobRecoveryEvents,
.runpodExecutionMode,
.runpodEndpointSection,
.runpodUnsupportedControls,
.jobCostSummary,
.jobRuntimeDetailsPanel,
.nestedResourceList,
.ebookFormPanel,
.avatarProfileDivider {
  border-top-color: transparent !important;
  border-bottom-color: transparent !important;
}

.createFlowPage .creativeComposerFooter {
  border-top-color: var(--vr-lux-divider) !important;
}

.settingsTabs {
  border-bottom-color: var(--vr-lux-divider) !important;
}

.providerIntro,
.stepPanelIntro,
.stepPanelFooter,
.formFooter,
.securityActions,
.providerDetailActions,
.lookCardActions,
.mappingControl,
.resourceDetails,
.heygenActions,
.voiceSettingsDisclosure,
.voiceLibrary,
.unavailableRoutes,
.routingTestResults,
.jobEventList,
.jobRecoveryEvents,
.runpodExecutionMode,
.runpodEndpointSection,
.runpodUnsupportedControls,
.jobCostSummary,
.jobRuntimeDetailsPanel,
.nestedResourceList,
.ebookFormPanel {
  background-image: none !important;
}

.tableRow,
.stageRow,
.attempt,
.listRow,
.providerRow,
.outputOption,
.costRow,
.heygenActivityRow,
.heygenTaskRow,
.jobHeyGenTask,
.jobEventRow,
.unavailableRoute,
.testResult,
.jobConcurrencyRow,
.jobCostRow,
.jobAssetRow,
.planRouteRow,
.planCheckRow,
.avatarDefaultRow {
  border-top: 0 !important;
  border-bottom: 0 !important;
  border-color: transparent !important;
  border-radius: 14px !important;
  background: var(--vr-lux-row) !important;
  padding: 14px !important;
  margin-block: 6px !important;
}

.providerRow,
.tableRow,
.listRow {
  padding-block: 16px !important;
}

.stageRow,
.attempt,
.outputOption,
.costRow,
.heygenActivityRow,
.heygenTaskRow,
.jobHeyGenTask,
.jobEventRow,
.unavailableRoute,
.testResult,
.jobConcurrencyRow,
.jobCostRow,
.jobAssetRow,
.planRouteRow,
.planCheckRow,
.avatarDefaultRow {
  gap: 16px !important;
}

.tableRow:hover,
.listRow:hover,
.providerRow:hover,
.jobEventRow:hover,
.avatarDefaultRow:hover {
  background: rgba(255, 255, 255, .045) !important;
}

.stageRow + .stageRow,
.attempt + .attempt,
.outputOption + .outputOption,
.costRow + .costRow,
.heygenActivityRow + .heygenActivityRow,
.heygenTaskRow + .heygenTaskRow,
.jobHeyGenTask + .jobHeyGenTask,
.jobEventRow + .jobEventRow,
.providerRow + .providerRow,
.tableRow + .tableRow,
.listRow + .listRow,
.avatarDefaultRow + .avatarDefaultRow {
  margin-top: 8px !important;
}

.stageRow:last-child,
.outputOption:last-child,
.costRow:last-child,
.jobConcurrencyRow:last-child,
.jobCostRow:last-child,
.jobAssetRow:last-child,
.avatarDefaultRow:last-child {
  border-bottom: 0 !important;
}

.avatarProfileDivider {
  height: 0 !important;
  margin-block: 20px !important;
  background: transparent !important;
}

.avatarDefaultSection {
  border-bottom-color: transparent !important;
  padding-bottom: 8px !important;
}

.avatarDefaultSection + .avatarDefaultSection {
  margin-top: 24px !important;
}

.jobEventList,
.jobRecoveryEvents,
.voiceLibrary,
.unavailableRoutes,
.routingTestResults {
  gap: 12px !important;
  padding-top: 8px !important;
}

.settingsTabs button {
  border-bottom-color: transparent !important;
}

.settingsTabs button.active {
  border-bottom-color: rgba(104, 231, 255, .72) !important;
}

.outputSummaryGrid {
  border-top: 0 !important;
  gap: 12px !important;
}

.structureMixColumns > div > div {
  border-bottom: 0 !important;
  border-radius: 12px;
  padding: 12px !important;
  background: var(--vr-lux-row);
  margin-block: 6px;
}

@media (max-width: 760px) {
  .tableRow,
  .stageRow,
  .attempt,
  .listRow,
  .providerRow,
  .outputOption,
  .costRow,
  .heygenActivityRow,
  .heygenTaskRow,
  .jobHeyGenTask,
  .jobEventRow,
  .unavailableRoute,
  .testResult,
  .jobConcurrencyRow,
  .jobCostRow,
  .jobAssetRow,
  .planRouteRow,
  .planCheckRow,
  .avatarDefaultRow {
    padding: 14px 12px !important;
    margin-block: 5px !important;
  }

  .providerRow,
  .tableRow,
  .listRow {
    padding-block: 15px !important;
  }

  .jobEventList,
  .jobRecoveryEvents,
  .voiceLibrary,
  .unavailableRoutes,
  .routingTestResults {
    gap: 10px !important;
  }
}
