:root {
  --bg: #f2ebe9;
  --surface: rgba(31, 24, 24, 0.08);
  --surface-strong: rgba(31, 24, 24, 0.12);
  --text: #2c2a2a;
  --muted: #666666;
  --accent: #c72f2f;
  --accent-soft: rgba(199, 47, 47, 0.16);
  --danger: #992020;
  --border: rgba(44, 42, 42, 0.12);
  --shadow: 0 24px 80px rgba(44, 42, 42, 0.16);
}

html, body {
  min-height: 100vh;
  font-family: 'Century Gothic', CenturyGothic, AppleGothic, sans-serif;
  background: radial-gradient(circle at top left, rgba(199, 47, 47, 0.08), transparent 24%),
              radial-gradient(circle at bottom right, rgba(112, 62, 62, 0.08), transparent 28%),
              linear-gradient(180deg, #f7f1ee 0%, #e9dfdb 60%, #d7cbc6 100%);
  color: var(--text);
}

body.app-shell {
  background-attachment: fixed;
}

/* Separated User Profile Tag Styling */
.user-profile-tag {
  text-decoration: none;
  color: var(--text);
  padding: 8px 14px;
  border-radius: 20px;
  background: rgba(199, 47, 47, 0.08);
  border: 1px solid rgba(199, 47, 47, 0.2);
  transition: all 0.2s ease;
  white-space: nowrap;
  margin: 0 12px;
}

.user-profile-tag:hover {
  background: rgba(199, 47, 47, 0.15);
  border-color: rgba(199, 47, 47, 0.4);
  color: var(--accent);
}

.user-avatar-small {
  width: 28px;
  height: 28px;
  background: linear-gradient(135deg, #c72f2f, #bd2c2c);
  border-radius: 50%;
  display: inline-block;
}

.user-name-tag {
  font-size: 0.95rem;
  font-weight: 500;
}

::selection {
  background: rgba(138, 91, 255, 0.28);
}

.navbar {
  border-bottom: 1px solid rgba(44, 42, 42, 0.14);
  backdrop-filter: blur(18px);
}

.bg-glass {
  background: rgba(255, 255, 255, 0.88) !important;
}

.navbar-brand {
  font-weight: 700;
  letter-spacing: 0.03em;
  color: var(--accent) !important;
}

.navbar-nav {
  flex-wrap: nowrap !important;
  white-space: nowrap;
}

.navbar-collapse {
  overflow-x: auto;
}

.navbar-nav .nav-item {
  white-space: nowrap;
}

.navbar-nav .nav-link {
  color: rgba(44, 42, 42, 0.8) !important;
  transition: color 0.2s ease;
  white-space: nowrap;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
  color: #2c2a2a !important;
}

.container {
  padding-bottom: 2.5rem;
}

.alert {
  background: rgba(199, 47, 47, 0.08);
  border: 1px solid rgba(199, 47, 47, 0.18);
  color: var(--text);
}

.card {
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(44, 42, 42, 0.12);
  box-shadow: var(--shadow);
  border-radius: 24px;
}

.card h5, .card h4, .card h2 {
  color: #2c2a2a;
}

.card-body, .form-control, .form-select {
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid rgba(85, 80, 77, 0.16);
  color: #2c2a2a;
}

.form-label,
.text-muted,
.form-text,
.form-check-label {
  color: #5f5a56 !important;
}

.form-control:focus, .form-select:focus {
  border-color: rgba(199, 47, 47, 0.55);
  box-shadow: 0 0 0 0.2rem rgba(199, 47, 47, 0.16);
  background: rgba(255, 255, 255, 0.96);
  color: var(--text);
}

.btn-primary {
  background: linear-gradient(135deg, #c72f2f, #bd2c2c);
  border: none;
  box-shadow: 0 18px 32px rgba(199, 47, 47, 0.18);
}

.btn-primary:hover,
.btn-primary:focus {
  background: linear-gradient(135deg, #b42424, #a31f1f);
}

.btn-outline-primary {
  color: #c72f2f;
  border-color: rgba(199, 47, 47, 0.45);
}

.btn-outline-primary:hover {
  color: #fff;
  background: rgba(199, 47, 47, 0.12);
}

.btn-warning {
  background: #ffd966;
  border: none;
  color: #1f1a0f;
}

.btn-outline-secondary,
.btn-outline-success,
.btn-outline-danger,
.btn-outline-primary,
.btn-outline-dark {
  border-radius: 999px;
}

.member-card, .profile-card, .chat-container {
  border-radius: 20px;
}

.member-card {
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.08);
}

.member-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.16);
}

.member-photo, .profile-photo {
  height: 190px;
  object-fit: cover;
  filter: saturate(1.05) contrast(1.03);
}

.fav-btn {
  position: absolute;
  right: 10px;
  top: 10px;
  background: rgba(10, 12, 25, 0.92);
  border: 1px solid rgba(255,255,255,0.12);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease;
}

.fav-btn:hover {
  transform: scale(1.05);
  background: rgba(138, 91, 255, 0.18);
}

.fav-btn i {
  color: #d1d4e1;
}

.fav-btn.active i {
  color: gold;
}

.chat-container {
  max-width: 840px;
  margin: 0 auto;
}

.chat-messages {
  min-height: 360px;
  overflow-y: auto;
  background: rgba(255,255,255,0.06);
  border-radius: 22px;
  padding: 18px;
  border: 1px solid rgba(255,255,255,0.08);
}

.message-row {
  display: flex;
  flex-direction: column;
  max-width: 80%;
  margin-bottom: 14px;
}

.message-row.me {
  align-self: flex-end;
  text-align: right;
}

.message-bubble {
  display: inline-block;
  padding: 12px 16px;
  border-radius: 18px;
  background: rgba(255,255,255,0.08);
  color: var(--text);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.06);
}

.message-row.me .message-bubble {
  background: linear-gradient(135deg, rgba(138, 91, 255, 0.96), rgba(91, 157, 255, 0.96));
  color: #fff;
}

.member-card .card-body {
  min-height: 138px;
  padding: 0.8rem 0.9rem 0.8rem;
}

.member-card .card-title {
  font-size: 0.98rem;
  margin-bottom: 0.2rem;
}

.member-card .card-text {
  margin-bottom: 0.2rem;
}

.member-card .badge {
  font-size: 0.68rem;
  padding: 0.25rem 0.45rem;
}

.icon-bar {
  display: flex;
  gap: 6px;
  align-items: center;
}
.icon-btn {
  min-width: 32px;
  height: 32px;
  padding: 0 8px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap: 4px;
  border-radius:50px;
  background: rgba(255,255,255,0.9);
  border: 1px solid rgba(44,42,42,0.06);
  cursor: pointer;
  white-space: nowrap;
  font-size: 0.84rem;
}
.icon-btn.liked {
  background: rgba(220,53,69,0.12);
  border-color: rgba(220,53,69,0.4);
}
.icon-btn.liked i {
  color: #dc3545;
}
.icon-btn.disabled{
  opacity:0.45;
  cursor:not-allowed;
}
.icon-box {
  width:42px;
  height:42px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  border-radius:14px;
  background:#fff;
  border:1px solid rgba(44,42,42,0.12);
  color:#333;
  position:relative;
  text-decoration:none;
  transition: transform .15s ease, border-color .15s ease, box-shadow .15s ease;
}
.icon-box:hover {
  transform: translateY(-1px);
  border-color: rgba(44,42,42,0.24);
  box-shadow: 0 8px 18px rgba(0,0,0,0.08);
}
.icon-box i {
  font-size: 1rem;
}
.icon-box[data-tooltip]:hover::after {
  content: attr(data-tooltip);
  position: absolute;
  top: -42px;
  left: 50%;
  transform: translateX(-50%);
  white-space: nowrap;
  background: rgba(22,22,22,0.93);
  color: #fff;
  font-size: 0.75rem;
  padding: 6px 10px;
  border-radius: 10px;
  z-index: 10;
  pointer-events: none;
}
.icon-box[data-tooltip]:hover::before {
  content: '';
  position: absolute;
  top: -10px;
  left: 50%;
  transform: translateX(-50%);
  border: 6px solid transparent;
  border-bottom-color: rgba(22,22,22,0.93);
}
.upload-photo-box {
  width: 50px;
  height: 50px;
  border-radius: 16px;
  border: 1px solid rgba(44,42,42,0.16);
  background: #fff;
}
.upload-photo-box .fa-image {
  font-size: 1.1rem;
}
.upload-photo-box .icon-cross {
  position: absolute;
  top: 6px;
  right: 6px;
  font-size: 0.8rem;
  color: #dc3545;
  font-weight: 700;
}
.upload-photo-panel {
  align-items: center;
}
.photo-gallery {
  margin-top: 1rem;
}
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(110px, 1fr));
  gap: 12px;
}
.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: 18px;
  border: 1px solid rgba(44,42,42,0.1);
}
.gallery-item.active {
  box-shadow: 0 0 0 2px rgba(220,53,69,0.2);
}
.gallery-thumb {
  width: 100%;
  height: 110px;
  object-fit: cover;
  display: block;
  cursor: pointer;
}
.gallery-item.active .gallery-thumb {
  opacity: 0.95;
}
.photo-preview {
  cursor: pointer;
}
.gallery-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 8px;
  pointer-events: none;
}
.gallery-overlay .badge,
.gallery-overlay form {
  pointer-events: auto;
}
.small-icon {
  width: 34px;
  height: 34px;
  padding: 0;
  border-radius: 12px;
}

.featured-slider {
  overflow: hidden;
  position: relative;
  border-radius: 24px;
  background: rgba(255,255,255,0.95);
  border: 1px solid rgba(44,42,42,0.12);
  padding: 18px 0;
}

.featured-slider-track {
  display: flex;
  gap: 18px;
  padding-left: 18px;
  animation: scroll-left 28s linear infinite;
}

.featured-slide {
  min-width: 260px;
  max-width: 260px;
  flex: 0 0 auto;
}

.featured-card {
  background: rgba(255,255,255,0.98);
  border-radius: 24px;
  overflow: hidden;
  min-height: 320px;
}

.featured-photo {
  width: 100%;
  height: 190px;
  object-fit: cover;
}

.featured-info {
  background: #fff;
}

@keyframes scroll-left {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

.chat-widget {
  position: fixed;
  right: 20px;
  bottom: 20px;
  width: 360px;
  max-width: calc(100% - 40px);
  border-radius: 12px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.3);
  overflow: hidden;
  display: none;
  z-index: 2000;
}
.chat-widget .chat-header {padding:10px 12px;background:linear-gradient(135deg,#c72f2f,#bd2c2c);color:#fff}
.chat-widget .chat-body {background:#fff;max-height:320px;overflow:auto;padding:10px}
.chat-widget .chat-input {padding:8px;background:#f7f7f7}

.member-card .card-title {
  font-size: 1.08rem;
}

.member-card .btn,
.profile-card .btn {
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.member-card .btn:hover,
.profile-card .btn:hover {
  transform: translateY(-1px);
}

.profile-card {
  border-radius: 30px;
}

.dashboard-panel {
  border-radius: 28px;
  padding: 1.25rem;
  background: rgba(255,255,255,0.9);
  border: 1px solid rgba(44, 42, 42, 0.12);
}

.dashboard-avatar {
  width: 96px;
  height: 96px;
  object-fit: cover;
  border-radius: 50%;
  border: 3px solid rgba(255,255,255,0.85);
  box-shadow: 0 16px 40px rgba(0,0,0,0.12);
}

.stat-chip {
  min-width: 88px;
  padding: 0.85rem 1rem;
  border-radius: 20px;
  border: 1px solid rgba(44, 42, 42, 0.1);
  background: rgba(255,255,255,0.94);
}

.stat-value {
  font-size: 1.05rem;
  font-weight: 700;
}

.toolbar-pill .btn {
  min-height: 34px;
}

.profile-actions .btn,
.profile-actions .form-control,
.profile-actions .form-select {
  border-radius: 999px;
}

.profile-actions .btn {
  padding: 0.45rem 0.9rem;
}

.profile-card .profile-photo {
  height: 220px;
  border-radius: 24px;
}

.badge {
  border-radius: 999px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.badge.bg-warning {
  background: #ffd966 !important;
  color: #1f1a0f !important;
}

.badge.bg-info {
  background: rgba(91, 157, 255, 0.18) !important;
  color: #d7e7ff !important;
}

@media (max-width: 992px) {
  /* Red Hamburger Icon for mobile */
  .navbar-toggler .navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='%23c72f2f' stroke-linecap='round' stroke-linejoin='round' stroke-width='2.5' d='M6 10h18M6 16h18M6 22h18'/%3e%3c/svg%3e");
  }
  
  .navbar-toggler:not(.collapsed) .navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='%23c72f2f' stroke-linecap='round' stroke-linejoin='round' stroke-width='2.5' d='M6 10h18M6 16h18M6 22h18'/%3e%3c/svg%3e");
  }
  
  .container {
    padding-bottom: 1.5rem;
  }
  .member-photo,
  .profile-photo {
    height: 220px;
  }
  .profile-card .profile-photo {
    height: 200px;
  }
  .featured-slide {
    min-width: 220px;
    max-width: 220px;
  }
  .featured-photo {
    height: 150px;
  }
  .chat-widget {
    right: 12px;
    bottom: 12px;
  }
  .dashboard-panel {
    padding: 1rem;
  }
  .toolbar-pill .btn {
    min-width: 0;
  }
}

@media (max-width: 768px) {
  /* Hide user tag on tablets and mobile */
  .user-profile-tag {
    display: none !important;
  }
  
  body {
    padding-top: 120px;
  }
  
  .navbar-nav {
    white-space: normal;
  }
  .navbar-collapse {
    overflow-x: visible;
  }
  .member-card {
    min-height: auto;
  }
  .fav-btn {
    right: 12px;
    top: 12px;
    width: 38px;
    height: 38px;
  }
  .icon-box,
  .upload-photo-box {
    width: 40px;
    height: 40px;
  }
  .icon-box i,
  .upload-photo-box .fa-image {
    font-size: 0.95rem;
  }
  .gallery-thumb {
    height: 90px;
  }
  .upload-photo-form {
    width: 100%;
    flex-wrap: wrap;
  }
  .upload-photo-form span {
    flex: 1 1 100%;
  }
  .profile-actions .btn,
  .profile-actions .form-control,
  .profile-actions .form-select {
    width: 100%;
  }
  .photo-gallery {
    margin-top: 0.75rem;
  }
}

@media (max-width: 576px) {
  body {
    padding-top: 100px;
    background-attachment: scroll;
  }
  
  body.app-shell {
    background-attachment: scroll;
  }
  .container {
    padding-bottom: 1rem;
  }
  .member-photo,
  .profile-photo {
    height: 180px;
  }
  .featured-slide {
    min-width: 180px;
    max-width: 180px;
  }
  .featured-photo {
    height: 130px;
  }
  .gallery-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .gallery-thumb {
    height: 80px;
  }
  .icon-box,
  .upload-photo-box {
    width: 36px;
    height: 36px;
  }
  .icon-box[data-tooltip]:hover::after,
  .icon-box[data-tooltip]:hover::before {
    display: none;
  }
  .card {
    border-radius: 20px;
  }
}

.table {
  backdrop-filter: blur(18px);
  background: rgba(10, 12, 25, 0.72);
}

.form-label {
  color: #dde0eb;
}

.form-check-label,
.form-text,
.text-muted {
  color: #666666 !important;
}

.btn-secondary,
.btn-success,
.btn-danger,
.btn-dark {
  transition: all 0.2s ease;
}

.btn-secondary:hover,
.btn-success:hover,
.btn-danger:hover,
.btn-dark:hover {
  transform: translateY(-1px);
}

.landing-page .interactive-card,
.landing-page .feature-card {
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid rgba(199, 47, 47, 0.14);
}

.landing-slider {
  position: relative;
  min-height: calc(100vh - 110px);
  overflow: hidden;
  display: flex;
  align-items: stretch;
}

.landing-slider-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0;
  filter: brightness(0.85);
  animation: fadeSlide 18s ease-in-out infinite;
}

.landing-slider-slide.slide-1 {
  background-image: url('/assets/slider1.jpeg');
  animation-delay: 0s;
}

.landing-slider-slide.slide-2 {
  background-image: url('/assets/slider2.jpeg');
  animation-delay: 6s;
}

.landing-slider-slide.slide-4 {
  background-image: url('/assets/slider/4.jpeg');
  animation-delay: 12s;
}

.landing-slider-slide.slide-5 {
  background-image: url('/assets/slider/5.jpeg');
  animation-delay: 15s;
}

.landing-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(8, 9, 27, 0.30), rgba(7, 11, 26, 0.55));
  mix-blend-mode: normal;
}

@keyframes fadeSlide {
  0%, 24%, 100% { opacity: 0; }
  8%, 20% { opacity: 1; }
}

.landing-page .feature-card {
  border-radius: 28px;
}

.landing-page .interactive-card {
  border-radius: 28px;
  background: rgba(20, 23, 33, 0.22);
  border: 1px solid rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(18px);
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.22);
  color: #fff;
}

.landing-page .interactive-card .form-label,
.landing-page .interactive-card .btn-group .btn,
.landing-page .interactive-card .form-select {
  color: #fff !important;
}

.landing-page .interactive-card .btn-group {
  border-radius: 12px;
  overflow: hidden;
}

.landing-page .interactive-card .btn-group .btn {
  border: 2px solid rgba(255, 255, 255, 0.6);
  background: rgba(255, 255, 255, 0.08);
  color: #fff !important;
  font-weight: 600;
  flex: 1;
  transition: all 0.3s ease;
}

.landing-page .interactive-card .btn-group .btn:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.9);
  transform: translateY(-2px);
}

.landing-page .interactive-card .btn-group .btn.active,
.landing-page .interactive-card .btn-group .btn-outline-light.active,
.landing-page .interactive-card .btn-group .gender-toggle.active,
.landing-page .interactive-card .btn-group .seeker-toggle.active {
  background: #fff !important;
  color: #dc3545 !important;
  border-color: #fff !important;
  box-shadow: 0 4px 12px rgba(255, 255, 255, 0.25) !important;
}

.landing-page .interactive-card .btn-group .btn.active:hover {
  background: #fff !important;
  color: #dc3545 !important;
}

.landing-page .interactive-card .form-select {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.35);
}

.landing-page .interactive-card .form-select option {
  color: #dc3545;
  background: rgba(20, 23, 33, 0.95);
}

.bg-soft-red {
  background: rgba(199, 47, 47, 0.12);
  color: var(--danger);
}

.wizard-progress {
  background: white;
  padding: 1rem;
  border-radius: 12px;
  border: 1px solid rgba(0,0,0,0.08);
}

.progress-info {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.75rem;
  font-size: 0.9rem;
}

.step-number {
  color: rgba(199, 47, 47, 0.7);
  font-weight: 600;
}

.step-name {
  color: var(--muted);
  font-weight: 500;
}

.card-stage {
  background: white;
  padding: 2rem;
  border-radius: 16px;
  border: 1px solid rgba(0,0,0,0.06);
  min-height: 300px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.card-stage h4 {
  color: var(--dark);
  margin-bottom: 1rem;
  font-weight: 600;
}

.card-stage p {
  font-size: 0.95rem;
}

.form-control-lg,
.form-select-lg {
  font-size: 1rem;
  padding: 0.75rem 1rem;
  border-radius: 8px;
  border: 1px solid rgba(0,0,0,0.1);
}

.form-control-lg:focus,
.form-select-lg:focus {
  border-color: var(--danger);
  box-shadow: 0 0 0 0.2rem rgba(199, 47, 47, 0.15);
}

.wizard-steps {
  display: grid;
  grid-template-columns: repeat(7, minmax(60px, 1fr));
  gap: 0.5rem;
  overflow-x: auto;
  padding-bottom: 0.75rem;
}

.step-indicator {
  min-width: 80px;
  padding: 0.65rem 0.75rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  color: var(--muted);
  text-align: center;
  font-size: 0.8rem;
  transition: background 0.2s ease, color 0.2s ease;
}

.step-indicator.active {
  background: rgba(199, 47, 47, 0.16);
  color: var(--danger);
  font-weight: 600;
}

.wizard-pane {
  display: none;
}

.wizard-pane.active {
  display: block;
  animation: slideIn 0.3s ease-out;
}

/* ============================================
   ENHANCED BUTTONS & BADGES STYLING
   ============================================ */

/* Subscription/Plan Badges */
.badge {
  padding: 0.5rem 0.85rem;
  font-weight: 600;
  border-radius: 50px;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.85rem;
  letter-spacing: 0.5px;
}

/* Add indicator dots only to custom plan badges */
.badge-diamond::before,
.badge-platinum::before,
.badge-gold::before,
.badge-free::before {
  content: '';
  display: inline-block;
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  background: currentColor;
  opacity: 0.6;
}

/* Plan-specific badges */
.badge-diamond {
  background: linear-gradient(135deg, #ff006e 0%, #d62828 100%);
  color: white;
  box-shadow: 0 4px 15px rgba(255, 0, 110, 0.3);
}

.badge-platinum {
  background: linear-gradient(135deg, #6366f1 0%, #4f46e5 100%);
  color: white;
  box-shadow: 0 4px 15px rgba(99, 102, 241, 0.3);
}

.badge-gold {
  background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
  color: #1f2937;
  box-shadow: 0 4px 15px rgba(251, 191, 36, 0.3);
}

.badge-free {
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
  color: white;
  box-shadow: 0 4px 15px rgba(16, 185, 129, 0.3);
}

/* Subscription display text */
.subscription-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.6rem 1rem;
  background: rgba(199, 47, 47, 0.1);
  border: 2px solid rgba(199, 47, 47, 0.2);
  border-radius: 50px;
  font-weight: 600;
  color: var(--text);
  transition: all 0.3s ease;
}

.subscription-badge:hover {
  background: rgba(199, 47, 47, 0.15);
  border-color: rgba(199, 47, 47, 0.4);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(199, 47, 47, 0.2);
}

.subscription-badge.Diamond {
  background: linear-gradient(135deg, rgba(255, 0, 110, 0.15) 0%, rgba(214, 40, 40, 0.15) 100%);
  border-color: #ff006e;
  color: #d62828;
}

.subscription-badge.Platinum {
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.15) 0%, rgba(79, 70, 229, 0.15) 100%);
  border-color: #6366f1;
  color: #4f46e5;
}

.subscription-badge.Gold {
  background: linear-gradient(135deg, rgba(251, 191, 36, 0.15) 0%, rgba(245, 158, 11, 0.15) 100%);
  border-color: #fbbf24;
  color: #f59e0b;
}

/* ============================================
   ENHANCED BUTTON STYLING
   ============================================ */

.btn {
  font-weight: 600;
  padding: 0.6rem 1.2rem;
  border-radius: 50px;
  border: none;
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  white-space: nowrap;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.btn:active {
  transform: translateY(-1px);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

/* Primary buttons - Red/Accent */
.btn-primary {
  background: linear-gradient(135deg, #c72f2f 0%, #992020 100%);
  color: white;
}

.btn-primary:hover {
  background: linear-gradient(135deg, #992020 0%, #7a1818 100%);
  color: white;
}

.btn-primary:focus,
.btn-primary.focus {
  box-shadow: 0 0 0 0.25rem rgba(199, 47, 47, 0.25);
}

/* Secondary buttons - Outline */
.btn-outline-secondary {
  color: #666;
  border: 2px solid #ddd;
  background: white;
}

.btn-outline-secondary:hover {
  background: #f8f8f8;
  border-color: #999;
  color: #333;
}

/* Success buttons - Green */
.btn-success {
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
  color: white;
}

.btn-success:hover {
  background: linear-gradient(135deg, #059669 0%, #047857 100%);
  color: white;
}

/* Info buttons - Blue */
.btn-info {
  background: linear-gradient(135deg, #06b6d4 0%, #0891b2 100%);
  color: white;
}

.btn-info:hover {
  background: linear-gradient(135deg, #0891b2 0%, #0e7490 100%);
  color: white;
}

/* Warning buttons - Orange */
.btn-warning {
  background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
  color: white;
}

.btn-warning:hover {
  background: linear-gradient(135deg, #d97706 0%, #b45309 100%);
  color: white;
}

/* Danger buttons - Red/Dark Red */
.btn-danger {
  background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
  color: white;
}

.btn-danger:hover {
  background: linear-gradient(135deg, #dc2626 0%, #991b1b 100%);
  color: white;
}

/* Small buttons */
.btn-sm {
  padding: 0.4rem 0.8rem;
  font-size: 0.85rem;
}

/* Large buttons */
.btn-lg {
  padding: 0.8rem 1.5rem;
  font-size: 1.1rem;
}

/* Icon buttons */
.btn i {
  font-size: 1rem;
}

.btn-sm i {
  font-size: 0.85rem;
}

.btn-lg i {
  font-size: 1.2rem;
}

/* Button groups - arrange neatly */
.button-group {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
}

.button-group.vertical {
  flex-direction: column;
  align-items: stretch;
}

.button-group.centered {
  justify-content: center;
}

/* Action buttons (messaging, profile, etc) */
.action-buttons {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 0.75rem;
  margin-top: 1rem;
}

@media (max-width: 576px) {
  .action-buttons {
    grid-template-columns: 1fr;
  }
}

@keyframes slideIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.preview-box {
  min-height: 220px;
  background: rgba(255,255,255,0.94);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.preview-box img {
  max-width: 100%;
  border-radius: 18px;
}

.upload-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  color: #5f5a56;
}

.upload-placeholder i {
  color: rgba(199, 47, 47, 0.7);
}

.feature-box {
  background: rgba(255,255,255,0.92);
  border: 1px solid rgba(0,0,0,0.08);
  transition: all 0.2s ease;
}

.feature-box:hover {
  border-color: rgba(199, 47, 47, 0.3);
  box-shadow: 0 2px 8px rgba(199, 47, 47, 0.1);
}

.membership-features {
  border-top: 1px solid rgba(0,0,0,0.06);
  padding-top: 1.5rem;
  margin-top: 1.5rem;
}

.modal-content {
  background: #f8f8f8;
  overflow: hidden;
}

.modal-body {
  background: #f8f8f8;
  padding: 2rem;
}

.modal-header {
  background: white;
  border-bottom: 1px solid rgba(0,0,0,0.06);
  padding: 1.5rem;
}

.modal-footer {
  background: white;
  border-top: 1px solid rgba(0,0,0,0.06);
  padding: 1.5rem;
}

.btn-lg {
  padding: 0.75rem 1.5rem;
  font-weight: 500;
}

.rounded-lg {
  border-radius: 8px;
}
.gender-toggle,
.seeker-toggle {
  border-radius: 18px;
}

.gender-toggle.active,
.seeker-toggle.active {
  background: rgba(199, 47, 47, 0.14);
  color: var(--danger);
  border-color: rgba(199, 47, 47, 0.4);
}

@media (max-width: 992px) {
  .landing-page .feature-card,
  .landing-page .interactive-card {
    margin-bottom: 1.5rem;
  }
}

input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

@media (max-width: 768px) {
  .member-photo,
  .profile-photo {
    height: 220px;
  }
  .chat-messages {
    min-height: 320px;
  }
}
