/* ========================================
   BGP SESSION FORM - Indigo Theme Override
   Extends ip_block_form.css with BGP-specific colors
   ======================================== */

/* Header gradient - indigo theme */
.ip-block-form.bgp-theme .ip-block-editor-header {
  background: linear-gradient(135deg, #6366f1 0%, #4f46e5 100%);
}

[data-theme="dark"] .ip-block-form.bgp-theme .ip-block-editor-header {
  background: linear-gradient(135deg, #4f46e5 0%, #4338ca 100%);
  border: 1px solid rgba(129, 140, 248, 0.3);
}

/* Section focus state - indigo */
.ip-block-form.bgp-theme .ip-block-section:focus-within {
  border-color: #6366f1;
  box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
}

[data-theme="dark"] .ip-block-form.bgp-theme .ip-block-section:focus-within {
  box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.2);
}

/* Section header icon color */
.ip-block-form.bgp-theme .ip-block-section-header .icon {
  color: #6366f1;
}

/* Status toggle checked state - indigo */
.ip-block-form.bgp-theme .status-toggle:has(input:checked) {
  border-color: #6366f1;
  background: rgba(99, 102, 241, 0.05);
}

[data-theme="dark"] .ip-block-form.bgp-theme .status-toggle:has(input:checked) {
  background: rgba(99, 102, 241, 0.1);
}

/* Keep warning color for multihop toggle */
.ip-block-form.bgp-theme .status-toggle:has(input[name*="multihop"]:checked) {
  border-color: #f59e0b;
  background: rgba(245, 158, 11, 0.05);
}

[data-theme="dark"] .ip-block-form.bgp-theme .status-toggle:has(input[name*="multihop"]:checked) {
  background: rgba(245, 158, 11, 0.1);
}
