/* ============================
   CMS Portal — Main Stylesheet
   ============================ */

:root {
  --primary: #1877f2;
  --primary-dark: #145dbf;
  --accent: #e74c3c;
  --bg: #f0f2f5;
  --card-bg: #ffffff;
  --border: #dde1e7;
  --text: #1c1e21;
  --text-muted: #65676b;
  --nav-bg: #1a1a2e;
  --nav-hover: #16213e;
  --radius: 10px;
  --shadow: 0 1px 3px rgba(0,0,0,.12), 0 1px 2px rgba(0,0,0,.08);
}

* { box-sizing: border-box; }
body { background: var(--bg); color: var(--text); font-family: 'Segoe UI', system-ui, sans-serif; margin:0; padding-bottom: 42px; }

/* ─── HEADER ─── */
.site-header {
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  min-height: 90px;
  position: relative;
  display: flex;
  align-items: center;
}
.header-overlay {
  width: 100%;
  padding: 18px 0;
  background: linear-gradient(135deg, rgba(26,26,46,.92) 0%, rgba(22,33,62,.85) 100%);
}
.site-title {
  color: #fff;
  font-size: 1.8rem;
  font-weight: 800;
  margin: 0;
  letter-spacing: -0.5px;
}
.site-tagline { color: rgba(255,255,255,.7); margin: 0; font-size: .85rem; }
.header-logo { max-height: 60px; }
.header-date { color: rgba(255,255,255,.6); font-size: .85rem; }

/* ─── SLIDER ─── */
.slider-section { width: 100%; }
.mainSwiper { width: 100%; height: 420px; }
@media(max-width:768px){ .mainSwiper { height: 260px; } }
.swiper-slide {
  background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}
.slide-placeholder-bg {
  position: absolute; inset: 0;
  background: linear-gradient(135deg, #1a1a2e, #16213e, #0f3460);
}
.slide-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to right, rgba(0,0,0,.65) 0%, rgba(0,0,0,.2) 100%);
  display: flex; align-items: center;
}
.slide-content {
  position: relative; z-index: 2;
  padding: 0 60px;
  max-width: 640px;
}
.slide-content h2 {
  color: #fff; font-size: 2.2rem; font-weight: 800;
  text-shadow: 0 2px 8px rgba(0,0,0,.4);
  margin-bottom: .5rem;
}
@media(max-width:768px){ .slide-content h2 { font-size:1.4rem; } .slide-content { padding: 0 30px; } }
.slide-content p { color: rgba(255,255,255,.85); font-size: 1rem; margin-bottom:1rem; }
.swiper-button-next, .swiper-button-prev { color: #fff !important; }
.swiper-pagination-bullet-active { background: #fff !important; }

/* ─── MAIN WRAPPER ─── */
.main-wrapper { max-width: 1400px; margin: 0 auto; }

/* ─── SIDE NAV ─── */
.side-nav-wrapper { position: sticky; top: 16px; }
.side-nav {
  background: var(--card-bg);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
}
.side-nav-header {
  background: var(--nav-bg);
  color: #fff;
  padding: 14px 16px;
  font-size: .8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
}
.side-nav-list { list-style: none; margin: 0; padding: 6px 0; }
.side-nav-link {
  display: flex; align-items: center;
  padding: 10px 16px;
  color: var(--text);
  text-decoration: none;
  font-size: .9rem;
  transition: all .2s;
  border-left: 3px solid transparent;
}
.side-nav-link:hover, .side-nav-link.active {
  background: #f0f2f5;
  border-left-color: var(--primary);
  color: var(--primary);
}
.nav-arrow { font-size: .65rem; margin-right: 8px; opacity: .4; }
.side-nav-link:hover .nav-arrow, .side-nav-link.active .nav-arrow { opacity: 1; }
.side-social { padding: 12px 16px; display: flex; gap: 8px; border-top: 1px solid var(--border); }
.side-social a {
  width: 32px; height: 32px; border-radius: 50%;
  background: var(--nav-bg); color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: .8rem; text-decoration: none; transition: .2s;
}
.side-social a:hover { background: var(--primary); }
.side-nav-toggle {
  background: var(--nav-bg); color: #fff; border: none;
  border-radius: var(--radius); padding: 10px 16px; font-weight: 600;
}

/* ─── FEED HEADER ─── */
.feed-header { border-bottom: 2px solid var(--primary); padding-bottom: 8px; }
.feed-title { font-weight: 700; color: var(--primary); margin:0; }

.country-selector {
  background: var(--card-bg);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 14px;
}
.country-selector-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}
.country-selector-head strong { display: block; font-size: .98rem; }
.country-selector-head span { color: var(--text-muted); font-size: .8rem; }
.country-selector-head .form-control { max-width: 220px; border-radius: 8px; }
.country-chip-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 8px;
}
.country-chip {
  min-height: 44px;
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr) auto;
  align-items: center;
  gap: 8px;
  padding: 8px 10px;
  color: var(--text);
  text-decoration: none;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: #fff;
}
.country-chip:hover,
.country-chip.active {
  color: var(--primary);
  border-color: var(--primary);
  background: rgba(24,119,242,.06);
}
.country-chip img,
.country-flag-placeholder {
  width: 28px;
  height: 20px;
  border-radius: 3px;
  object-fit: cover;
  border: 1px solid var(--border);
}
.country-flag-placeholder {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--bg);
  color: var(--text-muted);
  font-size: .72rem;
}
.country-chip span {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: .84rem;
  font-weight: 650;
}
.country-chip strong { font-size: .75rem; color: var(--text-muted); }
@media(max-width:767px){
  .country-selector-head { align-items: stretch; flex-direction: column; }
  .country-selector-head .form-control { max-width: none; }
  .country-chip-list { grid-template-columns: 1fr; }
}

/* ─── POST CARD ─── */
.post-card {
  background: var(--card-bg);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  margin-bottom: 16px;
  overflow: hidden;
  transition: box-shadow .2s;
}
.post-card:hover { box-shadow: 0 4px 12px rgba(0,0,0,.15); }

.post-header {
  display: flex; align-items: flex-start;
  padding: 14px 16px 8px;
  gap: 10px;
}
.post-author-avatar { flex-shrink: 0; }
.post-author-avatar img {
  width: 42px; height: 42px;
  border-radius: 50%; object-fit: cover;
}
.avatar-initials {
  width: 42px; height: 42px; border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), #764ba2);
  color: #fff; display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 1.1rem;
}
.post-meta { flex: 1; }
.post-author { font-size: .95rem; display: block; }
.post-category {
  font-size: .72rem; font-weight: 700;
  background: var(--primary); color: #fff;
  padding: 1px 7px; border-radius: 20px;
  margin-left: 6px; vertical-align: middle;
}
.post-country {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-left: 6px;
  padding: 1px 7px;
  border-radius: 20px;
  background: #eef5ff;
  color: var(--primary);
  font-size: .72rem;
  font-weight: 700;
  vertical-align: middle;
}
.post-country img {
  width: 18px;
  height: 12px;
  border-radius: 2px;
  object-fit: cover;
}
.post-time { font-size: .78rem; color: var(--text-muted); margin-top: 2px; }

.post-body { padding: 4px 16px 10px; }
.post-title { font-size: 1rem; font-weight: 700; margin-bottom: 6px; }
.post-text { margin: 0; font-size: .92rem; line-height: 1.55; color: var(--text); }

.post-image {
  background: var(--bg, #f0f2f5);
  padding: 0 16px 10px;
  overflow: hidden;
  display: flex;
  justify-content: center;
}
.post-image img {
  width: min(420px, 100%);
  height: auto;
  object-fit: contain;
  display: block;
  border-radius: 8px;
  border: 1px solid var(--border);
  cursor: zoom-in;
}

/* Full photo viewer */
.photo-modal {
  display: none;
  position: fixed; inset: 0;
  background: rgba(0,0,0,.72);
  z-index: 2000;
  align-items: center; justify-content: center;
  overflow: hidden;
  padding: 28px 18px 82px;
}
.photo-modal.open { display: flex; }
.photo-modal-frame {
  width: min(1000px, 94vw);
  height: min(720px, calc(100vh - 140px));
  overflow: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  border-radius: 10px;
  padding: 14px;
  box-shadow: 0 18px 55px rgba(0,0,0,.35);
}
.photo-modal-frame.zoomed {
  align-items: flex-start;
  justify-content: flex-start;
}
.photo-modal img {
  max-width: 100%; max-height: 100%;
  width: auto; height: auto;
  object-fit: contain;
  border-radius: 6px;
  transition: transform .1s ease-out;
  cursor: grab; user-select: none;
}
.photo-modal img.dragging { cursor: grabbing; transition: none; }
.photo-modal-close {
  position: absolute; top: 18px; right: 22px;
  background: #fff; border: 1px solid rgba(0,0,0,.12); color: var(--text);
  width: 42px; height: 42px; border-radius: 50%;
  font-size: 1.1rem; cursor: pointer;
  box-shadow: 0 8px 22px rgba(0,0,0,.2);
  z-index: 2;
}
.photo-modal-close:hover { background: #f3f4f6; color: var(--primary); }
.photo-modal-toolbar {
  position: absolute; bottom: 20px; left: 50%; transform: translateX(-50%);
  display: flex; gap: 8px;
  background: rgba(255,255,255,.95); padding: 6px; border-radius: 30px;
  box-shadow: 0 8px 22px rgba(0,0,0,.2);
}
.photo-modal-toolbar button {
  background: none; border: none; color: var(--text);
  width: 38px; height: 38px; border-radius: 50%;
  font-size: 1rem; cursor: pointer;
}
.photo-modal-toolbar button:hover { background: rgba(24,119,242,.1); color: var(--primary); }

.post-stats {
  display: flex; align-items: center;
  padding: 8px 16px;
  font-size: .82rem; color: var(--text-muted);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.post-actions {
  display: flex;
  padding: 4px 8px;
}
.post-action-btn {
  flex: 1; background: none; border: none;
  padding: 8px 4px;
  font-size: .88rem; color: var(--text-muted);
  cursor: pointer; border-radius: 6px; font-weight: 600;
  transition: all .15s;
}
.post-action-btn:hover { background: var(--bg); color: var(--primary); }
.post-action-btn.liked { color: var(--primary); }

.post-card { position: relative; }

.share-popover {
  position: absolute;
  right: 16px;
  bottom: 54px;
  background: var(--card-bg, #fff);
  border: 1px solid var(--border);
  border-radius: 10px;
  box-shadow: 0 4px 16px rgba(0,0,0,.12);
  padding: 6px;
  z-index: 20;
  min-width: 160px;
}
.share-popover a {
  display: flex; align-items: center; gap: 8px;
  padding: 8px 10px; border-radius: 6px;
  font-size: .85rem; color: var(--text);
  text-decoration: none;
}
.share-popover a:hover { background: var(--bg); color: var(--primary); }

.comments-section {
  padding: 10px 16px 14px;
  border-top: 1px solid var(--border);
}
.comments-list {
  max-height: 260px;
  overflow-y: auto;
  margin-bottom: 10px;
}
.comment-item {
  background: var(--bg);
  border-radius: 10px;
  padding: 6px 12px;
  margin-bottom: 6px;
  font-size: .85rem;
}
.comment-item p { font-size: .87rem; line-height: 1.4; }
.comment-form { display: flex; flex-direction: column; }

/* ─── ADS SIDEBAR ─── */
.ads-sidebar {
  background: var(--card-bg);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
  position: sticky; top: 16px;
}
.ads-header {
  background: #f7f8fa;
  border-bottom: 1px solid var(--border);
  padding: 12px 14px;
  font-size: .78rem; font-weight: 700;
  color: var(--text-muted); text-transform: uppercase; letter-spacing: 1px;
}
.ad-card {
  border-bottom: 1px solid var(--border);
  transition: background .15s;
}
.ad-card:last-child { border-bottom: none; }
.ad-card-link { text-decoration: none; display: block; color: inherit; }
.ad-card-link:hover .ad-card { background: #f7f8fa; }
.ad-image { width: 100%; height: 140px; object-fit: cover; display: block; }
.ad-img-placeholder {
  width: 100%; height: 120px;
  background: linear-gradient(135deg, #e9ecef, #dee2e6);
  display: flex; align-items: center; justify-content: center;
  font-size: 2rem; color: #adb5bd;
}
.ad-info { padding: 10px 12px; }
.ad-company { font-size: .72rem; color: var(--text-muted); text-transform: uppercase; letter-spacing:.5px; }
.ad-title { font-size: .88rem; font-weight: 700; margin: 2px 0; }
.ad-label { font-size: .7rem; color: var(--text-muted); background: #e9ecef; display: inline-block; padding: 1px 6px; border-radius: 3px; }
.ad-placeholder .ad-info { background: #fafafa; }

/* ─── FOOTER (minimized bar, expands upward on click) ─── */
.site-footer {
  color: rgba(255,255,255,.8);
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 1030;
  box-shadow: 0 -2px 12px rgba(0,0,0,.18);
}
.footer-toggle {
  width: 100%; border: none; background: rgba(0,0,0,.18); color: #fff;
  display: flex; align-items: center; justify-content: center; gap: 10px;
  padding: 9px 16px; cursor: pointer;
  font-size: .82rem; font-weight: 600;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.footer-toggle i { transition: transform .3s ease; }
.site-footer.expanded .footer-toggle i { transform: rotate(180deg); }
.footer-content {
  max-height: 0;
  overflow-y: auto;
  transition: max-height .35s ease;
}
.site-footer.expanded .footer-content { max-height: 70vh; }
.footer-brand { color: #fff; font-weight: 800; font-size: 1.2rem; }
.footer-about { font-size: .85rem; color: rgba(255,255,255,.6); }
.footer-heading { color: #fff; font-weight: 700; margin-bottom: 12px; font-size: .9rem; text-transform: uppercase; letter-spacing: .5px; }
.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links li a {
  color: rgba(255,255,255,.6); text-decoration: none;
  font-size: .85rem; display: block; padding: 3px 0;
  transition: color .2s;
}
.footer-links li a:hover { color: #fff; }
.footer-social { display: flex; gap: 8px; margin-top: 12px; }
.footer-social a {
  width: 34px; height: 34px; border-radius: 50%;
  border: 1px solid rgba(255,255,255,.3); color: rgba(255,255,255,.7);
  display: flex; align-items: center; justify-content: center;
  text-decoration: none; transition: .2s; font-size: .85rem;
}
.footer-social a:hover { background: var(--primary); border-color: var(--primary); color: #fff; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.1);
  padding: 14px 0; text-align: center;
  font-size: .82rem; color: rgba(255,255,255,.5);
}
.footer-bottom p { margin: 0; }

/* ─── RESPONSIVE ─── */
@media(max-width:991px){
  .side-nav { border-radius: var(--radius); }
}
@media(max-width:767px){
  .post-action-btn { font-size: .78rem; }
}

/* Page content */
.page-content-card {
  background: var(--card-bg);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 22px;
}
.contact-content {
  font-size: .96rem;
  line-height: 1.75;
  color: var(--text);
}
.contact-detail-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 12px;
  margin-top: 22px;
}
.contact-detail-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  min-height: 78px;
  padding: 14px;
  border: 1px solid var(--border);
  border-radius: 8px;
  color: var(--text);
  text-decoration: none;
  background: #fff;
}
.contact-detail-item:hover {
  border-color: var(--primary);
  color: var(--text);
}
.contact-detail-item i {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(24,119,242,.1);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.contact-detail-item strong {
  display: block;
  font-size: .82rem;
  margin-bottom: 2px;
  color: var(--text-muted);
}
.contact-map {
  margin-top: 18px;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--bg);
}
.contact-map iframe {
  width: 100%;
  height: 320px;
  border: 0;
  display: block;
}
.contact-form {
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid var(--border);
}
.contact-form .form-control {
  border-color: var(--border);
  border-radius: 8px;
}
.contact-form .form-control:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 .2rem rgba(24,119,242,.12);
}
.contact-hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.terms-page {
  display: grid;
  gap: 16px;
}
.terms-updated {
  margin: 0;
  color: var(--text-muted);
  font-size: .86rem;
}
.terms-section {
  border-top: 1px solid var(--border);
  padding-top: 16px;
}
.terms-section:first-of-type {
  border-top: 0;
  padding-top: 0;
}
.terms-section h2 {
  font-size: 1.05rem;
  font-weight: 800;
  margin-bottom: 8px;
}
.terms-section p {
  color: var(--text);
  line-height: 1.7;
  margin-bottom: 10px;
}

/* Affiliate public pages */
.affiliate-public {
  background: #f4f7fb;
  color: #182033;
  padding-bottom: 0;
}
.affiliate-shell {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
}
.affiliate-topbar {
  background: #101629;
  color: #fff;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.affiliate-topbar-inner {
  min-height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.affiliate-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #fff;
  text-decoration: none;
  font-weight: 800;
}
.affiliate-brand:hover { color: #fff; }
.affiliate-brand-mark {
  width: 38px;
  height: 38px;
  border-radius: 8px;
  background: #1877f2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.affiliate-nav {
  display: flex;
  align-items: center;
  gap: 4px;
  flex-wrap: wrap;
}
.affiliate-nav a {
  color: rgba(255,255,255,.72);
  text-decoration: none;
  padding: 8px 11px;
  border-radius: 6px;
  font-size: .9rem;
  font-weight: 600;
}
.affiliate-nav a:hover,
.affiliate-nav a.active {
  color: #fff;
  background: rgba(255,255,255,.1);
}
.affiliate-hero {
  background: linear-gradient(135deg, #101629 0%, #183b70 62%, #1877f2 100%);
  color: #fff;
  padding: 72px 0;
}
.affiliate-hero-grid,
.affiliate-auth-grid,
.affiliate-two-col,
.affiliate-footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(300px, .75fr);
  gap: 34px;
  align-items: center;
}
.affiliate-kicker {
  margin: 0 0 10px;
  color: #60d394;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .08em;
  font-size: .78rem;
}
.affiliate-hero h1,
.affiliate-auth-copy h1,
.affiliate-page-hero h1 {
  margin: 0 0 14px;
  font-size: clamp(2rem, 5vw, 4rem);
  font-weight: 900;
  line-height: 1.03;
}
.affiliate-hero-copy,
.affiliate-auth-copy p,
.affiliate-page-hero p {
  font-size: 1.05rem;
  line-height: 1.65;
  color: rgba(255,255,255,.82);
  max-width: 680px;
}
.affiliate-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 24px;
}
.affiliate-hero-card,
.affiliate-auth-card,
.affiliate-cta-panel {
  background: #fff;
  color: #182033;
  border-radius: 10px;
  padding: 24px;
  box-shadow: 0 18px 50px rgba(0,0,0,.22);
}
.affiliate-metric {
  padding: 16px 0;
  border-bottom: 1px solid #e6ebf3;
}
.affiliate-metric:first-child { padding-top: 0; }
.affiliate-metric:last-child { border-bottom: 0; padding-bottom: 0; }
.affiliate-metric strong {
  display: block;
  font-size: 1.2rem;
  color: #1877f2;
}
.affiliate-metric span {
  color: #5d687a;
  font-size: .94rem;
}
.affiliate-section {
  padding: 56px 0;
}
.affiliate-section-muted {
  background: #eaf0f8;
}
.affiliate-section-head {
  max-width: 720px;
  margin-bottom: 26px;
}
.affiliate-section h2,
.affiliate-auth-card h2 {
  font-size: clamp(1.55rem, 3vw, 2.3rem);
  margin: 0 0 10px;
  font-weight: 850;
}
.affiliate-section-head p,
.affiliate-two-col p,
.affiliate-cta-panel p,
.affiliate-faq-item p,
.affiliate-term-section p {
  color: #5d687a;
  line-height: 1.7;
}
.affiliate-rate-grid,
.affiliate-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}
.affiliate-rate-grid div,
.affiliate-steps div,
.affiliate-faq-item,
.affiliate-term-section {
  background: #fff;
  border: 1px solid #e1e7f0;
  border-radius: 10px;
  padding: 20px;
  box-shadow: 0 1px 3px rgba(15,23,42,.06);
}
.affiliate-rate-grid span {
  display: block;
  color: #5d687a;
  margin-bottom: 6px;
}
.affiliate-rate-grid strong {
  font-size: 1.35rem;
  color: #1877f2;
}
.affiliate-steps {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}
.affiliate-steps i {
  color: #1877f2;
  font-size: 1.5rem;
  margin-bottom: 12px;
}
.affiliate-steps h3,
.affiliate-cta-panel h3,
.affiliate-faq-item h2,
.affiliate-term-section h2 {
  font-size: 1.05rem;
  font-weight: 800;
  margin-bottom: 8px;
}
.affiliate-check-list {
  list-style: none;
  padding: 0;
  margin: 18px 0 0;
}
.affiliate-check-list li {
  position: relative;
  padding-left: 28px;
  margin: 10px 0;
}
.affiliate-check-list li::before {
  content: "\f00c";
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  position: absolute;
  left: 0;
  color: #27ae60;
}
.affiliate-auth-page {
  background: linear-gradient(135deg, #101629 0%, #183b70 100%);
  min-height: calc(100vh - 68px);
  display: flex;
  align-items: center;
  padding: 56px 0;
}
.affiliate-auth-card .form-control {
  border-radius: 8px;
  border-color: #d8e0ec;
}
.affiliate-auth-card,
.affiliate-auth-card h2,
.affiliate-auth-card label,
.affiliate-auth-card .form-label,
.affiliate-auth-card .form-check-label,
.affiliate-auth-card p {
  color: #182033;
}
.affiliate-auth-card a {
  color: #145dbf;
  font-weight: 700;
}
.affiliate-auth-card a:hover {
  color: #0f458c;
}
.affiliate-auth-copy,
.affiliate-auth-copy h1,
.affiliate-auth-copy .affiliate-check-list li {
  color: #fff;
}
.affiliate-auth-copy .affiliate-check-list li {
  color: rgba(255,255,255,.9);
}
.affiliate-page-hero {
  background: linear-gradient(135deg, #101629 0%, #183b70 100%);
  color: #fff;
  padding: 58px 0;
}
.affiliate-faq-list,
.affiliate-terms {
  display: grid;
  gap: 14px;
}
.affiliate-note {
  background: #e9f4ff;
  border: 1px solid #cfe6ff;
  border-radius: 10px;
  padding: 16px 18px;
  color: #25476d;
}
.affiliate-footer {
  background: #101629;
  color: rgba(255,255,255,.7);
  padding: 34px 0;
}
.affiliate-footer h5,
.affiliate-footer h6 {
  color: #fff;
}
.affiliate-footer a {
  display: block;
  color: rgba(255,255,255,.72);
  text-decoration: none;
  margin: 5px 0;
}
.affiliate-footer a:hover { color: #fff; }
@media(max-width: 900px) {
  .affiliate-topbar-inner,
  .affiliate-hero-grid,
  .affiliate-auth-grid,
  .affiliate-two-col,
  .affiliate-footer-grid {
    grid-template-columns: 1fr;
  }
  .affiliate-topbar-inner {
    display: grid;
  }
  .affiliate-rate-grid,
  .affiliate-steps {
    grid-template-columns: 1fr;
  }
}
