/* App Component Styles - Using Enablers Design System */
#root {
  width: 100vw;
  height: 100vh;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  font-family: var(--he-body-font);
  background-color: var(--he-color-body-background);
  color: var(--he-type-primary);
}
/* Error Boundary Styles - Using Enablers Design System */
.error-boundary {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 400px;
  padding: var(--he-spacing-2x-large);
  background-color: var(--he-color-red-50);
  border: var(--he-form-control-border-width) solid var(--he-color-red-200);
  border-radius: var(--he-border-radius-large);
  margin: var(--he-spacing-medium);
}

.error-boundary__content {
  max-width: 500px;
  text-align: center;
}

.error-boundary__title {
  color: var(--he-color-red-700);
  font-size: var(--he-font-size-x-large);
  font-weight: var(--he-font-weight-semibold);
  font-family: var(--he-heading-font);
  line-height: var(--he-line-height-x-large);
  margin-bottom: var(--he-spacing-medium);
}

.error-boundary__message {
  color: var(--he-type-secondary);
  font-size: var(--he-font-size-medium);
  line-height: var(--he-line-height-normal);
  margin-bottom: var(--he-spacing-x-large);
}

.error-boundary__details {
  margin: var(--he-spacing-medium) 0;
  text-align: left;
}

.error-boundary__details summary {
  cursor: pointer;
  color: var(--he-type-secondary);
  font-weight: var(--he-font-weight-semibold);
  font-size: var(--he-font-size-medium);
  margin-bottom: var(--he-spacing-x-small);
}

.error-boundary__stack {
  background-color: var(--he-color-surface-background);
  border: var(--he-form-control-border-width) solid
    var(--he-form-control-border-color);
  border-radius: var(--he-border-radius-medium);
  padding: var(--he-spacing-medium);
  font-size: var(--he-font-size-small);
  font-family: var(--he-font-mono);
  color: var(--he-type-primary);
  white-space: pre-wrap;
  overflow-x: auto;
  max-height: 300px;
  overflow-y: auto;
}

.error-boundary__actions {
  display: flex;
  gap: var(--he-spacing-medium);
  justify-content: center;
  flex-wrap: wrap;
}

.error-boundary__retry-btn,
.error-boundary__reload-btn {
  padding: var(--he-spacing-small) var(--he-spacing-x-large);
  border: var(--he-form-control-border-width) solid transparent;
  border-radius: var(--he-border-radius-large);
  font-size: var(--he-form-control-font-size);
  font-weight: var(--he-font-weight-semibold);
  font-family: var(--he-form-control-font-family);
  cursor: pointer;
  transition: all 0.2s ease-in-out;
  min-height: var(--he-form-control-height);
}

.error-boundary__retry-btn {
  background-color: var(--he-accent-fill-rest);
  color: var(--he-type-on-accent);
}

.error-boundary__retry-btn:hover {
  background-color: var(--he-accent-fill-hover);
}

.error-boundary__retry-btn:active {
  background-color: var(--he-accent-fill-active);
}

.error-boundary__reload-btn {
  background-color: var(--he-neutral-fill-rest);
  color: var(--he-type-primary);
  border-color: var(--he-form-control-border-color);
}

.error-boundary__reload-btn:hover {
  background-color: var(--he-neutral-fill-hover);
  border-color: var(--he-form-control-border-color-hover);
}

.error-boundary__reload-btn:active {
  background-color: var(--he-neutral-fill-active);
}

.error-boundary__retry-btn:focus,
.error-boundary__reload-btn:focus {
  outline: var(--he-focus-ring);
  outline-offset: 2px;
}

/* Responsive design using enablers breakpoints */
@media (max-width: 640px) {
  .error-boundary {
    padding: var(--he-spacing-medium);
    margin: var(--he-spacing-x-small);
  }

  .error-boundary__actions {
    flex-direction: column;
  }

  .error-boundary__retry-btn,
  .error-boundary__reload-btn {
    width: 100%;
  }
}
/* Layout Component Styles */

/* Page Title Styling */
.layout-page-title {
  margin-bottom: var(--he-spacing-large);
}

/* Page Banner Styling */
.layout-page-banner {
    margin-bottom: var(--he-spacing-large);
}

/* Main content area styling */
.layout-main-content {
  display: flex;
  flex-direction: column;
  gap: var(--he-spacing-medium);
}
/* VettingSubwayProgress Component Styles */

.vetting-subway-progress {
  display: flex;
  flex-direction: column;
  gap: var(--he-spacing-large);
  width: 100%;
}

/* Stop Details */
.stop-details {
  margin-top: var(--he-spacing-small);
  font-size: var(--he-font-size-caption);
  color: var(--he-color-text-secondary);
  line-height: var(--he-line-height-caption);
}

/* Pending Action Styles */
.pending-action {
  display: flex;
  align-items: center;
  gap: var(--he-spacing-x-small);
}

.pending-action-icon {
  color: var(--he-color-text-warning);
  font-size: var(--he-font-size-caption);
  flex-shrink: 0;
}

.pending-action-text {
  color: var(--he-color-text-secondary);
  font-weight: var(--he-font-weight-medium);
}

/* State-specific Styles */
.vetting-subway-progress.loading {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 200px;
}

.loading-message {
  color: var(--he-color-text-secondary);
  font-size: var(--he-font-size-body);
}

.vetting-subway-progress.error {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--he-spacing-medium);
  padding: var(--he-spacing-large);
  border: 1px solid var(--he-color-border-danger);
  border-radius: var(--he-border-radius-medium);
  background-color: var(--he-color-background-danger-subtle);
}

.error-message {
  color: var(--he-color-text-danger);
  font-size: var(--he-font-size-body);
  text-align: center;
}

.retry-button {
  padding: var(--he-spacing-small) var(--he-spacing-large);
  border: 1px solid var(--he-color-border-primary);
  border-radius: var(--he-border-radius-small);
  background-color: var(--he-color-background-primary);
  color: var(--he-color-text-on-color);
  font-size: var(--he-font-size-body);
  cursor: pointer;
  transition: all 0.2s ease;
}

.retry-button:hover {
  background-color: var(--he-color-background-primary-hover);
}

.vetting-subway-progress.unsupported {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100px;
  padding: var(--he-spacing-large);
  border: 1px solid var(--he-color-border-neutral);
  border-radius: var(--he-border-radius-medium);
  background-color: var(--he-color-background-neutral-subtle);
}

.unsupported-message {
  color: var(--he-color-text-secondary);
  font-size: var(--he-font-size-body);
  text-align: center;
}

/* Accessibility */

.retry-button:focus {
  outline: 2px solid var(--he-color-border-focus);
  outline-offset: 2px;
}

/* High Contrast Mode */
@media (prefers-contrast: high) {
  .retry-button {
    border-width: 2px;
  }
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
  .retry-button {
    transition: none;
  }
}

/* Focus Management */
.vetting-subway-progress:focus-within {
  outline: none;
}

/* Loading Animation */
@keyframes pulse {
  0%, 100% {
    opacity: 1;
  }
  50% {
    opacity: 0.6;
  }
}

.loading-message {
  animation: pulse 2s infinite;
}

@media (prefers-reduced-motion: reduce) {
  .loading-message {
    animation: none;
  }
}

/* Error State Animation */
@keyframes shake {
  0%, 100% {
    transform: translateX(0);
  }
  25% {
    transform: translateX(-5px);
  }
  75% {
    transform: translateX(5px);
  }
}

.vetting-subway-progress.error {
  animation: shake 0.5s ease-in-out;
}

@media (prefers-reduced-motion: reduce) {
  .vetting-subway-progress.error {
    animation: none;
  }
}

/* Print Styles */
@media print {
  .retry-button {
    display: none;
  }
  
  .loading-message,
  .error-message {
    color: #000 !important;
  }
}/**
 * DocumentUpload Component Styles
 */

._container_1ollo_9 {
  max-width: 100%;
  margin: 0;
  padding: 0;
  background-color: transparent;
}

._instructions_1ollo_23 {
  margin-bottom: var(--he-spacing-large);
}

._instructionsText_1ollo_31 {
  margin: 0;
  line-height: 1.5;
  color: #555;
  text-align: left;
}

._formGroup_1ollo_45 {
  margin-bottom: var(--he-spacing-medium);
}

._combobox_1ollo_53 {
  margin-bottom: var(--he-spacing-medium);
}

._messageBar_1ollo_61 {
  margin-top: var(--he-spacing-medium);
  margin-bottom: var(--he-spacing-medium);
}

._uploadInfo_1ollo_71 {
  margin: 0 0 var(--he-spacing-small);
}

._uploadInfoLast_1ollo_79 {
  margin: 0;
}

._selectedFile_1ollo_87 {
  margin-top: var(--he-spacing-small);
  padding: var(--he-spacing-small);
  background-color: var(--he-color-neutral-25);
  border-radius: var(--he-border-radius-small);
  border: 1px solid var(--he-color-neutral-300);
  font-weight: 500;
  color: var(--he-color-neutral-600);
}

._selectedFileContainer_1ollo_107 {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--he-spacing-medium);
  margin-top: var(--he-spacing-small);
  padding: var(--he-spacing-small);
  background-color: var(--he-color-neutral-25);
  border-radius: var(--he-border-radius-small);
  border: 1px solid var(--he-color-neutral-300);
}

._removeButton_1ollo_131 {
  flex-shrink: 0;
  min-width: auto;
  width: 32px;
  height: 32px;
  padding: 0;
  border-radius: 50%;
  border: none;
  background-color: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--he-color-neutral-600);
}

._removeButton_1ollo_131:hover {
  background-color: var(--he-color-neutral-100);
  color: var(--he-color-neutral-700);
}

._submitButton_1ollo_173 {
  width: auto;
  min-width: 150px;
  padding: var(--he-spacing-small) var(--he-spacing-large);
  font-weight: 500;
  margin-top: var(--he-spacing-small);
}

._submitButton_1ollo_173:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}
/* Program Verification Resolve Panel Styles */

.program-verification-resolve-panel {
  --size: var(--he-panel-size-medium);
}

.resolve-panel-content {
  display: flex;
  flex-direction: column;
  gap: var(--he-spacing-medium);
  height: 100%;
}

.resolve-panel-header {
  border-bottom: 1px solid var(--he-color-neutral-200);
  padding-bottom: var(--he-spacing-medium);
}

.resolve-actions {
  display: flex;
  flex-direction: column;
  gap: var(--he-spacing-small);
}

.resolve-actions button {
  width: 100%;
  justify-content: flex-start;
}

.resolve-info {
  padding: var(--he-spacing-medium);
  background-color: var(--he-color-neutral-50);
  border-radius: var(--he-border-radius-medium);
  border-left: 4px solid var(--he-color-blue-500);
  margin-top: var(--he-spacing-medium);
}

/* Document Upload Section Styles */
.document-upload-section {
  display: flex;
  flex-direction: column;
  gap: var(--he-spacing-medium);
}

/* Error State Styles */
.error-state-container {
  display: flex;
  flex-direction: column;
  gap: var(--he-spacing-medium);
  padding: var(--he-spacing-medium);
}

.error-message-bar {
  margin-bottom: var(--he-spacing-medium);
}

.warning-message-bar {
  margin-bottom: var(--he-spacing-medium);
}

.conversation-error-message-bar {
  margin-bottom: var(--he-spacing-medium);
}

.resolve-panel-upload {
  /* Override DocumentUpload styles for panel integration */
  padding: 0;
  background: transparent;
  box-shadow: none;
  border-radius: 0;
}

.resolve-panel-upload .document-upload h3 {
  display: none; /* Hide the title as we have our own header */
}

.upload-success-content {
  display: flex;
  flex-direction: column;
  gap: var(--he-spacing-small);
  padding: var(--he-spacing-large);
  background-color: var(--he-color-success-50);
  border-radius: var(--he-border-radius-medium);
  border-left: 4px solid var(--he-color-success-500);
  text-align: center;
}

/* Loading State Styles */
.loading-state-container {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: var(--he-spacing-large);
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .program-verification-resolve-panel {
    --size: 100vw;
  }
  
  .resolve-panel-upload {
    font-size: 0.875rem;
  }
}

/* Extra small screens adjustments */
@media (max-height: 300px) {
  .program-verification-resolve-panel {
    --footer-padding-y: 5px;
    --footer-padding-x: 5px;
  }
}
/* ProgramVerificationDetailsPage.css */
/* Minimal styling - let harmony components handle the design */

.page-header {
  margin-bottom: var(--he-spacing-medium);
}

/* Main content sections */
.verification-progress,
.program-details {
  max-width: 100vw;
}

.details-content {
  padding: var(--he-spacing-medium);
}

/* Section container styling */
.verification-status-section {
  margin-bottom: var(--he-spacing-2x-large);
}

/* Details header styling (reused from parent, but component-specific) */
.verification-status-section .details-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* VettingSubwayProgress integration */
.page-verification-subway {
  width: 100%;
  margin: 0;
}

.verification-progress .page-verification-subway {
  /* Ensure the subway aligns properly within the progress section */
  display: block;
}

/* Responsive design */
@media (max-width: 768px) {
  .verification-progress,
  .program-details {
    max-width: 100%;
  }

  .details-content {
    padding: var(--he-spacing-small);
  }
}

/* Details section styling to match Partner Center design */
.details-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.update-link {
  background: none;
  border: none;
  color: var(--he-color-primary);
  cursor: pointer;
  text-decoration: none;
  font-size: var(--he-font-size-small);
  display: flex;
  align-items: center;
  gap: var(--he-spacing-x-small);
}

.update-link:hover {
  text-decoration: underline;
}

.detail-group {
  margin-bottom: var(--he-spacing-large);
}

.detail-row {
  display: flex;
  margin-bottom: var(--he-spacing-medium);
  align-items: flex-start;
}

.detail-label {
  font-weight: var(--he-font-weight-semibold) !important;
  min-width: 200px;
  margin-right: var(--he-spacing-medium);
  flex-shrink: 0;
}

.detail-value {
  flex: 1;
  display: flex;
  gap: var(--he-spacing-x-small);
}

.help-links {
  display: flex;
  gap: var(--he-spacing-medium);
}

.help-link {
  color: var(--he-color-primary);
  text-decoration: none;
  font-size: var(--he-font-size-small);
}

.help-link:hover {
  text-decoration: underline;
}

.primary-link {
  color: var(--he-color-primary);
  text-decoration: none;
  font-weight: var(--he-font-weight-medium);
}

.primary-link:hover {
  text-decoration: underline;
}

.detail-section {
  margin-bottom: var(--he-spacing-x-large);
}

.section-title {
  font-weight: var(--he-font-weight-semibold) !important;
  margin-bottom: var(--he-spacing-medium) !important;
  color: var(--he-color-text-primary);
}

.meta-info {
  margin-top: var(--he-spacing-x-large);
  padding-top: var(--he-spacing-medium);
  border-top: 1px solid var(--he-color-neutral-200);
}

.meta-info > * {
  margin-bottom: var(--he-spacing-small);
}

.meta-info > *:last-child {
  margin-bottom: 0;
}

/* Hoverable icon styles for tooltips */
.hoverable-info-icon {
  color: var(--he-color-primary-600);
  cursor: pointer;
  transition: color 0.25s ease-in-out, transform 0.15s ease-in-out;
  margin-left: var(--he-spacing-x-small);
}

.hoverable-info-icon:hover {
  color: var(--he-accent-foreground-hover);
  transform: scale(1.1);
}

.detail-label-with-info {
  display: flex;
  align-items: center;
}
/* VerificationStatus.css */
/* Styling for the VerificationStatus component */

/* Content container styling */
.verification-status-content {
  display: flex;
  align-items: center;
  gap: var(--he-spacing-x-small);
}

/* Icon color styling based on verification status */
.verification-status-content .status-authorized {
  color: var(--he-color-success-700);
}

.verification-status-content .status-in-progress {
  color: var(--he-color-primary-600);
}

.verification-status-content .status-rejected {
  color: var(--he-color-danger-600);
}

.verification-status-content .status-expired {
  color: var(--he-color-warning-400);
}/* Global Styles - Using Enablers Design System */
:root {
  font-family: var(
    --he-body-font,
    system-ui,
    Avenir,
    Helvetica,
    Arial,
    sans-serif
  );
  line-height: var(--he-body-line-height, 1.5);
  font-weight: var(--he-body-font-weight, 400);

  color-scheme: light dark;
  color: var(--he-type-primary);
  background-color: var(--he-color-body-background);

  font-synthesis: none;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

html {
  margin: 0;
  padding: 0;
  width: 100%;
  height: 100%;
}

a {
  color: var(--he-color-primary-700);
  font-weight: 400;
  text-decoration: underline;
}

a:hover {
  color: var(--he-accent-foreground-hover);
}

a:active {
  color: var(--he-accent-foreground-active);
}

body {
  margin: 0;
  padding: 0;
  width: 100vw;
  height: 100vh;
  overflow-x: hidden;
  font-family: var(--he-body-font);
  background-color: var(--he-color-body-background);
  color: var(--he-type-primary);
}

h1 {
  font-size: var(--he-font-size-4x-large);
  font-family: var(--he-heading-font);
  font-weight: var(--he-heading-font-weight);
  line-height: var(--he-line-height-4x-large);
  color: var(--he-type-primary);
}

h2 {
  font-size: var(--he-font-size-3x-large);
  font-family: var(--he-heading-font);
  font-weight: var(--he-heading-font-weight);
  line-height: var(--he-line-height-3x-large);
  color: var(--he-type-primary);
}

h3 {
  font-size: var(--he-font-size-2x-large);
  font-family: var(--he-heading-font);
  font-weight: var(--he-heading-font-weight);
  line-height: var(--he-line-height-2x-large);
  color: var(--he-type-primary);
}

button {
  border-radius: var(--he-border-radius-large);
  border: var(--he-form-control-border-width) solid transparent;
  padding: var(--he-spacing-small) var(--he-spacing-medium);
  font-size: var(--he-form-control-font-size);
  font-weight: var(--he-font-weight-semibold);
  font-family: var(--he-form-control-font-family);
  background-color: var(--he-accent-fill-rest);
  color: var(--he-type-on-accent);
  cursor: pointer;
  transition: all 0.25s ease-in-out;
  min-height: var(--he-form-control-height);
}

button:hover {
  background-color: var(--he-accent-fill-hover);
}

button:active {
  background-color: var(--he-accent-fill-active);
}

button:focus,
button:focus-visible {
  outline: var(--he-focus-ring);
  outline-offset: 2px;
}
