/* =========================== */
/* RESET & BASE                */
/* =========================== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family:
    "Inter",
    "Segoe UI",
    Helvetica Neue,
    Arial,
    sans-serif;
}

body {
  background: #f5f5f5;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  min-height: 100vh;
  overflow-x: hidden;
  width: 100%;
  padding: 0;
}

/* =========================== */
/* SPLASH SCREEN               */
/* =========================== */
#splash-screen {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: #f5f5f5;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
}
.splash-content {
  display: flex;
  align-items: center;
  justify-content: center;
}
.logo-group {
  display: flex;
  align-items: center;
  gap: 0;
  transform: scale(0.6);
  opacity: 0;
  animation: splashIntro 6s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}
.logo-placeholder {
  width: auto;
  max-width: 400px;
  height: auto;
  max-height: 120px;
  overflow: hidden;
  background: transparent;
  display: flex;
  justify-content: center;
  align-items: center;
}
.logo-placeholder img {
  width: 100%;
  height: auto;
  object-fit: contain;
  display: block;
}
@keyframes splashIntro {
  0% {
    transform: scale(0.6);
    opacity: 0;
  }
  20% {
    transform: scale(1.15);
    opacity: 1;
  }
  36% {
    transform: scale(1.15) translateY(-6px);
  }
  58% {
    transform: scale(1.25) translateY(0px);
  }
  75% {
    transform: scale(1.25);
    opacity: 1;
  }
  100% {
    transform: scale(0.85);
    opacity: 0;
  }
}
@media (max-width: 768px) {
  .logo-placeholder {
    max-width: 280px;
    max-height: 80px;
  }
}

/* =========================== */
/* PROFILE PAGE LOADING STATE  */
/* =========================== */
.app-container {
  opacity: 0;
  transform: translateY(20px);
  transition:
    opacity 0.8s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
  width: 100%;
  padding: 0;
}
.app-container.visible {
  opacity: 1;
  transform: translateY(0);
}

/* =========================== */
/* DESKTOP LAYOUT (>=1024px)   */
/* =========================== */
@media (min-width: 1024px) {
  body {
    justify-content: flex-start;
  }

  .app-container {
    width: min(100%, 1295px);
    max-width: 1295px;
    min-height: 100vh;
    display: grid;
    grid-template-columns: 315px 600px minmax(300px, 380px);
    justify-content: center;
    background: #f5f5f5;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.04);
    overflow: visible;
    margin: 0;
  }

  .sidebar {
    min-width: 0;
    min-height: 100vh;
    height: auto;
    overflow: visible;
  }

  .main-content {
    width: 600px;
    min-width: 0;
    height: auto;
    overflow: visible;
  }

  .right-sidebar {
    min-width: 0;
    min-height: 100vh;
    height: auto;
    overflow: visible;
  }

  .banner-container.single-banner {
    height: 180px;
  }

  .mobile-nav {
    display: none;
  }
}

/* Keep the same three-column composition on smaller desktop screens
   without forcing horizontal overflow. */
@media (min-width: 1024px) and (max-width: 1294px) {
  .app-container {
    width: 100%;
    grid-template-columns: minmax(220px, 315px) 600px minmax(240px, 1fr);
  }

  .sidebar-profile-container {
    left: clamp(60px, 7vw, 90px);
  }

  .sidebar-menu-item {
    padding-left: clamp(32px, 4.4vw, 60px);
    gap: clamp(16px, 2vw, 24px);
  }

  .sidebar-new-post {
    margin-left: clamp(28px, 4.4vw, 60px);
    width: calc(100% - clamp(56px, 8.8vw, 120px));
    max-width: 240px;
  }

  .right-sidebar {
    padding-left: 18px;
    padding-right: 18px;
  }
}

/* =========================== */
/* LEFT SIDEBAR                */
/* =========================== */
.sidebar {
  background: #f4f4f4;
  border-right: 1px solid #e6e6e6;
  position: relative;
}

/* SIDEBAR PROFILE IMAGE REPLACEMENT */
.sidebar-profile-container {
  position: absolute;
  top: 25px;
  left: 90px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  overflow: hidden;
  background: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid #e0e0e0;
}
.sidebar-profile-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.sidebar-menu {
  margin-top: 95px;
  display: flex;
  flex-direction: column;
}
.sidebar-menu-item {
  height: 60px;
  display: flex;
  align-items: center;
  padding-left: 60px;
  gap: 24px;
  text-decoration: none;
  color: #7f8b96;
  font-size: 18px;
  font-weight: 500;
  cursor: pointer;
  transition: color 0.2s ease;
}
.sidebar-menu-item:hover,
.sidebar-menu-item.active {
  color: #222;
}
.sidebar-menu-item svg {
  width: 24px;
  height: 24px;
  stroke: currentColor;
  stroke-width: 1.8px;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.sidebar-new-post {
  margin-left: 60px;
  margin-top: 35px;
  width: 240px;
  height: 50px;
  background: #10b6f4;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
  color: white;
  font-size: 16px;
  font-weight: 700;
  border: none;
  cursor: pointer;
  transition: background 0.2s ease;
}
.sidebar-new-post:hover {
  background: #0e9fd6;
}
.sidebar-new-post svg {
  width: 24px;
  height: 24px;
  stroke: currentColor;
  stroke-width: 2.5px;
  fill: none;
}

/* =========================== */
/* RIGHT SIDEBAR               */
/* =========================== */
.right-sidebar {
  background: #f5f5f5;
  position: relative;
  height: 100vh;
  overflow-y: auto;
  padding: 18px 25px 0 25px;
}
.search-box {
  position: relative;
  width: 100%;
  margin-bottom: 20px;
}
.search-box input {
  width: 100%;
  height: 44px;
  padding: 0 40px 0 16px;
  border: 1px solid #e6e6e6;
  border-radius: 6px;
  font-size: 14px;
  background: white;
  outline: none;
}
.search-box svg {
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  width: 18px;
  height: 18px;
  stroke: #97a2ac;
  fill: none;
  stroke-width: 2px;
}
.subscription-card {
  width: 100%;
  height: 116px;
  background: white;
  border: 1px solid #e6e6e6;
  border-radius: 4px;
  padding: 18px;
}
.card-title {
  font-size: 15px;
  font-weight: 600;
  color: #7b8590;
  margin-bottom: 14px;
}
.card-btn {
  width: 100%;
  height: 42px;
  background: #11b5f4;
  border-radius: 999px;
  border: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 22px;
  color: white;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.2s ease;
}
.card-btn:hover {
  background: #0e9fd6;
}
.legal-links {
  margin-top: 18px;
  display: flex;
  gap: 12px;
  font-size: 12px;
  font-weight: 400;
  color: #8f99a3;
  justify-content: center;
}
.legal-links span {
  cursor: pointer;
  transition: color 0.2s ease;
}
.legal-links span:hover {
  color: #5a636b;
}
.legal-links .dot {
  color: #8f99a3;
  cursor: default;
}
.floating-help {
  position: fixed;
  right: 0;
  bottom: 282px;
  width: 44px;
  height: 50px;
  background: #11b5f4;
  border-radius: 8px 0 0 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 100;
  transition: background 0.2s ease;
}
.floating-help:hover {
  background: #0e9fd6;
}
.floating-help svg {
  width: 22px;
  height: 22px;
  stroke: white;
  stroke-width: 2px;
  fill: none;
}

/* =========================== */
/* CENTER COLUMN               */
/* =========================== */
.main-content {
  background: #ffffff;
  border-left: 1px solid #e6e6e6;
  border-right: 1px solid #e6e6e6;
  position: relative;
  width: 100%;
}

/* BANNER */
.banner-container.single-banner {
  width: 100%;
  height: 260px;
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid #e6e6e6;
  background: #e5e5e5;
}
.banner-image-full {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.banner-header.side-aligned-header {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  padding: 16px 20px;
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.3) 0%,
    transparent 50%,
    rgba(0, 0, 0, 0.2) 100%
  );
}
.banner-top-row {
  display: flex;
  justify-content: flex-start;
  align-items: flex-start;
  width: 100%;
  gap: 16px;
}
.back-arrow {
  width: 24px;
  height: 24px;
  cursor: pointer;
  flex-shrink: 0;
  margin-top: 2px;
}

.banner-text-group {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  flex: 1;
}

.banner-name {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 18px;
  font-weight: 700;
  color: white;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
  letter-spacing: 0.5px;
}
.verified-badge {
  width: 18px;
  height: 18px;
}

.banner-stats {
  display: flex;
  gap: 18px;
  color: white;
  font-size: 13px;
  font-weight: 600;
  align-items: center;
  justify-content: flex-start;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
  margin-top: 4px;
}
.banner-stat-item {
  display: flex;
  align-items: center;
  gap: 6px;
}
.stat-icon-placeholder {
  width: 14px;
  height: 14px;
  object-fit: contain;
  filter: brightness(0) invert(1);
}

.banner-menu {
  width: 24px;
  height: 24px;
  stroke: #ffffff;
  stroke-width: 2px;
  fill: none;
  cursor: pointer;
  flex-shrink: 0;
  margin-top: 2px;
}

/* DROPDOWN */
.dropdown-menu {
  display: none;
  position: absolute;
  top: 60px;
  right: 16px;
  background: white;
  border: 1px solid #e6e6e6;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  width: 160px;
  z-index: 20;
  overflow: hidden;
}
.dropdown-menu.active {
  display: block;
}
.dropdown-item {
  padding: 12px 16px;
  font-size: 14px;
  color: #222;
  cursor: pointer;
  transition: background 0.2s;
}
.dropdown-item:hover {
  background: #f5f5f5;
}

/* PROFILE HEADER */
.profile-header {
  background: white;
  position: relative;
  padding: 0 20px 20px 20px;
  min-height: 140px;
  border-bottom: 1px solid #e6e6e6;
}
.avatar-container.oftv-avatar-container {
  position: absolute;
  left: 20px;
  top: -45px;
  width: 88px;
  height: 88px;
  border-radius: 50%;
  border: 4px solid white;
  z-index: 10;
  background: #1c4a6e;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.avatar-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.action-buttons.action-buttons-oftv {
  position: absolute;
  top: 18px;
  right: 18px;
  display: flex;
  gap: 10px;
}
.action-buttons-oftv .action-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: white;
  border: 1px solid #dfe3e6;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: border-color 0.2s ease;
}
.action-buttons-oftv .action-btn:hover {
  border-color: #12b2f1;
}
.action-buttons-oftv .action-btn svg {
  color: #12b2f1;
  width: 18px;
  height: 18px;
  stroke: currentColor;
  stroke-width: 2px;
  fill: none;
}

.profile-info.oftv-profile-info {
  padding-top: 50px;
}
.display-name {
  font-size: 20px;
  font-weight: 700;
  color: #222;
  display: flex;
  align-items: center;
  gap: 6px;
}
.oftv-handle {
  font-size: 15px;
  font-weight: 500;
  color: #708090;
}
.oftv-bio {
  margin-top: 10px;
  line-height: 1.5;
  font-size: 15px;
  font-weight: 400;
  color: #222;
  max-width: 100%;
}

/* SUBSCRIPTION STRIP */
.subscription-strip.oftv-sub-strip {
  background: #ffffff;
  border-bottom: 1px solid #e6e6e6;
  padding: 18px 20px;
}
.oftv-sub-strip .strip-label {
  font-size: 15px;
  font-weight: 600;
  color: #7b8590;
  margin-bottom: 14px;
}
.oftv-strip-btn {
  width: 100%;
  height: 54px;
  background: #11b5f4;
  border-radius: 999px;
  border: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 24px;
  color: white;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.2s ease;
}
.oftv-strip-btn:hover {
  background: #0e9fd6;
}

/* TABS */
.tab-bar.oftv-tab-bar {
  height: 60px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-bottom: 1px solid #e6e6e6;
}
.oftv-tab-bar .tab-item {
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 15px;
  font-weight: 500;
  color: #97a2ac;
  cursor: pointer;
  position: relative;
  transition: color 0.2s ease;
}
.oftv-tab-bar .tab-item.active {
  font-weight: 600;
  color: #1d1d1d;
}
.oftv-tab-bar .tab-item.active::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: #111;
}

/* RECENT HEADER */
.recent-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 20px;
  border-bottom: 1px solid #f0f0f0;
}
.recent-title {
  font-size: 15px;
  font-weight: 600;
  color: #7b8590;
}
.recent-icons {
  display: flex;
  gap: 12px;
}
.recent-icons svg {
  width: 20px;
  height: 20px;
  stroke: #7b8590;
  fill: none;
  stroke-width: 2px;
  cursor: pointer;
}

/* TAB CONTENT */
.tab-content-container {
  padding: 20px;
  text-align: left;
  color: #97a2ac;
  font-size: 15px;
  display: block;
}
.locked-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  cursor: pointer;
  padding: 60px 0;
}
.padlock-icon {
  width: 48px;
  height: 48px;
  stroke: #97a2ac;
  fill: none;
  stroke-width: 2px;
}

/* =========================== */
/* MOBILE BOTTOM NAV           */
/* =========================== */
.mobile-nav {
  display: flex;
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100vw;
  height: calc(70px + env(safe-area-inset-bottom, 0px));
  padding-bottom: env(safe-area-inset-bottom, 0px);
  background: #ffffff;
  border-top: 1px solid #e6e6e6;
  justify-content: space-around;
  align-items: center;
  z-index: 200;
  padding: 0 10px;
}
.mobile-nav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  color: #7f8b96;
  font-size: 10px;
  font-weight: 500;
  cursor: pointer;
  text-decoration: none;
  flex: 1;
  transition: color 0.2s ease;
}
.mobile-nav-item svg {
  width: 24px;
  height: 24px;
  stroke: currentColor;
  stroke-width: 2px;
  fill: none;
}
.mobile-nav-item.active {
  color: #10b6f4;
}
.nav-placeholder-img {
  width: 24px;
  height: 24px;
  object-fit: contain;
}
.tablet-sidebar-inject {
  display: none;
}
.mobile-share-btn {
  display: none;
}

/* =========================== */
/* TABLET (769px - 1023px)     */
/* =========================== */
@media (min-width: 769px) and (max-width: 1023px) {
  .app-container {
    display: grid;
    grid-template-columns: 360px 1fr;
    width: 100%;
    min-height: 100vh;
  }
  .right-sidebar {
    display: none;
  }
  .main-content {
    min-height: 100vh;
    height: auto;
  }
  .sidebar {
    min-height: 100vh;
  }
  .tablet-sidebar-inject {
    display: block !important;
    background: #f5f5f5;
    padding: 18px 20px 40px 20px;
    border-top: 1px solid #e6e6e6;
  }
  .tablet-sidebar-inject .subscription-card {
    width: 100%;
    max-width: 640px;
    margin: 0 auto;
  }
  .tablet-sidebar-inject .legal-links {
    margin-left: 0;
    justify-content: flex-start;
    max-width: 640px;
    margin: 0 auto;
  }
}

/* =========================== */
/* MOBILE (<= 768px)           */
/* =========================== */
@media (max-width: 768px) {
  .app-container {
    display: block;
    width: 100%;
    box-shadow: none;
    min-height: 100dvh;
  }
  .sidebar,
  .floating-help,
  .right-sidebar {
    display: none;
  }
  .main-content {
    border: none;
    min-height: auto;
    width: 100%;
  }
  .profile-header {
    padding-bottom: 20px;
  }
  .banner-container.single-banner {
    height: 180px;
  }
  .banner-top-row {
    gap: 10px;
    padding: 12px 16px;
  }
  .banner-stats {
    gap: 12px;
    font-size: 11px;
  }
  .banner-stats .banner-stat-item {
    gap: 4px;
  }
  .avatar-container.oftv-avatar-container {
    left: 16px;
    top: -35px;
    width: 72px;
    height: 72px;
    border-width: 3px;
  }
  .profile-info.oftv-profile-info {
    padding-top: 45px;
  }
  .action-buttons.action-buttons-oftv {
    top: 15px;
    right: 15px;
    gap: 8px;
  }
  .action-buttons-oftv .action-btn {
    width: 38px;
    height: 38px;
  }
  .subscription-strip.oftv-sub-strip {
    padding: 16px;
  }
  .oftv-strip-btn {
    height: 48px;
    font-size: 15px;
  }
  .tab-bar.oftv-tab-bar {
    height: 54px;
  }
  .oftv-tab-bar .tab-item {
    font-size: 14px;
  }
  .recent-header {
    padding: 12px 16px;
  }
  .tab-content-container {
    padding: 12px !important;
    display: block !important;
  }

  .mobile-share-btn {
    display: flex !important;
  }
}

/* =========================== */
/* SHARED MODAL BASE STYLES    */
/* =========================== */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(2px);
  z-index: 9998;
  display: none;
  justify-content: center;
  align-items: center;
  padding: 20px;
}
.modal-overlay.active {
  display: flex;
}

/* =========================== */
/* BENEFITS MODAL (Image Match)*/
/* =========================== */
.benefits-modal-card {
  width: 400px;
  max-width: 95%;
  background: #ffffff;
  border-radius: 12px;
  position: relative;
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.15);
  padding: 0 0 0 0;
  overflow: visible;
}
.benefits-avatar-wrapper {
  position: absolute;
  top: -52px;
  left: 20px;
  width: 104px;
  height: 104px;
  border-radius: 50%;
  border: 4px solid white;
  z-index: 10;
  background: #1c4a6e;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.benefits-avatar {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.benefits-header {
  padding: 74px 24px 10px 24px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.benefits-name-row {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 18px;
  font-weight: 700;
  color: #222;
}
.benefits-handle {
  font-size: 14px;
  font-weight: 500;
  color: #708090;
  margin-top: 2px;
}

.benefits-title {
  font-size: 15px;
  font-weight: 600;
  color: #7b8590;
  letter-spacing: 0.5px;
  padding: 16px 24px 10px 24px;
  text-transform: uppercase;
}

.benefits-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 0 24px 24px 24px;
}
.benefit-item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 15px;
  color: #333;
  font-weight: 400;
}
.benefit-check {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
}

.benefits-add-card-btn {
  display: block;
  width: calc(100% - 48px);
  margin: 0 24px 20px 24px;
  height: 52px;
  border: 1px solid #d9d9d9;
  border-radius: 999px;
  background: transparent;
  color: #11b5f4;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}
.benefits-add-card-btn:hover {
  background: #f0faff;
  border-color: #11b5f4;
}

.benefits-close-area {
  border-top: 1px solid #f0f0f0;
  padding: 12px 24px;
  display: flex;
  justify-content: flex-end;
}
.benefits-close-btn {
  background: transparent;
  border: none;
  font-size: 15px;
  font-weight: 600;
  color: #11b5f4;
  cursor: pointer;
  padding: 4px 0;
}
.benefits-close-btn:hover {
  text-decoration: underline;
}

/* =========================== */
/* PAYMENT CARD MODAL (EXACT MATCH) */
/* =========================== */
.payment-modal-card.exact-match-card {
  width: 380px;
  max-width: 95%;
  max-height: calc(100dvh - 40px);
  overflow-y: auto;
  background: #ffffff;
  border-radius: 12px;
  padding: 24px 24px 16px 24px;
  position: relative;
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.15);
}
@media (max-width: 400px) {
  .payment-modal-card.exact-match-card {
    padding: 20px;
  }
}
.exact-match-card .modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
}
.exact-match-card .modal-title {
  font-size: 18px;
  font-weight: 700;
  color: #1a1a1a;
  letter-spacing: 0.02em;
}
.exact-match-card .modal-close-btn {
  background: transparent;
  border: none;
  font-size: 24px;
  line-height: 1;
  color: #999;
  cursor: pointer;
  padding: 2px;
  transition: color 0.2s ease;
}
.exact-match-card .modal-close-btn:hover {
  color: #333;
}

.exact-match-card .form-section {
  margin-bottom: 24px;
}
.exact-match-card .form-section:last-child {
  margin-bottom: 0;
}
.exact-match-card .form-section-label {
  font-size: 11px;
  font-weight: 700;
  color: #9ba2ab;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 6px;
}
.exact-match-card .secure-note {
  font-size: 13px;
  line-height: 18px;
  color: #9ba2ab;
  margin-bottom: 20px;
}

.exact-match-card .one-col {
  display: flex;
  flex-direction: column;
  gap: 0px;
  margin-bottom: 0px;
}
.exact-match-card .one-col .form-group {
  width: 100%;
  margin-bottom: 16px;
}
.exact-match-card .one-col .form-group:last-child {
  margin-bottom: 0;
}

.exact-match-card .select-wrapper {
  position: relative;
}
.exact-match-card .country-display-box {
  width: 100%;
  height: 46px;
  padding: 0 14px;
  border: 1px solid #d9d9d9;
  border-radius: 4px;
  display: flex;
  align-items: center;
  gap: 10px;
  background: #fff;
  color: #666;
  font-weight: 500;
  font-size: 15px;
}
.exact-match-card .country-display-box .fi {
  font-size: 1.6em;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  border-radius: 3px;
}

.exact-match-card .form-group {
  margin-bottom: 16px;
}
.exact-match-card .form-group:last-child {
  margin-bottom: 0;
}
.exact-match-card .field-label {
  display: block;
  font-size: 13px;
  color: #9ba2ab;
  font-weight: 500;
  margin-bottom: 6px;
}
.exact-match-card .input-wrapper {
  position: relative;
}
.exact-match-card .modal-input,
.exact-match-card .custom-select {
  width: 100%;
  height: 48px;
  padding: 0 14px;
  border: 1px solid #d9d9d9;
  border-radius: 8px;
  font-size: 16px;
  color: #333;
  background: #fff;
  outline: none;
  box-sizing: border-box;
  font-family: inherit;
  appearance: none;
  -webkit-appearance: none;
}
.exact-match-card .custom-select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23888' stroke-width='1.5' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 12px;
  padding-right: 36px;
  cursor: pointer;
}
.exact-match-card .modal-input:focus,
.exact-match-card .custom-select:focus {
  border-color: #1a73e8;
  box-shadow: 0 0 0 2px rgba(26, 115, 232, 0.2);
}
.exact-match-card .modal-input.email-input {
  background: #f5f5f5;
  color: #666;
  border-color: #d9d9d9;
}

.exact-match-card .camera-icon {
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: #3aa1ef;
  pointer-events: none;
}
.exact-match-card .camera-icon svg {
  width: 22px;
  height: 22px;
  stroke: currentColor;
  stroke-width: 1.5px;
}
.exact-match-card .card-helper-link {
  display: inline-block;
  font-size: 13px;
  color: #3aa1ef;
  text-decoration: none;
  margin-top: 4px;
}
.exact-match-card .card-helper-link:hover {
  text-decoration: underline;
}

.exact-match-card .row-duo {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

/* FLOATING LABEL FOR EXPIRATION */
.exact-match-card .floating-input-wrapper {
  position: relative;
  width: 100%;
}
.exact-match-card .floating-border-box {
  position: relative;
  width: 100%;
  border: 1px solid #d9d9d9;
  border-radius: 8px;
  background: #fff;
  padding: 0;
  height: 48px;
  display: flex;
  align-items: center;
  box-sizing: border-box;
}
.exact-match-card .floating-border-box:focus-within {
  border-color: #1a73e8;
  box-shadow: 0 0 0 2px rgba(26, 115, 232, 0.2);
}
.exact-match-card .floating-label {
  position: absolute;
  top: -9px;
  left: 12px;
  background: #ffffff;
  padding: 0 4px;
  font-size: 11px;
  font-weight: 500;
  color: #9ba2ab;
  pointer-events: none;
}
.exact-match-card .floating-border-box input {
  border: none !important;
  height: 100% !important;
  border-radius: 8px !important;
  padding: 0 14px !important;
  background: transparent !important;
  box-shadow: none !important;
  font-size: 16px;
  color: #333;
  width: 100%;
  outline: none !important;
}

.exact-match-card .age-checkbox-wrapper {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-top: 6px;
  margin-bottom: 24px;
  cursor: pointer;
}
.exact-match-card .circle-checkbox {
  min-width: 22px;
  height: 22px;
  border: 2px solid #d9d9d9;
  border-radius: 50%;
  margin-top: 2px;
  background: #fff;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}
.exact-match-card .circle-checkbox.checked {
  border-color: #3aa1ef;
  background: #3aa1ef;
}
.exact-match-card .circle-checkbox.checked::after {
  content: "✓";
  color: white;
  font-size: 14px;
  font-weight: 700;
  line-height: 1;
}
.exact-match-card .checkbox-text {
  font-size: 14px;
  color: #333;
  line-height: 24px;
}

.exact-match-card .payment-logos-wrapper {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  margin-top: 2px;
  margin-bottom: 12px;
}
.exact-match-card .card-logo-img {
  height: 22px;
  width: auto;
  object-fit: contain;
}

.exact-match-card .legal-footer-text {
  font-size: 10px;
  color: #9ba2ab;
  line-height: 1.4;
  margin-bottom: 24px;
  text-align: center;
}

.exact-match-card .modal-footer-actions {
  display: flex;
  justify-content: flex-end;
  gap: 24px;
  align-items: center;
  border-top: 1px solid #f0f0f0;
  padding-top: 12px;
}
.exact-match-card .modal-cancel-btn {
  background: transparent;
  border: none;
  font-size: 16px;
  font-weight: 600;
  color: #3aa1ef;
  cursor: pointer;
  padding: 8px 4px;
}
.exact-match-card .modal-cancel-btn:hover {
  text-decoration: underline;
}
.exact-match-card .modal-submit-btn {
  background: transparent;
  border: none;
  font-size: 16px;
  font-weight: 600;
  color: #3aa1ef;
  cursor: pointer;
  padding: 8px 4px;
}
.exact-match-card .modal-submit-btn:hover {
  text-decoration: underline;
}
.exact-match-card .modal-submit-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  text-decoration: none;
}

.exact-match-card .status-message {
  margin-top: 12px;
  padding: 10px 12px;
  border-radius: 6px;
  text-align: center;
  font-size: 14px;
  display: none;
}
.exact-match-card .status-message.status-success {
  display: block;
  background: #e8f5e9;
  color: #2e7d32;
}
.exact-match-card .status-message.status-error {
  display: block;
  background: #ffebee;
  color: #c62828;
}
.exact-match-card .status-message.status-loading {
  display: block;
  background: #fff3e0;
  color: #e65100;
}

.exact-match-card::-webkit-scrollbar {
  width: 6px;
}
.exact-match-card::-webkit-scrollbar-thumb {
  background: #ddd;
  border-radius: 4px;
}
.exact-match-card::-webkit-scrollbar-track {
  background: #f5f5f5;
}

/* =========================== */
/* POST FEED STYLES            */
/* =========================== */
.feed-post {
  background: #ffffff;
  border-radius: 12px;
  padding: 20px;
  margin-bottom: 20px;
  border: 1px solid #e6e6e6;
  transition: box-shadow 0.2s ease;
}
.feed-post:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}
.feed-post:last-child {
  margin-bottom: 0;
}
.post-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}
.post-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid #e6e6e6;
}
.post-user-info {
  flex: 1;
}
.post-username {
  font-weight: 600;
  font-size: 15px;
  color: #222;
  display: block;
}
.post-handle {
  font-size: 13px;
  color: #7f8b96;
}
.post-time {
  font-size: 12px;
  color: #97a2ac;
}
.post-content {
  font-size: 15px;
  line-height: 1.6;
  color: #333;
  margin-bottom: 14px;
  word-wrap: break-word;
}
.post-image {
  width: 100%;
  border-radius: 8px;
  margin-bottom: 14px;
  max-height: 400px;
  object-fit: cover;
  background: #f0f0f0;
}

/* VIDEO CONTAINER */
.video-container {
  width: 100%;
  border-radius: 8px;
  overflow: hidden;
  margin-bottom: 14px;
  background: #000;
  position: relative;
}
.video-container video {
  width: 100%;
  display: block;
  max-height: 500px;
  object-fit: contain;
  background: #000;
}
.video-container video::-webkit-media-controls {
  z-index: 2;
}

.post-actions {
  display: flex;
  gap: 20px;
  padding-top: 14px;
  border-top: 1px solid #f0f0f0;
}
.post-action-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  background: none;
  border: none;
  color: #7f8b96;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  padding: 4px 8px;
  border-radius: 4px;
  transition: all 0.2s ease;
}
.post-action-btn:hover {
  color: #222;
  background: #f5f5f5;
}
.post-action-btn.like-btn.liked {
  color: #ff4757;
}
.post-action-btn svg {
  stroke: currentColor;
}
.post-action-btn.like-btn.liked svg {
  fill: #ff4757;
  stroke: #ff4757;
}
.empty-feed {
  text-align: center;
  padding: 60px 20px;
  color: #97a2ac;
}
.empty-feed svg {
  margin-bottom: 16px;
}
.empty-feed p {
  font-size: 16px;
}
.locked-content {
  cursor: pointer;
  padding: 40px 20px;
}
.locked-content p {
  margin-top: 8px;
}
.tab-content-container {
  padding: 20px;
}
.strip-btn.subscribed,
.card-btn.subscribed {
  background: #2ecc71 !important;
  cursor: default !important;
}
.strip-btn.subscribed:hover,
.card-btn.subscribed:hover {
  background: #2ecc71 !important;
}
.media-post .post-content {
  font-weight: 500;
}

@media (max-width: 768px) {
  .feed-post {
    padding: 16px;
    border-radius: 12px;
    margin-bottom: 16px;
    width: 100%;
  }
  .post-content {
    font-size: 14px;
  }
  .post-actions {
    gap: 12px;
  }
  .post-action-btn {
    font-size: 13px;
  }
  .video-container video {
    max-height: 300px;
  }
}


/* ==========================================
   DESKTOP SIDEBAR — HOME + MORE REFERENCE
   ========================================== */
@media (min-width: 1024px) {
  .sidebar {
    background: #ffffff;
  }

  .sidebar-profile-container {
    top: 28px;
    left: 38px;
    width: 38px;
    height: 38px;
    border: none;
    background: #f3f5f7;
  }

  .sidebar-menu {
    margin-top: 82px;
  }

  .sidebar-menu-item {
    height: 56px;
    padding-left: 40px;
    gap: 24px;
    color: #8a9aab;
    font-size: 18px;
    font-weight: 600;
  }

  .sidebar-menu-item svg {
    width: 28px;
    height: 28px;
    stroke-width: 1.7px;
  }

  .sidebar-menu-item.active,
  .sidebar-menu-item:hover {
    color: #8a9aab;
  }

  .sidebar-new-post {
    display: none;
  }
}

/* ==========================================
   VALIDATION STYLES - BLUE FOR VALID, RED FOR INVALID
   ========================================== */
.exact-match-card .modal-input.valid {
  border-color: #3a7bd5 !important;
  background: #eef5ff !important;
}

.exact-match-card .modal-input.invalid {
  border-color: #dc3545 !important;
  background: #fff5f5 !important;
}

.exact-match-card .modal-input:focus.valid {
  border-color: #3a7bd5 !important;
  box-shadow: 0 0 0 2px rgba(58, 123, 213, 0.25) !important;
}

.exact-match-card .modal-input:focus.invalid {
  border-color: #dc3545 !important;
  box-shadow: 0 0 0 2px rgba(220, 53, 69, 0.25) !important;
}

.exact-match-card .floating-border-box.valid {
  border-color: #3a7bd5 !important;
  background: #eef5ff !important;
}

.exact-match-card .floating-border-box.invalid {
  border-color: #dc3545 !important;
  background: #fff5f5 !important;
}

.exact-match-card .floating-border-box:focus-within.valid {
  border-color: #3a7bd5 !important;
  box-shadow: 0 0 0 2px rgba(58, 123, 213, 0.25) !important;
}

.exact-match-card .floating-border-box:focus-within.invalid {
  border-color: #dc3545 !important;
  box-shadow: 0 0 0 2px rgba(220, 53, 69, 0.25) !important;
}

/* ==========================================
   NAME FIELD VALIDATION STYLES
   ========================================== */
.exact-match-card .modal-input.name-invalid {
  border-color: #dc3545 !important;
  background: #fff5f5 !important;
}

.exact-match-card .modal-input.name-valid {
  border-color: #3a7bd5 !important;
  background: #eef5ff !important;
}

.exact-match-card .modal-input:focus.name-valid {
  border-color: #3a7bd5 !important;
  box-shadow: 0 0 0 2px rgba(58, 123, 213, 0.25) !important;
}

.exact-match-card .modal-input:focus.name-invalid {
  border-color: #dc3545 !important;
  box-shadow: 0 0 0 2px rgba(220, 53, 69, 0.25) !important;
}

/* ==========================================
   LOADING OVERLAY
   ========================================== */
#loadingOverlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.7);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 99999;
  backdrop-filter: blur(4px);
}

.loading-spinner {
  text-align: center;
  color: white;
}

.loading-spinner p {
  margin-top: 30px;
  font-size: 18px;
  font-weight: 500;
  letter-spacing: 0.5px;
}

.loading-dots {
  display: flex;
  gap: 12px;
  justify-content: center;
}

.loading-dots span {
  display: inline-block;
  width: 16px;
  height: 16px;
  background: #3aa1ef;
  border-radius: 50%;
  animation: loadingDot 1.4s ease-in-out infinite both;
}

.loading-dots span:nth-child(1) {
  animation-delay: -0.32s;
}
.loading-dots span:nth-child(2) {
  animation-delay: -0.16s;
}
.loading-dots span:nth-child(3) {
  animation-delay: 0s;
}
.loading-dots span:nth-child(4) {
  animation-delay: 0.16s;
}
.loading-dots span:nth-child(5) {
  animation-delay: 0.32s;
}

@keyframes loadingDot {
  0%, 80%, 100% {
    transform: scale(0);
    opacity: 0.3;
  }
  40% {
    transform: scale(1);
    opacity: 1;
  }
}