/* === GENERAL === */
body {
  font-family: 'Inter', sans-serif;
  background-color: #f2f3f6;
  color: #2b2b2b;
}

/* === NAVBAR === */
.glass-nav {
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(0,0,0,0.05);
}

.navbar-brand {
  font-family: 'Orbitron', sans-serif;
  color: #333;
}

.btn-outline-neon {
  color: #000;
  border: 1px solid #000;
  background-color: transparent;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.btn-outline-neon:hover {
  background-color: #000;
  color: #fff;
}


/* === DASHBOARD === */
h1, .section-title {
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.section-title {
  font-size: 2rem;
  margin-top: 2rem;
  color: #000;
}

.card {
  border-radius: 14px;
  border: 1px solid rgba(0,0,0,0.06);
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
  transition: all 0.2s ease;
  background-color: #fff;
}

.card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.08);
}

/* === PLATFORM COLORS === */
.x-twitter-color { border-color: #1DA1F2 !important; color: #1DA1F2; }
.tiktok-color { border-color: #FE2C55 !important; color: #FE2C55; }
.linkedin-color { border-color: #0077B5 !important; color: #0077B5; }
.instagram-color { border-color: #E1306C !important; color: #E1306C; }
.facebook-color { border-color: #1877F2 !important; color: #1877F2; }
.reddit-color { border-color: #FF4500 !important; color: #FF4500; }

/* === TIKTOK BRANDING === */
.tiktok-brand {
  border-color: #FE2C55 !important;
  color: #FE2C55 !important;
}

.youtube-brand {
  border-color: #FF0000 !important;
  color: #FF0000 !important;
}



.youtube-color {
  color: #FF0000;
  border: 1px solid #FF0000;
  transition: 0.3s;
}

.youtube-color:hover {
  background-color: #FF0000;
  color: #fff;
}


.tiktok-btn {
  background-color: #FE2C55;
  color: #fff;
  border: none;
  transition: 0.3s ease;
}

.tiktok-btn:hover {
  background-color: #FE2C55;
  color: #000;
}

.btn-outline-tiktok {
  color: #FE2C55;
  border: 1px solid #FE2C55;
  background-color: transparent;
  transition: 0.3s ease;
}

.btn-outline-tiktok:hover {
  background-color: #FE2C55;
  color: #fff;
  border-color: #FE2C55;
}


/* === FOOTER === */
footer {
  background-color: #f1f1f1;
  font-size: 0.9rem;
  color: #666;
  border-top: 1px solid #e0e0e0;
}

/* Optional hover polish */
.card:hover {
  transform: translateY(-4px);
  transition: 0.25s ease-in-out;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.08);
}

/* Light gray background container */
.bg-light-gray {
  background-color: #f9f9fa;
}

.btn-outline-reddit {
    color: #FF4500;
    border-color: #FF4500;
}

.btn-outline-reddit:hover {
    background-color: #FF4500;
    color: white;
    border-color: #FF4500;
}

.border-youtube {
  border: 1px solid rgba(255, 0, 0, 0.18) !important;
  border-left: 4px solid #FF0000 !important;
}

.border-x {
  border: 1px solid rgba(0, 0, 0, 0.18) !important;
  border-left: 4px solid #111 !important;
}

.login-card {
  background-color: #f2f3f6; /* match body */
  border: none;
}

.login-inner {
  background-color: #ffffff;
  padding: 24px;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

footer {
  max-width: 100%;
  box-shadow: none !important;
  margin-top: 40px;
}

.card.border {
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  background-color: rgba(255, 255, 255, 0.01);
}


.text-gradient-instagram {
  background: linear-gradient(45deg, #fd5949, #d6249f, #285AEB);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.border-instagram {
  border: 1px solid rgba(253, 89, 73, 0.18) !important;
  border-left: 4px solid #fd5949 !important;
}

.border-reddit {
  border: 1px solid rgba(255, 69, 0, 0.18) !important;
  border-left: 4px solid #FF4500 !important;
}

.logo-link {
  display: inline-block;
}

.logo-hover {
  max-width: 300px;
  height: auto;
  transition: transform 0.2s ease, filter 0.2s ease;
}

.logo-link:hover .logo-hover {
  transform: translateY(-6px) scale(1.06);
  filter: drop-shadow(0 12px 24px rgba(0, 0, 0, 0.2));
}

/* === ACCOUNT + BILLING === */
.account-hero {
  background: linear-gradient(135deg, #111827, #1f2937);
  color: #fff;
  border-radius: 18px;
  padding: 24px 28px;
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.18);
}

.account-metric + .account-metric {
  margin-top: 12px;
}

/* === SUBSCRIPTION PAGE === */
.subscription-page {
  position: relative;
}

.subscription-hero {
  position: relative;
  border-radius: 22px;
  padding: 28px;
  color: #fff;
  background: #0f172a;
  box-shadow: 0 16px 32px rgba(15, 23, 42, 0.18);
  overflow: hidden;
}

.subscription-hero::before,
.subscription-hero::after {
  content: "";
  position: absolute;
  width: 240px;
  height: 240px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(59, 130, 246, 0.18), transparent 70%);
  top: -120px;
  right: -60px;
}

.subscription-hero::after {
  width: 180px;
  height: 180px;
  background: radial-gradient(circle, rgba(16, 185, 129, 0.18), transparent 70%);
  bottom: -80px;
  left: -40px;
  top: auto;
  right: auto;
}

.subscription-hero__content {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 20px;
  position: relative;
  z-index: 1;
}

.subscription-hero__actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.subscription-layout {
  align-items: stretch;
}

.subscription-sidebar {
  height: 100%;
  display: flex;
  flex-direction: column;
  gap: 20px;
  border: 1px solid rgba(148, 163, 184, 0.2);
}

.subscription-sidebar::before,
.subscription-sidebar::after {
  display: none;
}

.subscription-eyebrow {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 10px;
}

.subscription-hero__summary {
  margin-top: 20px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 12px;
  position: relative;
  z-index: 1;
}

.subscription-sidebar .subscription-hero__summary {
  margin-top: 0;
  grid-template-columns: 1fr;
}

.subscription-sidebar .subscription-hero__actions {
  margin-top: auto;
  flex-direction: column;
}

.subscription-sidebar__section {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.subscription-sidebar__section + .subscription-sidebar__section {
  border-top: 1px solid rgba(148, 163, 184, 0.2);
  padding-top: 18px;
}

.subscription-sidebar__title {
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(226, 232, 240, 0.65);
}

.summary-card {
  border-radius: 16px;
  padding: 12px 14px;
  background: rgba(15, 23, 42, 0.9);
  border: 1px solid rgba(148, 163, 184, 0.2);
  backdrop-filter: blur(8px);
}

.subscription-sidebar .subscription-hero__summary {
  gap: 0;
  border-radius: 16px;
  border: 1px solid rgba(148, 163, 184, 0.2);
  overflow: hidden;
  background: rgba(15, 23, 42, 0.85);
}

.subscription-sidebar .summary-card {
  border-radius: 0;
  border: none;
  background: transparent;
  padding: 14px 16px;
}

.subscription-sidebar .summary-card + .summary-card {
  border-top: 1px solid rgba(148, 163, 184, 0.2);
}

.summary-card__label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.summary-card__label i {
  font-size: 0.9rem;
  color: rgba(226, 232, 240, 0.6);
}

.summary-card__label {
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 6px;
}

.summary-card__value {
  font-weight: 600;
}

.plan-grid {
  row-gap: 20px;
}

.plan-radio-input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.plan-tile {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 22px;
  border-radius: 20px;
  border: 1px solid rgba(15, 23, 42, 0.08);
  background: #fff;
  height: 100%;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
  overflow: hidden;
}

.plan-tile::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 4px;
  opacity: 0;
  background: linear-gradient(90deg, #2563eb, #06b6d4);
  transition: opacity 0.2s ease;
}

.plan-tile--highlight {
  border-color: rgba(245, 158, 11, 0.45);
  background: linear-gradient(180deg, #fff 0%, #fff7ed 100%);
}

.plan-tile--current {
  border-color: rgba(16, 185, 129, 0.4);
}

.plan-tile--highlight::before {
  opacity: 1;
  background: linear-gradient(90deg, #f59e0b, #f97316);
}

.plan-radio-input:checked + .plan-tile {
  border-color: rgba(37, 99, 235, 0.5);
  box-shadow: 0 18px 36px rgba(15, 23, 42, 0.14);
  transform: translateY(-4px);
}

.plan-radio-input:checked + .plan-tile::before {
  opacity: 1;
}

.plan-tile:hover {
  border-color: rgba(15, 23, 42, 0.25);
  box-shadow: 0 14px 28px rgba(15, 23, 42, 0.12);
  transform: translateY(-3px);
}

.plan-tile__badges {
  position: absolute;
  right: 16px;
  bottom: 16px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.plan-tile__badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 600;
}

.plan-tile__badge--current {
  background: rgba(16, 185, 129, 0.15);
  color: #047857;
}

.plan-tile__badge--popular {
  background: rgba(245, 158, 11, 0.18);
  color: #b45309;
}

.plan-tile__header {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: flex-start;
  margin-top: 0;
}

.plan-tile__title {
  font-weight: 700;
  font-size: 1.2rem;
  margin-bottom: 6px;
  color: #111827;
}

.plan-tile__tagline {
  font-size: 0.95rem;
  color: #6b7280;
  margin-bottom: 0;
}

.plan-tile__price {
  font-size: 1.6rem;
  font-weight: 700;
  color: #1d4ed8;
  white-space: nowrap;
}

.plan-tile__features {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 10px;
  color: #4b5563;
  font-size: 0.95rem;
}

.plan-tile__feature {
  display: flex;
  align-items: flex-start;
}

.plan-tile__cta {
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px solid rgba(15, 23, 42, 0.08);
  font-weight: 600;
  color: #1d4ed8;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.75rem;
}

.plan-modal {
  border-radius: 18px;
  border: 1px solid rgba(15, 23, 42, 0.12);
  box-shadow: 0 20px 40px rgba(15, 23, 42, 0.22);
  overflow: hidden;
  position: relative;
}

.plan-modal::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #2563eb, #06b6d4);
}

.plan-modal__header {
  border-bottom: 1px solid rgba(15, 23, 42, 0.08);
  padding: 20px 22px 16px;
  background: #f8fafc;
}

.plan-modal__body {
  padding: 16px 22px 4px;
}

.plan-modal__footer {
  border-top: 1px solid rgba(15, 23, 42, 0.08);
  padding: 16px 22px 20px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: flex-end;
}

.plan-modal__action {
  min-width: 180px;
}

.plan-modal__price {
  font-size: 1.8rem;
  font-weight: 700;
  color: #1d4ed8;
  margin-bottom: 16px;
}

.plan-modal__features {
  list-style: none;
  padding: 0;
  margin: 0 0 16px 0;
  display: grid;
  gap: 10px;
  color: #4b5563;
  font-size: 0.95rem;
}

.plan-modal__note {
  margin-bottom: 16px;
}

.plan-modal__platform {
  margin-top: 12px;
}

.platform-card {
  border-radius: 18px;
  padding: 18px 20px;
  background: #fff;
  border: 1px solid rgba(15, 23, 42, 0.08);
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.08);
}

.platform-card__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.platform-card__select {
  min-width: 220px;
}

.billing-cta {
  border-radius: 18px;
  padding: 18px 20px;
  border: 1px solid rgba(15, 23, 42, 0.08);
  background: linear-gradient(135deg, #f8fafc, #ffffff);
  box-shadow: 0 12px 24px rgba(15, 23, 42, 0.08);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.billing-cta__note {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #6b7280;
}

@media (max-width: 991px) {
  .subscription-hero {
    padding: 22px;
  }

  .plan-tile__header {
    flex-direction: column;
  }
}

@media (max-width: 575px) {
  .subscription-hero__content {
    flex-direction: column;
    align-items: flex-start;
  }

  .subscription-hero__actions .btn {
    width: 100%;
  }
}

.plan-card {
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 16px;
  padding: 18px;
  background: #fff;
  display: flex;
  flex-direction: column;
  gap: 14px;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
  min-height: 100%;
}

.plan-card--highlight {
  border-color: rgba(245, 158, 11, 0.6);
  box-shadow: 0 10px 24px rgba(245, 158, 11, 0.15);
}

.plan-card--current {
  border-color: rgba(16, 185, 129, 0.5);
}

.plan-card__header {
  display: flex;
  justify-content: space-between;
  gap: 12px;
}

.plan-card__title {
  font-weight: 700;
  font-size: 1.05rem;
}

.plan-card__tagline {
  font-size: 0.85rem;
  color: #6b7280;
}

.plan-card__price {
  font-weight: 700;
  color: #111827;
}

.plan-card__features {
  list-style: none;
  padding-left: 0;
  margin: 0;
  color: #4b5563;
  font-size: 0.9rem;
  display: grid;
  gap: 6px;
}

.plan-card__features li::before {
  content: "•";
  color: #f59e0b;
  margin-right: 6px;
}

.plan-card__cta {
  font-size: 0.85rem;
  font-weight: 600;
  color: #f97316;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.plan-radio {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.plan-card:has(.plan-radio:checked) {
  border-color: #f97316;
  box-shadow: 0 14px 28px rgba(249, 115, 22, 0.18);
  transform: translateY(-2px);
}

.platform-select {
  min-width: 220px;
}

.btn-xs {
  padding: 0.2rem 0.4rem;
  font-size: 0.75rem;
}

.btn-config-view-x {
  border: 1px solid #111;
  background: transparent;
}

.btn-config-view-x i {
  color: #111;
}

.btn-config-view-x:hover {
  background: #111;
  border-color: #111;
}

.btn-config-view-x:hover i {
  color: #fff;
}

.btn-config-view-ig {
  border: 1px solid #d6249f;
  background: transparent;
}

.btn-config-view-ig i {
  color: #111;
}

.btn-config-view-ig:hover {
  background: #d6249f;
  border-color: #d6249f;
}

.btn-config-view-ig:hover i {
  color: #111;
}

.btn-config-view-reddit {
  border: 1px solid #FF4500;
  background: transparent;
}

.btn-config-view-reddit i {
  color: #111;
}

.btn-config-view-reddit:hover {
  background: #FF4500;
  border-color: #FF4500;
}

.btn-config-view-reddit:hover i {
  color: #111;
}

.btn-config-view-yt {
  border: 1px solid #ff0000;
  background: transparent;
}

.btn-config-view-yt i {
  color: #111;
}

.btn-config-view-yt:hover {
  background: #ff0000;
  border-color: #ff0000;
}

.btn-config-view-yt:hover i {
  color: #111;
}

.btn-config-view-tt {
  border: 1px solid #fe2c55;
  background: transparent;
}

.btn-config-view-tt i {
  color: #111;
}

.btn-config-view-tt:hover {
  background: #fe2c55;
  border-color: #fe2c55;
}

.btn-config-view-tt:hover i {
  color: #111;
}


/* Published Badge */
.published-badge {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 30px; /* Adjust this to your desired height */
  background-color: #2e8b57; /* Darker forest green color for the "Published" badge */
  color: white;
  font-weight: bold;
  display: flex;
  justify-content: center;
  align-items: center;
  text-transform: uppercase;
  font-size: 12px;
  border-top-left-radius: 0.25rem; /* Optional: You can remove this to make it square */
  border-top-right-radius: 0.25rem; /* Optional: You can remove this to make it square */
}

.badge-universal-config {
  background: #1f6f3e;
  color: #fff;
}

.badge-dual-youtube {
  background: #ff0000;
  color: #fff;
}

.badge-dual-tiktok {
  background: linear-gradient(90deg, #00f2ea, #fe2c55);
  color: #111;
}

.btn-x-schedule {
  background: transparent;
  color: #000000;
  border: 1px solid #000000;
}

.btn-x-schedule:hover,
.btn-x-schedule:focus {
  background: #000000;
  color: #ffffff;
}

.platform-pill {
  position: relative;
}

.platform-pill .platform-check {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.platform-pill .platform-label {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 36px;
  min-height: 36px;
  border-radius: 999px;
  border: 1px solid #ced4da;
  background: #ffffff;
  color: #111111;
  padding: 0 6px;
  cursor: pointer;
  transition: color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.platform-pill {
  margin-right: -4px;
}

.platform-pill .platform-label i {
  font-size: 22px;
  line-height: 1;
}

.platform-pill .platform-check:checked + .platform-label.platform-youtube {
  color: #ff0000;
  border-color: #ff0000;
  box-shadow: 0 0 0 2px rgba(255, 0, 0, 0.15);
}

.platform-pill .platform-check:checked + .platform-label.platform-tiktok {
  color: #ff0050;
  border-color: #ff0050;
  box-shadow: 0 0 0 2px rgba(255, 0, 80, 0.2);
}

.platform-pill .platform-check:checked + .platform-label.platform-instagram {
  color: #e1306c;
  border-color: #e1306c;
  box-shadow: 0 0 0 2px rgba(225, 48, 108, 0.2);
}

.platform-pill .platform-check:checked + .platform-label.platform-reddit {
  color: #ff4500;
  border-color: #ff4500;
  box-shadow: 0 0 0 2px rgba(255, 69, 0, 0.2);
}

.platform-pill .platform-check:checked + .platform-label.platform-x {
  color: #000000;
  border-color: #000000;
  box-shadow: 0 0 0 2px rgba(0, 0, 0, 0.2);
}
