/* =========================================
   PATRIOTIC RIPPLE ANIMATION (Waving Flag Effect)
========================================= */
@keyframes patrioticRipple {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

/* HEADER: Patriotic Gradient + Ripple Motion */
header.site-header {
  background-color: #0A3161; /* Deep Navy Base */
  /* switched to linear-gradient for better "flow" animation */
  background-image: linear-gradient(-45deg, #0A3161, #1e3a8a, #E6E9F0, #B22234, #0A3161);
  background-size: 400% 400%; /* Massive size to allow panning */
  
  /* Slower animation (15s) creates a calm ripple instead of a fast wave */
  animation: patrioticRipple 15s ease infinite;
  
  position: relative;
  z-index: 2;
}

/* Dark overlay for header text readability */
header.site-header::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0, 0, 0, 0.25); 
  z-index: 1;
  pointer-events: none;
}

/* Header text styling */
header.site-header * {
  position: relative;
  z-index: 2;
  color: white !important;
}

.main-navigation a {
  color: white !important;
  font-weight: bold;
  text-shadow: 1px 1px 2px #000;
}
.main-navigation a:hover {
  color: #ffcc00 !important;
}

/* MAIN BODY: Patriotic Ripple Background */
body,
#page,
.site,
.site-main {
  background-color: #0A3161;
  /* The same gradient structure to match the header flow */
  background-image: linear-gradient(-45deg, #0A3161, #1e3a8a, #E6E9F0, #B22234, #0A3161);
  background-size: 400% 400%;
  
  /* Apply the ripple animation */
  animation: patrioticRipple 15s ease infinite;
  
  background-repeat: no-repeat;
  /* background-attachment: fixed; REMOVED to allow movement */
}

/* CATEGORY CARDS WRAPPER */
.hp-listing-categories {
  display: flex;
  flex-wrap: wrap;
  gap: 12px; /* tighter gap */
  padding: 24px 10px;
}

/* Individual category cards: slightly smaller overall */
.hp-listing-category {
  flex: 1 1 22%; /* smaller width target */
  display: flex;
  flex-direction: column;
  height: 100%;
  max-width: 240px; /* optional hard cap to avoid stretching */
  background-image: url('https://urleads.com/wp-content/uploads/2025/08/Untitled-design-4.jpg') !important;
  background-size: cover !important;
  background-repeat: no-repeat !important;
  background-position: center !important;
  border-radius: 10px; /* match inner so edges align */
}


/* Compact card content with background image */
.hp-listing-category__inner {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
  min-height: 260px;
  padding: 18px 16px;
  border-radius: 10px;
  box-shadow: 0 8px 22px rgba(0,0,0,0.35);
  position: relative;
  z-index: 1;

  /* PATRIOTIC HERO-STYLE BACKGROUND */
  background:
    linear-gradient(
      to bottom,
      rgba(0,0,0,0.15) 0%,
      rgba(0,0,0,0.00) 30%,
      rgba(0,0,0,0.00) 70%,
      rgba(0,0,0,0.15) 100%
    ),
    url('https://urleads.com/wp-content/uploads/2025/07/Untitled-design-8.svg') center/cover no-repeat;
  border: 4px solid #1b2a49; /* navy frame */
  background-color: #fff; /* fallback behind SVG */
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.hp-listing-category__inner:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 12px 32px rgba(0,0,0,0.5);
  border-color: #ff1e1e;
}



/* Footer remains at bottom */
.hp-listing-category__footer {
  margin-top: auto;
  padding-top: 10px;
}

/* Tighter spacing under icon */
.hp-listing-category__icon {
  margin-bottom: 8px;
}
/* HEADER BUTTON PULSING EFFECT */
header .pulse-button {
  animation: pulse-animation 2s infinite;
  transition: transform 0.3s ease-in-out;
}

/* PULSE KEYFRAMES */
@keyframes pulse-animation {
  0% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(255, 0, 0, 0.7);
  }
  70% {
    transform: scale(1.05);
    box-shadow: 0 0 0 10px rgba(255, 0, 0, 0);
  }
  100% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(255, 0, 0, 0);
  }
}
/* Style for menu icon-only Home link */
.menu-item.home-icon-only > a {
  display: inline-block;
  width: 48px;
  height: 48px;
  background-image: url('https://urleads.com/wp-content/uploads/2025/07/Untitled-design-3.svg');
  background-size: 65%;
  background-repeat: no-repeat;
  background-position: center;
  background-color: white; /* or any background color */
  text-indent: -9999px;
  overflow: hidden;
  white-space: nowrap;
  padding: 0 !important;
  border-radius: 50%; /* makes it fully rounded */
  border: 2px solid #1b2a49; /* navy blue border */
  box-shadow: 0 0 4px rgba(0,0,0,0.1);
  transition: all 0.2s ease-in-out;
}

/* Optional hover effect */
.menu-item.home-icon-only > a:hover {
  transform: scale(1.05);
  box-shadow: 0 0 6px rgba(0,0,0,0.3);
}
/* Style for My Account menu icon */
.menu-item.account-icon-only > a {
  display: inline-block;
  width: 48px;
  height: 48px;
  background-image: url('https://urleads.com/wp-content/uploads/2025/07/Untitled-design-4.svg');
  background-size: 65%;
  background-repeat: no-repeat;
  background-position: center;
  background-color: white;
  text-indent: -9999px;
  overflow: hidden;
  white-space: nowrap;
  padding: 0 !important;
  border-radius: 50%;
  border: 2px solid #1b2a49;
  box-shadow: 0 0 4px rgba(0,0,0,0.1);
  transition: all 0.2s ease-in-out;
}

/* Optional hover effect */
.menu-item.account-icon-only > a:hover {
  transform: scale(1.05);
  box-shadow: 0 0 6px rgba(0,0,0,0.3);
}
/* Style for About menu icon */
.menu-item.about-icon-only > a {
  display: inline-block;
  width: 48px;
  height: 48px;
  background-image: url('https://urleads.com/wp-content/uploads/2025/07/Untitled-design-5.svg');
  background-size: 65%;
  background-repeat: no-repeat;
  background-position: center;
  background-color: white;
  text-indent: -9999px;
  overflow: hidden;
  white-space: nowrap;
  padding: 0 !important;
  border-radius: 50%;
  border: 2px solid #1b2a49;
  box-shadow: 0 0 4px rgba(0,0,0,0.1);
  transition: all 0.2s ease-in-out;
}

/* Hover effect */
.menu-item.about-icon-only > a:hover {
  transform: scale(1.05);
  box-shadow: 0 0 6px rgba(0,0,0,0.3);
}
.hero-banner img {
  border-radius: 10px; /* soft corners */
  box-shadow: 0 8px 25px rgba(0,0,0,0.5); /* strong depth */
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

/* Hover effect for subtle zoom and glow */
.hero-banner img:hover {
  transform: scale(1.03);
  box-shadow: 0 12px 35px rgba(0,0,0,0.6);
}

/* Optional patriotic border */
.hero-banner img {
  border: 4px solid #1b2a49; /* navy blue border */
}
/* Universal text improvements for readability */
body,
.site,
.entry-content,
.page-content {
  color: #000000; /* True black */
  font-size: 1.05rem;
  line-height: 1.75;
  font-weight: 600;
  text-shadow:
    -1px -1px 0 #ffffff,
     1px -1px 0 #ffffff,
    -1px  1px 0 #ffffff,
     1px  1px 0 #ffffff; /* White outline */
}

/* Paragraph spacing */
.entry-content p,
.page-content p {
  margin-bottom: 1.2em;
}

/* Link styling for visibility */
a {
  color: #003366; /* Navy blue */
  font-weight: 700;
  text-decoration: underline;
  text-shadow:
    -1px -1px 0 #ffffff,
     1px -1px 0 #ffffff,
    -1px  1px 0 #ffffff,
     1px  1px 0 #ffffff;
}

a:hover {
  color: #ffcc00;
  text-decoration: none;
}
/* General typography enhancements */
.wp-block-heading {
  font-weight: 700;
  letter-spacing: 0.5px;
  margin-bottom: 0.5em;
  color: #1b2a49;
  text-shadow: 1px 1px 0 rgba(255,255,255,0.4);
}

.wp-block-paragraph {
  margin-bottom: 1.2em;
  font-weight: 500;
  line-height: 1.7;
}

/* Centered intro paragraph style */
.wp-block-paragraph.has-text-align-center {
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
  background: rgba(255,255,255,0.85);
  padding: 1em 1.5em;
  border-radius: 8px;
  box-shadow: 0 3px 8px rgba(0,0,0,0.1);
}
/* Group section padding an
d border */
.wp-block-group {
  padding: 2em 1em;
  margin-bottom: 2em;
  background: rgba(255,255,255,0.95);
  border-radius: 10px;
  box-shadow: 0 3px 10px rgba(0,0,0,0.05);
}

/* List style enhancement */
.wp-block-list {
  padding-left: 1.5em;
  font-size: 1.05rem;
}

.wp-block-list li {
  margin-bottom: 0.75em;
  position: relative;
  padding-left: 1.2em;
}

.wp-block-list li::before {
  content: "★";
  position: absolute;
  left: 0;
  color: #e63946;
  font-size: 1em;
  line-height: 1;
}

/* Responsive spacing */
@media (max-width: 768px) {
  .wp-block-group {
    padding: 1em;
  }

  .wp-block-paragraph.has-text-align-center {
    padding: 1em;
  }
}
/* Button readability fix */
button,
.wp-block-button__link,
input[type="submit"],
input[type="button"] {
  color: #1b2a49 !important; /* Dark navy blue text */
  font-weight: 700;
  text-shadow: none !important; /* Remove white outline on buttons */
  background-color: #ffffff;
  border: 2px solid #1b2a49;
  padding: 0.6em 1.2em;
  border-radius: 8px;
}

/* Button hover state */
button:hover,
.wp-block-button__link:hover,
input[type="submit"]:hover,
input[type="button"]:hover {
  background-color: #1b2a49;
  color: #ffffff !important;
  border-color: #1b2a49;
}
/* Improved header text contrast */
header.site-header * {
  color: #ffffff !important;
  font-weight: bold;
  text-shadow:
    -1px -1px 2px #000000,
     1px -1px 2px #000000,
    -1px  1px 2px #000000,
     1px  1px 2px #000000;
}

/* Navigation and button-specific refinements */
header .main-navigation a,
header .main-navigation .menu a,
header .hp-header-buttons .hp-button {
  color: #ffffff !important;
  font-weight: 700;
  text-shadow:
    -1px -1px 2px #000000,
     1px -1px 2px #000000,
    -1px  1px 2px #000000,
     1px  1px 2px #000000;
}

/* Header button hover state */
header .hp-header-buttons .hp-button:hover {
  background-color: #ff1e1e !important;
  color: #ffffff !important;
  border-color: #ffffff !important;
  text-shadow: none !important;
}
/* =========================================
   ROOT + BASE
========================================= */

:root {
  --urs-color-bg: #050816;
  --urs-color-surface: #0c1220;
  --urs-color-surface-soft: #111827;
  --urs-color-border: #1f2937;

  --urs-color-primary: #2563eb;        /* bright but not cheesy blue */
  --urs-color-primary-soft: rgba(37, 99, 235, 0.12);
  --urs-color-primary-strong: #1d4ed8;
  --urs-color-accent: #f59e0b;         /* golden accent */
  --urs-color-accent-soft: rgba(245, 158, 11, 0.16);
  --urs-color-danger: #ef4444;

  --urs-color-text: #e5e7eb;
  --urs-color-text-soft: #9ca3af;
  --urs-color-text-muted: #6b7280;
  --urs-color-text-on-primary: #f9fafb;

  --urs-radius-sm: 0.375rem;
  --urs-radius-md: 0.75rem;
  --urs-radius-lg: 1.25rem;
  --urs-radius-full: 999px;

  --urs-shadow-soft: 0 18px 40px rgba(0, 0, 0, 0.7);

  --urs-spacing-xs: 0.25rem;
  --urs-spacing-sm: 0.5rem;
  --urs-spacing-md: 0.75rem;
  --urs-spacing-lg: 1rem;
  --urs-spacing-xl: 1.5rem;
  --urs-spacing-2xl: 2rem;
  --urs-spacing-3xl: 2.5rem;

  --urs-font-main: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;

  --urs-breakpoint-md: 768px;
  --urs-breakpoint-lg: 1024px;
}

/* Scope everything inside the app so it doesn’t leak */
#uncle-roof-studio {
  font-family: var(--urs-font-main);
  color: var(--urs-color-text);
  background: radial-gradient(circle at top, #111827 0, #020617 55%);
  padding: var(--urs-spacing-2xl) var(--urs-spacing-lg);
  border-radius: var(--urs-radius-lg);
  max-width: 1100px;
  margin: 2rem auto;
  box-shadow: var(--urs-shadow-soft);
  border: 1px solid #111827;
  box-sizing: border-box;
}

#uncle-roof-studio * {
  box-sizing: border-box;
}

.urs-app {
  display: flex;
  flex-direction: column;
  min-height: 0;
}

/* =========================================
   HEADER + PROGRESS
========================================= */

.urs-header {
  display: flex;
  flex-direction: column;
  gap: var(--urs-spacing-lg);
  margin-bottom: var(--urs-spacing-xl);
}

@media (min-width: 768px) {
  .urs-header {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}

.urs-header-brand {
  display: flex;
  align-items: center;
  gap: var(--urs-spacing-md);
}

.urs-logo img {
  height: 40px;
  width: auto;
  display: block;
}

.urs-brand-text {
  display: flex;
  flex-direction: column;
}

.urs-brand-platform {
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--urs-color-text-soft);
}

.urs-brand-experience {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--urs-color-text);
}

.urs-progress-wrapper {
  min-width: 200px;
}

.urs-progress-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--urs-color-text-muted);
  margin-bottom: var(--urs-spacing-xs);
}

.urs-progress-bar {
  width: 100%;
  height: 6px;
  border-radius: 999px;
  background: #020617;
  overflow: hidden;
  border: 1px solid #0f172a;
}

.urs-progress-bar-fill {
  height: 100%;
  width: 0;
  border-radius: inherit;
  background: linear-gradient(90deg, #22c55e, #facc15, #ef4444);
  transition: width 220ms ease-out;
}

/* =========================================
   MAIN + STEPS
========================================= */

.urs-main {
  position: relative;
}

.urs-step {
  display: none;
  animation: urs-fade-in 220ms ease-out;
}

.urs-step.is-active {
  display: block;
}

@keyframes urs-fade-in {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.urs-step-inner {
  background: radial-gradient(circle at top left, #1e293b 0, #020617 65%);
  border-radius: var(--urs-radius-md);
  padding: var(--urs-spacing-xl);
  border: 1px solid var(--urs-color-border);
  box-shadow: 0 16px 40px rgba(15, 23, 42, 0.7);
}

.urs-step-split {
  display: flex;
  flex-direction: column;
  gap: var(--urs-spacing-xl);
}

@media (min-width: 900px) {
  .urs-step-split {
    flex-direction: row;
    align-items: flex-start;
  }
}

/* =========================================
   TYPOGRAPHY
========================================= */

.urs-step-title {
  font-size: 1.6rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  margin-bottom: var(--urs-spacing-sm);
}

.urs-step-subtitle {
  font-size: 0.95rem;
  color: var(--urs-color-text-soft);
  margin-bottom: var(--urs-spacing-lg);
}

.urs-step-kicker {
  font-size: 0.8rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--urs-color-text-muted);
  margin-bottom: var(--urs-spacing-sm);
}

.urs-small-note {
  font-size: 0.8rem;
  color: var(--urs-color-text-muted);
  margin-top: var(--urs-spacing-sm);
}

.urs-bullet-list {
  list-style: none;
  padding: 0;
  margin: 0 0 var(--urs-spacing-lg);
}

.urs-bullet-list li {
  position: relative;
  padding-left: 1.1rem;
  font-size: 0.9rem;
  color: var(--urs-color-text-soft);
  margin-bottom: 0.3rem;
}

.urs-bullet-list li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: var(--urs-color-accent);
}

/* =========================================
   LAYOUT (STEP 1)
========================================= */

.urs-layout {
  display: flex;
  flex-direction: column;
  gap: var(--urs-spacing-xl);
}

@media (min-width: 900px) {
  .urs-layout {
    flex-direction: row;
  }
}

.urs-layout-visual {
  flex: 1 1 0;
}

.urs-layout-content {
  flex: 1 1 0;
}

.urs-hero-placeholder {
  background: radial-gradient(circle at top, #1d4ed8, #020617);
  border-radius: var(--urs-radius-md);
  border: 1px solid #1e3a8a;
  min-height: 220px;
  box-shadow: var(--urs-shadow-soft);
}

/* =========================================
   UNCLE TIP / AVATAR
========================================= */

.urs-uncle-tip {
  display: flex;
  align-items: center;
  gap: var(--urs-spacing-sm);
  margin-bottom: var(--urs-spacing-md);
  padding: var(--urs-spacing-sm) var(--urs-spacing-md);
  border-radius: var(--urs-radius-full);
  background: linear-gradient(90deg, rgba(37, 99, 235, 0.16), transparent);
  border: 1px solid rgba(37, 99, 235, 0.25);
}

.urs-uncle-avatar {
  width: 32px;
  height: 32px;
  border-radius: 999px;
  background:
    radial-gradient(circle at 30% 20%, #facc15 0, transparent 45%),
    radial-gradient(circle at 60% 80%, #ef4444 0, transparent 50%),
    #1e293b;
  border: 2px solid #f97316;
}

.urs-uncle-text {
  font-size: 0.85rem;
  color: var(--urs-color-text-soft);
}

/* =========================================
   BUTTONS
========================================= */

.urs-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  border-radius: var(--urs-radius-full);
  border: 1px solid transparent;
  font-size: 0.9rem;
  font-weight: 600;
  padding: 0.55rem 1.3rem;
  cursor: pointer;
  transition:
    background-color 160ms ease-out,
    border-color 160ms ease-out,
    color 160ms ease-out,
    transform 120ms ease-out,
    box-shadow 160ms ease-out;
  text-decoration: none;
  white-space: nowrap;
}

.urs-btn-primary {
  background: linear-gradient(120deg, #2563eb, #1d4ed8);
  border-color: #1d4ed8;
  color: var(--urs-color-text-on-primary);
  box-shadow: 0 12px 30px rgba(37, 99, 235, 0.4);
}

.urs-btn-primary:hover {
  background: linear-gradient(120deg, #1d4ed8, #1e40af);
  transform: translateY(-1px);
  box-shadow: 0 16px 36px rgba(30, 64, 175, 0.55);
}

.urs-btn-primary:active {
  transform: translateY(0);
  box-shadow: 0 8px 18px rgba(15, 23, 42, 0.8);
}

.urs-btn-secondary {
  background: transparent;
  color: var(--urs-color-text-soft);
  border-color: #374151;
}

.urs-btn-secondary:hover {
  background: rgba(15, 23, 42, 0.9);
}

.urs-btn-ghost {
  background: transparent;
  color: var(--urs-color-text);
  border-color: transparent;
}

.urs-btn-ghost:hover {
  background: rgba(15, 23, 42, 0.9);
  border-color: #111827;
}

.urs-btn-large {
  padding: 0.8rem 1.8rem;
  font-size: 1rem;
}

.urs-btn[disabled] {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

/* =========================================
   LINKS
========================================= */

.urs-link-secondary {
  color: var(--urs-color-text-soft);
  text-decoration: none;
}

.urs-link-secondary:hover {
  text-decoration: underline;
}

.urs-link-small {
  font-size: 0.8rem;
}

/* =========================================
   TILES (OPTIONS)
========================================= */

.urs-tile-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: var(--urs-spacing-md);
}

.urs-tile-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--urs-spacing-sm);
}

.urs-tile-list-small {
  grid-template-columns: 1fr;
}

@media (min-width: 768px) {
  .urs-tile-list-small {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.urs-tile {
  background: rgba(15, 23, 42, 0.9);
  border-radius: var(--urs-radius-md);
  border: 1px solid rgba(55, 65, 81, 0.9);
  padding: var(--urs-spacing-md) var(--urs-spacing-lg);
  text-align: left;
  color: var(--urs-color-text-soft);
  font-size: 0.9rem;
  cursor: pointer;
  transition:
    border-color 130ms ease-out,
    background-color 130ms ease-out,
    transform 120ms ease-out,
    box-shadow 160ms ease-out;
}

.urs-tile:hover {
  border-color: var(--urs-color-primary);
  background: radial-gradient(circle at top left, rgba(37, 99, 235, 0.25), #020617);
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.9);
}

.urs-tile.is-selected {
  border-color: var(--urs-color-primary);
  background: linear-gradient(130deg, rgba(37, 99, 235, 0.3), rgba(15, 23, 42, 0.95));
  color: var(--urs-color-text);
  box-shadow: 0 14px 30px rgba(15, 23, 42, 0.95);
}

.urs-tile-icon {
  display: block;
  width: 32px;
  height: 32px;
  margin-bottom: var(--urs-spacing-sm);
  border-radius: var(--urs-radius-md);
  background: radial-gradient(circle at top left, #f97316 0, transparent 40%),
              #1e293b;
}

.urs-tile-label {
  display: inline-block;
}

/* Small pill label (e.g. “Most popular”) */
.urs-pill {
  display: inline-flex;
  margin-left: 0.4rem;
  padding: 0.08rem 0.45rem;
  border-radius: 999px;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  background: rgba(34, 197, 94, 0.18);
  color: #bbf7d0;
}

/* =========================================
   TOGGLE GROUPS
========================================= */

.urs-field-group {
  margin-bottom: var(--urs-spacing-lg);
}

.urs-field-label {
  display: block;
  font-size: 0.85rem;
  font-weight: 500;
  margin-bottom: var(--urs-spacing-xs);
}

.urs-field-label-sm {
  display: block;
  font-size: 0.8rem;
  font-weight: 500;
  margin-bottom: var(--urs-spacing-xs);
}

.urs-field-help {
  font-size: 0.8rem;
  color: var(--urs-color-text-muted);
  margin-top: 0.2rem;
}

.urs-toggle-group {
  display: flex;
  flex-wrap: wrap;
  gap: var(--urs-spacing-sm);
}

.urs-toggle-option {
  padding: 0.4rem 0.9rem;
  font-size: 0.85rem;
  border-radius: var(--urs-radius-full);
  border: 1px solid rgba(55, 65, 81, 0.9);
  background: rgba(15, 23, 42, 0.95);
  color: var(--urs-color-text-soft);
  cursor: pointer;
  transition:
    border-color 130ms ease-out,
    background-color 130ms ease-out,
    color 130ms ease-out;
}

.urs-toggle-option:hover {
  border-color: var(--urs-color-primary);
}

.urs-toggle-option.is-selected {
  background: var(--urs-color-primary-soft);
  border-color: var(--urs-color-primary);
  color: var(--urs-color-text);
}

/* =========================================
   SWATCHES
========================================= */

.urs-swatch-row {
  display: flex;
  flex-wrap: wrap;
  gap: var(--urs-spacing-sm);
}

.urs-swatch {
  display: inline-flex;
  align-items: center;
  gap: var(--urs-spacing-xs);
  padding: 0.35rem 0.75rem;
  border-radius: var(--urs-radius-full);
  border: 1px solid rgba(55, 65, 81, 0.9);
  background: rgba(15, 23, 42, 0.95);
  cursor: pointer;
  font-size: 0.8rem;
  color: var(--urs-color-text-soft);
  transition:
    border-color 130ms ease-out,
    background-color 130ms ease-out,
    transform 120ms ease-out;
}

.urs-swatch:hover {
  border-color: var(--urs-color-primary);
}

.urs-swatch.is-selected {
  background: var(--urs-color-primary-soft);
  border-color: var(--urs-color-primary);
  color: var(--urs-color-text);
}

.urs-swatch-color {
  width: 16px;
  height: 16px;
  border-radius: 999px;
  border: 1px solid rgba(15, 23, 42, 0.85);
}

/* Example colors – tweak to your actual palette */
.urs-swatch-charcoal {
  background: #111827;
}

.urs-swatch-gray {
  background: linear-gradient(90deg, #6b7280, #9ca3af);
}

.urs-swatch-brown {
  background: linear-gradient(90deg, #92400e, #f59e0b);
}

.urs-swatch-unsure {
  background: radial-gradient(circle at top left, #6366f1, #f97316);
}

/* =========================================
   HOUSE PREVIEW
========================================= */

.urs-config-preview {
  flex: 1 1 0;
}

.urs-config-controls {
  flex: 1.1 1 0;
}

.urs-house-preview {
  margin-top: var(--urs-spacing-md);
  border-radius: var(--urs-radius-md);
  border: 1px solid #111827;
  background: radial-gradient(circle at top, #1e293b 0, #020617 70%);
  padding: var(--urs-spacing-md);
  min-height: 200px;
  position: relative;
  overflow: hidden;
}

.urs-house-preview-image {
  width: 100%;
  height: 180px;
  border-radius: var(--urs-radius-md);
  background:
    linear-gradient(to top, #111827 0, #020617 45%),
    linear-gradient(135deg, #4b5563 0, #111827 40%, #020617 100%);
}

/* Example modifier classes just so changes are visible – update to real art */
.urs-house-preview.home-two_story .urs-house-preview-image {
  background:
    linear-gradient(to top, #0b1120 0, #020617 45%),
    linear-gradient(135deg, #1f2937 0, #111827 40%, #020617 100%);
}

.urs-house-preview.material-metal .urs-house-preview-image {
  box-shadow: inset 0 0 0 1px rgba(148, 163, 184, 0.7);
}

.urs-house-preview.color-charcoal .urs-house-preview-image {
  filter: saturate(0.8);
}

.urs-house-preview.color-brown .urs-house-preview-image {
  filter: hue-rotate(-20deg) saturate(1.1);
}

/* =========================================
   FORM FIELDS
========================================= */

.urs-form {
  display: flex;
  flex-direction: column;
  gap: var(--urs-spacing-md);
}

.urs-input {
  width: 100%;
  padding: 0.55rem 0.8rem;
  border-radius: var(--urs-radius-md);
  border: 1px solid rgba(55, 65, 81, 0.9);
  background: rgba(15, 23, 42, 0.95);
  color: var(--urs-color-text);
  font-size: 0.9rem;
  outline: none;
  transition:
    border-color 130ms ease-out,
    box-shadow 130ms ease-out,
    background-color 130ms ease-out;
}

.urs-input::placeholder {
  color: var(--urs-color-text-muted);
}

.urs-input:focus {
  border-color: var(--urs-color-primary);
  box-shadow: 0 0 0 1px rgba(37, 99, 235, 0.6);
}

.urs-field-checkbox .urs-checkbox {
  display: flex;
  align-items: flex-start;
  gap: var(--urs-spacing-sm);
  font-size: 0.8rem;
  color: var(--urs-color-text-soft);
}

.urs-checkbox input[type="checkbox"] {
  margin-top: 0.15rem;
}

.urs-form-actions {
  display: flex;
  flex-direction: column;
  gap: var(--urs-spacing-sm);
  margin-top: var(--urs-spacing-md);
}

.urs-form-status {
  font-size: 0.8rem;
  color: var(--urs-color-text-soft);
}

/* =========================================
   BADGE
========================================= */

.urs-badge {
  display: inline-flex;
  align-items: center;
  padding: 0.22rem 0.65rem;
  border-radius: 999px;
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  background: var(--urs-color-accent-soft);
  color: #fef9c3;
  border: 1px solid rgba(252, 211, 77, 0.6);
  margin-bottom: var(--urs-spacing-sm);
}

/* =========================================
   SUMMARY CARD
========================================= */

.urs-summary-card {
  margin-top: var(--urs-spacing-md);
  margin-bottom: var(--urs-spacing-lg);
  padding: var(--urs-spacing-lg);
  border-radius: var(--urs-radius-md);
  background: radial-gradient(circle at top, #111827 0, #020617 65%);
  border: 1px solid #1f2937;
}

.urs-summary-title {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: var(--urs-spacing-md);
}

.urs-summary-list {
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--urs-spacing-sm);
}

@media (min-width: 768px) {
  .urs-summary-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.urs-summary-item {
  padding: var(--urs-spacing-sm);
  border-radius: var(--urs-radius-sm);
  background: rgba(15, 23, 42, 0.9);
}

.urs-summary-item dt {
  font-size: 0.75rem;
  color: var(--urs-color-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 0.15rem;
}

.urs-summary-item dd {
  margin: 0;
  font-size: 0.9rem;
  color: var(--urs-color-text);
}