/* iosi.live - Desktop Dashboard Styling matching Screenshot */

.desktop-app-container {
  max-width: 1360px;
  margin: 20px auto;
  padding: 0 20px;
}

.desktop-main-card {
  background: rgba(255, 255, 255, 0.86);
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.95);
  border-radius: var(--radius-xl);
  box-shadow: 0 20px 50px -10px rgba(106, 0, 244, 0.12), 0 0 0 1px rgba(255, 255, 255, 0.8) inset;
  display: grid;
  grid-template-columns: 240px 1fr 310px;
  min-height: 760px;
  overflow: hidden;
  position: relative;
}

/* Left Sidebar */
.desktop-sidebar {
  padding: 28px 20px;
  border-right: 1px solid rgba(230, 222, 245, 0.7);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: rgba(255, 255, 255, 0.45);
}

.sidebar-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  margin-bottom: 30px;
}

.logo-heart-shield {
  width: 40px;
  height: 40px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  filter: drop-shadow(0 4px 10px rgba(131, 56, 236, 0.35));
}

.logo-heart-shield svg {
  width: 100%;
  height: 100%;
}

.logo-text-group {
  display: flex;
  flex-direction: column;
}

.logo-name {
  font-size: 21px;
  font-weight: 800;
  letter-spacing: -0.5px;
  color: var(--primary-dark);
}

.logo-slogan {
  font-size: 11px;
  color: var(--text-muted);
  font-weight: 500;
}

/* Navigation Menu */
.sidebar-nav-menu {
  display: flex;
  flex-direction: column;
  gap: 6px;
  list-style: none;
}

.sidebar-nav-item {
  width: 100%;
}

.sidebar-nav-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 11px 16px;
  border-radius: var(--radius-md);
  text-decoration: none;
  color: var(--text-muted);
  font-size: 14.5px;
  font-weight: 600;
  transition: var(--transition-fast);
}

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

.nav-link-icon {
  width: 20px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: inherit;
}

.sidebar-nav-link:hover {
  background: rgba(131, 56, 236, 0.06);
  color: var(--primary);
  transform: translateX(2px);
}

.sidebar-nav-link.active {
  background: #f1e9ff;
  color: var(--primary-dark);
  font-weight: 700;
}

.nav-badge-count {
  background: var(--primary);
  color: white;
  font-size: 11px;
  font-weight: 700;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 6px rgba(131, 56, 236, 0.4);
}

.nav-badge-new {
  background: linear-gradient(135deg, #9d4edd, #6a00f4);
  color: white;
  font-size: 10px;
  font-weight: 800;
  padding: 2px 7px;
  border-radius: var(--radius-pill);
  letter-spacing: 0.5px;
  box-shadow: 0 2px 6px rgba(106, 0, 244, 0.3);
}

/* Left Sidebar Bottom Promo Card */
.sidebar-promo-card {
  margin-top: 24px;
  background: linear-gradient(145deg, #f3ecff 0%, #fbf8ff 100%);
  border: 1px solid rgba(220, 205, 250, 0.7);
  border-radius: var(--radius-lg);
  padding: 20px 16px;
  text-align: center;
  position: relative;
  overflow: hidden;
  box-shadow: 0 10px 24px rgba(131, 56, 236, 0.08);
}

.promo-3d-cam-wrap {
  width: 80px;
  height: 70px;
  margin: 0 auto 10px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.promo-cam-graphic {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 8px 18px rgba(131, 56, 236, 0.3));
}

.promo-title {
  font-size: 14px;
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 4px;
}

.promo-desc {
  font-size: 11.5px;
  color: var(--text-muted);
  line-height: 1.35;
  margin-bottom: 14px;
}

.btn-promo-start {
  width: 100%;
  padding: 10px 14px;
  background: linear-gradient(135deg, #9d4edd, #6a00f4);
  border: none;
  border-radius: var(--radius-pill);
  color: white;
  font-size: 13px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(106, 0, 244, 0.35);
  transition: var(--transition-fast);
}

.btn-promo-start:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(106, 0, 244, 0.45);
}

.promo-footer-text {
  font-size: 10.5px;
  color: var(--text-light);
  margin-top: 10px;
  font-weight: 500;
}

/* Center Content Column */
.desktop-center-content {
  padding: 24px 28px;
  display: flex;
  flex-direction: column;
  overflow-y: auto;
}

/* Top Search & User Bar */
.desktop-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 24px;
}

.search-input-wrapper {
  flex: 1;
  position: relative;
}

.search-field {
  width: 100%;
  padding: 11px 18px 11px 42px;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(220, 212, 240, 0.8);
  background: rgba(255, 255, 255, 0.85);
  font-size: 13.5px;
  font-family: inherit;
  color: var(--text-main);
  outline: none;
  transition: var(--transition-fast);
}

.search-field:focus {
  background: #ffffff;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(131, 56, 236, 0.12);
}

.search-icon-svg {
  position: absolute;
  left: 15px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-muted);
  width: 17px;
  height: 17px;
  pointer-events: none;
}

[dir="rtl"] .search-field {
  padding: 11px 42px 11px 18px;
}
[dir="rtl"] .search-icon-svg {
  left: auto;
  right: 15px;
}

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

.bell-btn {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid rgba(220, 212, 240, 0.8);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  cursor: pointer;
  position: relative;
  transition: var(--transition-fast);
}

.bell-btn:hover {
  background: #ffffff;
  color: var(--primary);
  border-color: var(--primary);
}

.bell-dot {
  position: absolute;
  top: 8px;
  right: 9px;
  width: 7px;
  height: 7px;
  background: var(--danger);
  border-radius: 50%;
  box-shadow: 0 0 0 2px white;
}

.user-avatar-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  position: relative;
  cursor: pointer;
  border: none;
  background: none;
  padding: 0;
}

.user-avatar-img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.user-online-pip {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--success);
  border: 2px solid white;
}

/* Central Swipe Card Deck */
.swipe-card-area {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  flex: 1;
  position: relative;
}

.card-deck-stack {
  width: 100%;
  max-width: 410px;
  height: 520px;
  position: relative;
  perspective: 1000px;
}

/* Background Card Illusion */
.card-stack-bg {
  position: absolute;
  inset: 0;
  border-radius: var(--radius-xl);
  background: rgba(255, 255, 255, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.8);
  transform: scale(0.95) translateY(14px);
  z-index: 1;
  box-shadow: 0 10px 30px rgba(106, 0, 244, 0.08);
}

/* Active Main Card */
.profile-swipe-card {
  position: absolute;
  inset: 0;
  border-radius: var(--radius-xl);
  overflow: hidden;
  z-index: 2;
  box-shadow: 0 20px 45px rgba(106, 0, 244, 0.2), 0 0 0 1px rgba(255, 255, 255, 0.9) inset;
  background: #2b1f47;
  cursor: grab;
  user-select: none;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s ease;
}

.profile-swipe-card:active {
  cursor: grabbing;
}

.profile-swipe-card.swiped-left {
  transform: translateX(-150%) rotate(-25deg) !important;
  opacity: 0;
}

.profile-swipe-card.swiped-right {
  transform: translateX(150%) rotate(25deg) !important;
  opacity: 0;
}

.profile-swipe-card.swiped-super {
  transform: translateY(-150%) rotate(0deg) !important;
  opacity: 0;
}

.card-photo-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

/* Top Badges on the Card */
.card-top-badges {
  position: absolute;
  top: 18px;
  left: 18px;
  right: 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  pointer-events: none;
  z-index: 3;
}

.photo-counter-badge {
  background: rgba(18, 12, 35, 0.6);
  backdrop-filter: blur(8px);
  color: white;
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.5px;
}

.online-status-badge {
  background: rgba(18, 12, 35, 0.6);
  backdrop-filter: blur(8px);
  color: white;
  padding: 4px 12px;
  border-radius: var(--radius-pill);
  font-size: 12px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 6px;
}

.pulse-green-dot {
  width: 8px;
  height: 8px;
  background: #34d399;
  border-radius: 50%;
  box-shadow: 0 0 10px #34d399;
  animation: pulseDot 2s infinite ease-in-out;
}

@keyframes pulseDot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.6; transform: scale(0.85); }
}

/* Card Bottom Info Overlay */
.card-bottom-info {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 40px 22px 22px;
  background: linear-gradient(0deg, rgba(14, 8, 30, 0.95) 0%, rgba(14, 8, 30, 0.75) 60%, rgba(14, 8, 30, 0) 100%);
  color: white;
  z-index: 3;
  pointer-events: none;
}

.card-name-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 3px;
}

.profile-name {
  font-size: 24px;
  font-weight: 800;
  letter-spacing: -0.3px;
}

.verified-icon {
  width: 19px;
  height: 19px;
  border-radius: 50%;
  background: var(--primary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: white;
  box-shadow: 0 2px 6px rgba(131, 56, 236, 0.5);
}

.card-distance-row {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 12.5px;
  color: #dfdaf0;
  margin-bottom: 8px;
  font-weight: 500;
}

.card-bio-text {
  font-size: 13.5px;
  line-height: 1.4;
  color: #f1edfa;
  margin-bottom: 14px;
  font-weight: 400;
}

.card-tags-list {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  pointer-events: auto;
}

.interest-tag-pill {
  background: rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.25);
  padding: 5px 12px;
  border-radius: var(--radius-pill);
  font-size: 11.5px;
  font-weight: 600;
  color: white;
}

/* Action Controls Under the Card */
.deck-action-buttons {
  margin-top: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  z-index: 5;
}

.action-btn {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: #ffffff;
  border: 1px solid rgba(220, 212, 240, 0.8);
  box-shadow: 0 8px 20px rgba(131, 56, 236, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition-bounce);
  color: var(--primary);
}

.action-btn:hover {
  transform: translateY(-4px) scale(1.08);
  box-shadow: 0 12px 28px rgba(131, 56, 236, 0.22);
}

.action-btn.btn-undo {
  color: #8b85a3;
  width: 48px;
  height: 48px;
}

.action-btn.btn-pass {
  color: #9d4edd;
}

.action-btn.btn-like {
  width: 66px;
  height: 66px;
  background: linear-gradient(135deg, #9d4edd 0%, #6a00f4 100%);
  color: white;
  border: none;
  box-shadow: 0 10px 28px rgba(106, 0, 244, 0.4);
}

.action-btn.btn-like:hover {
  transform: translateY(-4px) scale(1.12);
  box-shadow: 0 16px 36px rgba(106, 0, 244, 0.55);
}

.action-btn.btn-super {
  color: #9d4edd;
}

.btn-video-quick {
  padding: 0 20px;
  height: 52px;
  border-radius: var(--radius-pill);
  background: linear-gradient(135deg, #8338ec, #6a00f4);
  color: white;
  border: none;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13.5px;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 8px 20px rgba(106, 0, 244, 0.35);
  transition: var(--transition-bounce);
}

.btn-video-quick:hover {
  transform: translateY(-4px) scale(1.04);
  box-shadow: 0 12px 28px rgba(106, 0, 244, 0.45);
}

/* Right Column (Desktop) */
.desktop-right-column {
  padding: 24px 20px;
  border-left: 1px solid rgba(230, 222, 245, 0.7);
  background: rgba(255, 255, 255, 0.45);
  display: flex;
  flex-direction: column;
  gap: 20px;
  overflow-y: auto;
}

.right-card-box {
  background: #ffffff;
  border: 1px solid rgba(232, 224, 248, 0.9);
  border-radius: var(--radius-lg);
  padding: 18px;
  box-shadow: 0 8px 20px rgba(106, 0, 244, 0.05);
}

.card-box-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}

.box-title {
  font-size: 15px;
  font-weight: 800;
  color: var(--text-main);
  display: flex;
  align-items: center;
  gap: 8px;
}

.box-link-action {
  font-size: 12px;
  font-weight: 600;
  color: var(--primary);
  text-decoration: none;
}

.box-link-action:hover {
  text-decoration: underline;
}

/* Match Avatars Row */
.matches-row-list {
  display: flex;
  align-items: center;
  gap: 10px;
}

.match-avatar-ring {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  padding: 2px;
  background: linear-gradient(135deg, #9d4edd, #6a00f4);
  cursor: pointer;
  transition: var(--transition-fast);
}

.match-avatar-ring:hover {
  transform: scale(1.1);
}

.match-avatar-ring img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid white;
}

.match-badge-more {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: #ede4fc;
  color: var(--primary-dark);
  font-size: 13px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

/* People Nearby List */
.nearby-profiles-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.nearby-profile-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 6px 0;
  cursor: pointer;
  transition: var(--transition-fast);
}

.nearby-profile-item:hover {
  transform: translateX(3px);
}

.nearby-item-left {
  display: flex;
  align-items: center;
  gap: 10px;
}

.nearby-avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  object-fit: cover;
}

.nearby-item-info {
  display: flex;
  flex-direction: column;
}

.nearby-item-name {
  font-size: 13.5px;
  font-weight: 700;
  color: var(--text-main);
}

.nearby-item-dist {
  font-size: 11.5px;
  color: var(--text-muted);
}

.nearby-item-heart {
  background: none;
  border: none;
  cursor: pointer;
  color: var(--text-light);
  padding: 6px;
  transition: var(--transition-fast);
}

.nearby-item-heart:hover {
  color: var(--primary);
  transform: scale(1.2);
}

/* Bottom Features Banner */
.bottom-features-banner {
  max-width: 1100px;
  margin: 30px auto 40px;
  text-align: center;
  position: relative;
  z-index: 10;
}

.banner-header {
  margin-bottom: 24px;
}

.banner-logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 26px;
  font-weight: 800;
  color: var(--primary-dark);
}

.banner-sub {
  font-size: 13px;
  color: var(--text-muted);
  font-weight: 500;
}

.features-grid-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-bottom: 16px;
}

.feature-box-item {
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.9);
  border-radius: var(--radius-md);
  padding: 16px 12px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(106, 0, 244, 0.04);
}

.feature-icon-circle {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: #f1e9ff;
  color: var(--primary-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 8px;
}

.feature-box-title {
  font-size: 13px;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 2px;
}

.feature-box-desc {
  font-size: 11px;
  color: var(--text-muted);
}

.banner-script-slogan {
  font-family: 'Brush Script MT', 'Dancing Script', cursive, sans-serif;
  font-size: 26px;
  color: var(--primary);
  transform: rotate(-3deg);
  display: inline-block;
  margin-top: 10px;
  filter: drop-shadow(0 2px 4px rgba(131, 56, 236, 0.2));
}

@media (max-width: 1024px) {
  .desktop-main-card {
    grid-template-columns: 200px 1fr;
  }
  .desktop-right-column {
    display: none;
  }
  .features-grid-row {
    grid-template-columns: repeat(2, 1fr);
  }
}
