.page-configura-numero-rete-fissa {
  --nrf-accent: #1e3a8a;
  --nrf-accent-soft: rgba(30, 58, 138, 0.08);
  --nrf-border: rgba(15, 23, 42, 0.12);
  --nrf-text: #0f172a;
  --nrf-muted: #475569;
  --nv-accent: #1e3a8a;
  --nv-text: #0f172a;
}

.page-configura-numero-rete-fissa .nrf-config-section {
  background:
    radial-gradient(circle at top right, rgba(59, 130, 246, 0.08), transparent 28%),
    linear-gradient(180deg, #f5f8fb 0%, #eef4fa 100%);
}

.page-configura-numero-rete-fissa .nrf-mode-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.page-configura-numero-rete-fissa .nrf-mode-card {
  align-items: flex-start;
  padding: 1.1rem 1.15rem;
  border: 1px solid var(--nrf-border);
  border-radius: 8px;
  background: #ffffff;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.page-configura-numero-rete-fissa .nrf-mode-card:hover {
  border-color: rgba(30, 58, 138, 0.3);
  box-shadow: 0 16px 32px rgba(15, 23, 42, 0.08);
  transform: translateY(-1px);
}

.page-configura-numero-rete-fissa .nrf-mode-card.is-active {
  border-color: rgba(30, 58, 138, 0.42);
  background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
  box-shadow: 0 18px 42px rgba(30, 58, 138, 0.12);
}

.page-configura-numero-rete-fissa .nrf-mode-card .label-text {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}

.page-configura-numero-rete-fissa .nrf-mode-card strong,
.page-configura-numero-rete-fissa .nrf-order-panel__heading h2 {
  color: var(--nrf-text);
}

.page-configura-numero-rete-fissa .nrf-mode-card small,
.page-configura-numero-rete-fissa .nrf-order-panel__heading p {
  color: var(--nrf-muted);
  font-size: 0.95rem;
  line-height: 1.6;
}

.page-configura-numero-rete-fissa .nrf-order-panel {
  padding: 0;
  overflow: hidden;
}

.page-configura-numero-rete-fissa .nrf-order-panel__heading {
  padding: 1.2rem 1.35rem;
  color: #ffffff;
  background: linear-gradient(135deg, #1e3a8a 0%, #1d4ed8 100%);
}

.page-configura-numero-rete-fissa .nrf-order-panel__heading h2 {
  margin: 0;
  color: #ffffff;
  font-size: 1.4rem;
}

.page-configura-numero-rete-fissa .nrf-order-panel__heading p {
  margin: 0.7rem 0 0;
  color: rgba(255, 255, 255, 0.84);
}

.page-configura-numero-rete-fissa .nrf-order-mode,
.page-configura-numero-rete-fissa .nrf-consent-list {
  padding: 1.35rem;
}

.page-configura-numero-rete-fissa .nrf-order-mode + .nrf-consent-list {
  border-top: 1px solid rgba(15, 23, 42, 0.08);
}

.page-configura-numero-rete-fissa .nrf-consent-list {
  display: grid;
  gap: 0.9rem;
  background: linear-gradient(180deg, rgba(248, 250, 252, 0.92) 0%, #ffffff 100%);
}

.page-configura-numero-rete-fissa .nrf-consent-item {
  align-items: flex-start;
  padding-bottom: 0.9rem;
  border-bottom: 1px solid rgba(15, 23, 42, 0.08);
}

.page-configura-numero-rete-fissa .nrf-consent-item:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.page-configura-numero-rete-fissa .nrf-consent-item .label-text {
  line-height: 1.6;
}

.page-configura-numero-rete-fissa .nrf-config-summary p {
  color: var(--nrf-muted);
}

.page-configura-numero-rete-fissa .select2-container {
  width: 100% !important;
}

.page-configura-numero-rete-fissa .select2-container--bootstrap-5 .select2-selection {
  min-height: 3rem;
  border-radius: 14px;
  border-color: #dbe4f1;
  background-color: #f8fafc;
  box-shadow: none;
}

.page-configura-numero-rete-fissa .select2-container--bootstrap-5 .select2-selection--single {
  padding: 0.5rem 2.4rem 0.5rem 0.95rem;
}

.page-configura-numero-rete-fissa .select2-container--bootstrap-5 .select2-selection__rendered {
  color: var(--nrf-text);
  line-height: 1.9;
}

.page-configura-numero-rete-fissa .select2-container--bootstrap-5 .select2-selection__placeholder {
  color: #94a3b8;
}

.page-configura-numero-rete-fissa .select2-container--bootstrap-5.select2-container--focus .select2-selection,
.page-configura-numero-rete-fissa .select2-container--bootstrap-5.select2-container--open .select2-selection {
  border-color: #60a5fa;
  background-color: #ffffff;
  box-shadow: 0 0 0 0.2rem rgba(96, 165, 250, 0.12);
}

.page-configura-numero-rete-fissa .select2-container--bootstrap-5 .select2-dropdown {
  border-color: #dbe4f1;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.14);
}

.page-configura-numero-rete-fissa .select2-container--bootstrap-5 .select2-search {
  padding: 0.8rem;
}

.page-configura-numero-rete-fissa .select2-container--bootstrap-5 .select2-search__field {
  min-height: 2.75rem;
  border-radius: 12px;
  border-color: #dbe4f1;
}

.page-configura-numero-rete-fissa .select2-container--bootstrap-5 .select2-results__option {
  padding: 0.7rem 0.95rem;
}

.page-configura-numero-rete-fissa .select2-container--bootstrap-5 .select2-results__option--highlighted {
  background: #1d4ed8;
  color: #ffffff;
}

html[data-theme="dark"] .page-configura-numero-rete-fissa .nrf-config-section {
  background:
    radial-gradient(circle at top right, rgba(59, 130, 246, 0.12), transparent 30%),
    linear-gradient(180deg, #07101d 0%, #0f1b2d 100%);
}

html[data-theme="dark"] .page-configura-numero-rete-fissa .nrf-mode-card {
  border-color: rgba(148, 163, 184, 0.18);
  background: #17263a;
}

html[data-theme="dark"] .page-configura-numero-rete-fissa .nrf-mode-card.is-active {
  border-color: rgba(96, 165, 250, 0.34);
  background: linear-gradient(180deg, #17263a 0%, #132337 100%);
}

html[data-theme="dark"] .page-configura-numero-rete-fissa .nrf-mode-card strong,
html[data-theme="dark"] .page-configura-numero-rete-fissa .nrf-order-panel__heading h2 {
  color: #f8fafc;
}

html[data-theme="dark"] .page-configura-numero-rete-fissa .nrf-mode-card small,
html[data-theme="dark"] .page-configura-numero-rete-fissa .nrf-config-summary p {
  color: #cbd5e1;
}

html[data-theme="dark"] .page-configura-numero-rete-fissa .nrf-consent-list {
  background: linear-gradient(180deg, rgba(23, 38, 58, 0.88) 0%, #17263a 100%);
}

html[data-theme="dark"] .page-configura-numero-rete-fissa .select2-container--bootstrap-5 .select2-selection,
html[data-theme="dark"] .page-configura-numero-rete-fissa .select2-container--bootstrap-5 .select2-dropdown,
html[data-theme="dark"] .page-configura-numero-rete-fissa .select2-container--bootstrap-5 .select2-search__field {
  border-color: rgba(148, 163, 184, 0.2);
  background-color: #0f1b2d;
  color: #f8fafc;
}

html[data-theme="dark"] .page-configura-numero-rete-fissa .select2-container--bootstrap-5 .select2-selection__rendered,
html[data-theme="dark"] .page-configura-numero-rete-fissa .select2-container--bootstrap-5 .select2-search__field {
  color: #f8fafc;
}

html[data-theme="dark"] .page-configura-numero-rete-fissa .select2-container--bootstrap-5 .select2-results__option {
  color: #e2e8f0;
  background: #0f1b2d;
}

html[data-theme="dark"] .page-configura-numero-rete-fissa .select2-container--bootstrap-5 .select2-results__option--highlighted {
  background: #2563eb;
  color: #ffffff;
}

@media (max-width: 991.98px) {
  .page-configura-numero-rete-fissa .nrf-mode-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 575.98px) {
  .page-configura-numero-rete-fissa .nrf-order-panel__heading,
  .page-configura-numero-rete-fissa .nrf-order-mode,
  .page-configura-numero-rete-fissa .nrf-consent-list {
    padding: 1rem;
  }
}
