/*
 * 💕 相亲吧 - 全局样式
 * 风格：粉嫩浪漫风
 */

/* ==================== 基础重置 ==================== */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  /* 主题色 */
  --primary: #FF85A2;
  --primary-light: #FFB3C6;
  --primary-dark: #E85A7E;
  --secondary: #E0AAFF;
  --secondary-light: #F0D4FF;
  --accent: #FFD700;

  /* 背景色 */
  --bg-gradient-start: #FFF5F7;
  --bg-gradient-end: #FFEEF2;
  --bg-card: #FFFFFF;
  --bg-hover: #FFF0F3;

  /* 文字色 */
  --text-primary: #333333;
  --text-secondary: #666666;
  --text-light: #999999;
  --text-white: #FFFFFF;

  /* 边框 */
  --border-light: #FFE4EC;
  --border-primary: #FFB3C6;

  /* 阴影 */
  --shadow-sm: 0 2px 8px rgba(255, 133, 162, 0.1);
  --shadow-md: 0 4px 16px rgba(255, 133, 162, 0.15);
  --shadow-lg: 0 8px 32px rgba(255, 133, 162, 0.2);
  --shadow-hover: 0 12px 40px rgba(255, 133, 162, 0.25);

  /* 圆角 */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --radius-full: 50%;

  /* 过渡 */
  --transition-fast: 0.2s ease;
  --transition-normal: 0.3s ease;
  --transition-slow: 0.5s ease;

  /* 字体 */
  --font-family: 'PingFang SC', 'Microsoft YaHei', -apple-system, BlinkMacSystemFont, sans-serif;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-family);
  background: linear-gradient(135deg, var(--bg-gradient-start) 0%, var(--bg-gradient-end) 100%);
  color: var(--text-primary);
  min-height: 100vh;
  line-height: 1.6;
  overflow-x: hidden;
}

/* 自定义滚动条 */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: var(--bg-gradient-start);
}

::-webkit-scrollbar-thumb {
  background: var(--primary-light);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--primary);
}

/* ==================== 通用组件 ==================== */

/* 页面容器 */
.page-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* 顶部导航栏 */
.navbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  box-shadow: var(--shadow-sm);
  padding: 12px 0;
  transition: var(--transition-normal);
}

.navbar.scrolled {
  box-shadow: var(--shadow-md);
}

.navbar .page-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--primary);
}

.nav-brand-logo {
  width: 42px;
  height: 42px;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
}

.nav-brand-text {
  font-size: 22px;
  font-weight: 700;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.nav-brand-slogan {
  font-size: 12px;
  color: var(--text-light);
  margin-top: -2px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-link {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  border-radius: var(--radius-xl);
  text-decoration: none;
  color: var(--text-secondary);
  font-size: 14px;
  font-weight: 500;
  transition: var(--transition-fast);
  position: relative;
}

.nav-link:hover {
  background: var(--bg-hover);
  color: var(--primary);
}

.nav-link.active {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: var(--text-white);
}

.nav-link .badge {
  position: absolute;
  top: 2px;
  right: 4px;
  background: #FF4757;
  color: white;
  font-size: 10px;
  padding: 2px 6px;
  border-radius: 10px;
  min-width: 18px;
  text-align: center;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.nav-login-btn {
  padding: 8px 24px;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: white;
  border: none;
  border-radius: var(--radius-xl);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition-fast);
  box-shadow: 0 4px 12px rgba(255, 133, 162, 0.3);
}

.nav-login-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255, 133, 162, 0.4);
}

.nav-avatar {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-full);
  border: 2px solid var(--primary-light);
  cursor: pointer;
  transition: var(--transition-fast);
  object-fit: cover;
}

.nav-avatar:hover {
  border-color: var(--primary);
  transform: scale(1.05);
}

.nav-user-info {
  display: flex;
  align-items: center;
  gap: 10px;
}

.nav-username {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-primary);
}

.nav-logout-btn {
  padding: 6px 16px;
  background: transparent;
  color: var(--primary);
  border: 1px solid var(--primary-light);
  border-radius: var(--radius-xl);
  font-size: 13px;
  cursor: pointer;
  transition: var(--transition-fast);
}

.nav-logout-btn:hover {
  background: var(--primary);
  color: white;
}

/* 按钮基础样式 */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 24px;
  border-radius: var(--radius-xl);
  font-size: 14px;
  font-weight: 600;
  font-family: var(--font-family);
  cursor: pointer;
  border: none;
  transition: var(--transition-fast);
  position: relative;
  overflow: hidden;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: white;
  box-shadow: 0 4px 12px rgba(255, 133, 162, 0.3);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255, 133, 162, 0.4);
}

.btn-secondary {
  background: linear-gradient(135deg, var(--secondary), #C77DFF);
  color: white;
  box-shadow: 0 4px 12px rgba(224, 170, 255, 0.3);
}

.btn-secondary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(224, 170, 255, 0.4);
}

.btn-outline {
  background: transparent;
  color: var(--primary);
  border: 2px solid var(--primary);
}

.btn-outline:hover {
  background: var(--primary);
  color: white;
}

.btn-ghost {
  background: var(--bg-hover);
  color: var(--primary);
}

.btn-ghost:hover {
  background: var(--primary-light);
  color: white;
}

.btn-sm {
  padding: 6px 16px;
  font-size: 13px;
}

.btn-lg {
  padding: 14px 32px;
  font-size: 16px;
}

.btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none !important;
}

/* 波纹效果 */
.ripple {
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
  transform: scale(0);
  animation: ripple-effect 0.6s ease-out;
  pointer-events: none;
}

@keyframes ripple-effect {
  to {
    transform: scale(4);
    opacity: 0;
  }
}

/* ==================== 筛选区域 ==================== */
.filter-section {
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  border-radius: var(--radius-lg);
  padding: 24px;
  margin: 24px 0;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-light);
}

.filter-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}

.filter-title {
  font-size: 16px;
  font-weight: 600;
  color: var(--text-primary);
  display: flex;
  align-items: center;
  gap: 8px;
}

.filter-reset {
  font-size: 13px;
  color: var(--primary);
  cursor: pointer;
  transition: var(--transition-fast);
}

.filter-reset:hover {
  color: var(--primary-dark);
  text-decoration: underline;
}

.filter-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
}

.filter-item {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.filter-label {
  font-size: 13px;
  font-weight: 500;
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  gap: 6px;
}

.filter-label-icon {
  font-size: 16px;
}

/* 筛选 - 性别选择 */
.gender-selector {
  display: flex;
  gap: 8px;
}

.gender-btn {
  flex: 1;
  padding: 10px;
  border: 2px solid var(--border-light);
  border-radius: var(--radius-md);
  background: white;
  cursor: pointer;
  font-size: 14px;
  color: var(--text-secondary);
  transition: var(--transition-fast);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.gender-btn:hover {
  border-color: var(--primary-light);
  background: var(--bg-hover);
}

.gender-btn.active {
  border-color: var(--primary);
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: white;
}

/* 筛选 - 年龄范围滑块 */
.age-range-display {
  font-size: 14px;
  color: var(--primary);
  font-weight: 600;
  text-align: center;
}

.range-slider {
  position: relative;
  padding: 10px 0;
}

.range-slider input[type="range"] {
  -webkit-appearance: none;
  width: 100%;
  height: 6px;
  border-radius: 3px;
  background: var(--border-light);
  outline: none;
}

.range-slider input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(255, 133, 162, 0.4);
  transition: var(--transition-fast);
}

.range-slider input[type="range"]::-webkit-slider-thumb:hover {
  transform: scale(1.2);
}

/* 筛选 - 下拉选择 */
.filter-select {
  width: 100%;
  padding: 10px 14px;
  border: 2px solid var(--border-light);
  border-radius: var(--radius-md);
  font-size: 14px;
  color: var(--text-primary);
  background: white;
  cursor: pointer;
  transition: var(--transition-fast);
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23FF85A2' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  padding-right: 32px;
}

.filter-select:focus {
  border-color: var(--primary);
  outline: none;
  box-shadow: 0 0 0 3px rgba(255, 133, 162, 0.1);
}

/* 筛选操作栏 */
.filter-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid var(--border-light);
}

.filter-result-count {
  font-size: 14px;
  color: var(--text-secondary);
}

.filter-result-count strong {
  color: var(--primary);
  font-weight: 700;
}

.ai-match-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 28px;
  background: linear-gradient(135deg, var(--secondary), #C77DFF);
  color: white;
  border: none;
  border-radius: var(--radius-xl);
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition-fast);
  box-shadow: 0 4px 16px rgba(224, 170, 255, 0.4);
  position: relative;
  overflow: hidden;
}

.ai-match-btn::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(
    45deg,
    transparent,
    rgba(255, 255, 255, 0.1),
    transparent
  );
  transform: rotate(45deg);
  animation: shimmer 3s infinite;
}

@keyframes shimmer {
  0% { transform: translateX(-100%) rotate(45deg); }
  100% { transform: translateX(100%) rotate(45deg); }
}

.ai-match-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(224, 170, 255, 0.5);
}

.ai-match-btn.loading {
  pointer-events: none;
}

.ai-match-btn .spinner {
  width: 18px;
  height: 18px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-top-color: white;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
  display: none;
}

.ai-match-btn.loading .spinner {
  display: block;
}

.ai-match-btn.loading .btn-text {
  display: none;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* ==================== 用户卡片 ==================== */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 28px;
  padding: 24px 0;
}

.user-card {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition-normal);
  cursor: pointer;
  position: relative;
  border: 1px solid var(--border-light);
}

.user-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-hover);
}

.user-card-header {
  position: relative;
  height: 120px;
  background: linear-gradient(135deg, var(--primary-light), var(--secondary-light));
}

.user-card-avatar-wrapper {
  position: absolute;
  bottom: -45px;
  left: 50%;
  transform: translateX(-50%);
}

.user-card-avatar {
  width: 90px;
  height: 90px;
  border-radius: var(--radius-full);
  border: 4px solid white;
  object-fit: cover;
  box-shadow: var(--shadow-md);
  background: var(--bg-hover);
}

.user-card-online {
  position: absolute;
  bottom: 4px;
  right: 4px;
  width: 18px;
  height: 18px;
  background: #4CAF50;
  border-radius: var(--radius-full);
  border: 3px solid white;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.user-card-verified {
  position: absolute;
  top: 12px;
  right: 12px;
  background: var(--accent);
  color: var(--text-primary);
  font-size: 11px;
  padding: 4px 10px;
  border-radius: var(--radius-xl);
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 4px;
  box-shadow: 0 2px 8px rgba(255, 215, 0, 0.3);
}

.user-card-body {
  padding: 55px 20px 20px;
  text-align: center;
}

.user-card-name {
  font-size: 20px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 4px;
}

.user-card-name .age {
  font-size: 16px;
  font-weight: 400;
  color: var(--primary);
}

.user-card-meta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  font-size: 13px;
  color: var(--text-secondary);
  margin-bottom: 12px;
  flex-wrap: wrap;
}

.user-card-meta-item {
  display: flex;
  align-items: center;
  gap: 4px;
}

.user-card-signature {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.5;
  margin-bottom: 12px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 42px;
}

.user-card-ai-desc {
  font-size: 12px;
  color: #6b5b95;
  line-height: 1.5;
  margin-bottom: 10px;
  padding: 4px 8px;
  background: linear-gradient(135deg, #f8f4ff, #f0e8ff);
  border-radius: 6px;
  border-left: 3px solid #9b7ed9;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  max-height: 36px;
}

.user-card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  margin-bottom: 16px;
}

.user-card-tag {
  padding: 4px 12px;
  background: var(--bg-hover);
  color: var(--primary);
  font-size: 12px;
  border-radius: var(--radius-xl);
  border: 1px solid var(--border-light);
}

.user-card-tag:nth-child(even) {
  background: var(--secondary-light);
  color: #9B59B6;
  border-color: #E8D5F5;
}

.user-card-actions {
  display: flex;
  gap: 12px;
  padding: 0 16px 16px;
}

.user-card-actions .btn {
  flex: 1;
}

/* 感兴趣按钮 - 爱心动画 */
.btn-interested {
  position: relative;
}

.btn-interested .heart-icon {
  transition: var(--transition-fast);
}

.btn-interested:hover .heart-icon {
  animation: heartBeat 0.8s ease infinite;
}

@keyframes heartBeat {
  0%, 100% { transform: scale(1); }
  25% { transform: scale(1.2); }
  40% { transform: scale(1); }
  60% { transform: scale(1.1); }
}

/* ==================== 用户详情页 ==================== */
.detail-header {
  position: relative;
  height: 320px;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  margin-bottom: 80px;
}

.detail-header::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 60px;
  background: linear-gradient(to top, var(--bg-gradient-start), transparent);
}

.detail-cover {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.3;
}

.detail-header-content {
  position: absolute;
  bottom: -60px;
  left: 50%;
  transform: translateX(-50%);
  text-align: center;
  z-index: 10;
  width: 100%;
  max-width: 400px;
}

.detail-avatar {
  width: 120px;
  height: 120px;
  border-radius: var(--radius-full);
  border: 5px solid white;
  object-fit: cover;
  box-shadow: var(--shadow-lg);
  background: var(--bg-hover);
}

.detail-name {
  font-size: 28px;
  font-weight: 700;
  color: var(--text-primary);
  margin-top: 12px;
}

.detail-name .age {
  font-size: 20px;
  font-weight: 400;
  color: var(--primary);
}

.detail-back-btn {
  position: absolute;
  top: 20px;
  left: 20px;
  width: 44px;
  height: 44px;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.9);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  color: var(--text-primary);
  transition: var(--transition-fast);
  z-index: 20;
}

.detail-back-btn:hover {
  background: white;
  transform: scale(1.1);
  box-shadow: var(--shadow-md);
}

.detail-share-btn {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 44px;
  height: 44px;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.9);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  color: var(--text-primary);
  transition: var(--transition-fast);
  z-index: 20;
}

.detail-share-btn:hover {
  background: white;
  transform: scale(1.1);
  box-shadow: var(--shadow-md);
}

/* 详情页内容区 */
.detail-content {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 20px 40px;
}

.detail-section {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  padding: 24px;
  margin-bottom: 20px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-light);
  transition: var(--transition-normal);
}

.detail-section:hover {
  box-shadow: var(--shadow-md);
}

.detail-section-title {
  font-size: 18px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--bg-hover);
}

.detail-section-title-icon {
  font-size: 22px;
}

/* 基本信息网格 */
.info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 16px;
}

.info-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.info-label {
  font-size: 12px;
  color: var(--text-light);
}

.info-value {
  font-size: 15px;
  font-weight: 500;
  color: var(--text-primary);
}

/* 自我介绍 */
.detail-bio {
  font-size: 15px;
  line-height: 1.8;
  color: var(--text-secondary);
  white-space: pre-line;
}

/* 兴趣标签 */
.detail-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.detail-tag {
  padding: 8px 18px;
  background: linear-gradient(135deg, var(--bg-hover), var(--secondary-light));
  color: var(--primary);
  font-size: 14px;
  border-radius: var(--radius-xl);
  border: 1px solid var(--border-light);
  transition: var(--transition-fast);
}

.detail-tag:hover {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: white;
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}

/* 择偶要求 */
.preference-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 16px;
}

.preference-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  background: var(--bg-hover);
  border-radius: var(--radius-md);
}

.preference-icon {
  font-size: 20px;
}

.preference-text {
  font-size: 14px;
  color: var(--text-secondary);
}

.preference-text strong {
  color: var(--text-primary);
}

/* 照片网格 */
.photo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 12px;
}

.photo-item {
  aspect-ratio: 1;
  border-radius: var(--radius-md);
  overflow: hidden;
  cursor: pointer;
  transition: var(--transition-fast);
  background: var(--bg-hover);
}

.photo-item:hover {
  transform: scale(1.05);
  box-shadow: var(--shadow-md);
}

.photo-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* 联系方式区 */
.contact-section {
  background: linear-gradient(135deg, var(--primary-light), var(--secondary-light)) !important;
  border: 2px solid var(--primary-light) !important;
}

.contact-phone {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  background: white;
  border-radius: var(--radius-md);
  margin-bottom: 16px;
}

.contact-phone-number {
  font-size: 24px;
  font-weight: 700;
  color: var(--text-primary);
  letter-spacing: 2px;
}

.contact-phone-masked {
  font-size: 24px;
  font-weight: 700;
  color: var(--text-light);
  letter-spacing: 2px;
}

.contact-phone-hint {
  font-size: 13px;
  color: var(--text-secondary);
  margin-top: 4px;
}

.contact-request-btn {
  padding: 12px 28px;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: white;
  border: none;
  border-radius: var(--radius-xl);
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition-fast);
  box-shadow: 0 4px 12px rgba(255, 133, 162, 0.3);
}

.contact-request-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255, 133, 162, 0.4);
}

.contact-request-btn:disabled {
  opacity: 0.7;
  cursor: not-allowed;
  transform: none;
}

.contact-status {
  text-align: center;
  padding: 12px;
  background: white;
  border-radius: var(--radius-md);
  font-size: 14px;
  color: var(--text-secondary);
}

.contact-status.pending {
  background: #FFF3CD;
  color: #856404;
}

.contact-status.approved {
  background: #D4EDDA;
  color: #155724;
}

.contact-status.rejected {
  background: #F8D7DA;
  color: #721C24;
}

/* ==================== 消息中心 ==================== */
.messages-container {
  display: flex;
  height: calc(100vh - 80px);
  max-width: 1200px;
  margin: 20px auto;
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

/* 会话列表 */
.conversations-list {
  width: 320px;
  border-right: 1px solid var(--border-light);
  display: flex;
  flex-direction: column;
}

.conversations-header {
  padding: 20px;
  border-bottom: 1px solid var(--border-light);
}

.conversations-header h3 {
  font-size: 18px;
  font-weight: 600;
  color: var(--text-primary);
}

.conversations-search {
  margin-top: 12px;
  position: relative;
}

.conversations-search input {
  width: 100%;
  padding: 10px 14px 10px 38px;
  border: 2px solid var(--border-light);
  border-radius: var(--radius-xl);
  font-size: 14px;
  transition: var(--transition-fast);
}

.conversations-search input:focus {
  border-color: var(--primary);
  outline: none;
}

.conversations-search-icon {
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 16px;
  color: var(--text-light);
}

.conversations-body {
  flex: 1;
  overflow-y: auto;
}

.conversation-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 20px;
  cursor: pointer;
  transition: var(--transition-fast);
  border-bottom: 1px solid var(--bg-hover);
}

.conversation-item:hover {
  background: var(--bg-hover);
}

.conversation-item.active {
  background: linear-gradient(135deg, var(--bg-hover), var(--secondary-light));
  border-left: 3px solid var(--primary);
}

.conversation-avatar-wrapper {
  position: relative;
  flex-shrink: 0;
}

.conversation-avatar {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-full);
  object-fit: cover;
}

.conversation-online-dot {
  position: absolute;
  bottom: 2px;
  right: 2px;
  width: 12px;
  height: 12px;
  background: #4CAF50;
  border-radius: var(--radius-full);
  border: 2px solid white;
}

.conversation-info {
  flex: 1;
  min-width: 0;
}

.conversation-name {
  font-size: 15px;
  font-weight: 600;
  color: var(--text-primary);
}

.conversation-last-msg {
  font-size: 13px;
  color: var(--text-light);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-top: 4px;
}

.conversation-meta {
  text-align: right;
  flex-shrink: 0;
}

.conversation-time {
  font-size: 11px;
  color: var(--text-light);
}

.conversation-unread {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 18px;
  height: 18px;
  background: #FF4757;
  color: white;
  font-size: 11px;
  border-radius: 10px;
  margin-top: 4px;
  padding: 0 5px;
}

/* 聊天区域 */
.chat-area {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.chat-header {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 24px;
  border-bottom: 1px solid var(--border-light);
  background: white;
}

.chat-header-avatar {
  width: 42px;
  height: 42px;
  border-radius: var(--radius-full);
  object-fit: cover;
}

.chat-header-info {
  flex: 1;
}

.chat-header-name {
  font-size: 16px;
  font-weight: 600;
  color: var(--text-primary);
}

.chat-header-status {
  font-size: 12px;
  color: #4CAF50;
}

.chat-header-actions {
  display: flex;
  gap: 8px;
}

.chat-header-btn {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-full);
  border: none;
  background: var(--bg-hover);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-fast);
}

.chat-header-btn:hover {
  background: var(--primary-light);
  color: white;
}

/* 消息列表 */
.messages-body {
  flex: 1;
  overflow-y: auto;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  background: var(--bg-gradient-start);
}

.message-date-divider {
  text-align: center;
  font-size: 12px;
  color: var(--text-light);
  margin: 8px 0;
}

.message-date-divider span {
  background: rgba(255, 255, 255, 0.8);
  padding: 4px 16px;
  border-radius: var(--radius-xl);
}

.message-item {
  display: flex;
  gap: 12px;
  max-width: 70%;
}

.message-item.sent {
  align-self: flex-end;
  flex-direction: row-reverse;
}

.message-item.sent .message-content {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: white;
  border-radius: 20px 20px 6px 20px;
}

.message-item.received .message-content {
  background: white;
  color: var(--text-primary);
  border-radius: 20px 20px 20px 6px;
  box-shadow: var(--shadow-sm);
}

.message-avatar {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-full);
  object-fit: cover;
  flex-shrink: 0;
}

.message-content {
  padding: 12px 18px;
  font-size: 14px;
  line-height: 1.5;
}

.message-time {
  font-size: 11px;
  color: var(--text-light);
  margin-top: 4px;
}

.message-item.sent .message-time {
  text-align: right;
  color: rgba(255, 255, 255, 0.7);
}

/* 系统消息 */
.system-message {
  text-align: center;
  padding: 8px 16px;
  background: rgba(255, 255, 255, 0.8);
  border-radius: var(--radius-xl);
  font-size: 13px;
  color: var(--text-light);
  align-self: center;
}

/* 聊天输入区 */
.chat-input-area {
  display: flex;
  align-items: end;
  gap: 12px;
  padding: 16px 24px;
  background: white;
  border-top: 1px solid var(--border-light);
}

.chat-input-wrapper {
  flex: 1;
  background: var(--bg-hover);
  border-radius: var(--radius-xl);
  padding: 12px 16px;
  display: flex;
  align-items: end;
  gap: 8px;
}

.chat-input {
  flex: 1;
  border: none;
  background: transparent;
  font-size: 14px;
  font-family: var(--font-family);
  resize: none;
  max-height: 120px;
  min-height: 20px;
  outline: none;
  line-height: 1.5;
}

.chat-input-actions {
  display: flex;
  gap: 4px;
}

.chat-input-btn {
  width: 32px;
  height: 32px;
  border-radius: var(--radius-full);
  border: none;
  background: transparent;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  transition: var(--transition-fast);
}

.chat-input-btn:hover {
  background: var(--border-light);
}

.chat-send-btn {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-full);
  border: none;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: white;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  transition: var(--transition-fast);
  box-shadow: 0 4px 12px rgba(255, 133, 162, 0.3);
}

.chat-send-btn:hover {
  transform: scale(1.05);
  box-shadow: 0 6px 20px rgba(255, 133, 162, 0.4);
}

/* 空状态 */
.empty-state {
  text-align: center;
  padding: 60px 20px;
  color: var(--text-light);
}

.empty-state-icon {
  font-size: 64px;
  margin-bottom: 16px;
  opacity: 0.5;
}

.empty-state-text {
  font-size: 16px;
  margin-bottom: 20px;
}

/* ==================== 通知提示 ==================== */
.notification {
  position: fixed;
  top: 80px;
  right: 20px;
  padding: 16px 24px;
  background: white;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: 12px;
  z-index: 2000;
  animation: slideInRight 0.3s ease;
  max-width: 360px;
}

.notification.success {
  border-left: 4px solid #4CAF50;
}

.notification.error {
  border-left: 4px solid #FF4757;
}

.notification.info {
  border-left: 4px solid var(--primary);
}

.notification-icon {
  font-size: 20px;
}

.notification-content {
  flex: 1;
}

.notification-title {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-primary);
}

.notification-message {
  font-size: 13px;
  color: var(--text-secondary);
  margin-top: 2px;
}

.notification-close {
  cursor: pointer;
  font-size: 18px;
  color: var(--text-light);
  transition: var(--transition-fast);
}

.notification-close:hover {
  color: var(--text-primary);
}

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

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

/* ==================== 模态框 ==================== */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 3000;
  animation: fadeIn 0.2s ease;
}

.modal {
  background: white;
  border-radius: var(--radius-lg);
  width: 90%;
  max-width: 420px;
  max-height: 90vh;
  overflow-y: auto;
  animation: slideUp 0.3s ease;
}

.modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  border-bottom: 1px solid var(--border-light);
}

.modal-title {
  font-size: 18px;
  font-weight: 600;
  color: var(--text-primary);
}

.modal-close {
  width: 32px;
  height: 32px;
  border-radius: var(--radius-full);
  border: none;
  background: var(--bg-hover);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  transition: var(--transition-fast);
}

.modal-close:hover {
  background: var(--primary-light);
  color: white;
}

.modal-body {
  padding: 24px;
}

.modal-footer {
  display: flex;
  gap: 12px;
  padding: 16px 24px;
  border-top: 1px solid var(--border-light);
}

.modal-footer .btn {
  flex: 1;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

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

/* ==================== 加载动画 ==================== */
.loading-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 40px;
}

.loading-hearts {
  display: flex;
  gap: 8px;
}

.loading-heart {
  font-size: 24px;
  animation: loadingHeart 1s ease infinite;
}

.loading-heart:nth-child(2) {
  animation-delay: 0.2s;
}

.loading-heart:nth-child(3) {
  animation-delay: 0.4s;
}

@keyframes loadingHeart {
  0%, 100% {
    transform: scale(1);
    opacity: 0.5;
  }
  50% {
    transform: scale(1.3);
    opacity: 1;
  }
}

.loading-text {
  margin-top: 16px;
  font-size: 14px;
  color: var(--text-light);
}

/* ==================== 登录/注册表单 ==================== */
.auth-container {
  min-height: calc(100vh - 80px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 20px;
}

.auth-card {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  width: 100%;
  max-width: 440px;
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}

.auth-card-header {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  padding: 30px 24px 20px;
  text-align: center;
}

.auth-card-header h2 {
  color: white;
  font-size: 24px;
  font-weight: 700;
}

.auth-card-header p {
  color: rgba(255, 255, 255, 0.85);
  font-size: 14px;
  margin-top: 8px;
}

.auth-tabs {
  display: flex;
  border-bottom: 2px solid var(--border-light);
}

.auth-tab {
  flex: 1;
  padding: 16px;
  text-align: center;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  color: var(--text-light);
  transition: var(--transition-fast);
  border: none;
  background: transparent;
  font-family: var(--font-family);
}

.auth-tab:hover {
  color: var(--primary);
  background: var(--bg-hover);
}

.auth-tab.active {
  color: var(--primary);
  border-bottom: 3px solid var(--primary);
  margin-bottom: -2px;
}

.auth-card-body {
  padding: 24px;
}

.form-group {
  margin-bottom: 20px;
}

.form-label {
  display: block;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-secondary);
  margin-bottom: 6px;
}

.form-input {
  width: 100%;
  padding: 12px 16px;
  border: 2px solid var(--border-light);
  border-radius: var(--radius-md);
  font-size: 14px;
  font-family: var(--font-family);
  color: var(--text-primary);
  transition: var(--transition-fast);
}

.form-input:focus {
  border-color: var(--primary);
  outline: none;
  box-shadow: 0 0 0 3px rgba(255, 133, 162, 0.1);
}

.form-input::placeholder {
  color: var(--text-light);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-error {
  color: #FF4757;
  font-size: 13px;
  margin-top: 4px;
}

.form-alert {
  padding: 12px 16px;
  border-radius: var(--radius-md);
  font-size: 14px;
  margin-bottom: 20px;
}

.form-alert-error {
  background: #F8D7DA;
  color: #721C24;
  border: 1px solid #F5C6CB;
}

.form-alert-success {
  background: #D4EDDA;
  color: #155724;
  border: 1px solid #C3E6CB;
}

.form-hint {
  font-size: 12px;
  color: var(--text-light);
  margin-top: 4px;
}

/* ==================== 个人资料编辑页 ==================== */
.profile-container {
  max-width: 800px;
  margin: 0 auto;
  padding: 20px;
}

.profile-header {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  border-radius: var(--radius-lg);
  padding: 30px;
  margin-bottom: 24px;
  color: white;
  text-align: center;
}

.profile-header h2 {
  font-size: 24px;
  font-weight: 700;
}

.profile-header p {
  font-size: 14px;
  opacity: 0.85;
  margin-top: 8px;
}

.profile-avatar-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 24px;
}

.profile-avatar-preview {
  width: 100px;
  height: 100px;
  border-radius: var(--radius-full);
  border: 4px solid white;
  object-fit: cover;
  box-shadow: var(--shadow-md);
  margin-bottom: 12px;
}

.profile-avatar-upload {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.profile-card {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  padding: 24px;
  margin-bottom: 20px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-light);
}

.profile-card-title {
  font-size: 18px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--bg-hover);
  display: flex;
  align-items: center;
  gap: 8px;
}

textarea.form-input {
  min-height: 100px;
  resize: vertical;
}

/* ==================== 响应式设计 ==================== */
@media (max-width: 768px) {
  .navbar .page-container {
    flex-wrap: wrap;
    gap: 12px;
  }

  .nav-brand-slogan {
    display: none;
  }

  .nav-links {
    order: 3;
    width: 100%;
    justify-content: center;
  }

  .filter-grid {
    grid-template-columns: 1fr;
  }

  .cards-grid {
    grid-template-columns: 1fr;
  }

  .messages-container {
    flex-direction: column;
    margin: 10px;
  }

  .conversations-list {
    width: 100%;
    max-height: 40vh;
  }

  .info-grid {
    grid-template-columns: 1fr 1fr;
  }

  .detail-header {
    height: 260px;
  }

  .detail-avatar {
    width: 100px;
    height: 100px;
  }

  .contact-phone {
    flex-direction: column;
    gap: 12px;
    text-align: center;
  }

  .form-row {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .page-container {
    padding: 0 12px;
  }

  .filter-section {
    padding: 16px;
  }

  .user-card-actions {
    flex-direction: column;
  }

  .filter-actions {
    flex-direction: column;
    gap: 12px;
  }

  .preference-list {
    grid-template-columns: 1fr;
  }
}

/* ==================== 登录提示条 ==================== */
.login-banner {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: white;
  text-align: center;
  padding: 12px 20px;
  font-size: 14px;
}

.login-banner a {
  color: white;
  font-weight: 600;
  text-decoration: underline;
  margin-left: 8px;
}

/* ==================== 浮动装饰 ==================== */
.floating-hearts {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  pointer-events: none;
  overflow: hidden;
  z-index: -1;
}

.floating-heart {
  position: absolute;
  font-size: 20px;
  opacity: 0.1;
  animation: floatUp 15s linear infinite;
}

@keyframes floatUp {
  0% {
    transform: translateY(100vh) rotate(0deg);
    opacity: 0;
  }
  10% {
    opacity: 0.1;
  }
  90% {
    opacity: 0.1;
  }
  100% {
    transform: translateY(-100px) rotate(360deg);
    opacity: 0;
  }
}

/* ==================== 匹配度标签 ==================== */
.match-score {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 12px;
  background: linear-gradient(135deg, var(--accent), #FFC107);
  color: var(--text-primary);
  font-size: 13px;
  font-weight: 700;
  border-radius: var(--radius-xl);
  box-shadow: 0 2px 8px rgba(255, 215, 0, 0.3);
}

.match-score.high {
  background: linear-gradient(135deg, #4CAF50, #8BC34A);
  color: white;
}

.match-score.medium {
  background: linear-gradient(135deg, var(--accent), #FFC107);
}

.match-score.low {
  background: linear-gradient(135deg, #FF9800, #FF5722);
  color: white;
}

/* ==================== 缘分地图 ==================== */
.map-section {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-radius: var(--radius-lg);
  margin: 24px 0;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-light);
  overflow: hidden;
}

.map-section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 24px;
  border-bottom: 1px solid var(--border-light);
  flex-wrap: wrap;
  gap: 12px;
}

.map-section-title {
  font-size: 18px;
  font-weight: 600;
  color: var(--text-primary);
  display: flex;
  align-items: center;
  gap: 8px;
}

.map-section-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.map-view-btn {
  padding: 8px 16px;
  border: 2px solid var(--border-light);
  border-radius: var(--radius-xl);
  background: white;
  cursor: pointer;
  font-size: 13px;
  color: var(--text-secondary);
  transition: var(--transition-fast);
  display: flex;
  align-items: center;
  gap: 6px;
}

.map-view-btn:hover {
  border-color: var(--primary-light);
  background: var(--bg-hover);
}

.map-view-btn.active {
  border-color: var(--primary);
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: white;
}

.map-container {
  position: relative;
  height: 500px;
  background: #f0f0f0;
}

#tiandituMap {
  width: 100%;
  height: 100%;
}

.map-loading {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: var(--bg-gradient-start);
  z-index: 10;
}

.map-loading.hidden {
  display: none;
}

.map-legend {
  position: absolute;
  bottom: 16px;
  left: 16px;
  background: rgba(255, 255, 255, 0.95);
  border-radius: var(--radius-md);
  padding: 12px 16px;
  display: flex;
  gap: 16px;
  box-shadow: var(--shadow-sm);
  z-index: 9999;
  pointer-events: auto;
}

.map-legend-item {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: var(--text-secondary);
}

.legend-marker {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  display: inline-block;
}

.legend-marker.female {
  background: linear-gradient(135deg, #FF85A2, #E85A7E);
}

.legend-marker.male {
  background: linear-gradient(135deg, #6B9AFF, #4A7AE8);
}

.legend-marker.online {
  background: #4CAF50;
  box-shadow: 0 0 0 3px rgba(76, 175, 80, 0.3);
}

.map-stats {
  position: absolute;
  top: 16px;
  right: 16px;
  background: rgba(255, 255, 255, 0.95);
  border-radius: var(--radius-md);
  padding: 8px 16px;
  font-size: 13px;
  color: var(--text-secondary);
  box-shadow: var(--shadow-sm);
  z-index: 9999;
  pointer-events: auto;
}

.map-stats strong {
  color: var(--primary);
}

/* 地图信息窗口样式 */
.map-info-window {
  padding: 0;
  min-width: 280px;
  font-family: var(--font-family);
}

.map-info-header {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px;
  background: linear-gradient(135deg, var(--primary-light), var(--secondary-light));
  border-radius: var(--radius-md) var(--radius-md) 0 0;
}

.map-info-avatar {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  border: 3px solid white;
  object-fit: cover;
  box-shadow: var(--shadow-sm);
}

.map-info-name {
  font-size: 18px;
  font-weight: 700;
  color: var(--text-primary);
}

.map-info-name .age {
  font-size: 14px;
  font-weight: 400;
  color: var(--primary);
}

.map-info-meta {
  font-size: 13px;
  color: var(--text-secondary);
  margin-top: 4px;
}

.map-info-body {
  padding: 16px;
}

.map-info-signature {
  font-size: 14px;
  color: var(--text-secondary);
  font-style: italic;
  margin-bottom: 12px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border-light);
}

.map-info-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 12px;
}

.map-info-tag {
  padding: 4px 10px;
  background: var(--bg-hover);
  color: var(--primary);
  font-size: 11px;
  border-radius: var(--radius-xl);
}

.map-info-actions {
  display: flex;
  gap: 8px;
}

.map-info-actions .btn {
  flex: 1;
  padding: 8px 12px;
  font-size: 13px;
}

/* 地图收起状态 */
.map-section.collapsed .map-container {
  height: 0;
  overflow: hidden;
}

.map-section.collapsed .map-section-header {
  border-bottom: none;
}

/* 响应式地图 */
@media (max-width: 768px) {
  .map-container {
    height: 350px;
  }

  .map-section-header {
    flex-direction: column;
    align-items: flex-start;
  }

  .map-section-actions {
    width: 100%;
    justify-content: space-between;
  }

  .map-legend {
    bottom: 8px;
    left: 8px;
    padding: 8px 12px;
    gap: 10px;
  }

  .map-stats {
    top: 8px;
    right: 8px;
    font-size: 12px;
  }

  .map-info-window {
    min-width: 240px;
  }
}

/* 密码强度提示 */
.pwd-strength {
  margin-top: 6px;
  font-size: 12px;
  line-height: 1.4;
}
.pwd-strength-weak {
  color: #e74c3c;
}
.pwd-strength-strong {
  color: #27ae60;
}
