/* Toast Notification Css */
.toast-container {
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 99999;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.m-toast {
  width: 360px;
  background: rgba(255, 255, 255, .95);
  backdrop-filter: blur(16px);
  border-radius: 18px;
  box-shadow:
    0 10px 35px rgba(0, 0, 0, .15);
  padding: 18px;
  display: flex;
  align-items: flex-start;
  gap: 15px;
  transform: translateX(120%);
  opacity: 0;
  transition: all .4s ease;
  overflow: hidden;
  position: relative;
}

.m-toast.show {
  transform: translateX(0);
  opacity: 1;
}

.toast-icon {
  width: 45px;
  height: 45px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  flex-shrink: 0;
}

.toast-content {
  flex: 1;
  display: flex;
  align-items: center;
}

.toast-title {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 3px;
}

.toast-message {
  color: #555;
  font-size: 14px;
  line-height: 1.5;
}

.toast-close {
  border: none;
  background: none;
  font-size: 20px;
  color: #aaa;
  cursor: pointer;
}

.m-toast.success .toast-icon {
  background: #eafaf1;
  color: #22c55e;
}

.m-toast.error .toast-icon {
  background: #fff1f2;
  color: #ef4444;
}

.m-toast.warning .toast-icon {
  background: #fff8e7;
  color: #f59e0b;
}

.m-toast.info .toast-icon {
  background: #eef6ff;
  color: #3b82f6;
}

/* Toast Notification Css */

.video-iframe-ratio {
  position: relative;
  width: 100%;
  padding-top: 56.25%;
  /* 16:9 */
  overflow: hidden;
}

.video-iframe-ratio iframe,
.video-iframe-ratio video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
}

.accordion-card-icon-wrap.physical {
  background: rgba(14, 165, 233, 0.1);
  color: #0ea5e9;
}

.accordion-card-icon-wrap.light-pink {
  background: rgba(236, 72, 153, 0.1);
  color: #ec4899;
}

.error {
  color: #df0000;
  font-size: 14px;
}

/*  Replace Css */
.upgrade-modal-bubble {
  background: linear-gradient(135deg, #ff4040 0%, #6b1818 100%) !important;
}

/*  Replace Css */

/* Paternal & Maternal Family Section */
.family-subsection {
  margin-top: 32px;
}

.family-section-title {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 16px;
}

.family-member-card {
  border: 1px solid #e6e6e6;
  border-radius: 12px;
  padding: 20px;
  margin-bottom: 20px;
  background: #fff;
}

.family-member-header {
  font-weight: 600;
  font-size: 14px;
  margin-bottom: 18px;
  color: #5a49f8;
}

/* Paternal & Maternal Family Section */

.chatlayout-line {
  display: flex;
  align-self: center;
  flex-direction: row-reverse;
  background: linear-gradient(135deg, #1d4ed8 0%, #1e3a8a 100%);
  color: white;
  padding: 3px 12px;
  border-radius: 6px;
  width: fit-content;
}

/* Nav Indicator Blinking */
@keyframes navBlink {
  0% {
    transform: scale(1);
    opacity: 1;
  }

  50% {
    transform: scale(1.4);
    opacity: 0.4;
  }

  100% {
    transform: scale(1);
    opacity: 1;
  }
}

.nav-new-indicator {
  width: 7px;
  height: 7px;
  background: #18b30e;
  border-radius: 50%;
  display: inline-block;
  margin-left: 6px;
  animation: navBlink 1.5s ease-in-out infinite;
  box-shadow: 0 0 8px rgba(255, 77, 77, 0.6);
  vertical-align: middle;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

/* Status Badge CSS */
.status-profils {
  background: #ffe8c7;
  color: #d49233;
  font-weight: 500;
  width: max-content;
  padding: 5px 8px;
  border-radius: 17px;
  height: fit-content;
  font-size: 12px;
}

.status-profils.accepted {
  background: #cdfde6;
  color: #18cb75;
}

.status-profils.pending {
  background: #ffe8c7;
  color: #d49233;
}

.status-profils.rejected {
  background: #ffd5d5;
  color: #dd4949;
}

/* Dashboard loader */
.members-slider .slick-track {
  margin-left: 0;
}

/* Ai Interest Badge */
.ai-badge-glow {
  background: linear-gradient(90deg, #7342eb 0%, #2c8edc 100%);
  color: var(--white-color);
  font-weight: 500;
  font-size: 10px;
  padding: 2px 7px;
  border-radius: 20px;
  letter-spacing: 0.5px;
  animation: pulse-badge 2s ease-in-out infinite;
  box-shadow: 0 0 8px var(--primary-color);
}

@keyframes pulse-badge {

  0%,
  100% {
    box-shadow: 0 0 8px var(--primary-color);
  }

  50% {
    box-shadow: 0 0 16px var(--primary-color);
  }
}

.btn-accordion-edit-gallary {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(115, 66, 235, 0.08);
  color: var(--primary-color);
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  transition: all 0.2s ease;
  cursor: pointer;
  position: absolute;
  right: 72px;
  top: 30px;
}

.btn-accordion-edit-gallary:hover {
  background: var(--primary-color);
  color: #ffffff;
}

.ai-section-heading {
  font-family: var(--font-heading);
}

.best-match-today-btn {
  background: var(--primary-gradient);
  color: var(--white);
  padding: 8px 20px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 16px;
  border: none;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 10px 30px rgba(115, 66, 235, 0.25);
  cursor: pointer;
}

.ai-recommendation-banner {
  background: #fff;
  border-radius: 24px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, .05);
}

.ai-banner-icon-wrap {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: #f4f2ff;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.ai-banner-icon-wrap iconify-icon {
  font-size: 24px;
  color: #6C3FF2;
}

.ai-banner-desc {
  font-size: .95rem;
  max-width: 700px;
}

.btn-ai-match {
  min-width: 230px;
  height: 46px;
  border: none;
  border-radius: 999px;
  color: #fff;
  font-weight: 600;
  background: linear-gradient(90deg, #6C3FF2 0%, #2F90F6 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
  flex-shrink: 0;
}

.btn-ai-match:hover {
  color: #fff;
}

/* NEW CODES */
/* Accept / Reject — pill buttons matching the Shortlist / View Contact style */

/* Toggle-to-reveal wrapper: one calm button by default, opens into Accept/Reject on click */
.interest-respond-wrap {
  position: relative;
  display: inline-block;
}

.respond-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 4px 24px;
  border-radius: 34px;
  font-family: var(--font-main);
  font-weight: 700;
  font-size: 14px;
  border: none;
  /* transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1); */
  cursor: pointer;
  text-decoration: none !important;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.02);
  padding-left: 5px;

  /* display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 4px 24px;
    border: none;
    border-radius: 999px;
    font-size: 14px;
    font-weight: 600;
    color: #fff; */
  background: linear-gradient(135deg, #f97316, #ea580c);
  /* cursor: pointer; */
  transition: opacity 0.15s ease, transform 0.15s ease;
}

.respond-toggle:hover {
  transform: translateY(-1px);
}

.interest-respond-wrap.is-open .respond-toggle {
  display: none;
}

.received-actions {
  display: none;
  /* hidden until the toggle is opened */
  align-items: center;
  gap: 6px;
}

.interest-respond-wrap.is-open .received-actions {
  display: inline-flex;
  animation: interest-actions-reveal 0.18s ease-out;
}

@keyframes interest-actions-reveal {
  from {
    opacity: 0;
    transform: scale(0.92) translateX(-6px);
  }

  to {
    opacity: 1;
    transform: scale(1) translateX(0);
  }
}


.received-actions button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 4px 24px;
  border-radius: 34px;
  font-family: var(--font-main);
  font-weight: 700;
  font-size: 14px;
  border: none;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
  text-decoration: none !important;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.02);
  padding-left: 5px;
  color: #fff;
}

.received-actions button iconify-icon {
  font-size: 21px;
  background: #ffffff24;
  /* padding: 10px; */
  padding: 6px;
  border-radius: 52px;
}

.received-actions button:hover:not(:disabled) {
  transform: translateY(-1px);
}

.received-actions button:active:not(:disabled) {
  transform: translateY(0);
}

.received-actions button:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

/* Accept — green gradient, echoes the call/video icons' success tone */
.accept-interest {
  background: linear-gradient(135deg, #22c55e, #16a34a);
  box-shadow: 0 4px 12px rgba(22, 163, 74, 0.35);
}

.accept-interest:hover:not(:disabled) {
  box-shadow: 0 6px 16px rgba(22, 163, 74, 0.45);
}

/* Reject — warm red/orange gradient, clearly the opposing action */
.reject-interest {
  background: linear-gradient(135deg, #f97316, #ef4444);
  box-shadow: 0 4px 12px rgba(239, 68, 68, 0.35);
}

.reject-interest:hover:not(:disabled) {
  box-shadow: 0 6px 16px rgba(239, 68, 68, 0.45);
}

/* Final-state pills (after Accept/Reject is clicked) — flatter, no shadow, read as settled/inactive */
.active-accepted {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 4px 24px;
  border-radius: 34px;
  font-family: var(--font-main);
  font-weight: 700;
  font-size: 14px;
  border: none;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
  text-decoration: none !important;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.02);
  padding-left: 5px;
  background: linear-gradient(135deg, #34d399, #059669);
  color: #ffffff !important;
  box-shadow: 0 6px 16px rgba(255, 94, 58, 0.2);
}

.active-rejected {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 4px 24px;
  border-radius: 34px;
  font-family: var(--font-main);
  font-weight: 700;
  font-size: 14px;
  border: none;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
  text-decoration: none !important;
  padding-left: 5px;
  background: linear-gradient(135deg, #cb4848 0%, #ff3a3a 100%);
  color: #ffffff !important;
  box-shadow: 0 6px 16px rgba(255, 94, 58, 0.2);
}

.send-reminder-action {
    flex-grow: 1;
    background: var(--primary-color);
    color: #fff;
    border: none;
    font-family: var(--font-main);
    font-weight: 700;
    font-size: 13px;
    padding: 8px 12px;
    border-radius: 50px;
    transition: all 0.2s ease;
    cursor: pointer;
    box-shadow: 0 4px 10px rgba(85, 98, 229, 0.1);
    text-align: center;
    width: max-content;
}
.send-reminder-action-disabled {
    background: #979797;
    box-shadow: 0 4px 10px rgba(115, 66, 235, 0.15);
}

/* asdsad */