@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');

:root {
  /* --primary: #00AAAD; */
  --primary: #6314b8;
  --primary-dark: #fff;
  --primary-hover: #eddffb;
  --secondary: #4e0eb4;
  --success: #28a745;
  --info: #17a2b8;
  --warning: #ffc107;
  --danger: #dc3545;
  --light: #f8f9fa;
  --dark: #343a40;
  --body-bg: #f8f9fa;
  --body-color: #212529;
  --border-color: #dee2e6;
  --border-radius: 0.5rem;
  --box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.1);
  --accent: #9b59b6;
  --background: #ffffff;
  --text: #333333;
  --text-light: #777777;
  --border: #e5e7eb;
  --card-shadow: 0 8px 30px rgba(0, 0, 0, 0.05);
  --transition: all 0.3s ease;
  --radius: 12px;
  --error: #e74c3c;
  --main-font-family: Verdana, Geneva, sans-serif;


  /* Brand Colors */
  --primary-color: #6314b8;
  --secondary-color: #4e0eb4;
  --accent-color: #6314b8;
  --success-color: #28a745;
  --warning-color: #ffc107;
  --danger-color: #dc3545;
  --info-color: #17a2b8;

  /* Neutral Colors */
  --white: #ffffff;
  --light: #f8f9fa;
  --gray-100: #f8f9fa;
  --gray-200: #e9ecef;
  --gray-300: #dee2e6;
  --gray-400: #ced4da;
  --gray-500: #adb5bd;
  --gray-600: #6c757d;
  --gray-700: #495057;
  --gray-800: #343a40;
  --gray-900: #212529;

  /* Typography */
  --font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    sans-serif;
  --font-size-base: 1rem;
  --line-height-base: 1.6;

  /* Spacing */
  --border-radius: 0.75rem;
  --border-radius-sm: 0.5rem;
  --border-radius-lg: 1rem;

  /* Shadows */
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1),
    0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1),
    0 4px 6px -2px rgba(0, 0, 0, 0.05);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1),
    0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

/* Global Typography */
body {
  font-family: var(--font-family);
  font-size: var(--font-size-base);
  line-height: var(--line-height-base);
  color: var(--secondary-color);
  background-color: var(--light);
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: 600;
  line-height: 1.3;
  margin-bottom: 1rem;
  color: var(--secondary-color);
}

/* Bootstrap Overrides */
.navbar-expand-lg {
  width: 100% !important;
  position: sticky !important;
  top: 0;
  z-index: 1000000000;
}

.skip-to-content{
  display: none !important;
}

.btn-primary {
  background-color: var(--primary-color);
  border-color: var(--primary-color);
  font-weight: 500;
  border-radius: var(--border-radius-sm);
  transition: all 0.3s ease;
}

.btn-primary:hover,
.btn-primary:focus {
  background-color: darken(var(--primary-color), 10%);
  border-color: darken(var(--primary-color), 10%);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

.btn-outline-primary {
  color: var(--primary-color) !important;
  border-color: var(--primary-color) !important;
  font-weight: 500 !important;
  border-radius: var(--border-radius-sm) !important;
  transition: all 0.3s ease !important;
}

.btn-outline-primary:hover,
.btn-outline-primary:focus {
  background-color: var(--primary-color) !important;
  border-color: var(--primary-color) !important;
  transform: translateY(-1px) !important;
  color: var(--primary-dark) !important;
}

.btn-outline-primary.active{
  background-color: var(--primary-color) !important;
  color: var(--primary-dark) !important;
}

.text-primary {
  color: var(--primary-color) !important;
}

.bg-primary {
  background-color: var(--primary-color) !important;
}

.text-accent {
  color: var(--accent-color) !important;
}

/* Brand Elements */
.brand-logo {
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg,
      var(--primary-color) 0%,
      var(--accent-color) 100%);
  border-radius: var(--border-radius);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
}

.brand-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--secondary-color);
}

.brand-subtitle {
  font-size: 0.875rem;
  color: var(--gray-600);
  font-weight: 400;
}

/* Animations */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate-fade-in {
  animation: fadeIn 0.8s ease-out;
}

/* Utility Classes */
.shadow-custom {
  box-shadow: var(--shadow-lg);
}

.rounded-custom {
  border-radius: var(--border-radius);
}

.transition-all {
  transition: all 0.3s ease;
}

/* Responsive Typography */
@media (max-width: 768px) {
  :root {
    --font-size-base: 0.9rem;
  }

  .brand-title {
    font-size: 1.25rem;
  }

  .brand-subtitle {
    font-size: 0.8rem;
  }
}





.donation-step {
  font-family: var(--main-font-family);
}

/* Header BEGIN */

.navbar {
  background: #ffffff;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  padding: 0.5rem 0;
  /* Reduced vertical padding */
  transition: all 0.3s ease;
}

.navbar-brand {
  display: flex;
  align-items: center;
  font-family: var(--main-font-family);
  font-size: 1.1rem;
  /* Slightly smaller font size */
  font-weight: 700;
  padding: 0.25rem 0;
  /* Reduced padding */
}

.navbar-brand img {
  height: 30px;
  /* Smaller logo height */
  margin-right: 0.5rem;
  transition: transform 0.3s ease;
}

.navbar-brand:hover img {
  transform: scale(1.05);
}

.navbar-nav {
  align-items: center;
}

.nav-link {
  color: #333;
  font-family: var(--main-font-family);
  font-weight: 500;
  font-size: 0.9rem;
  /* Reduced font size */
  padding: 0.5rem 1rem !important;
  /* Reduced padding */
  text-transform: uppercase;
  letter-spacing: 0.5px;
  position: relative;
  transition: color 0.3s ease;
}

.nav-link:hover {
  color: var(--primary);
}

.nav-link.active {
  color: var(--primary);
}

.nav-link.active::after {
  content: '';
  position: absolute;
  width: 50%;
  height: 2px;
  /* Thinner underline */
  bottom: 0;
  left: 35%;
  background: var(--primary);
  transform: translateX(-50%);
}

.sign-up-btn {
  background: var(--primary) !important;
  color: #fff !important;
  padding: 0.4rem 1.2rem !important;
  /* Smaller padding */
  border-radius: 20px;
  font-weight: 700;
  font-size: 0.9rem;
  /* Smaller font size */
  transition: all 0.3s ease;
}

.sign-up-btn:hover {
  background: #138496;
  color: #fff !important;
  transform: translateY(-2px);
}

.dropdown-menu {
  border: none;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  border-radius: 10px;
}

.dropdown-item {
  font-family: var(--main-font-family);
  font-weight: 500;
  padding: 0.4rem 1.2rem;
  /* Reduced padding */
  font-size: 0.9rem;
  /* Smaller font size */
}

.dropdown-item:hover {
  background: #f8f9fa;
  color: #17a2b8;
}

.navbar-toggler {
  padding: 0.25rem;
  /* Smaller toggler */
}

@media (max-width: 991px) {
  .navbar-nav {
    padding: 0.5rem 0;
    /* Reduced padding */
    text-align: center;
  }

  .nav-link {
    padding: 0.5rem 1rem !important;
  }

  .nav-link.active::after {
    display: none;
  }

  .sign-up-btn {
    margin: 0.25rem auto;
    /* Reduced margin */
    width: fit-content;
  }

  .dropdown-menu {
    text-align: center;
    width: 100%;
  }
}

a {
  text-decoration: none !important;
}

.navbar-icon {
  font-size: 1rem;
  /* Smaller icon */
}

.dropdown-search {
  padding: 0.5rem;
  /* Reduced padding */
}

/* Header END */

/* Footer START */
.site-footer {
  /* background: linear-gradient(135deg, #1a1a1a, #2a2a2a); Modern dark gradient */
  color: #333133;
  font-family: var(--main-font-family);
  max-width: 1200px; /* Constrain to 1200px */
  margin: 0 auto;
}

.footer-logo {
  height: 45px;
  /* Slightly larger for prominence */
  transition: transform 0.3s ease;
}

.footer-logo-section:hover .footer-logo {
  transform: scale(1.05);
}

.footer-brand {
  font-size: 1.5rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: 0.5px;
}

.footer-description {
  font-size: 0.9rem;
  font-weight: 300;
  color: #b0b0b0;
  line-height: 1.6;
}

.footer-heading {
  font-size: 1.1rem;
  font-weight: 700;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 1.25rem;
}

.footer-links li {
  margin-bottom: 0.75rem;
}

.footer-link {
  font-size: 0.9rem;
  font-weight: 500;
  color: #b0b0b0;
  text-decoration: none;
  transition: color 0.3s ease, transform 0.3s ease;
}

.footer-link:hover {
  color: var(--primary);
  /* Vibrant teal for modern flair */
  transform: translateX(5px);
}

.footer-contact {
  font-size: 0.9rem;
  font-weight: 300;
  color: #b0b0b0;
  line-height: 1.6;
}

.footer-socials {
  gap: 1.25rem !important;
}

.footer-social-icon i {
  background: #fff;
  color: #1a1a1a;
  border-radius: 50%;
  padding: 10px;
  font-size: 1.1rem;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.footer-social-icon:hover i {
  background: var(--primary);
  color: #fff;
  transform: scale(1.15) rotate(5deg);
  /* Subtle rotation for fun */
}

.site-footer-bottom {
  font-size: 0.85rem !important;
  color: #888 !important;
}

.site-footer-copyright {
  font-weight: 300 !important;
  font-size: 0.85rem !important;
  color: #888 !important;
}

.site-footer-bottom-links a {
  font-size: 0.85rem !important;
  color: #b0b0b0 !important;
}

.site-footer-bottom-links a:hover {
  color: #00d4b5 !important;
}

@media (max-width: 768px) {
  .footer-logo-section {
    text-align: center !important;
    margin-bottom: 2rem !important;
  }

  .footer-socials {
    justify-content: center !important;
  }

  .footer-links li {
    text-align: center;
  }

  .footer-link:hover {
    transform: none;
    /* Remove transform on mobile for simplicity */
  }

  .site-footer-bottom {
    text-align: center !important;
  }

  .site-footer-bottom-links {
    justify-content: center !important;
    flex-wrap: wrap !important;
  }
}

/* Footer END */


/* Home BEGIN */



.glass-effect {
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: var(--card-shadow);
}

.section {
  padding: 6rem 0;
}

.container {
  padding: 0 2rem;
  max-width: 1200px;
  /* max-width: 100%; */
  margin: 0 auto;
}

.home-container {
  max-width: 100%;
}

.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.active {
  opacity: 1;
  transform: translateY(0);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius);
  font-weight: 500;
  transition: var(--transition);
  text-decoration: none;
  border: none;
  cursor: pointer;
}

.btn-primary {
  background-color: white !important;
  border-color: var(--primary) !important;
  color: var(--primary) !important;
}

.btn-primary:hover {
  background-color: var(--primary) !important;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(52, 152, 219, 0.3);
  color: white !important;
}

.btn-secondary {
  background-color: var(--secondary) !important;
  border-color: var(--secondary) !important;
  color: white;
}

.btn-secondary:hover {
  background-color: #d35400;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(230, 126, 34, 0.3);
}

.btn-outline {
  background-color: transparent;
  border: 2px solid var(--primary);
  color: var(--primary);
}

.btn-outline:hover {
  background-color: var(--primary);
  color: white;
}

.card {
  background-color: white;
  border-radius: var(--radius);
  box-shadow: var(--card-shadow);
  overflow: hidden;
  transition: var(--transition);
}

.card:hover {
  /* transform: translateY(-5px); */
  /* box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1); */
}

.card-header {
  padding: 1.5rem;
  border-bottom: 1px solid var(--border);
}

.card-body {
  padding: 1.5rem;
}

.card-footer {
  padding: 1.5rem;
  border-top: 1px solid var(--border);
}

.badge {
  display: inline-block;
  padding: 0.35em 0.65em;
  font-size: 0.75em;
  font-weight: 500;
  line-height: 1;
  color: white;
  background-color: var(--primary);
  text-align: center;
  white-space: nowrap;
  vertical-align: baseline;
  border-radius: 0.375rem;
}

@keyframes pulse {
  0% {
    transform: scale(1);
  }

  50% {
    transform: scale(1.05);
  }

  100% {
    transform: scale(1);
  }
}

.pulse {
  animation: pulse 2s infinite;
}

/* Dashboard Styles */
.stats-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.stat-card {
  padding: 1.5rem;
  background-color: white;
  border-radius: var(--radius);
  box-shadow: var(--card-shadow);
}

.stat-label {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-light);
  margin-bottom: 0.5rem;
}

.stat-value {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.stat-change {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
}

.positive-change {
  color: #27ae60;
}

.negative-change {
  color: #e74c3c;
}

.timeline {
  margin-bottom: 2rem;
}

.timeline-item {
  display: flex;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
  position: relative;
}

.timeline-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 15px;
  width: 2px;
  height: 100%;
  background-color: var(--border);
  z-index: 0;
}

.timeline-item:last-child::before {
  height: 0;
}

.timeline-point {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background-color: var(--primary);
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
}

.timeline-content {
  flex: 1;
  background-color: white;
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: var(--card-shadow);
}

.timeline-date {
  font-size: 0.85rem;
  color: var(--text-light);
  margin-bottom: 0.5rem;
}

/* Utility Classes */
.text-primary {
  color: var(--primary);
}

.text-secondary {
  color: var(--secondary);
}

.text-accent {
  color: var(--accent);
}

.text-success {
  color: #27ae60;
}

.text-danger {
  color: #e74c3c;
}

.text-warning {
  color: #f39c12;
}

.text-info {
  color: #3498db;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
  .hero-title {
    font-size: 2.5rem;
  }

  .section {
    padding: 4rem 0;
  }

  .timeline-item {
    flex-direction: column;
  }

  .timeline-item::before {
    left: 16px;
    height: calc(100% + 1.5rem);
  }

  .timeline-item:last-child::before {
    height: 0;
  }

  .timeline-point {
    margin-bottom: 1rem;
  }
}

@media (max-width: 576px) {
  .hero-title {
    font-size: 2rem;
  }

  .section {
    padding: 3rem 0;
  }

  .donation-amount-options,
  .frequency-options {
    flex-direction: column;
  }

  .steps-indicator {
    display: none;
  }
}

/* Empty State Designs */
.empty-state {
  background-color: #f8f9fa;
  border-radius: 8px;
  transition: all 0.3s ease;
}

.empty-state:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.empty-state-icon {
  color: #6c757d;
  transition: all 0.3s ease;
}

.empty-state:hover .empty-state-icon {
  transform: scale(1.1);
  color: var(--primary);
}

/* Mobile Card Designs */
.mobile-data-card {
  border-radius: 12px;
  transition: all 0.2s ease-in-out;
  border: none;
  border-left: 4px solid var(--primary);
}

.mobile-data-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 15px rgba(0, 0, 0, 0.1) !important;
}

.mobile-data-card .card-details {
  background-color: rgba(248, 249, 250, 0.5);
  border-radius: 0 0 12px 12px;
}

.toggle-card-details {
  font-size: 0.8rem;
  padding: 0.25rem 0.75rem;
  border-radius: 50px;
}

/* Mobile Bottom Navigation */
#mobileBottomNav {
  border-top: 1px solid rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  z-index: 1030;
}

#mobileBottomNav a {
  color: #6c757d;
  transition: all 0.2s ease;
  position: relative;
  padding-top: 5px;
}

#mobileBottomNav a.active,
#mobileBottomNav a:hover,
#mobileBottomNav a:focus {
  color: var(--primary);
}

#mobileBottomNav a i {
  font-size: 1.2rem;
  transition: all 0.2s ease;
}

#mobileBottomNav a:hover i {
  transform: translateY(-3px);
}

#mobileBottomNav a span {
  font-size: 0.7rem;
  font-weight: 500;
}

/* Mobile Sidebar */
@media (max-width: 767.98px) {
  .sidebar {
    position: fixed;
    top: 0;
    bottom: 0;
    left: -280px;
    width: 280px;
    z-index: 1035;
    background: white;
    transition: all 0.3s ease-in-out;
    overflow-y: auto;
    box-shadow: none;
  }

  .sidebar.show-mobile {
    left: 0;
    box-shadow: 5px 0 15px rgba(0, 0, 0, 0.1);
  }

  body.sidebar-open::after {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1034;
  }
}

/* Form Styles Enhancements */
.donation-amount {
  position: relative;
  transition: all 0.2s ease;
}

.donation-amount-input {
  position: absolute;
  opacity: 0;
}

.donation-amount-label {
  display: block;
  padding: 0.75rem;
  text-align: center;
  border: 2px solid #dee2e6;
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}

.donation-amount-input:checked+.donation-amount-label {
  background-color: var(--primary);
  color: white;
  border-color: var(--primary);
  transform: scale(1.05);
  box-shadow: 0 5px 15px rgba(52, 152, 219, 0.3);
}

.form-check-input:checked {
  background-color: var(--primary);
  border-color: var(--primary);
}

.form-check-label {
  font-weight: normal;
}

/* Confetti animation for transaction fee checkbox */
.cover-fee-container {
  position: relative;
}

.cover-fee-container .form-check-input:checked {
  animation: pulse-glow 1s;
}

@keyframes pulse-glow {
  0% {
    box-shadow: 0 0 0 0 rgba(52, 152, 219, 0.7);
  }

  70% {
    box-shadow: 0 0 0 10px rgba(52, 152, 219, 0);
  }

  100% {
    box-shadow: 0 0 0 0 rgba(52, 152, 219, 0);
  }
}

/* Responsive Table Adjustments */
@media (max-width: 767.98px) {
  .table-responsive-card {
    display: none;
  }

  .mobile-card-container {
    display: block;
  }
}

@media (min-width: 768px) {
  .mobile-card-container {
    display: none;
  }
}






/* Mobile Card Styles */
.mobile-card-container {
  display: none;
}

@media (max-width: 767.98px) {
  .table-responsive-card {
    display: none;
  }

  .mobile-card-container {
    display: block;
  }

  .mobile-data-card {
    transition: transform 0.2s ease;
  }

  .card-actions {
    height: 0;
    overflow: hidden;
    transition: height 0.3s ease;
  }

  .card-actions.show {
    height: auto;
    padding-top: 1rem;
  }
}

/* Stats Container */
.stats-container {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1rem;
  margin-bottom: 2rem;
}

.stat-card {
  background-color: white;
  border-radius: 0.5rem;
  padding: 1.5rem;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.stat-label {
  font-size: 0.875rem;
  color: #6c757d;
  margin-bottom: 0.5rem;
}

.stat-value {
  font-size: 1.75rem;
  font-weight: bold;
  margin-bottom: 0.75rem;
}

.stat-change {
  display: flex;
  align-items: center;
  font-size: 0.875rem;
}

.positive-change {
  color: #28a745;
}

.negative-change {
  color: #dc3545;
}

/* Timeline styles */
.timeline {
  position: relative;
  padding: 0;
}

.timeline-item {
  display: flex;
  padding: 1.25rem 1.5rem;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.timeline-item:last-child {
  border-bottom: none;
}

.timeline-point {
  width: 32px;
  height: 32px;
  background-color: var(--primary-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 1rem;
  flex-shrink: 0;
}

.timeline-content {
  flex: 1;
}

.timeline-date {
  font-size: 0.75rem;
  color: #6c757d;
  margin-bottom: 0.25rem;
}

/* Home END */

/* Donation Card BEGIN */

/* Modern Frequency Toggle */
.frequency-toggle-container {
  margin-bottom: 1.5rem;
}

.frequency-toggle {
  display: flex;
  flex-wrap: wrap;
  background-color: #f5f7fa;
  border-radius: 50px;
  padding: 0.25rem;
  position: relative;
  border: 1px solid var(--border);
}

.frequency-toggle-input {
  display: none;
}

.frequency-toggle-label {
  flex: 1;
  text-align: center;
  padding: 0.75rem 1rem;
  font-weight: 500;
  border-radius: 50px;
  cursor: pointer;
  transition: all 0.3s ease;
  margin: 0;
  z-index: 1;
  color: var(--text-light);
  min-width: 100px;
}

.frequency-toggle-input:checked+.frequency-toggle-label {
  color: white;
  font-weight: 600;
  box-shadow: 0 3px 8px rgba(52, 152, 219, 0.25);
  background-color: var(--primary);
}

/* Donor Type Toggle */
.donor-type-toggle {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.donor-type-input {
  display: none;
}

.donor-type-label {
  flex: 1;
  text-align: center;
  padding: 1rem;
  border: 2px solid var(--border);
  border-radius: var(--radius);
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 160px;
}

.donor-type-label i {
  font-size: 1.1rem;
}

.donor-type-input:checked+.donor-type-label {
  border-color: var(--primary);
  background-color: rgba(52, 152, 219, 0.08);
  color: var(--primary);
  font-weight: 600;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(52, 152, 219, 0.15);
}

/* Updated Amount Options */
.donation-amount {
  position: relative;
  transition: all 0.3s ease;
}

.donation-amount-input {
  position: absolute;
  opacity: 0;
}

.donation-amount-label {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 60px;
  text-align: center;
  border: 2px solid #dee2e6;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 1.1rem;
  cursor: pointer;
  transition: all 0.3s ease;
}

.donation-amount-input:checked+.donation-amount-label {
  background-color: var(--primary);
  color: white;
  border-color: var(--primary);
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(52, 152, 219, 0.3);
}

/* Form Validation Styling */
.form-control:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 0.25rem rgba(52, 152, 219, 0.25);
}

.form-control.is-invalid {
  border-color: var(--error);
  padding-right: calc(1.5em + 0.75rem);
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12' width='12' height='12' fill='none' stroke='%23e74c3c'%3e%3ccircle cx='6' cy='6' r='4.5'/%3e%3cpath stroke-linejoin='round' d='M5.8 3.6h.4L6 6.5z'/%3e%3ccircle cx='6' cy='8.2' r='.6' fill='%23e74c3c' stroke='none'/%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: right calc(0.375em + 0.1875rem) center;
  background-size: calc(0.75em + 0.375rem) calc(0.75em + 0.375rem);
}

.form-control.is-invalid:focus {
  box-shadow: 0 0 0 0.25rem rgba(231, 76, 60, 0.25);
}

.invalid-feedback {
  display: none;
  color: var(--error);
  font-size: 0.875rem;
  margin-top: 0.25rem;
}

/* Dedication Section */
.dedication-toggle {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.dedication-toggle .form-check-inline {
  background-color: #f8f9fa;
  border: 2px solid var(--border);
  border-radius: var(--radius);
  padding: 0.75rem 1.25rem;
  margin: 0;
  transition: all 0.3s ease;
  min-width: 160px;
}

.dedication-toggle .form-check-input {
  margin-right: 0.5rem;
}

.dedication-toggle .form-check-inline:hover {
  background-color: #f1f4f7;
}

.dedication-toggle .form-check-input:checked+.form-check-label {
  color: var(--primary);
}

.dedication-toggle .form-check-inline:has(.form-check-input:checked) {
  border-color: var(--primary);
  background-color: rgba(52, 152, 219, 0.08);
}

/* Monthly Promotion Banner */
.monthly-promotion {
  border-left: 4px solid var(--primary);
  animation: pulse-border 2s infinite;
}

@keyframes pulse-border {
  0% {
    border-left-color: var(--primary);
  }

  50% {
    border-left-color: var(--accent);
  }

  100% {
    border-left-color: var(--primary);
  }
}

.icon-circle {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Progress Step Indicators - Enhanced */
.form-steps {
  position: relative;
  z-index: 1;
}

.form-steps::before {
  content: "";
  position: absolute;
  top: 16px;
  left: 0;
  right: 0;
  height: 2px;
  background-color: var(--border);
  z-index: -1;
}

.form-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  flex: 1;
}

.step-icon {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background-color: #f1f1f1;
  color: var(--text-light);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.5rem;
  font-weight: 600;
  transition: all 0.3s ease;
  border: 2px solid var(--border);
}

.form-step.active .step-icon {
  background-color: var(--primary);
  color: white;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.25);
}

.form-step.completed .step-icon {
  background-color: var(--success);
  border-color: var(--success);
  color: white;
}

.step-text {
  font-size: 0.85rem;
  font-weight: 500;
  transition: all 0.3s ease;
  font-family: var(--main-font-family);
}

.form-step.active .step-text {
  color: var(--primary);
  font-weight: 600;
}


/* Form Styles Enhancements */
.donation-amount {
  position: relative;
  transition: all 0.2s ease;
}

.donation-amount-input {
  position: absolute;
  opacity: 0;
}

.donation-amount-label {
  display: block;
  padding: 0.75rem;
  text-align: center;
  border: 2px solid #dee2e6;
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}

.donation-amount-input:checked+.donation-amount-label {
  background-color: var(--primary);
  color: white;
  border-color: var(--primary);
  transform: scale(1.05);
  box-shadow: 0 5px 15px rgba(52, 152, 219, 0.3);
}

.form-check-input:checked {
  background-color: var(--primary);
  border-color: var(--primary);
}

/* Confetti animation for transaction fee checkbox */
.cover-fee-container {
  position: relative;
}

.cover-fee-container .form-check-input:checked {
  animation: pulse-glow 1s;
}

@keyframes pulse-glow {
  0% {
    box-shadow: 0 0 0 0 rgba(52, 152, 219, 0.7);
  }

  70% {
    box-shadow: 0 0 0 10px rgba(52, 152, 219, 0);
  }

  100% {
    box-shadow: 0 0 0 0 rgba(52, 152, 219, 0);
  }
}

/* Typography Enhancements for Visual Distinction */
.form-label {
  color: var(--text);
  margin-bottom: 0.5rem;
}

textarea.form-control {
  resize: vertical;
  min-height: 100px;
}

/* Buttons styling */
.btn {
  transition: all 0.3s ease;
  font-weight: 500;
}


/* .btn-primary:focus */
.btn-primary:hover {
  background-color: var(--primary);
  border-color: var(--primary);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(52, 152, 219, 0.25);
  color: white !important;
}

.btn-outline-primary {
  color: var(--primary);
  border-color: var(--primary);
}

.btn-outline-primary:hover,
.btn-outline-primary:focus {
  background-color: var(--primary);
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(52, 152, 219, 0.15);
}

/* Confetti animation for transaction fee checkbox */
.cover-fee-container {
  position: relative;
}

.cover-fee-container .form-check-input:checked {
  animation: pulse-glow 1s;
}

@keyframes pulse-glow {
  0% {
    box-shadow: 0 0 0 0 rgba(52, 152, 219, 0.7);
  }

  70% {
    box-shadow: 0 0 0 10px rgba(52, 152, 219, 0);
  }

  100% {
    box-shadow: 0 0 0 0 rgba(52, 152, 219, 0);
  }
}

/* Mobile Responsive Adjustments */
@media (max-width: 768px) {

  .frequency-toggle,
  .donor-type-toggle,
  .payment-method-toggle,
  .dedication-toggle {
    flex-direction: column;
  }

  .frequency-toggle-label,
  .donor-type-label,
  .payment-method-label {
    width: 100%;
  }

  .form-steps .step-text {
    font-size: 0.7rem;
  }
}


/* Donation Card END */

/* Icon Circle */
.icon-circle {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
}