/* ==========================================================================
   IPS TAB & WIZARD STYLES
   ========================================================================== */

/* ==========================================================================
   IPS EMPTY STATE
   ========================================================================== */

.v2-ips-tab {
  padding: 0;
  min-height: 100%;
  display: flex;
  flex-direction: column;
}

.v2-ips-empty-state {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 32px;
}

/* Golden Path Indicator */
.v2-golden-path-indicator {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 48px;
  padding: 16px 24px;
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.05) 0%, rgba(139, 92, 246, 0.05) 100%);
  border-radius: 16px;
  gap: 4px;
}

.v2-path-step {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: var(--v2-bg-card, #fff);
  border-radius: 8px;
  font-size: 13px;
  font-weight: 500;
  color: var(--v2-text-muted, #6b7280);
  border: 1px solid var(--v2-border-color, #e5e7eb);
  transition: all 0.2s ease;
}

.v2-path-step i {
  font-size: 12px;
}

.v2-path-step.completed {
  background: #10B981;
  color: #fff;
  border-color: #10B981;
}

.v2-path-step.active {
  background: linear-gradient(135deg, #6366F1 0%, #8B5CF6 100%);
  color: #fff;
  border-color: transparent;
  box-shadow: 0 4px 12px rgba(99, 102, 241, 0.3);
}

.v2-path-connector {
  width: 32px;
  height: 2px;
  background: var(--v2-border-color, #e5e7eb);
}

.v2-path-connector.completed,
.v2-path-connector.active {
  background: linear-gradient(90deg, #10B981 0%, #6366F1 100%);
}

/* Empty Panel */
.v2-ips-empty-panel {
  text-align: center;
  max-width: 600px;
  padding: 48px;
  background: var(--v2-bg-card, #fff);
  border-radius: 16px;
  border: 1px solid var(--v2-border-color, #e5e7eb);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.05);
}

.v2-ips-empty-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 24px;
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.1) 0%, rgba(139, 92, 246, 0.1) 100%);
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.v2-ips-empty-icon i {
  font-size: 36px;
  background: linear-gradient(135deg, #6366F1 0%, #8B5CF6 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.v2-ips-empty-panel h2 {
  font-size: 24px;
  font-weight: 600;
  color: var(--v2-text-primary, #111827);
  margin: 0 0 16px;
}

.v2-ips-empty-description {
  font-size: 15px;
  color: var(--v2-text-secondary, #6b7280);
  line-height: 1.6;
  margin: 0 0 32px;
}

.v2-ips-empty-actions {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

.v2-ips-empty-actions .v2-btn-lg {
  padding: 14px 28px;
  font-size: 15px;
}

/* ==========================================================================
   IPS SUMMARY VIEW
   ========================================================================== */

.v2-ips-summary {
  padding: 24px;
}

.v2-ips-summary-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--v2-border-color, #e5e7eb);
}

.v2-ips-header-left {
  display: flex;
  align-items: center;
  gap: 16px;
}

.v2-ips-header-right {
  display: flex;
  gap: 8px;
}

.v2-ips-status-chip {
  padding: 6px 12px;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
}

.v2-ips-status-chip.draft {
  background: #FEF3C7;
  color: #92400E;
}

.v2-ips-status-chip.approved {
  background: #D1FAE5;
  color: #065F46;
}

.v2-ips-status-chip.superseded {
  background: #F3F4F6;
  color: #6B7280;
}

.v2-ips-version-select {
  padding: 6px 12px;
  border-radius: 6px;
  font-size: 13px;
  min-width: 160px;
}

/* Summary Cards */
.v2-ips-summary-cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 16px;
  margin-bottom: 24px;
}

.v2-ips-summary-card {
  background: var(--v2-bg-card, #fff);
  border: 1px solid var(--v2-border-color, #e5e7eb);
  border-radius: 12px;
  overflow: hidden;
  transition: all 0.2s ease;
}

.v2-ips-summary-card:hover {
  border-color: var(--v2-primary, #6366F1);
  box-shadow: 0 4px 12px rgba(99, 102, 241, 0.1);
}

.v2-ips-summary-card .v2-card-header {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 16px;
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.05) 0%, rgba(139, 92, 246, 0.05) 100%);
  border-bottom: 1px solid var(--v2-border-color, #e5e7eb);
}

.v2-ips-summary-card .v2-card-header i {
  color: var(--v2-primary, #6366F1);
  font-size: 14px;
}

.v2-ips-summary-card .v2-card-header h5 {
  margin: 0;
  font-size: 13px;
  font-weight: 600;
  color: var(--v2-text-primary, #111827);
}

.v2-ips-summary-card .v2-card-body {
  padding: 16px;
}

.v2-card-stat {
  display: flex;
  justify-content: space-between;
  padding: 6px 0;
  font-size: 13px;
  color: var(--v2-text-secondary, #6b7280);
  border-bottom: 1px solid var(--v2-border-subtle, #f3f4f6);
}

.v2-card-stat:last-child {
  border-bottom: none;
}

.v2-card-stat strong {
  color: var(--v2-text-primary, #111827);
}

.v2-card-empty .v2-card-body {
  color: var(--v2-text-muted, #9ca3af);
  font-style: italic;
}

/* Risk Meter Mini */
.v2-risk-meter-mini {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

.v2-risk-bar {
  flex: 1;
  height: 8px;
  background: #E5E7EB;
  border-radius: 4px;
  overflow: hidden;
}

.v2-risk-fill {
  height: 100%;
  background: linear-gradient(90deg, #10B981 0%, #F59E0B 50%, #EF4444 100%);
  border-radius: 4px;
  transition: width 0.3s ease;
}

.v2-risk-value {
  font-size: 18px;
  font-weight: 700;
  color: var(--v2-text-primary, #111827);
}

/* Next Step Callout */
.v2-ips-next-step-callout {
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 20px 24px;
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.08) 0%, rgba(16, 185, 129, 0.04) 100%);
  border: 1px solid rgba(16, 185, 129, 0.2);
  border-radius: 12px;
  margin-bottom: 24px;
}

.v2-ips-next-step-callout .v2-callout-content {
  flex: 1;
}

.v2-ips-next-step-callout .v2-callout-content i {
  color: #10B981;
  margin-right: 12px;
}

.v2-ips-next-step-callout .v2-callout-content strong {
  font-size: 15px;
  color: var(--v2-text-primary, #111827);
}

.v2-ips-next-step-callout .v2-callout-content p {
  margin: 4px 0 0;
  font-size: 13px;
  color: var(--v2-text-secondary, #6b7280);
}

/* Version History */
.v2-ips-version-history {
  margin-top: 32px;
}

.v2-ips-version-history h4 {
  font-size: 14px;
  font-weight: 600;
  color: var(--v2-text-primary, #111827);
  margin: 0 0 16px;
}

.v2-ips-version-history h4 i {
  margin-right: 8px;
  color: var(--v2-text-muted, #9ca3af);
}

.v2-version-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.v2-version-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  background: var(--v2-bg-surface, #f9fafb);
  border-radius: 8px;
  font-size: 13px;
}

.v2-version-item.active {
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.08) 0%, rgba(139, 92, 246, 0.08) 100%);
  border: 1px solid rgba(99, 102, 241, 0.2);
}

.v2-version-label {
  font-weight: 600;
  color: var(--v2-text-primary, #111827);
}

.v2-version-status {
  padding: 3px 8px;
  border-radius: 4px;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
}

.v2-version-status.draft {
  background: #FEF3C7;
  color: #92400E;
}

.v2-version-status.approved {
  background: #D1FAE5;
  color: #065F46;
}

.v2-version-status.superseded {
  background: #F3F4F6;
  color: #6B7280;
}

.v2-version-date {
  color: var(--v2-text-muted, #9ca3af);
}

.v2-version-approver {
  color: var(--v2-text-secondary, #6b7280);
  font-style: italic;
}

/* ==========================================================================
   IPS WIZARD OVERLAY
   ========================================================================== */

.v2-ips-wizard-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 10001;
  background: rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
}

.v2-ips-wizard-container {
  width: calc(100vw - 64px);
  height: calc(100vh - 64px);
  max-width: 1200px;
  max-height: 800px;
  background: var(--v2-bg-card, #fff);
  border-radius: 16px;
  display: flex;
  flex-direction: column;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  overflow: hidden;
}

.v2-ips-wizard-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 24px;
  border-bottom: 1px solid var(--v2-border-color, #e5e7eb);
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.05) 0%, rgba(139, 92, 246, 0.05) 100%);
}

.v2-wizard-header-left h2 {
  margin: 0;
  font-size: 18px;
  font-weight: 600;
  color: var(--v2-text-primary, #111827);
  display: flex;
  align-items: center;
  gap: 10px;
}

.v2-wizard-header-left h2 i {
  color: var(--v2-primary, #6366F1);
}

.v2-wizard-subtitle {
  font-size: 13px;
  color: var(--v2-text-muted, #9ca3af);
  margin-top: 4px;
}

.v2-ips-wizard-body {
  flex: 1;
  display: flex;
  overflow: hidden;
}

/* Stepper */
.v2-ips-wizard-stepper {
  width: 260px;
  background: var(--v2-bg-surface, #f9fafb);
  border-right: 1px solid var(--v2-border-color, #e5e7eb);
  padding: 24px;
  display: flex;
  flex-direction: column;
}

.v2-wizard-steps {
  flex: 1;
}

.v2-wizard-step {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 14px 12px;
  border-radius: 10px;
  cursor: pointer;
  transition: all 0.2s ease;
  margin-bottom: 4px;
}

.v2-wizard-step:hover {
  background: rgba(99, 102, 241, 0.05);
}

.v2-wizard-step.active {
  background: rgba(99, 102, 241, 0.1);
}

.v2-wizard-step.completed {
  cursor: pointer;
}

.v2-step-indicator {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: var(--v2-bg-card, #fff);
  border: 2px solid var(--v2-border-color, #e5e7eb);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 600;
  color: var(--v2-text-muted, #9ca3af);
  transition: all 0.2s ease;
}

.v2-wizard-step.active .v2-step-indicator {
  background: linear-gradient(135deg, #6366F1 0%, #8B5CF6 100%);
  border-color: transparent;
  color: #fff;
}

.v2-wizard-step.completed .v2-step-indicator {
  background: #10B981;
  border-color: #10B981;
  color: #fff;
}

.v2-step-content {
  flex: 1;
}

.v2-step-label {
  font-size: 13px;
  font-weight: 500;
  color: var(--v2-text-secondary, #6b7280);
}

.v2-wizard-step.active .v2-step-label {
  color: var(--v2-text-primary, #111827);
  font-weight: 600;
}

.v2-wizard-step.completed .v2-step-label {
  color: #10B981;
}

.v2-wizard-stepper-footer {
  margin-top: auto;
  padding-top: 20px;
  border-top: 1px solid var(--v2-border-color, #e5e7eb);
}

.v2-progress-bar {
  height: 6px;
  background: #E5E7EB;
  border-radius: 3px;
  overflow: hidden;
  margin-bottom: 8px;
}

.v2-progress-fill {
  height: 100%;
  background: linear-gradient(90deg, #6366F1 0%, #8B5CF6 100%);
  border-radius: 3px;
  transition: width 0.3s ease;
}

.v2-progress-text {
  font-size: 12px;
  color: var(--v2-text-muted, #9ca3af);
}

/* Wizard Content */
.v2-ips-wizard-content {
  flex: 1;
  overflow-y: auto;
  padding: 24px 32px;
}

.v2-ips-step {
  animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

.v2-step-header {
  margin-bottom: 28px;
}

.v2-step-header h3 {
  font-size: 20px;
  font-weight: 600;
  color: var(--v2-text-primary, #111827);
  margin: 0 0 8px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.v2-step-header h3 i {
  color: var(--v2-primary, #6366F1);
}

.v2-step-description {
  font-size: 14px;
  color: var(--v2-text-secondary, #6b7280);
  line-height: 1.5;
  margin: 0;
}

.v2-step-body {
  margin-bottom: 24px;
}

.v2-step-helper {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 16px;
  background: rgba(99, 102, 241, 0.05);
  border: 1px solid rgba(99, 102, 241, 0.15);
  border-radius: 10px;
  font-size: 13px;
  color: var(--v2-text-secondary, #6b7280);
}

.v2-step-helper i {
  color: #6366F1;
  font-size: 16px;
  margin-top: 2px;
}

.v2-step-helper.v2-helper-warning {
  background: rgba(245, 158, 11, 0.05);
  border-color: rgba(245, 158, 11, 0.2);
}

.v2-step-helper.v2-helper-warning i {
  color: #F59E0B;
}

.v2-step-helper.v2-helper-success {
  background: rgba(16, 185, 129, 0.05);
  border-color: rgba(16, 185, 129, 0.2);
}

.v2-step-helper.v2-helper-success i {
  color: #10B981;
}

/* Form Grid */
.v2-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.v2-form-grid-2 {
  grid-template-columns: 1fr 1fr;
}

.v2-form-group-full {
  grid-column: 1 / -1;
}

.v2-form-group {
  display: flex;
  flex-direction: column;
}

.v2-form-label {
  font-size: 13px;
  font-weight: 500;
  color: var(--v2-text-primary, #111827);
  margin-bottom: 6px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.v2-inline-help {
  color: var(--v2-text-muted, #9ca3af);
  cursor: help;
}

.v2-form-hint {
  font-size: 12px;
  color: var(--v2-text-muted, #9ca3af);
  margin-top: 4px;
}

.v2-form-select,
.v2-form-input {
  padding: 10px 12px;
  border: 1px solid var(--v2-border-color, #e5e7eb);
  border-radius: 8px;
  font-size: 14px;
  color: var(--v2-text-primary, #111827);
  background: var(--v2-bg-card, #fff);
  transition: all 0.2s ease;
}

.v2-form-select:focus,
.v2-form-input:focus {
  outline: none;
  border-color: var(--v2-primary, #6366F1);
  box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
}

.v2-input-sm {
  padding: 6px 10px;
  font-size: 13px;
}

/* Toggle */
.v2-toggle-label {
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
}

.v2-toggle-label input {
  display: none;
}

.v2-toggle-slider {
  width: 40px;
  height: 22px;
  background: #E5E7EB;
  border-radius: 11px;
  position: relative;
  transition: all 0.2s ease;
}

.v2-toggle-slider::after {
  content: '';
  position: absolute;
  top: 2px;
  left: 2px;
  width: 18px;
  height: 18px;
  background: #fff;
  border-radius: 50%;
  transition: all 0.2s ease;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.15);
}

.v2-toggle-label input:checked + .v2-toggle-slider {
  background: linear-gradient(135deg, #6366F1 0%, #8B5CF6 100%);
}

.v2-toggle-label input:checked + .v2-toggle-slider::after {
  left: 20px;
}

.v2-toggle-text {
  font-size: 14px;
  color: var(--v2-text-primary, #111827);
}

/* Range Slider */
.v2-range-slider {
  width: 100%;
  height: 6px;
  -webkit-appearance: none;
  background: #E5E7EB;
  border-radius: 3px;
  outline: none;
}

.v2-range-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 20px;
  height: 20px;
  background: linear-gradient(135deg, #6366F1 0%, #8B5CF6 100%);
  border-radius: 50%;
  cursor: pointer;
  box-shadow: 0 2px 6px rgba(99, 102, 241, 0.4);
}

.v2-range-slider::-moz-range-thumb {
  width: 20px;
  height: 20px;
  background: linear-gradient(135deg, #6366F1 0%, #8B5CF6 100%);
  border-radius: 50%;
  cursor: pointer;
  border: none;
}

/* Risk Sliders */
.v2-risk-sliders {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.v2-risk-slider-group {
  padding: 16px 20px;
  background: var(--v2-bg-surface, #f9fafb);
  border-radius: 10px;
}

.v2-risk-slider-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}

.v2-slider-value {
  font-size: 24px;
  font-weight: 700;
  color: var(--v2-primary, #6366F1);
}

.v2-slider-labels {
  display: flex;
  justify-content: space-between;
  margin-top: 8px;
  font-size: 11px;
  color: var(--v2-text-muted, #9ca3af);
  text-transform: uppercase;
}

.v2-risk-summary {
  margin-top: 24px;
}

.v2-risk-summary-card {
  padding: 20px;
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.08) 0%, rgba(139, 92, 246, 0.08) 100%);
  border: 1px solid rgba(99, 102, 241, 0.2);
  border-radius: 12px;
}

.v2-risk-meter {
  height: 10px;
  background: #E5E7EB;
  border-radius: 5px;
  overflow: hidden;
  margin-bottom: 16px;
}

.v2-risk-meter-fill {
  height: 100%;
  background: linear-gradient(90deg, #10B981 0%, #F59E0B 50%, #EF4444 100%);
  border-radius: 5px;
  transition: width 0.3s ease;
}

.v2-risk-summary-text {
  text-align: center;
}

.v2-risk-summary-text strong {
  font-size: 18px;
  color: var(--v2-text-primary, #111827);
}

.v2-risk-summary-text p {
  font-size: 13px;
  color: var(--v2-text-secondary, #6b7280);
  margin: 4px 0 0;
}

/* Checkbox Grid */
.v2-checkbox-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.v2-checkbox-label {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  background: var(--v2-bg-surface, #f9fafb);
  border: 1px solid var(--v2-border-color, #e5e7eb);
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.2s ease;
  font-size: 13px;
}

.v2-checkbox-label:hover {
  border-color: var(--v2-primary, #6366F1);
}

.v2-checkbox-label input:checked + span {
  color: var(--v2-primary, #6366F1);
  font-weight: 500;
}

/* Confirmation */
.v2-confirmation-section {
  padding: 20px;
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.05) 0%, rgba(16, 185, 129, 0.02) 100%);
  border: 1px solid rgba(16, 185, 129, 0.2);
  border-radius: 12px;
}

.v2-checkbox-confirmation {
  align-items: flex-start;
}

.v2-checkbox-text {
  line-height: 1.5;
}

.v2-checkbox-text strong {
  color: var(--v2-text-primary, #111827);
}

.v2-checkbox-text small {
  color: var(--v2-text-muted, #9ca3af);
}

/* Mini Grid (events table) */
.v2-mini-grid {
  margin-top: 8px;
}

.v2-simple-table {
  width: 100%;
  border-collapse: collapse;
}

.v2-simple-table th,
.v2-simple-table td {
  padding: 10px 12px;
  text-align: left;
  border-bottom: 1px solid var(--v2-border-color, #e5e7eb);
}

.v2-simple-table th {
  font-size: 12px;
  font-weight: 600;
  color: var(--v2-text-muted, #9ca3af);
  text-transform: uppercase;
  background: var(--v2-bg-surface, #f9fafb);
}

.v2-editable-table td {
  padding: 6px 8px;
}

.v2-editable-table input {
  width: 100%;
}

/* Allocation Table */
.v2-allocation-table {
  margin-top: 8px;
}

.v2-allocation-table th {
  font-size: 11px;
}

.v2-allocation-table input {
  text-align: center;
}

/* Footer */
.v2-ips-wizard-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 24px;
  border-top: 1px solid var(--v2-border-color, #e5e7eb);
  background: var(--v2-bg-surface, #f9fafb);
}

.v2-wizard-footer-left,
.v2-wizard-footer-right {
  display: flex;
  gap: 10px;
}

/* ==========================================================================
   PREREQUISITE CALLOUTS (for Proposal tab)
   ========================================================================== */

.v2-prerequisite-callout {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 32px;
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.05) 0%, rgba(139, 92, 246, 0.05) 100%);
  border: 1px solid rgba(99, 102, 241, 0.15);
  border-radius: 12px;
  margin: 24px;
}

.v2-callout-icon {
  width: 56px;
  height: 56px;
  background: rgba(99, 102, 241, 0.1);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.v2-callout-icon i {
  font-size: 24px;
  color: var(--v2-primary, #6366F1);
}

.v2-callout-content {
  flex: 1;
}

.v2-callout-content h4 {
  margin: 0 0 4px;
  font-size: 16px;
  font-weight: 600;
  color: var(--v2-text-primary, #111827);
}

.v2-callout-content p {
  margin: 0;
  font-size: 14px;
  color: var(--v2-text-secondary, #6b7280);
}

/* ==========================================================================
   INFO MODAL
   ========================================================================== */

.v2-info-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 10002;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.2s ease;
}

.v2-info-modal-overlay.open {
  opacity: 1;
}

.v2-info-modal-backdrop {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
}

.v2-info-modal {
  position: relative;
  width: 90%;
  max-width: 520px;
  background: var(--v2-bg-card, #fff);
  border-radius: 16px;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  transform: scale(0.95);
  transition: transform 0.2s ease;
}

.v2-info-modal-overlay.open .v2-info-modal {
  transform: scale(1);
}

.v2-info-modal-header {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 20px 24px;
  border-bottom: 1px solid var(--v2-border-color, #e5e7eb);
}

.v2-info-modal-icon {
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.1) 0%, rgba(139, 92, 246, 0.1) 100%);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.v2-info-modal-icon i {
  font-size: 18px;
  color: var(--v2-primary, #6366F1);
}

.v2-info-modal-header h3 {
  flex: 1;
  margin: 0;
  font-size: 18px;
  font-weight: 600;
  color: var(--v2-text-primary, #111827);
}

.v2-info-modal-close {
  background: none;
  border: none;
  padding: 8px;
  cursor: pointer;
  color: var(--v2-text-muted, #9ca3af);
  border-radius: 6px;
  transition: all 0.2s ease;
}

.v2-info-modal-close:hover {
  background: var(--v2-bg-surface, #f9fafb);
  color: var(--v2-text-primary, #111827);
}

.v2-info-modal-body {
  padding: 24px;
  max-height: 400px;
  overflow-y: auto;
}

.v2-info-content p {
  margin: 0 0 16px;
  font-size: 14px;
  line-height: 1.6;
  color: var(--v2-text-secondary, #6b7280);
}

.v2-info-content h4 {
  margin: 20px 0 10px;
  font-size: 14px;
  font-weight: 600;
  color: var(--v2-text-primary, #111827);
}

.v2-info-content ul,
.v2-info-content ol {
  margin: 0 0 16px;
  padding-left: 20px;
}

.v2-info-content li {
  margin-bottom: 8px;
  font-size: 14px;
  color: var(--v2-text-secondary, #6b7280);
}

.v2-info-highlight {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 14px 16px;
  background: rgba(99, 102, 241, 0.05);
  border-radius: 8px;
  margin-top: 16px !important;
}

.v2-info-highlight i {
  color: var(--v2-primary, #6366F1);
  margin-top: 2px;
}

.v2-golden-path-steps {
  padding-left: 0;
  list-style: none;
  counter-reset: step;
}

.v2-golden-path-steps li {
  position: relative;
  padding-left: 32px;
  margin-bottom: 12px;
  counter-increment: step;
}

.v2-golden-path-steps li::before {
  content: counter(step);
  position: absolute;
  left: 0;
  top: 0;
  width: 22px;
  height: 22px;
  background: linear-gradient(135deg, #6366F1 0%, #8B5CF6 100%);
  color: #fff;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
}

.v2-info-modal-footer {
  padding: 16px 24px;
  border-top: 1px solid var(--v2-border-color, #e5e7eb);
  display: flex;
  justify-content: flex-end;
}

/* ==========================================================================
   DARK THEME
   ========================================================================== */

.dark-theme .v2-ips-empty-panel,
.dark-theme .v2-ips-summary-card,
.dark-theme .v2-info-modal,
.dark-theme .v2-ips-wizard-container {
  background: var(--v2-bg-surface, #111520) !important;
  border-color: var(--v2-border, #1e2433) !important;
}

.dark-theme .v2-golden-path-indicator {
  background: rgba(99, 102, 241, 0.08) !important;
}

.dark-theme .v2-path-step {
  background: var(--v2-bg-surface, #111520) !important;
  border-color: var(--v2-border, #1e2433) !important;
  color: var(--v2-text-muted, #8b92a5) !important;
}

.dark-theme .v2-path-step.completed {
  background: #10B981 !important;
  color: #fff !important;
}

.dark-theme .v2-path-step.active {
  background: linear-gradient(135deg, #6366F1 0%, #8B5CF6 100%) !important;
  color: #fff !important;
}

.dark-theme .v2-ips-empty-panel h2,
.dark-theme .v2-ips-summary-card h5,
.dark-theme .v2-card-stat strong,
.dark-theme .v2-step-header h3,
.dark-theme .v2-form-label,
.dark-theme .v2-toggle-text,
.dark-theme .v2-info-modal-header h3 {
  color: var(--v2-text-primary, #e8eaed) !important;
}

.dark-theme .v2-ips-empty-description,
.dark-theme .v2-card-stat,
.dark-theme .v2-step-description,
.dark-theme .v2-info-content p,
.dark-theme .v2-info-content li {
  color: var(--v2-text-secondary, #a3a8b8) !important;
}

.dark-theme .v2-ips-summary-header,
.dark-theme .v2-ips-wizard-header,
.dark-theme .v2-ips-wizard-footer,
.dark-theme .v2-info-modal-header,
.dark-theme .v2-info-modal-footer {
  border-color: var(--v2-border, #1e2433) !important;
}

.dark-theme .v2-ips-wizard-stepper,
.dark-theme .v2-ips-wizard-footer {
  background: #0c111a !important;
  border-color: var(--v2-border, #1e2433) !important;
}

.dark-theme .v2-risk-slider-group,
.dark-theme .v2-checkbox-label,
.dark-theme .v2-simple-table th,
.dark-theme .v2-version-item {
  background: #0c111a !important;
  border-color: var(--v2-border, #1e2433) !important;
}

.dark-theme .v2-form-select,
.dark-theme .v2-form-input {
  background: var(--v2-bg-surface, #111520) !important;
  border-color: var(--v2-border, #1e2433) !important;
  color: var(--v2-text-primary, #e8eaed) !important;
}

.dark-theme .v2-risk-bar,
.dark-theme .v2-risk-meter,
.dark-theme .v2-progress-bar {
  background: #1e2433 !important;
}

.dark-theme .v2-simple-table th,
.dark-theme .v2-simple-table td {
  border-color: var(--v2-border, #1e2433) !important;
}

.dark-theme .v2-toggle-slider {
  background: #374151 !important;
}

.dark-theme .v2-prerequisite-callout {
  background: rgba(99, 102, 241, 0.08) !important;
  border-color: rgba(99, 102, 241, 0.2) !important;
}

.dark-theme .v2-callout-content h4,
.dark-theme .v2-callout-content p {
  color: var(--v2-text-primary, #e8eaed) !important;
}

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */

@media (max-width: 1024px) {
  .v2-ips-wizard-container {
    width: calc(100vw - 32px);
    height: calc(100vh - 32px);
    border-radius: 12px;
  }
  
  .v2-ips-wizard-stepper {
    width: 200px;
    padding: 16px;
  }
  
  .v2-form-grid-2 {
    grid-template-columns: 1fr;
  }
  
  .v2-checkbox-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .v2-golden-path-indicator {
    flex-wrap: wrap;
    gap: 8px;
  }
  
  .v2-path-connector {
    display: none;
  }
  
  .v2-ips-wizard-body {
    flex-direction: column;
  }
  
  .v2-ips-wizard-stepper {
    width: 100%;
    border-right: none;
    border-bottom: 1px solid var(--v2-border-color, #e5e7eb);
    padding: 12px;
  }
  
  .v2-wizard-steps {
    display: flex;
    gap: 8px;
    overflow-x: auto;
  }
  
  .v2-wizard-step {
    flex-shrink: 0;
    margin-bottom: 0;
  }
  
  .v2-wizard-stepper-footer {
    display: none;
  }
  
  .v2-ips-summary-cards {
    grid-template-columns: 1fr;
  }
}
