/* ===== QUICK VIEW MODAL - PakShaadi ===== */

/* Quick View Button */
.quick-view-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #fff;
  color: #e91e63;
  border: 1.5px solid #e91e63;
  padding: 7px 16px;
  border-radius: 25px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.25s ease;
  text-decoration: none;
  margin-right: 8px;
}

.quick-view-btn:hover {
  background: #e91e63;
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 4px 15px rgba(233, 30, 99, 0.3);
}

.quick-view-btn svg {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
}

/* Card action area — stack buttons nicely */
.profile-card-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 8px;
}

/* ===== MODAL OVERLAY ===== */
#qv-overlay {
  position: fixed;
  inset: 0;
  background: rgba(15, 5, 20, 0.65);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

#qv-overlay.active {
  opacity: 1;
  pointer-events: all;
}

/* ===== MODAL BOX ===== */
#qv-modal {
  background: #fff;
  border-radius: 20px;
  width: 100%;
  max-width: 520px;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  box-shadow: 0 25px 60px rgba(233, 30, 99, 0.2), 0 8px 30px rgba(0,0,0,0.15);
  transform: scale(0.92) translateY(20px);
  transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
}

#qv-overlay.active #qv-modal {
  transform: scale(1) translateY(0);
}

/* ===== MODAL HEADER (gradient banner) ===== */
.qv-header {
  background: linear-gradient(135deg, #ff6b9d 0%, #e91e63 50%, #c2185b 100%);
  padding: 28px 24px 20px;
  border-radius: 20px 20px 0 0;
  position: relative;
  text-align: center;
}

/* Close button */
.qv-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 32px;
  height: 32px;
  background: rgba(255,255,255,0.25);
  border: none;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 18px;
  line-height: 1;
  transition: background 0.2s;
  z-index: 2;
}

.qv-close:hover {
  background: rgba(255,255,255,0.45);
}

/* Profile Avatar in modal */
.qv-avatar-wrap {
  position: relative;
  display: inline-block;
  margin-bottom: 12px;
}

.qv-avatar {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  border: 4px solid rgba(255,255,255,0.9);
  object-fit: cover;
  background: #fce4ec;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 36px;
  font-weight: 700;
  color: #e91e63;
  box-shadow: 0 4px 20px rgba(0,0,0,0.2);
  overflow: hidden;
}

.qv-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
}

.qv-verified-badge {
  position: absolute;
  bottom: 2px;
  right: 2px;
  background: #4caf50;
  color: #fff;
  border-radius: 50%;
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  border: 2px solid #fff;
}

/* Name & tagline */
.qv-name {
  font-size: 22px;
  font-weight: 700;
  color: #fff;
  margin: 0 0 4px;
  text-shadow: 0 1px 4px rgba(0,0,0,0.15);
}

.qv-tagline {
  font-size: 13px;
  color: rgba(255,255,255,0.85);
  margin: 0;
}

/* ===== MODAL BODY ===== */
.qv-body {
  padding: 24px;
}

/* Info grid */
.qv-info-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-bottom: 20px;
}

.qv-info-item {
  background: #fdf2f6;
  border-radius: 12px;
  padding: 12px 14px;
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.qv-info-icon {
  width: 32px;
  height: 32px;
  background: linear-gradient(135deg, #ff6b9d, #e91e63);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 15px;
}

.qv-info-label {
  font-size: 10px;
  color: #999;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin: 0 0 2px;
  font-weight: 600;
}

.qv-info-value {
  font-size: 14px;
  color: #333;
  font-weight: 600;
  margin: 0;
}

/* Tags / chips */
.qv-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 20px;
}

.qv-tag {
  background: #fce4ec;
  color: #c2185b;
  padding: 5px 12px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
}

.qv-tag.green {
  background: #e8f5e9;
  color: #2e7d32;
}

.qv-tag.blue {
  background: #e3f2fd;
  color: #1565c0;
}

/* Action buttons */
.qv-actions {
  display: flex;
  gap: 10px;
}

.qv-btn-primary {
  flex: 1;
  background: linear-gradient(135deg, #ff6b9d, #e91e63);
  color: #fff;
  border: none;
  border-radius: 25px;
  padding: 12px 20px;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.25s;
  text-align: center;
  text-decoration: none;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.qv-btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(233, 30, 99, 0.4);
  color: #fff;
  text-decoration: none;
}

.qv-btn-interest {
  background: #fff;
  color: #e91e63;
  border: 2px solid #e91e63;
  border-radius: 25px;
  padding: 12px 16px;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.25s;
  display: flex;
  align-items: center;
  gap: 6px;
}

.qv-btn-interest:hover {
  background: #fce4ec;
}

/* ===== NAV ARROWS ===== */
.qv-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
}

.qv-nav-prev {
  left: -56px;
}

.qv-nav-next {
  right: -56px;
}

.qv-nav-btn {
  width: 44px;
  height: 44px;
  background: #fff;
  border: none;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 4px 15px rgba(0,0,0,0.15);
  transition: all 0.2s;
  color: #e91e63;
  font-size: 20px;
}

.qv-nav-btn:hover {
  background: #e91e63;
  color: #fff;
  transform: scale(1.1);
  box-shadow: 0 6px 20px rgba(233, 30, 99, 0.35);
}

.qv-nav-btn:disabled {
  opacity: 0.35;
  cursor: not-allowed;
  transform: none;
}

/* Profile counter */
.qv-counter {
  text-align: center;
  font-size: 12px;
  color: #aaa;
  margin-top: 14px;
  font-weight: 600;
  letter-spacing: 1px;
}

/* Slide animation */
.qv-modal-inner {
  animation: qvSlideIn 0.3s cubic-bezier(0.34, 1.2, 0.64, 1);
}

@keyframes qvSlideIn {
  from { opacity: 0; transform: translateX(30px); }
  to   { opacity: 1; transform: translateX(0); }
}

.qv-modal-inner.slide-left {
  animation: qvSlideLeft 0.3s cubic-bezier(0.34, 1.2, 0.64, 1);
}

@keyframes qvSlideLeft {
  from { opacity: 0; transform: translateX(-30px); }
  to   { opacity: 1; transform: translateX(0); }
}

/* Responsive */
@media (max-width: 640px) {
  .qv-nav-prev { left: -8px; }
  .qv-nav-next { right: -8px; }
  .qv-nav-btn  { width: 36px; height: 36px; font-size: 16px; }
  .qv-info-grid { grid-template-columns: 1fr; }
}