/*
Theme Name: UNDO Portugal
Theme URI: https://undo.org.np/
Author: UNDO Portugal Team
Author URI: https://undo.org.np/
Description: Custom WordPress theme for United Nepali Diaspora Organization (UNDO) Portugal Chapter. Modern, high-conversion UI/UX tailored with exact brand colors from the official logo (Royal Cobalt Blue #003893 & Nepali Crimson Red #DC143C).
Version: 1.2.0
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: undoportugal
*/

/* ==========================================================================
   DESIGN TOKENS & COLOR SYSTEM (Exact match to official undo.org.np)
   ========================================================================== */
:root {
  /* Brand Core Colors (From undo.org.np Kit) */
  --undo-primary: #4b6539;          /* Sage Green */
  --undo-primary-hover: #7fa663;
  --undo-accent: #435231;           /* Deep Forest Green */
  --undo-accent-hover: #333f25;
  --undo-secondary: #f7f095;        /* Soft Yellow / Cream */
  --undo-sea: #5f9073;              /* Sea Green */

  /* Aliases for theme compatibility */
  --undo-blue: #435231;
  --undo-blue-dark: #1c1c1c;
  --undo-blue-light: #93b779;
  --undo-red: #435231;
  --undo-red-hover: #93b779;
  
  /* Neutral Charcoal & Slate Scale */
  --undo-dark: #1c1c1c;             /* Primary Dark text and surfaces */
  --undo-slate: #2b2b2b;            /* Body copy text */
  --undo-muted: #666666;            /* Secondary muted text */
  --undo-border: #e4e6ec;           /* Clean dividers */
  --undo-card-border: #e4e6ec;      /* Card borders */
  --undo-bg-page: #ffffff;          /* Clean white background */
  --undo-bg-alt: #f9f9f9;           /* Soft light gray background */
  --undo-white: #ffffff;

  /* Accent & Status Colors */
  --undo-gold: #f7f095;
  --undo-green: #93b779;
  --undo-gold-soft: #fef9c3;

  /* Typography System (Matching undo.org.np) */
  --font-heading: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-body: 'Heebo', 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-accent: 'Raleway', 'Montserrat', sans-serif;

  /* Layout & Elevations */
  --container-max: 1200px;
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-full: 9999px;

  --shadow-xs: 0 1px 2px rgba(0, 0, 0, 0.04);
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.06);
  --shadow-md: 0 6px 18px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 16px 36px rgba(0, 0, 0, 0.12);
  --shadow-hover: 0 12px 28px rgba(67, 82, 49, 0.14);

  --transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ==========================================================================
   BASE & RESET STYLES
   ========================================================================== */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  color: var(--undo-slate);
  background-color: var(--undo-bg-page);
  line-height: 1.65;
  font-size: 15px;
  letter-spacing: -0.01em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a {
  color: var(--undo-accent);
  text-decoration: none;
  transition: var(--transition);
}

a:hover {
  color: var(--undo-primary);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--undo-dark);
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.02em;
}

.undo-container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 24px;
}

/* ==========================================================================
   TRANSPARENT HEADER & TOPBAR (Exact Match to undo.org.np)
   ========================================================================== */
.undo-header-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: transparent;
}

/* Topbar */
.undo-topbar {
  background: transparent;
  color: rgba(255, 255, 255, 0.88);
  font-size: 13px;
  padding: 10px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}

.undo-topbar .undo-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.undo-topbar-left, .undo-topbar-right {
  display: flex;
  align-items: center;
  gap: 22px;
}

.undo-topbar a {
  color: rgba(255, 255, 255, 0.9);
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-weight: 500;
  transition: color 0.2s ease;
}

.undo-topbar a:hover {
  color: var(--undo-primary);
}

.undo-topbar i {
  color: #fff;
  font-size: 13px;
}

.undo-topbar-social {
  display: flex;
  gap: 10px;
}

.undo-topbar-social a {
  width: 28px;
  height: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  font-size: 11.5px;
  color: #ffffff;
  transition: all 0.2s ease;
}

.undo-topbar-social a:hover {
  background: var(--undo-primary);
  color: var(--undo-dark);
  transform: translateY(-2px);
}

/* ==========================================================================
   MAIN HEADER (Transparent & Frosted White Sticky)
   ========================================================================== */
.undo-header {
  background: #FFFFFFB5;
  position: relative;
  width: 100%;
  transition: background 0.3s ease, box-shadow 0.3s ease, padding 0.3s ease;
  z-index: 1000;
}

.undo-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 0;
  transition: padding 0.3s ease;
}

/* Scrolled Sticky State */
.undo-header.is-scrolled {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  animation: slideDownHeader 0.3s ease-out;
}

.undo-header.is-scrolled .undo-header-inner {
  padding: 10px 0;
}

@keyframes slideDownHeader {
  from {
    transform: translateY(-100%);
  }
  to {
    transform: translateY(0);
  }
}

/* Dual Logo Switching (White in transparent mode, Dark in sticky mode) */
.undo-brand-img,
.undo-header-inner a img,
.custom-logo {
  height: 42px !important;
  max-height: 42px !important;
  width: auto !important;
  max-width: 190px !important;
  object-fit: contain;
  display: block;
  transition: all 0.3s ease;
}

.undo-logo-white {
  display: block !important;
}

.undo-logo-dark {
  display: none !important;
}

.undo-header.is-scrolled .undo-brand-img {
  height: 38px !important;
  max-height: 38px !important;
}

.undo-header.is-scrolled .undo-logo-white {
  display: none !important;
}

.undo-header.is-scrolled .undo-logo-dark {
  display: block !important;
}

/* Navigation Links */
.undo-nav-wrap {
  display: flex;
  align-items: center;
  gap: 24px;
}

.undo-nav ul {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 4px;
  margin: 0;
  padding: 0;
}

.undo-nav ul li {
  position: relative;
}

.undo-nav ul li a {
  padding: 10px 16px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #000;
  font-size: 14.5px;
  font-weight: 600;
  border-radius: var(--radius-sm);
  letter-spacing: -0.01em;
  transition: all 0.2s ease;
}

/* Caret Arrow for Dropdowns */
.undo-nav ul li.menu-item-has-children > a::after {
  content: '\f107';
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
  font-size: 12px;
  color: rgb(17, 3, 3);
  transition: transform 0.25s ease, color 0.25s ease;
  margin-left: 4px;
}

.undo-nav ul li.menu-item-has-children.undo-dropdown-open > a::after {
  transform: rotate(180deg);
  color: var(--undo-primary);
}

.undo-nav ul li a:hover,
.undo-nav ul li.current-menu-item > a {
  color: var(--undo-primary);
  background: rgba(255, 255, 255, 0.08);
}

/* Scrolled Nav Colors */
.undo-header.is-scrolled .undo-nav ul li a {
  color: var(--undo-dark);
}

.undo-header.is-scrolled .undo-nav ul li.menu-item-has-children > a::after {
  color: var(--undo-muted);
}

.undo-header.is-scrolled .undo-nav ul li a:hover,
.undo-header.is-scrolled .undo-nav ul li.current-menu-item > a {
  color: var(--undo-primary);
  background: rgba(147, 183, 121, 0.1);
}

/* Clean Dropdown Sub-menu */
.undo-nav ul li ul.sub-menu {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  text-align: left;
  background: #ffffff !important;
  min-width: 250px;
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.15), 0 4px 12px rgba(0, 0, 0, 0.08);
  border-radius: 12px;
  padding: 8px;
  display: none;
  flex-direction: column;
  z-index: 999;
  border: 1px solid rgba(0, 0, 0, 0.06);
}

.undo-nav ul li ul.sub-menu::before {
  content: '';
  position: absolute;
  top: -6px;
  left: 20px;
  width: 10px;
  height: 10px;
  background: #ffffff;
  border-left: 1px solid rgba(0, 0, 0, 0.06);
  border-top: 1px solid rgba(0, 0, 0, 0.06);
  transform: rotate(45deg);
}

.undo-nav ul li.undo-dropdown-open > ul.sub-menu {
  display: flex !important;
  animation: fadeInMenu 0.2s ease-out forwards;
}

@keyframes fadeInMenu {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: translateY(0); }
}

.undo-nav ul li ul.sub-menu li {
  width: 100%;
  text-align: left;
  margin: 0;
}

.undo-nav ul li ul.sub-menu li a {
  padding: 10px 14px;
  font-size: 13.5px;
  font-weight: 500;
  color: var(--undo-dark) !important;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: flex-start;
  text-align: left;
  gap: 10px;
  width: 100%;
  background: transparent !important;
  transition: all 0.2s ease;
}

.undo-nav ul li ul.sub-menu li.menu-item-has-children > a::after {
  content: '\f105';
  margin-left: auto;
  color: var(--undo-muted) !important;
}

.undo-nav ul li ul.sub-menu li a:hover {
  background: #f4f7f1 !important;
  color: var(--undo-accent) !important;
  padding-left: 18px;
  font-weight: 600;
}

/* Call to Action Button in Header */
.btn-header-cta {
  background: var(--undo-primary);
  color: #f7ebeb !important;
  font-weight: 700;
  padding: 10px 24px;
  border-radius: 30px;
  font-size: 13.5px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 4px 14px rgba(147, 183, 121, 0.35);
  letter-spacing: 0.02em;
  transition: var(--transition);
}

.btn-header-cta:hover {
  background: var(--undo-accent);
  color: #ffffff !important;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(67, 82, 49, 0.3);
}

.undo-mobile-toggle {
  display: none;
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: var(--radius-sm);
  font-size: 20px;
  color: #ffffff;
  cursor: pointer;
  padding: 6px 12px;
  transition: all 0.2s ease;
}

.undo-header.is-scrolled .undo-mobile-toggle {
  background: var(--undo-bg-page);
  border: 1px solid var(--undo-border);
  color: var(--undo-dark);
}

/* Announcement Ticker */
.undo-notice-ticker {
  background: #f4f7f1;
  border-bottom: 1px solid #e4e6ec;
  color: #334327;
  padding: 9px 0;
  font-size: 13.5px;
  font-weight: 500;
}

.undo-notice-inner {
  display: flex;
  align-items: center;
  gap: 15px;
}

.undo-notice-badge {
  background: var(--undo-accent);
  color: #fff;
  font-size: 11px;
  font-weight: 800;
  padding: 3px 12px;
  border-radius: var(--radius-full);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  white-space: nowrap;
  box-shadow: 0 2px 6px rgba(67, 82, 49, 0.25);
}

/* ==========================================================================
   HERO BANNER & DYNAMIC SLIDER (Exact Match to undo.org.np)
   ========================================================================== */
.undo-hero-wrapper {
  position: relative;
  width: 100%;
  overflow: hidden;
  background: var(--undo-dark);
}

.undo-hero-slider {
  position: relative;
  width: 100%;
  min-height: 600px;
}

.undo-hero,
.undo-hero-slide {
  position: relative;
  background-position: center center;
  background-size: cover;
  background-repeat: no-repeat;
  color: #ffffff;
  padding: 180px 0 130px 0;
  overflow: hidden;
  display: flex;
  align-items: center;
  min-height: 600px;
}

.undo-hero-slider .undo-hero-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1), visibility 0.8s ease, transform 0.8s ease;
  transform: scale(1.02);
  z-index: 1;
}

.undo-hero-slider .undo-hero-slide.active {
  position: relative;
  opacity: 1;
  visibility: visible;
  transform: scale(1);
  z-index: 2;
}

/* Slider Controls */
.undo-slider-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(28, 28, 28, 0.45);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  cursor: pointer;
  z-index: 10;
  transition: all 0.25s ease;
  backdrop-filter: blur(8px);
}

.undo-slider-arrow:hover {
  background: var(--undo-primary);
  border-color: var(--undo-primary);
  color: var(--undo-dark);
  transform: translateY(-50%) scale(1.08);
}

.undo-slider-arrow.prev {
  left: 24px;
}

.undo-slider-arrow.next {
  right: 24px;
}

.undo-slider-dots {
  position: absolute;
  bottom: 26px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  z-index: 10;
}

.undo-slider-dot {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.35);
  cursor: pointer;
  transition: all 0.3s ease;
}

.undo-slider-dot.active {
  background: var(--undo-primary);
  width: 32px;
  border-radius: 8px;
}

.undo-hero-watermark {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 13vw;
  font-weight: 900;
  font-family: var(--font-heading);
  color: rgba(255, 255, 255, 0.04);
  letter-spacing: 14px;
  pointer-events: none;
  z-index: 1;
  text-transform: uppercase;
  user-select: none;
}

.undo-hero-content {
  max-width: 820px;
  position: relative;
  z-index: 2;
}
.undo-hero-content h1 
{
  color: #fff;
  padding: 20px 0;
}

.undo-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #c2e3ab;
  font-family: var(--font-accent);
  font-size: 13.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 20px;
}

.undo-hero h1, .undo-hero h2 {
  font-size: clamp(34px, 5vw, 54px);
  font-weight: 700;
  color: #ffffff;
  line-height: 1.15;
  margin-bottom: 24px;
  letter-spacing: -0.02em;
}

.undo-hero p {
  font-size: 17.5px;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 38px;
  line-height: 1.7;
  font-weight: 400;
  max-width: 720px;
}

.undo-hero-buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.btn-primary-undo {
  background: var(--undo-primary);
  color: #f0e9e9 !important;
  font-weight: 700;
  padding: 14px 34px;
  border-radius: 30px;
  box-shadow: 0 6px 20px rgba(147, 183, 121, 0.35);
  font-size: 14px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: var(--transition);
}

.btn-primary-undo:hover {
  background: var(--undo-accent);
  color: #ffffff !important;
  transform: translateY(-2px);
  box-shadow: 0 10px 26px rgba(67, 82, 49, 0.4);
}

.btn-outline-undo {
  border: 2px solid rgba(255, 255, 255, 0.85);
  color: #ffffff !important;
  font-weight: 600;
  padding: 12px 30px;
  border-radius: 30px;
  font-size: 14px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  backdrop-filter: blur(4px);
  transition: var(--transition);
}

.btn-outline-undo:hover {
  background: #ffffff;
  color: var(--undo-dark) !important;
  border-color: #ffffff;
  transform: translateY(-2px);
}

/* ==========================================================================
   RECENT EVENTS & ACTIVITIES SECTION (Exact Match to undo.org.np)
   ========================================================================== */
.undo-events-section {
  padding: 95px 0;
  background: #ffffff;
}

.undo-section-heading {
  margin-bottom: 45px;
}

.undo-section-sub {
  display: inline-block;
  color: var(--undo-accent);
  font-family: var(--font-accent);
  font-size: 13.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 10px;
}

.undo-section-title {
  font-size: clamp(28px, 4vw, 38px);
  font-weight: 700;
  color: var(--undo-dark);
  margin-bottom: 14px;
  letter-spacing: -0.02em;
}

.undo-section-desc {
  max-width: 720px;
  margin: 0 auto;
  color: var(--undo-muted);
  font-size: 15.5px;
  line-height: 1.65;
}

.undo-events-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}

.undo-event-card {
  background: #ffffff;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--undo-border);
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.05);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

.undo-event-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.12);
  border-color: var(--undo-primary);
}

.undo-event-thumb-wrap {
  position: relative;
  width: 100%;
  height: 290px;
  overflow: hidden;
  background: #f0f0f0;
}

.undo-event-thumb-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.undo-event-card:hover .undo-event-thumb-wrap img {
  transform: scale(1.06);
}

.undo-event-date-badge {
  position: absolute;
  top: 18px;
  left: 18px;
  background: #ffffff;
  padding: 8px 16px;
  border-radius: 8px;
  text-align: center;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.16);
  z-index: 2;
}

.undo-event-date-badge .day {
  font-family: var(--font-heading);
  font-size: 24px;
  font-weight: 800;
  color: var(--undo-dark);
  line-height: 1;
}

.undo-event-date-badge .month {
  font-family: var(--font-accent);
  font-size: 11px;
  font-weight: 700;
  color: var(--undo-accent);
  text-transform: uppercase;
  margin-top: 4px;
}

.undo-event-body {
  padding: 28px 24px 30px;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.undo-event-body h3 {
  font-size: 20px;
  font-weight: 700;
  color: var(--undo-dark);
  line-height: 1.4;
  margin-bottom: 12px;
}

.undo-event-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13.5px;
  font-weight: 700;
  color: var(--undo-accent);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: var(--transition);
}

.undo-event-btn:hover {
  color: var(--undo-primary);
  transform: translateX(4px);
}

/* ==========================================================================
   WHAT WE DO / EXPLORE OUR ORGANIZATION (4 Pillars Grid)
   ========================================================================== */
.undo-pillars-section {
  padding: 95px 0;
  background: var(--undo-bg-alt);
}

.undo-pillars-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.undo-pillar-card {
  background: #ffffff;
  border-radius: 12px;
  padding: 38px 24px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
  border: 1px solid var(--undo-border);
  text-align: center;
  transition: var(--transition);
}

.undo-pillar-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 32px rgba(67, 82, 49, 0.1);
  border-color: var(--undo-primary);
}

.undo-pillar-icon {
  width: 68px;
  height: 68px;
  background: rgba(147, 183, 121, 0.16);
  color: var(--undo-accent);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  margin: 0 auto 24px;
  transition: var(--transition);
}

.undo-pillar-card:hover .undo-pillar-icon {
  background: var(--undo-accent);
  color: #ffffff;
  transform: rotateY(180deg);
}

.undo-pillar-card h4 {
  font-size: 18.5px;
  margin-bottom: 14px;
  color: var(--undo-dark);
}

.undo-pillar-card p {
  color: var(--undo-muted);
  font-size: 14px;
  line-height: 1.65;
}

/* ==========================================================================
   MEMBERSHIP OPTIONS (Exact UI Layout from undo.org.np)
   ========================================================================== */
.undo-membership-section {
  padding: 95px 0;
  background: #ffffff;
}

.undo-pricing-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  align-items: stretch;
}

.undo-price-card {
  background: #ffffff;
  border: 1px solid var(--undo-border);
  border-radius: 8px;
  overflow: hidden;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
}

.undo-price-card:hover {
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.12);
  transform: translateY(-6px);
}

/* Top Light Gray Box */
.undo-price-top {
  background: #f9f9f9;
  padding: 26px 20px 44px;
  text-align: center;
  border-bottom: 1px solid rgba(0, 0, 0, 0.04);
}

.undo-price-sub {
  font-size: 13.5px;
  color: var(--undo-dark);
  font-weight: 500;
  margin-bottom: 6px;
}

.undo-price-val {
  font-family: var(--font-accent), var(--font-heading);
  font-size: 24px;
  font-weight: 700;
  color: var(--undo-dark);
}

/* Overlapping Title Bar */
.undo-price-title-bar {
  background: var(--undo-accent);
  margin: -26px 18px 0 18px;
  padding: 12px 14px;
  border-radius: 4px;
  text-align: center;
  box-shadow: 0 4px 12px rgba(67, 82, 49, 0.25);
  position: relative;
  z-index: 2;
}

.undo-price-title-bar h3 {
  font-family: var(--font-accent);
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: #ffffff;
  margin: 0;
}

/* Featured / Popular styling */
.undo-price-card.featured .undo-price-title-bar {
  background: var(--undo-primary);
  box-shadow: 0 4px 14px rgba(147, 183, 121, 0.45);
}

.undo-price-card.featured .undo-price-title-bar h3 {
  color: var(--undo-dark);
}

/* Card Body with Features/Description */
.undo-price-body {
  padding: 28px 22px 30px;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.undo-price-desc {
  font-size: 13px;
  line-height: 1.65;
  color: var(--undo-muted);
  margin-bottom: 24px;
}

.undo-price-features {
  list-style: none;
  padding: 0;
  margin: 0 0 24px 0;
}

.undo-price-features li {
  font-size: 13px;
  line-height: 1.5;
  color: var(--undo-dark);
  padding: 8px 0;
  border-bottom: 1px dashed var(--undo-border);
  display: flex;
  align-items: flex-start;
  gap: 8px;
}

.undo-price-features li::before {
  content: '✓';
  color: var(--undo-primary);
  font-weight: 900;
  font-size: 14px;
  flex-shrink: 0;
}

.undo-price-btn {
  display: block;
  width: 100%;
  text-align: center;
  padding: 11px 20px;
  border-radius: 30px;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  border: 2px solid var(--undo-accent);
  color: var(--undo-accent);
  background: transparent;
  transition: var(--transition);
}

.undo-price-btn:hover {
  background: var(--undo-accent);
  color: #ffffff !important;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(67, 82, 49, 0.25);
}

.undo-price-card.featured .undo-price-btn {
  background: var(--undo-accent);
  color: #ffffff;
}

.undo-price-card.featured .undo-price-btn:hover {
  background: var(--undo-primary);
  border-color: var(--undo-primary);
  color: var(--undo-dark) !important;
}

/* ==========================================================================
   EXPLORE UNITED NEPALI DIASPORA (CTA Full-Width Banner from undo.org.np)
   ========================================================================== */
.undo-cta-banner-section {
  position: relative;
  background: linear-gradient(rgba(28, 28, 28, 0.78), rgba(20, 28, 18, 0.88)), 
              url('images/cta-banner.jpg') center/cover no-repeat;
  padding: 110px 0;
  text-align: center;
  color: #ffffff;
}

.undo-cta-banner-inner {
  max-width: 820px;
  margin: 0 auto;
}

.undo-cta-banner-inner h2 {
  font-family: var(--font-heading);
  font-size: clamp(28px, 4.5vw, 44px);
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 20px;
  letter-spacing: -0.02em;
}

.undo-cta-banner-inner p {
  font-size: 17.5px;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 34px;
}

/* ==========================================================================
   PRESIDENT / LEADERSHIP SECTION
   ========================================================================== */
.undo-president-section {
  padding: 95px 0;
  background: #ffffff;
}

.undo-president-grid {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 60px;
  align-items: center;
}

.undo-president-card {
  text-align: center;
  background: var(--undo-bg-alt);
  border: 1px solid var(--undo-border);
  padding: 38px 28px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  position: relative;
}

.undo-president-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 20%;
  right: 20%;
  height: 4px;
  background: var(--undo-primary);
  border-radius: 0 0 4px 4px;
}

.undo-president-avatar {
  width: 180px;
  height: 180px;
  border-radius: 50%;
  margin: 0 auto 22px;
  border: 5px solid #ffffff;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.1);
  object-fit: cover;
}

.undo-president-card h4 {
  font-size: 22px;
  margin-bottom: 6px;
}

.undo-president-card .designation {
  color: var(--undo-accent);
  font-weight: 700;
  font-size: 14px;
}

.undo-quote {
  font-size: 17px;
  font-style: italic;
  color: var(--undo-slate);
  border-left: 4px solid var(--undo-primary);
  padding: 16px 22px;
  margin: 24px 0;
  line-height: 1.8;
  background: #f7faf4;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}

/* ==========================================================================
   NEWS & UPDATES SECTION
   ========================================================================== */
.undo-news-section {
  padding: 95px 0;
  background: var(--undo-bg-alt);
}

.undo-news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.undo-news-card {
  background: #ffffff;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
  border: 1px solid var(--undo-border);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

.undo-news-card:hover {
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.1);
  transform: translateY(-5px);
  border-color: var(--undo-primary);
}

.undo-news-thumb {
  height: 220px;
  width: 100%;
  object-fit: cover;
}

.undo-news-body {
  padding: 24px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.undo-news-meta {
  font-size: 12.5px;
  color: var(--undo-muted);
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 14px;
}

.undo-news-card h4 {
  font-size: 18.5px;
  margin-bottom: 12px;
  line-height: 1.4;
}

.undo-news-card h4 a {
  color: var(--undo-dark);
}

.undo-news-card h4 a:hover {
  color: var(--undo-accent);
}

.undo-news-card p {
  font-size: 14px;
  color: var(--undo-muted);
  margin-bottom: 20px;
  flex: 1;
  line-height: 1.6;
}

.undo-readmore {
  font-weight: 700;
  font-size: 14px;
  color: var(--undo-accent);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: var(--transition);
}

.undo-readmore:hover {
  color: var(--undo-primary);
  transform: translateX(4px);
}

/* ==========================================================================
   FOOTER (Exact Charcoal Style from undo.org.np)
   ========================================================================== */
.undo-footer {
  background: #1c1c1c;
  color: #a0a0a0;
  font-size: 14px;
  padding: 85px 0 0;
}

.undo-footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 45px;
  padding-bottom: 60px;
}

.undo-footer-col h4 {
  color: #ffffff;
  font-size: 17px;
  margin-bottom: 24px;
  position: relative;
  padding-bottom: 12px;
  letter-spacing: -0.01em;
}

.undo-footer-col h4::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 34px;
  height: 3px;
  background: var(--undo-primary);
  border-radius: 2px;
}

.undo-footer-links {
  list-style: none;
}

.undo-footer-links li {
  margin-bottom: 11px;
}

.undo-footer-links li a {
  color: #a0a0a0;
  display: inline-block;
}

.undo-footer-links li a:hover {
  color: var(--undo-primary);
  transform: translateX(4px);
}

.undo-footer-contact li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 16px;
}

.undo-footer-contact span.icon {
  color: var(--undo-primary);
  margin-top: 3px;
}

.undo-footer-social {
  display: flex;
  gap: 10px;
  margin-top: 22px;
}

.undo-footer-social a {
  width: 32px;
  height: 32px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
  font-size: 13px;
  transition: var(--transition);
}

.undo-footer-social a:hover {
  background: var(--undo-primary);
  color: var(--undo-dark);
  transform: translateY(-2px);
}

.undo-footer-bottom {
  background: #141414;
  padding: 22px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  font-size: 13px;
  color: #777777;
}

.undo-footer-bottom .undo-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 15px;
}

.undo-footer-bottom a {
  color: #cccccc;
}

.undo-footer-bottom a:hover {
  color: var(--undo-primary);
}

/* ==========================================================================
   PAGES, BLOGS & FORMS
   ========================================================================== */
.undo-page-header {
  background: linear-gradient(135deg, #1C1C1C 0%, #24301D 100%),
              url('images/hero-banner.jpg') center/cover no-repeat;
  color: #ffffff;
  padding: 165px 0 55px;
  margin-bottom: 45px;
  position: relative;
}

.undo-page-header h1 {
  color: #ffffff;
  font-size: 36px;
  margin-bottom: 10px;
}

.undo-breadcrumbs {
  font-size: 13.5px;
  color: #cbd5e1;
}

.undo-breadcrumbs a {
  color: #ffffff;
}

.undo-content-area {
  padding: 30px 0 80px;
}

.undo-main-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
}

.undo-main-layout.full-width {
  grid-template-columns: 1fr;
}

.undo-post-entry {
  background: #ffffff;
  padding: 40px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-xs);
  border: 1px solid var(--undo-card-border);
  margin-bottom: 30px;
}

.undo-sidebar-widget {
  background: #ffffff;
  padding: 28px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-xs);
  border: 1px solid var(--undo-card-border);
  margin-bottom: 28px;
}

.undo-sidebar-widget h4 {
  font-size: 18.5px;
  margin-bottom: 18px;
  border-bottom: 2px solid var(--undo-border);
  padding-bottom: 10px;
}

.undo-sidebar-widget ul {
  list-style: none;
}

.undo-sidebar-widget ul li {
  padding: 9px 0;
  border-bottom: 1px solid #f8fafc;
}

/* ==========================================================================
   RESPONSIVE & MOBILE UI OPTIMIZATIONS
   ========================================================================== */
@media (max-width: 992px) {
  .undo-topbar {
    padding: 7px 0;
    font-size: 12px;
  }
  .undo-topbar .undo-container {
    justify-content: center;
    gap: 8px;
  }
  .undo-topbar-left {
    justify-content: center;
    gap: 14px;
    width: 100%;
  }
  .undo-topbar-right {
    display: none; /* Keep top clean on smaller tablets/mobiles */
  }

  .undo-header-inner {
    padding: 10px 0;
  }

  .undo-brand-img,
  .undo-header-inner a img,
  .custom-logo {
    height: 32px !important;
    max-height: 32px !important;
    max-width: 140px !important;
  }

  .undo-mobile-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: var(--radius-sm);
    background: rgba(255, 255, 255, 0.18);
    border: 1px solid rgba(255, 255, 255, 0.35);
    color: #ffffff;
    font-size: 20px;
  }

  .undo-header.is-scrolled .undo-mobile-toggle {
    background: var(--undo-bg-page);
    border: 1px solid var(--undo-border);
    color: var(--undo-dark);
  }

  .undo-nav-wrap {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: #ffffff;
    padding: 20px 24px 28px;
    box-shadow: 0 16px 30px rgba(0, 38, 102, 0.15);
    flex-direction: column;
    align-items: stretch;
    border-top: 1px solid var(--undo-border);
  }
  .undo-nav-wrap.active {
    display: flex;
    animation: slideDownMobile 0.25s ease-out forwards;
  }

  @keyframes slideDownMobile {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
  }

  .undo-nav ul {
    flex-direction: column;
    width: 100%;
    gap: 0;
  }
  .undo-nav ul li {
    width: 100%;
    border-bottom: 1px solid #f1f5f9;
  }
  .undo-nav ul li a {
    padding: 12px 6px;
    font-size: 15px;
    color: var(--undo-dark) !important;
    display: flex;
    justify-content: space-between;
    align-items: center;
  }
  .undo-nav ul li.menu-item-has-children > a::after {
    color: var(--undo-muted) !important;
  }
  .undo-nav ul li a:hover {
    color: var(--undo-primary) !important;
    background: none !important;
  }
  .undo-nav ul li ul.sub-menu {
    position: static;
    box-shadow: none;
    border: none;
    background: #f8fafc;
    border-radius: var(--radius-sm);
    padding: 6px 12px;
    margin: 4px 0 10px;
    display: flex;
  }
  .undo-nav ul li ul.sub-menu li {
    border-bottom: 1px dashed #e2e8f0;
  }
  .undo-nav ul li ul.sub-menu li:last-child {
    border-bottom: none;
  }
  .undo-nav ul li ul.sub-menu li a {
    padding: 8px 6px;
    font-size: 13.5px;
    color: var(--undo-dark) !important;
  }

  .btn-header-cta {
    margin-top: 18px;
    width: 100%;
    justify-content: center;
    padding: 12px;
  }

  /* Notice ticker on mobile */
  .undo-notice-ticker {
    padding: 6px 0;
    font-size: 12.5px;
  }
  .undo-notice-badge {
    padding: 2px 8px;
    font-size: 10px;
  }

  /* Hero Section in Mobile */
  .undo-hero {
    padding: 135px 0 70px 0;
    text-align: center;
  }
  .undo-hero-badge {
    margin-bottom: 16px;
    font-size: 11px;
    padding: 4px 12px;
  }
  .undo-hero h2 {
    font-size: 28px;
    line-height: 1.25;
    margin-bottom: 16px;
  }
  .undo-hero p {
    font-size: 15px;
    line-height: 1.6;
    margin-bottom: 25px;
  }
  .undo-hero-buttons {
    justify-content: center;
    gap: 12px;
  }
  .btn-primary-undo, .btn-outline-undo {
    width: 100%;
    justify-content: center;
    padding: 12px 20px;
    font-size: 14.5px;
  }

  .undo-stats-bar {
    margin-top: -30px;
    padding: 20px 16px;
  }
  .undo-stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }
  .undo-stat-item h3 {
    font-size: 26px;
  }
  .undo-stat-item p {
    font-size: 11.5px;
  }

  .undo-president-grid {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 35px;
  }
  .undo-events-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .undo-pillars-grid {
    grid-template-columns: 1fr;
  }
  .undo-pricing-grid {
    grid-template-columns: 1fr;
  }
  .undo-news-grid {
    grid-template-columns: 1fr;
  }
  .undo-footer-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .undo-main-layout {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .undo-topbar-left .topbar-address {
    display: none; /* Hide lengthy address on very narrow phone screens to keep phone/email visible */
  }
  .undo-brand-img,
  .undo-header-inner a img,
  .custom-logo {
    height: 28px !important;
    max-height: 28px !important;
    max-width: 125px !important;
  }
  .undo-hero h2 {
    font-size: 24px;
  }
  .undo-stats-grid {
    grid-template-columns: 1fr 1fr;
  }
}

/* ==========================================================================
   PAYPAL SANDBOX CHECKOUT & TIER SELECTOR
   ========================================================================== */
.undo-tier-pill-btn {
  background: #f1f5f9;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  padding: 10px 12px;
  font-size: 13px;
  font-family: inherit;
  color: var(--undo-dark);
  cursor: pointer;
  transition: all 0.2s ease;
  line-height: 1.35;
  text-align: center;
}

.undo-tier-pill-btn strong {
  font-size: 14.5px;
  color: var(--undo-accent);
}

.undo-tier-pill-btn:hover {
  border-color: #0070ba;
  background: #e0f2fe;
}

.undo-tier-pill-btn.active {
  background: #0070ba;
  border-color: #00558c;
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(0, 112, 186, 0.28);
}

.undo-tier-pill-btn.active strong {
  color: #ffc439;
}

/* Official PayPal Gold Button */
.undo-paypal-btn-gold {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  width: 100%;
  background: #ffc439;
  border: 1px solid #e0a800;
  border-radius: 30px;
  padding: 14px 28px;
  font-size: 15.5px;
  font-weight: 700;
  color: #003087;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(255, 196, 57, 0.45);
  transition: all 0.25s ease;
  text-decoration: none;
}

.undo-paypal-btn-gold:hover {
  background: #f4b400;
  box-shadow: 0 6px 20px rgba(255, 196, 57, 0.6);
  transform: translateY(-2px);
  color: #002060;
}

.undo-paypal-btn-gold .paypal-badge {
  font-size: 18px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.undo-paypal-btn-gold .paypal-badge i {
  font-size: 20px;
  color: #003087;
}

.undo-paypal-btn-gold .paypal-badge em {
  font-style: italic;
  color: #0079c1;
}

.undo-paypal-btn-gold .paypal-action-label {
  font-weight: 700;
  letter-spacing: 0.2px;
}

/* Smooth Highlight Pulse Animation */
@keyframes undoCheckoutPulse {
  0% {
    box-shadow: 0 0 0 0 rgba(0, 112, 186, 0.5);
    border-color: #0070ba;
  }
  50% {
    box-shadow: 0 0 0 16px rgba(0, 112, 186, 0);
    border-color: #0070ba;
  }
  100% {
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.08);
  }
}

.undo-checkout-pulse {
  animation: undoCheckoutPulse 1.2s ease-out;
}

/* ==========================================================================
   FOOTER WIDGET STYLING
   ========================================================================== */
.undo-footer-widget .widget-title,
.undo-footer-widget h4 {
  color: #ffffff;
  font-size: 17px;
  margin-bottom: 24px;
  position: relative;
  padding-bottom: 12px;
  letter-spacing: -0.01em;
}

.undo-footer-widget .widget-title::after,
.undo-footer-widget h4::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 34px;
  height: 3px;
  background: var(--undo-primary);
  border-radius: 2px;
}

.undo-footer-widget ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.undo-footer-widget ul li {
  margin-bottom: 11px;
}

.undo-footer-widget ul li a {
  color: #a0a0a0;
  text-decoration: none;
  display: inline-block;
  transition: var(--transition);
}

.undo-footer-widget ul li a:hover {
  color: var(--undo-primary);
  transform: translateX(4px);
}

.undo-footer-widget p {
  line-height: 1.7;
  color: #a0a0a0;
  margin-bottom: 15px;
}

/* ==========================================================================
   MEMBERSHIP REGISTRATION FORM (MODERN PREMIUM UI)
   ========================================================================== */
.undo-form-container-card {
  max-width: 900px;
  margin: 0 auto;
  background: #ffffff;
  border-radius: 16px;
  border: 1px solid #e2e8f0;
  box-shadow: 0 16px 40px -10px rgba(0, 0, 0, 0.08);
  overflow: hidden;
}

.undo-form-header {
  background: linear-gradient(135deg, #1b2618 0%, #29381e 50%, #151e13 100%);
  color: #ffffff;
  padding: 36px 38px;
  border-bottom: 4px solid var(--undo-primary);
  position: relative;
}

.undo-form-header::after {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 200px;
  height: 100%;
  background: radial-gradient(circle at top right, rgba(147, 183, 121, 0.15), transparent 70%);
  pointer-events: none;
}

.undo-form-section-card {
  background: #fbfcfe;
  border: 1px solid #edf2f7;
  border-radius: 12px;
  padding: 26px 28px;
  margin-bottom: 28px;
  transition: all 0.2s ease;
}

.undo-form-section-card:hover {
  border-color: #cbd5e1;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.03);
}

.undo-section-title-wrap {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 22px;
  padding-bottom: 12px;
  border-bottom: 1px solid #e2e8f0;
}

.undo-sec-chip {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: rgba(67, 82, 49, 0.12);
  color: var(--undo-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  flex-shrink: 0;
}

.undo-section-title-wrap h3 {
  margin: 0;
  font-size: 16.5px;
  font-weight: 800;
  color: var(--undo-dark);
  line-height: 1.25;
}

.undo-section-title-wrap .sub-hint {
  font-size: 12.5px;
  color: var(--undo-muted);
  font-weight: 500;
  margin-top: 2px;
}

/* Modern Input Groups with Icons */
.undo-input-group {
  position: relative;
  margin-bottom: 18px;
}

.undo-input-wrap {
  position: relative;
  display: flex;
  align-items: center;
}

.undo-input-wrap i.field-icon {
  position: absolute;
  left: 14px;
  color: #94a3b8;
  font-size: 14px;
  pointer-events: none;
  transition: color 0.2s ease;
  z-index: 2;
}

.undo-input-wrap input.undo-form-control,
.undo-input-wrap select.undo-form-control,
.undo-input-wrap textarea.undo-form-control {
  width: 100%;
  padding: 12px 14px 12px 40px;
  border: 1.5px solid #cbd5e1;
  border-radius: 8px;
  font-size: 14px;
  font-family: inherit;
  background: #ffffff;
  color: #0f172a;
  transition: all 0.2s ease;
  box-sizing: border-box;
}

.undo-input-wrap textarea.undo-form-control {
  padding-left: 40px;
  min-height: 75px;
  resize: vertical;
}

.undo-input-wrap input.undo-form-control:focus,
.undo-input-wrap select.undo-form-control:focus,
.undo-input-wrap textarea.undo-form-control:focus {
  outline: none;
  border-color: #0070ba;
  box-shadow: 0 0 0 3px rgba(0, 112, 186, 0.15);
  background: #ffffff;
}

.undo-input-wrap:focus-within i.field-icon {
  color: #0070ba;
}

/* Tier Selection Cards */
.undo-tier-choice-card {
  background: #ffffff;
  border: 2px solid #e2e8f0;
  border-radius: 12px;
  padding: 18px 16px;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.02);
}

.undo-tier-choice-card:hover {
  border-color: #0070ba;
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0, 112, 186, 0.12);
}

.undo-tier-choice-card.selected {
  border-color: #0070ba !important;
  background: #f0f7ff !important;
  box-shadow: 0 8px 22px rgba(0, 112, 186, 0.18) !important;
  transform: translateY(-2px);
}

.undo-tier-radio-indicator {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: 2px solid #cbd5e1;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
}

.undo-tier-choice-card.selected .undo-tier-radio-indicator {
  border-color: #0070ba;
  background: #0070ba;
}

.undo-tier-choice-card.selected .undo-tier-radio-indicator::after {
  content: '✓';
  color: #ffffff;
  font-size: 11px;
  font-weight: 900;
}

/* Wizard Header Stepper */
.undo-wizard-pill-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #ffffff;
  padding: 8px;
  border-radius: 50px;
  border: 1px solid #e2e8f0;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.04);
}

.undo-wizard-step-btn {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 11px 20px;
  border-radius: 40px;
  font-weight: 700;
  font-size: 13.5px;
  color: #64748b;
  text-decoration: none;
  transition: all 0.25s ease;
}

.undo-wizard-step-btn.active {
  background: #0070ba;
  color: #ffffff !important;
  box-shadow: 0 4px 14px rgba(0, 112, 186, 0.28);
}

.undo-wizard-step-btn.completed {
  background: #ecfdf5;
  color: #059669;
}
