/* Profile page styles */
.profile-main-container {
  background-image: linear-gradient(
    127.09deg,
    rgba(255, 255, 255, 0.94) 19.41%,
    rgba(240, 242, 255, 0.49) 76.65%
  );
}

[data-bs-theme="blue-theme"] body .profile-main-container {
  background-image: linear-gradient(
    127.09deg,
    rgba(6, 11, 40, 0.94) 19.41%,
    rgba(10, 14, 35, 0.49) 76.65%
  ) !important;
}

[data-bs-theme="dark"] body .profile-main-container {
  background: var(--bs-body-bg) !important;
}

[data-bs-theme="semi-dark"] body .profile-main-container {
  background-image: linear-gradient(
    127.09deg,
    rgba(30, 35, 60, 0.94) 19.41%,
    rgba(40, 45, 70, 0.49) 76.65%
  ) !important;
}

[data-bs-theme="bodered-theme"] body .profile-main-container {
  background-image: linear-gradient(
    127.09deg,
    rgba(248, 249, 252, 0.94) 19.41%,
    rgba(242, 244, 248, 0.49) 76.65%
  ) !important;
}

.main-wrapper .main-content {
  padding: 0rem;
}

.profile-card {
  padding: 40px 50px;
  border-radius: 32px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.profile-form .row + .row {
  margin-top: 0.25rem;
}

.profile-main-container .form-floating label {
  color: #ff6a00 !important;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.profile-picture-wrapper {
  width: 180px;
  height: 180px;
}

#profile-preview,
.profile-picture-img {
  border: 5px dotted orange;
  object-fit: cover;
  width: 100%;
  height: 100%;
}

.profile-upload-trigger {
  cursor: pointer;
  background-color: rgba(0, 0, 0, 0.85);
  color: #fff;
  border: 2px solid #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
}

.profile-upload-trigger input {
  display: none;
}

.profile-telegram-btn {
  width: 50%;
  font-weight: 700;
  margin-bottom: 10px;
  text-transform: uppercase;
  font-size: 14px;
  color: #fff;
  background-color: #ffb347;
  border-color: #ffb347;
  box-shadow: 0 8px 20px rgba(255, 179, 71, 0.45);
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
}

.profile-telegram-btn:hover,
.profile-telegram-btn:focus {
  color: #fff;
  background-color: #ffa31a;
  border-color: #ffa31a;
}

.profile-address {
  min-height: 100px;
}

.profile-submit-btn {
  min-width: 220px;
  font-weight: 600;
  box-shadow: 0 15px 30px rgba(56, 189, 248, 0.35);
}

.profile-main-container .table-responsive span {
  color: red;
}

.gradient-panel .table-responsive {
  width: 100%;
}

/* Light & bordered theme inputs need darker text */
[data-bs-theme="light"] .profile-main-container .form-control,
[data-bs-theme="light"] .profile-main-container .form-select,
[data-bs-theme="bodered-theme"] .profile-main-container .form-control,
[data-bs-theme="bodered-theme"] .profile-main-container .form-select {
  color: #0f172a !important;
  background-color: rgba(255, 255, 255, 0.9) !important;
  border-color: #dfe3f5 !important;
}

[data-bs-theme="light"] .profile-main-container .form-control:focus,
[data-bs-theme="light"] .profile-main-container .form-select:focus,
[data-bs-theme="bodered-theme"] .profile-main-container .form-control:focus,
[data-bs-theme="bodered-theme"] .profile-main-container .form-select:focus {
  color: #0f172a !important;
  background-color: #ffffff !important;
  border-color: #ffb347 !important;
  box-shadow: 0 0 0 0.2rem rgba(255, 179, 71, 0.25) !important;
}

[data-bs-theme="light"] .profile-main-container .form-control::placeholder,
[data-bs-theme="light"] .profile-main-container .form-select::placeholder,
[data-bs-theme="bodered-theme"]
  .profile-main-container
  .form-control::placeholder,
[data-bs-theme="bodered-theme"]
  .profile-main-container
  .form-select::placeholder {
  color: #64748b !important;
}

[data-bs-theme="light"] .profile-main-container .form-control[readonly],
[data-bs-theme="blue-theme"] body .profile-main-container .form-control {
  color: white !important;
}

[data-bs-theme="blue-theme"] body .profile-main-container .form-select {
  color: white !important;
}

[data-bs-theme="blue-theme"]
  body
  .profile-main-container
  .form-control::placeholder {
  color: white !important;
}

[data-bs-theme="blue-theme"]
  body
  .profile-main-container
  .form-select::placeholder {
  color: white !important;
}

[data-bs-theme="blue-theme"]
  body
  .profile-main-container
  .form-control[readonly]::placeholder {
  color: white !important;
}

[data-bs-theme="blue-theme"]
  body
  .profile-main-container
  .form-select[readonly]::placeholder {
  color: white !important;
}

/* Zeero connection modal */
#zeeroModal {
  display: none;
  position: fixed;
  z-index: 9999;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(53, 27, 102, 0.8);
  justify-content: center;
  align-items: center;
}

#zeeroModal .modal-content {
  background-color: rgba(53, 27, 102, 1);
  padding: 20px;
  border-radius: 10px;
  text-align: center;
  color: white;
  width: 90%;
  max-width: 500px;
  position: relative;
}

#zeeroModal .modal-icon {
  font-size: 50px;
  color: #22c55e;
}

#zeeroModal .modal-image {
  width: 100%;
  max-width: 200px;
  margin: 20px auto;
}

#zeeroModal .modal-heading {
  font-size: 24px;
  margin-top: 20px;
}

#zeeroModal .modal-close {
  position: absolute;
  top: 10px;
  right: 20px;
  background-color: transparent;
  border: none;
  color: white;
  font-size: 24px;
  cursor: pointer;
}

/* Bonus message card */
.bonus-message {
  background-color: #351b66;
  border: 2px solid orange;
  border-radius: 15px;
  padding: 20px;
  text-align: center;
  font-family: "Arial", sans-serif;
  position: relative;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  margin: 20px auto;
  width: 80%;
}

.bonus-message h1 {
  color: orange;
  font-size: 46px;
  margin-bottom: 10px;
  font-weight: bold;
}

.bonus-message p {
  font-size: 30px;
  color: #fff;
  line-height: 1.6;
  margin-bottom: 20px;
}

.bonus-message .enjoy-btn {
  background-color: #ff4500;
  color: #fff;
  padding: 12px 30px;
  font-size: 18px;
  border: none;
  border-radius: 25px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.bonus-message .enjoy-btn:hover {
  background-color: #e63946;
}

.bonus-message .bonus-emoji {
  font-size: 40px;
  margin-top: 10px;
}

.bonus-message .confetti,
.bonus-message .confetti2,
.bonus-message .confetti3,
.bonus-message .confetti4,
.bonus-message .confetti5,
.bonus-message .confetti6,
.bonus-message .confetti7 {
  position: absolute;
  top: 0;
  animation: confettiFall 3s infinite;
}

.bonus-message .confetti {
  left: 50%;
  transform: translateX(-50%);
}

.bonus-message .confetti2 {
  left: 40%;
  transform: translateX(-40%);
  animation-duration: 4s;
}

.bonus-message .confetti3 {
  left: 20%;
  transform: translateX(-20%);
}

.bonus-message .confetti4 {
  left: 25%;
  transform: translateX(-25%);
  animation-duration: 4s;
}

.bonus-message .confetti5 {
  left: 60%;
  transform: translateX(-60%);
  animation-duration: 6s;
}

.bonus-message .confetti6 {
  left: 80%;
  transform: translateX(-80%);
}

.bonus-message .confetti7 {
  left: 75%;
  transform: translateX(-75%);
}

@keyframes confettiFall {
  0% {
    transform: translateY(-100%) rotate(0deg);
  }

  100% {
    transform: translateY(100vh) rotate(360deg);
  }
}

@media (max-width: 1199px) {
  .profile-card {
    padding: 32px;
  }
}

@media (max-width: 991px) {
  .profile-card {
    padding: 28px 24px;
  }

  .profile-telegram-btn {
    width: 70%;
  }

  .profile-submit-btn {
    width: 70%;
  }
}

@media (max-width: 767px) {
  .profile-card {
    padding: 24px 18px;
    border-radius: 28px;
    /* margin: 0 -30px 36px; */
  }

  .profile-picture-wrapper {
    width: 150px;
    height: 150px;
  }

  .profile-telegram-btn,
  .profile-submit-btn {
    width: 100%;
    min-width: 0;
  }

  .profile-main-container .row > div[class*="col-"] {
    margin-bottom: 0.75rem;
  }
}

@media (max-width: 575px) {
  .auth-basic-wrapper .card .card-body {
    padding: 1.5rem !important;
  }

  .profile-card {
    padding: 20px 15px;
    border-radius: 24px;
  }

  .profile-telegram-btn {
    font-size: 11px;
    padding: 10px 12px;
    white-space: normal;
    word-wrap: break-word;
    line-height: 1.3;
    min-height: 52px;
    height: auto !important;
  }

  .bonus-message {
    width: 100%;
  }
}

.comment-main-container {
  background-image: linear-gradient(
    127.09deg,
    rgba(255, 255, 255, 0.94) 19.41%,
    rgba(240, 242, 255, 0.49) 76.65%
  );
  padding: 1.5rem;
}

[data-bs-theme="blue-theme"] body .comment-main-container {
  background-image: linear-gradient(
    127.09deg,
    rgba(6, 11, 40, 0.94) 19.41%,
    rgba(10, 14, 35, 0.49) 76.65%
  ) !important;
}

[data-bs-theme="dark"] body .comment-main-container {
  background-image: linear-gradient(
  127.09deg,
  rgba(33, 37, 41, 0.95) 19.41%,
  rgba(33, 37, 41, 0.75) 76.65%
)!important;
}

[data-bs-theme="semi-dark"] body .comment-main-container {
  background-image: linear-gradient(
    127.09deg,
    rgba(30, 35, 60, 0.94) 19.41%,
    rgba(40, 45, 70, 0.49) 76.65%
  ) !important;
}

[data-bs-theme="bodered-theme"] body .comment-main-container {
  background-image: linear-gradient(
    127.09deg,
    rgba(248, 249, 252, 0.94) 19.41%,
    rgba(242, 244, 248, 0.49) 76.65%
  ) !important;
}

.comments-screen {
  width: 100%;
  /* max-width: 1200px; */
  margin: 0 auto;
  padding-left: 1.25rem;
  padding-right: 1.25rem;
  box-sizing: border-box;
}

.gradient-panel {
  background: var(--bs-body-bg);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 24px;
  padding: 32px;
  box-shadow: 0 25px 60px rgba(7, 11, 40, 0.35);
  color: #f8fafc;
  overflow: hidden;
}

[data-bs-theme="light"] .gradient-panel {
  background: linear-gradient(135deg, #ffffff, #eff3ff);
  color: #0f172a;
  border-color: rgba(15, 23, 42, 0.08);
}

.comments-hero {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  margin-bottom: 32px;
}

.hero-title {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.eyebrow-label {
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: 0.75rem;
  color: #f97316;
}

.hero-description {
  font-size: 1rem;
  margin-bottom: 16px;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 12px;
}

.stat-pill {
  padding: 16px;
  border-radius: 16px;
  background: var(--bs-body-bg);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

[data-bs-theme="light"] .stat-pill {
  background: rgba(255, 255, 255, 0.85);
  border-color: rgba(15, 23, 42, 0.08);
}

.stat-pill strong {
  display: block;
  font-size: 1.4rem;
  color: #f8fafc;
}

[data-bs-theme="light"] .stat-pill strong {
  color: #0f172a;
}

.stat-pill small {
  opacity: 0.75;
}

.hero-meta {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.discount-pill {
  padding: 20px;
  border-radius: 18px;
  border: 1px dashed rgba(255, 179, 71, 0.6);
}

.discount-pill.accent {
  background: rgba(255, 179, 71, 0.15);
  color: #fff6ea;
}

[data-bs-theme="light"] .discount-pill {
  border-color: rgba(249, 115, 22, 0.35);
  color: #7a2c00;
}

[data-bs-theme="light"] .discount-pill.accent {
  background: rgba(255, 179, 71, 0.25);
  color: #7a2c00;
}

.hero-checklist {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.hero-checklist li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.95rem;
}

.hero-checklist i {
  color: #22c55e;
}

.comments-info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
  margin-bottom: 32px;
}

.info-card {
  background: var(--bs-body-bg);
  border-radius: 20px;
  padding: 24px;
  border: 1px solid rgba(255, 255, 255, 0.05);
  color: #f8fafc;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 200px;
}

[data-bs-theme="light"] .info-card {
  background: rgba(255, 255, 255, 0.9);
  color: #0f172a;
  border-color: rgba(15, 23, 42, 0.08);
}

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

/* Pricing content area - ensures proper spacing for single and multi-value services */
.info-card .d-flex.flex-column.gap-2 {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 60px;
}

.discount-pills {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 12px;
  margin-top: 16px;
}

.discount-pill.subtle {
  border: 1px solid rgba(249, 115, 22, 0.4);
  background: rgba(249, 115, 22, 0.08);
}

[data-bs-theme="light"] .discount-pill.subtle {
  background: rgba(249, 115, 22, 0.12);
}

.steps-list {
  list-style: none;
  padding-left: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.comment-row {
  background:var(--bs-body-bg);
  border-radius: 18px;
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  margin-bottom: 18px;
}

[data-bs-theme="light"] .comment-row {
 background: var(--bs-body-bg);
  color: #0f172a;
  border-color: rgba(15, 23, 42, 0.08);
}

[data-bs-theme="dark"] .comment-row {
  background: var(--bs-body-bg);
  border-color: rgba(15, 23, 42, 0.1);
}

.comments-form-card {
  margin-top: 24px;
  padding: 32px;
  border-radius: 24px;
  background: var(--bs-body-bg);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: #f8fafc;
}

[data-bs-theme="light"] .comments-form-card {
background-color: rgba(255, 255, 255, 0.85);
  color: #0f172a;
  border: 1px solid #ff6a00 !important;
}

.comments-form-card .form-control,
.comments-form-card .form-select {
  /* background-color: rgba(15, 23, 42, 0.6); */
  background-color: var(--bs-body-bg);
  border-color: rgba(255, 255, 255, 0.2);
  color: #f1f5f9;
}

[data-bs-theme="light"] .comments-form-card .form-control,
[data-bs-theme="light"] .comments-form-card .form-select {
  background-color: var(--bs-body-bg);
  color: #0f172a;
  border: 1px solid #ff6a00 !important;
}

[data-bs-theme="light"] .comments-form-card .form-control:focus,
[data-bs-theme="light"] .comments-form-card .form-select:focus {
  border-color: #ff6a00 !important;
  box-shadow: 0 0 0 0.25rem rgba(255, 106, 0, 0.25);
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
  margin-bottom: 32px;
}

.form-grid .span-2 {
  grid-column: 1 / -1;
}

.meta-form-layout {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

@media (min-width: 992px) {
  .meta-form-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 0.85fr);
    align-items: flex-start;
  }
}

.meta-form-right {
  background: var(--bs-body-bg);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 18px;
  padding: 18px;
}

/* [data-bs-theme="light"] .meta-form-right {
  background: rgba(255, 255, 255, 0.9);
} */

.meta-example-label {
  font-weight: 600;
  margin-bottom: 10px;
  display: block;
}

.meta-example-wrapper {
  width: 100%;
  aspect-ratio: 4 / 3;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(15, 23, 42, 0.6);
}

.meta-example-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.meta-upload-btn {
  width: auto;
  min-width: 160px;
}

.form-field label {
  font-weight: 600;
  margin-bottom: 6px;
}

.field-note {
  font-size: 0.85rem;
  opacity: 0.8;
}

.custom-dropdown {
  position: relative;
  background: rgba(15, 23, 42, 0.6);
  border: 1px solid #ff6a00 !important;
  border-radius: 12px;
  padding: 0 14px;
  cursor: pointer;
  min-height: 56px;
  display: flex;
  align-items: center;
}

[data-bs-theme="light"] .custom-dropdown {
  background: rgba(255, 255, 255, 0.85);
  border-color: rgba(15, 23, 42, 0.12);
}

.custom-dropdown .selected-option {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
}

.custom-dropdown .selected-option img,
.custom-dropdown .option img {
  width: 28px;
  height: 20px;
  object-fit: cover;
  border-radius: 4px;
}

.custom-dropdown .options {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  right: 0;
  background: rgba(7, 11, 40, 0.95);
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  max-height: 260px;
  overflow-y: auto;
  display: none;
  z-index: 20;
}

[data-bs-theme="light"] .custom-dropdown .options {
  background: #ffffff;
  border-color: rgba(15, 23, 42, 0.12);
}

.custom-dropdown .option {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  transition: background 0.2s ease;
}

.custom-dropdown .option:hover {
  background: rgba(249, 115, 22, 0.15);
}

#urlSection {
  display: none;
}

.block-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 16px;
}

.url-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.url-row {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.url-row input {
  flex: 1;
}

.url-remove {
  border-radius: 12px;
}

.comments_heading {
  display: none;
}

.comments-heading-card {
  margin-bottom: 16px;
  padding: 12px 0;
  border-bottom: 1px dashed rgba(255, 255, 255, 0.2);
}

[data-bs-theme="light"] .comments-heading-card {
  border-bottom-color: rgba(15, 23, 42, 0.15);
}



.comment-row-header {
  font-weight: 600;
  margin-bottom: 8px;
}

.comment-row-actions {
  display: flex;
  justify-content: flex-end;
}

.comment-box,
.reply-box {
  width: 100%;
}

.reply-container {
  margin-top: 12px;
  padding-left: 10px;
  border-left: 2px solid rgba(255, 255, 255, 0.08);
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

[data-bs-theme="light"] .reply-container {
  border-color: rgba(15, 23, 42, 0.15);
}

.reply-box {
  background-color: rgba(15, 23, 42, 0.35) !important;
  margin-top: 0.75rem;
}

[data-bs-theme="light"] .reply-box {
  background-color: rgba(255, 255, 255, 0.8) !important;
}

.add-reply-btn {
  margin-top: 8px;
}

/* Button icon spacing - add space between icon and text */
.btn i,
.btn-outline-light i,
.btn-gradient i,
.icon-btn i {
  margin-right: 6px;
}

/* Wallet copy button - theme aware */
.copy-btn {
  background: none;
  border: none;
  cursor: pointer;
  color: #f97316;
  font-size: 1em;
  margin-left: 5px;
  transition: color 0.2s ease;
}

.copy-btn:hover {
  color: #fb923c;
}

.copy-btn.fa-check {
  color: #22c55e !important;
}

[data-bs-theme="light"] .copy-btn {
  color: #f97316;
}

[data-bs-theme="light"] .copy-btn:hover {
  color: #ea580c;
}

[data-bs-theme="blue-theme"] .copy-btn {
  color: #fb923c;
}

[data-bs-theme="blue-theme"] .copy-btn:hover {
  color: #fdba74;
}

[data-bs-theme="dark"] .copy-btn {
  color: #fb923c;
}

[data-bs-theme="dark"] .copy-btn:hover {
  color: #fdba74;
}

.image-comment-row,
.video-comment-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  margin-bottom: 18px;
  align-items: flex-start;
}

.image-comment-text .comment-box,
.video-comment-text .comment-box {
  margin-bottom: 8px;
}

.image-comment-tools,
.video-comment-tools {
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: center;
}

.image-upload-button,
.video-upload-button,
.media-upload-button {
  width: 54px;
  height: 54px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
}

.image-preview-thumb,
.video-preview-thumb,
.media-preview-thumb {
  width: 70px;
  height: 70px;
  object-fit: cover;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  cursor: pointer;
}

[data-bs-theme="light"] .image-preview-thumb,
[data-bs-theme="light"] .video-preview-thumb,
[data-bs-theme="light"] .media-preview-thumb {
  border-color: rgba(15, 23, 42, 0.2);
}

.image-comment-tools.missing-upload .image-upload-button,
.video-comment-tools.missing-upload .video-upload-button,
.media-comment-tools.missing-upload .media-upload-button {
  border-color: #f87171;
  color: #f87171;
}

.image-comment-tools.missing-upload .image-preview-thumb,
.video-comment-tools.missing-upload .video-preview-thumb,
.media-comment-tools.missing-upload .media-preview-thumb {
  border-color: #f87171;
}

.media-progress {
  width: 70px;
  height: 6px;
  border-radius: 999px;
  background-color: rgba(255, 255, 255, 0.25);
  overflow: hidden;
}

[data-bs-theme="light"] .media-progress {
  background-color: rgba(15, 23, 42, 0.1);
}

.media-progress-bar {
  width: 0%;
  height: 100%;
  background-image: linear-gradient(90deg, #fb923c, #f43f5e);
  transition: width 0.2s ease;
}

.btn-outline-light {
  border-color: rgba(255, 255, 255, 0.6);
  color: #f8fafc;
}

[data-bs-theme="light"] .btn-outline-light {
  border-color: rgba(15, 23, 42, 0.25);
  color: #0f172a;
  background-color: rgba(15, 23, 42, 0.05);
}

[data-bs-theme="light"] .btn-outline-light:hover,
[data-bs-theme="light"] .btn-outline-light:focus {
  color: #fff;
  background-color: #0f172a;
}

.comment-actions-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 12px;
  margin: 24px 0;
}

.order-summary-card {
  background: var(--bs-body-bg);
  border-radius: 18px;
  padding: 20px;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

[data-bs-theme="light"] .order-summary-card {
  background: var(--bs-body-bg);
  border-color: rgba(15, 23, 42, 0.1);
}

.summary-line {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}

.btn-gradient {
  background: linear-gradient(90deg, #f97316, #f43f5e);
  border: none;
  color: #fff;
  font-weight: 600;
  padding: 12px 32px;
  border-radius: 999px;
  box-shadow: 0 15px 30px rgba(244, 63, 94, 0.35);
}

.btn-gradient:hover {
  opacity: 0.92;
  color: #fff;
}

.video-help-card {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
  align-items: center;
}

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

.section-heading .eyebrow-label {
  margin-bottom: 4px;
}

.status-pill {
  padding: 6px 18px;
  border-radius: 999px;
  border: 1px solid rgba(248, 113, 113, 0.45);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.status-pill.sold-out {
  background: rgba(248, 113, 113, 0.15);
  color: #fecaca;
}

[data-bs-theme="light"] .status-pill {
  background: rgba(248, 113, 113, 0.12);
  color: #b91c1c;
}

[data-bs-theme="light"] .status-pill.sold-out {
  border-color: rgba(248, 113, 113, 0.45);
}

.status-banner {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 16px 20px;
  border-radius: 18px;
  background: rgba(15, 23, 42, 0.4);
  border: 1px solid rgba(248, 113, 113, 0.35);
}

.status-banner i {
  font-size: 1.1rem;
  color: #f97316;
  margin-top: 3px;
}

[data-bs-theme="light"] .status-banner {
  background: rgba(248, 113, 113, 0.08);
  border-color: rgba(248, 113, 113, 0.35);
  color: #7a2c00;
}

.fb-plan-grid,
.fb-tier-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.fb-plan-grid span,
.fb-tier-list span {
  display: inline-flex;
  padding: 10px 14px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.08);
  font-weight: 600;
  font-size: 0.92rem;
}

[data-bs-theme="light"] .fb-plan-grid span,
[data-bs-theme="light"] .fb-tier-list span {
  background: rgba(15, 23, 42, 0.05);
  border-color: rgba(15, 23, 42, 0.08);
}

.fb-order-card .form-select[disabled],
.fb-order-card .btn[disabled] {
  opacity: 0.6;
  cursor: not-allowed;
}

.fb-table-card .table-responsive span {
  color: #f97316;
  font-weight: 600;
}

[data-bs-theme="light"] .fb-table-card .table-responsive span {
  color: #c2410c;
}

.fb-followers-table .table a {
  color: #f97316;
  font-weight: 600;
}

[data-bs-theme="light"] .fb-followers-table .table a {
  color: #c2410c;
}

.fb-followers-hero .hero-checklist {
  margin-bottom: 0;
}

.fb-followers-table .table-responsive {
  width: 100%;
}

@media (max-width: 768px) {
  .fb-followers-table .table-responsive {
    overflow-x: auto;
  }

  .fb-followers-table table {
    min-width: 560px;
  }
}

.icon-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  border-radius: 999px;
}

.switch-container {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.form-hidden-inputs {
  display: none;
}

.fb-views-hero .hero-checklist {
  margin-bottom: 0;
}

.fb-views-table .table a {
  color: #f97316;
  font-weight: 600;
}

[data-bs-theme="light"] .fb-views-table .table a {
  color: #c2410c;
}

.fb-views-table .table-responsive {
  width: 100%;
}

@media (max-width: 768px) {
  .fb-views-table .table-responsive {
    overflow-x: auto;
  }

  .fb-views-table table {
    min-width: 560px;
  }
}

.fb-likes-hero .hero-checklist {
  margin-bottom: 0;
}

.fb-likes-table .table a {
  color: #f97316;
  font-weight: 600;
}

[data-bs-theme="light"] .fb-likes-table .table a {
  color: #c2410c;
}

.fb-likes-table .table-responsive {
  width: 100%;
}

@media (max-width: 768px) {
  .fb-likes-table .table-responsive {
    overflow-x: auto;
  }

  .fb-likes-table table {
    min-width: 560px;
  }
}

.fb-shares-hero .hero-checklist {
  margin-bottom: 0;
}

.fb-shares-table .table a {
  color: #f97316;
  font-weight: 600;
}

[data-bs-theme="light"] .fb-shares-table .table a {
  color: #c2410c;
}

.fb-shares-table .table-responsive {
  width: 100%;
}

@media (max-width: 768px) {
  .fb-shares-table .table-responsive {
    overflow-x: auto;
  }

  .fb-shares-table table {
    min-width: 560px;
  }
}

.fb-group-hero .hero-checklist {
  margin-bottom: 0;
}

.fb-group-table .table a {
  color: #f97316;
  font-weight: 600;
}

[data-bs-theme="light"] .fb-group-table .table a {
  color: #c2410c;
}

.fb-group-table .table-responsive {
  width: 100%;
}

@media (max-width: 768px) {
  .fb-group-table .table-responsive {
    overflow-x: auto;
  }

  .fb-group-table table {
    min-width: 560px;
  }
}

.fb-votes-hero .hero-checklist {
  margin-bottom: 0;
}

.fb-votes-table .table a {
  color: #f97316;
  font-weight: 600;
}

[data-bs-theme="light"] .fb-votes-table .table a {
  color: #c2410c;
}

.fb-votes-table .table-responsive {
  width: 100%;
}

@media (max-width: 768px) {
  .fb-votes-table .table-responsive {
    overflow-x: auto;
  }

  .fb-votes-table table {
    min-width: 560px;
  }
}

/* ========================================
   SUBSCRIPTION MODAL - THEME AWARE STYLING
   ======================================== */

/* Default (Dark Theme) Modal Styling */
#subscriptionModal .modal-content {
  background: #0b1229;
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #f8fafc;
  border-radius: 16px;
}

#subscriptionModal .modal-header,
#subscriptionModal .modal-footer {
  border-color: rgba(255, 255, 255, 0.08);
  background: rgba(6, 11, 40, 0.9);
  padding: 16px 24px;
}

#subscriptionModal .modal-header {
  border-top-left-radius: 16px;
  border-top-right-radius: 16px;
}

#subscriptionModal .modal-footer {
  border-bottom-left-radius: 16px;
  border-bottom-right-radius: 16px;
  justify-content: center;
}

#subscriptionModal .modal-body {
  padding: 24px;
}

#subscriptionModal .modal-title {
  font-size: 20px;
  font-weight: 700;
  color: #f8fafc;
}

#subscriptionModal .card {
  background: rgba(15, 23, 42, 0.65);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
}

#subscriptionModal .card-title {
  color: #f8fafc;
}

#subscriptionModal .card-text {
  color: #f97316;
}

#subscriptionModal h6 {
  font-size: 16px;
  font-weight: 700;
  color: #f97316;
  margin-bottom: 16px;
}

#subscriptionModal .form-label {
  color: #f8fafc;
}

/* Light Theme Styling */
[data-bs-theme="light"] #subscriptionModal .modal-content {
  background: #ffffff;
  color: #0f172a;
  border: 1px solid #e2e8f0;
}

[data-bs-theme="light"] #subscriptionModal .modal-header,
[data-bs-theme="light"] #subscriptionModal .modal-footer {
  background: #f8fafc;
  color: #0f172a;
  border-color: #e2e8f0;
}

[data-bs-theme="light"] #subscriptionModal .modal-title {
  color: #0f172a;
}

[data-bs-theme="light"] #subscriptionModal .card {
  background: #f1f5f9;
  border: 1px solid #cbd5e1;
  color: #0f172a;
}

[data-bs-theme="light"] #subscriptionModal .card-title {
  color: #1e293b;
}

[data-bs-theme="light"] #subscriptionModal .card-text {
  color: #ea580c;
}

[data-bs-theme="light"] #subscriptionModal h6 {
  color: #ea580c;
}

[data-bs-theme="light"] #subscriptionModal .form-label {
  color: #0f172a;
}

/* Checkbox label styling */
#subscriptionModal .checkbox-label {
  color: #f8fafc;
  font-weight: 500;
}

[data-bs-theme="light"] #subscriptionModal .checkbox-label {
  color: #0f172a;
}

[data-bs-theme="blue-theme"] #subscriptionModal .checkbox-label {
  color: #e2e8f0;
}

/* Blue Theme Styling */
[data-bs-theme="blue-theme"] #subscriptionModal .modal-content {
  background: #0f1535;
  color: #e2e8f0;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

[data-bs-theme="blue-theme"] #subscriptionModal .modal-header,
[data-bs-theme="blue-theme"] #subscriptionModal .modal-footer {
  background: rgba(6, 11, 40, 0.95);
  color: #e2e8f0;
  border-color: rgba(255, 255, 255, 0.08);
}

[data-bs-theme="blue-theme"] #subscriptionModal .modal-title {
  color: #e2e8f0;
}

[data-bs-theme="blue-theme"] #subscriptionModal .card {
  background: rgba(30, 41, 59, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #e2e8f0;
}

[data-bs-theme="blue-theme"] #subscriptionModal .card-title {
  color: #f1f5f9;
}

[data-bs-theme="blue-theme"] #subscriptionModal .card-text {
  color: #fb923c;
}

[data-bs-theme="blue-theme"] #subscriptionModal h6 {
  color: #fb923c;
}

[data-bs-theme="blue-theme"] #subscriptionModal .form-label {
  color: #e2e8f0;
}

.tiktok-hero .hero-checklist {
  margin-bottom: 0;
}

.tiktok-table .table a {
  color: #f97316;
  font-weight: 600;
}

[data-bs-theme="light"] .tiktok-table .table a {
  color: #c2410c;
}

.tiktok-table .table-responsive {
  width: 100%;
}

@media (max-width: 768px) {
  .tiktok-table .table-responsive {
    overflow-x: auto;
  }

  .tiktok-table table {
    min-width: 720px;
  }
}

.tiktok-table .label {
  display: inline-block;
  font-weight: 600;
  color: #e5e7eb;
  min-width: 130px;
}

.tiktok-guide-card iframe {
  border-radius: 18px;
}

/* Subscription Modal Button Styling */
#subscriptionModal .btn {
  padding: 8px 16px !important;
  font-size: 13px;
  font-weight: 600;
  border-radius: 8px;
  min-height: auto !important;
  height: auto !important;
  max-width: 140px;
  margin: 0 auto;
  line-height: 1.4;
}

#subscriptionModal .modal-footer .btn {
  padding: 8px 20px !important;
  font-size: 13px;
  max-width: 110px;
  height: auto !important;
  min-height: auto !important;
}

/* Close button styling */
#subscriptionModal .btn-close {
  padding: 0;
  width: 1em;
  height: 1em;
  background-size: 1em;
  opacity: 1;
  filter: brightness(0) invert(1);
}

#subscriptionModal .btn-close:hover {
  opacity: 0.75;
}

[data-bs-theme="light"] #subscriptionModal .btn-close {
  filter: brightness(0) invert(0);
}

#subscriptionModal .card {
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

#subscriptionModal .card:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

#subscriptionModal .card-title {
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 8px;
}

#subscriptionModal .card-text {
  font-size: 15px;
  margin-bottom: 10px;
  color: #f97316;
  font-weight: 600;
}

[data-bs-theme="light"] #subscriptionModal .card-text {
  color: #ea580c;
}

.switch {
  position: relative;
  display: inline-block;
  width: 100px;
  height: 34px;
}

.switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #f44336;
  transition: 0.4s;
}

.slider:before {
  content: "";
  position: absolute;
  height: 26px;
  width: 26px;
  left: 4px;
  bottom: 4px;
  background-color: white;
  transition: 0.4s;
  border: 4px solid transparent;
  border-radius: 50%;
}

input:checked + .slider {
  background-color: #4caf50;
}

input:checked + .slider:before {
  transform: translateX(65px);
}

.slider.round {
  border-radius: 34px;
}

.slider.round:before {
  border-radius: 50%;
}

.loader {
  position: absolute;
  top: 5%;
  left: 5%;
  transform: translate(-50%, -50%);
  border: 4px solid #f3f3f3;
  border-top: 4px solid #3498db;
  border-radius: 50%;
  width: 30px;
  height: 30px;
  animation: spin 1s linear infinite;
  z-index: 10;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

.slider-text {
  position: absolute;
  top: 50%;
  left: 40%;
  transform: translate(-50%, -50%);
  color: #fff;
  font-weight: bold;
  z-index: 5;
  display: none;
}

.video-text h5 {
  margin-bottom: 8px;
}

.required {
  color: #f87171;
}

.nav-tabs {
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  gap: 8px;
}

.nav-tabs .nav-link {
  color: rgba(203, 213, 245, 0.7);
  border: none;
  border-radius: 999px;
  padding: 8px 18px;
  transition: all 0.2s ease;
}

.nav-tabs .nav-link:hover {
  color: #ff6a00;
  background-color: rgba(255, 179, 71, 0.15);
}

.nav-tabs .nav-link.active,
.nav-tabs .nav-item.show .nav-link {
  color: #ff6a00;
  background-color: rgba(255, 179, 71, 0.15);
  border: 1px solid rgba(255, 179, 71, 0.4);
}

/* Investment project details */
.investment-details-card {
  border-radius: 24px;
  background: radial-gradient(
    circle at top left,
    rgba(248, 250, 252, 0.03),
    transparent 55%
  );
}

[data-bs-theme="light"] .investment-details-card {
  background: #ffffff;
}

.investment-details-card .custom-table {
  width: 100%;
  border: 2px dashed rgba(249, 115, 22, 0.9);
  border-radius: 12px;
  overflow: hidden;
}

.investment-details-card .custom-table td {
  border-bottom: 1px dashed rgba(249, 115, 22, 0.6);
  padding: 0.85rem 1rem;
  vertical-align: middle;
}

.investment-details-card .custom-table tr:last-child td {
  border-bottom: none;
}

.investment-details-card .title-cell {
  font-weight: 600;
  font-size: 1rem;
  width: 42%;
  color: #fed7aa;
  background: rgba(15, 23, 42, 0.9);
}

.investment-details-card .desc-cell {
  background: rgba(15, 23, 42, 0.6);
  color: #e5e7eb;
}

[data-bs-theme="light"] .investment-details-card .title-cell {
  background: #fff7ed;
  color: #7c2d12;
}

[data-bs-theme="light"] .investment-details-card .desc-cell {
  background: #ffffff;
  color: #0f172a;
}

.investment-detail-image {
  height: 250px;
  width: 100%;
  object-fit: contain;
  border: 3px dashed rgba(249, 115, 22, 0.9);
  border-radius: 18px;
  background: rgba(15, 23, 42, 0.7);
}

[data-bs-theme="light"] .investment-detail-image {
  background: #f9fafb;
}

.investment-invest-card #invest-now {
  border: 2px dashed rgba(249, 115, 22, 0.8);
  padding: 18px 14px;
  border-radius: 18px;
}

.investment-invest-card .bank-note {
  color: #f97316;
  font-size: 1rem;
  font-weight: 500;
}

[data-bs-theme="light"] .investment-invest-card .bank-note {
  color: #c2410c;
}

.investment-invest-card .bank_title {
  color: #fb923c;
  font-weight: 600;
}

.investment-invest-card .card_note {
  color: #fb923c;
  margin-top: 10px;
  font-weight: 500;
}

.investment-invest-card .copy-btn {
  background: none;
  border: none;
  cursor: pointer;
  color: #38bdf8;
  font-size: 0.9rem;
  margin-left: 5px;
}

.investment-invest-card .copy-btn:hover {
  color: #0ea5e9;
}

.investment-invest-card .copy-btn.fa-check i,
.investment-invest-card .copy-btn.fa-check {
  color: #22c55e;
}

@media (max-width: 768px) {
  .comments-form-card {
    padding: 20px;
  }

  .gradient-panel {
    padding: 24px;
  }

  .hero-title {
    font-size: 2rem;
  }

  .image-comment-row,
  .video-comment-row {
    grid-template-columns: 1fr;
  }

  .image-comment-tools,
  .video-comment-tools {
    flex-direction: row;
    justify-content: flex-start;
    gap: 16px;
  }
}

@media (max-width: 576px) {
  .comments-screen {
    padding-left: 0.85rem;
    padding-right: 0.85rem;
  }

  .comment-main-container {
    padding: 0;
  }

  .gradient-panel,
  .comments-form-card,
  .info-card,
  .order-summary-card {
    border-radius: 18px;
  }

  .hero-stats {
    grid-template-columns: minmax(0, 1fr);
  }

  .stat-pill {
    padding: 14px;
  }

  .comment-actions-grid {
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  }

  .block-header {
    flex-direction: column;
    align-items: flex-start;
  }
}



/* Accordion Theming */
.profile-main-container .accordion-button {
  color: #cbd5e1;
  /* Default dark theme text */
}

.profile-main-container .accordion-button::after {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23cbd5e1'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
}

.profile-main-container .accordion-button:not(.collapsed)::after {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23cbd5e1'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
}

.profile-main-container .accordion-body {
  color: #94a3b8;
  /* Default dark theme body text */
}

/* Light Theme Accordion */
[data-bs-theme="light"] .profile-main-container .accordion-button {
  color: #0f172a;
}

[data-bs-theme="light"] .profile-main-container .accordion-button::after {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%230f172a'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
}

[data-bs-theme="light"]
  .profile-main-container
  .accordion-button:not(.collapsed)::after {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%230f172a'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
}

[data-bs-theme="light"] .profile-main-container .accordion-body {
  color: #475569;
}

/* Blue Theme Accordion */
[data-bs-theme="blue-theme"] .profile-main-container .accordion-button {
  color: #e2e8f0;
}

[data-bs-theme="blue-theme"] .profile-main-container .accordion-button::after {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23e2e8f0'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
}

[data-bs-theme="blue-theme"]
  .profile-main-container
  .accordion-button:not(.collapsed)::after {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23e2e8f0'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
}

[data-bs-theme="blue-theme"] .profile-main-container .accordion-body {
  color: #cbd5e1;
}

/* Custom Floating File Input */
.custom-file-floating {
  position: relative;
  height: 58px;
  /* Match form-floating height */
  border: 1px solid #ff8000;
  border-radius: 0.375rem;
  background-color: rgba(0, 0, 0, 0.2);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 0 12px;
  transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

.custom-file-floating:focus-within {
  border-color: #ffb347;
  box-shadow: 0 0 0 0.2rem rgba(255, 179, 71, 0.25);
}

.custom-file-floating label {
  font-size: 0.85rem;
  color: #ff6a00 !important;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 2px;
  transform-origin: 0 0;
  transition: opacity 0.1s ease-in-out, transform 0.1s ease-in-out;
}

.custom-file-floating input[type="file"] {
  background: transparent;
  border: none;
  padding: 0;
  height: auto;
  color: #cbd5e1;
  font-size: 0.9rem;
  width: 100%;
}

.custom-file-floating input[type="file"]::file-selector-button {
  background-color: #334155;
  color: #fff;
  border: none;
  padding: 4px 12px;
  border-radius: 4px;
  margin-right: 10px;
  cursor: pointer;
  transition: background-color 0.2s;
}

.custom-file-floating input[type="file"]::file-selector-button:hover {
  background-color: #475569;
}

/* Light Theme File Input */
[data-bs-theme="light"] .custom-file-floating {
  background-color: rgba(255, 255, 255, 0.9);
  border-color: #dfe3f5;
}

[data-bs-theme="light"] .custom-file-floating input[type="file"] {
  color: #0f172a;
}

[data-bs-theme="light"]
  .custom-file-floating
  input[type="file"]::file-selector-button {
  background-color: #e2e8f0;
  color: #0f172a;
}

[data-bs-theme="light"]
  .custom-file-floating
  input[type="file"]::file-selector-button:hover {
  background-color: #cbd5e1;
}

/* Bordered Theme File Input */
[data-bs-theme="bodered-theme"] .custom-file-floating {
  background-color: rgba(255, 255, 255, 0.9);
  border-color: #dfe3f5;
}

[data-bs-theme="bodered-theme"] .custom-file-floating input[type="file"] {
  color: #0f172a;
}

/* Blue Theme File Input */
[data-bs-theme="blue-theme"] .custom-file-floating {
  background-color: rgba(6, 11, 40, 0.5);
  /* border-color: rgba(255, 255, 255, 0.1); */
}

/* Speekly Radio Options (Reverted Design) */
.speekly-radio-option {
  cursor: pointer;
  transition: transform 0.3s ease;
}

.speekly-radio-option:hover {
  transform: translateY(-5px);
}

.option-image-wrapper {
  width: 100%;
  aspect-ratio: 1 / 1;
  /* Square image */
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 15px;
  border: 3px solid transparent;
  transition: border-color 0.3s ease;
}

.option-image-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.option-indicator {
  font-size: 24px;
  color: #cbd5e1;
  /* Default gray */
  margin-bottom: 10px;
  transition: color 0.3s ease, transform 0.3s ease;
}

.option-content h4 {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 5px;
  color: #fff;
}

.option-content p {
  font-size: 0.9rem;
  color: #94a3b8;
  margin-bottom: 0;
}

/* Checked State */
.speekly-radio-option input:checked ~ .option-image-wrapper {
  border-color: #ffb347;
  /* Orange border */
}

.speekly-radio-option input:checked ~ .option-indicator {
  color: #fff;
  /* White checkmark */
  transform: scale(1.2);
}

.speekly-radio-option input:checked ~ .option-indicator i {
  background-color: #ffb347;
  /* Orange background for circle check if needed, or just color */
  border-radius: 50%;
  color: #fff;
  /* Icon color */
}

/* Theme Adjustments */
[data-bs-theme="light"] .option-content h4 {
  color: #0f172a;
}

[data-bs-theme="light"] .option-content p {
  color: #64748b;
}

[data-bs-theme="light"] .option-indicator {
  color: #cbd5e1;
}

/* Speekly Upload Box */
.upload-box {
  background-color: rgba(0, 0, 0, 0.1);
  border: 2px dashed rgba(255, 255, 255, 0.2) !important;
  transition: all 0.3s ease;
}

.upload-box:hover {
  background-color: rgba(0, 0, 0, 0.2);
  border-color: #ffb347 !important;
}

[data-bs-theme="light"] .upload-box {
  background-color: rgba(255, 255, 255, 0.5);
  border-color: #dfe3f5 !important;
}

[data-bs-theme="light"] .upload-box:hover {
  background-color: rgba(255, 255, 255, 0.8);
  border-color: #ffb347 !important;
}

/* Preview Box */
.preview-box {
  width: 120px;
  height: 120px;
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.preview-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.preview-box .delete-icon {
  position: absolute;
  top: 5px;
  right: 5px;
  width: 24px;
  height: 24px;
  background: rgba(220, 38, 38, 0.9);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 12px;
  transition: transform 0.2s;
}

.preview-box .delete-icon:hover {
  transform: scale(1.1);
}

/* Speekly creators list table */
.creators-table-wrapper {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.creators-table {
  width: 100%;
  margin-bottom: 0;
  border-collapse: collapse;
  min-width: 1100px;
}

.creators-table th,
.creators-table td {
  white-space: nowrap;
  padding: 14px 16px;
  vertical-align: middle;
}

.creators-table .description-cell {
  white-space: normal;
  max-width: 360px;
  word-wrap: break-word;
}

.creators-table th:last-child,
.creators-table td:last-child {
  text-align: center;
  min-width: 110px;
}

.creators-list-card .gradient-panel {
  overflow: visible;
}

.creators-table-wrapper::-webkit-scrollbar {
  height: 10px;
}

.creators-table-wrapper::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 5px;
}

.creators-table-wrapper::-webkit-scrollbar-thumb {
  background: rgba(255, 179, 71, 0.7);
  border-radius: 5px;
}

.creators-table-wrapper::-webkit-scrollbar-thumb:hover {
  background: rgba(255, 179, 71, 0.9);
}

.creators-list-card .dataTables_wrapper {
  width: 100%;
}

.creators-list-card .dataTables_wrapper .dataTables_length,
.creators-list-card .dataTables_wrapper .dataTables_filter,
.creators-list-card .dataTables_wrapper .dataTables_info,
.creators-list-card .dataTables_wrapper .dataTables_paginate {
  padding: 10px 0;
}

.creators-list-card .dataTables_wrapper .dataTables_filter label {
  display: flex;
  align-items: center;
  gap: 10px;
}

.creators-list-card .dataTables_wrapper .dataTables_filter input {
  background: rgba(15, 23, 42, 0.65);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 10px;
  color: #f8fafc;
  padding: 6px 12px;
  min-width: 160px;
}

[data-bs-theme="light"]
  .creators-list-card
  .dataTables_wrapper
  .dataTables_filter
  input {
  background: rgba(255, 255, 255, 0.9);
  border-color: rgba(15, 23, 42, 0.15);
  color: #0f172a;
}

@media (max-width: 1024px) {
  .creators-table {
    min-width: 900px;
  }
}

/* Speekly Order Page Styles */
.order-option-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 20px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.order-option-card:hover {
  background: rgba(255, 255, 255, 0.1);
  transform: translateY(-2px);
}

.order-option-card.row_selected {
  background: rgba(13, 110, 253, 0.2);
  /* Primary color with opacity */
  border-color: #0d6efd;
}

[data-bs-theme="light"] .order-option-card {
  background: #fff;
  border-color: #e2e8f0;
}

[data-bs-theme="light"] .order-option-card:hover {
  background: #f8fafc;
}

[data-bs-theme="light"] .order-option-card.row_selected {
  background: rgba(13, 110, 253, 0.1);
  border-color: #0d6efd;
}

/* Service Card */
.service-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  padding: 15px;
  transition: all 0.3s ease;
}

[data-bs-theme="light"] .service-card {
  background: #fff;
  border-color: #e2e8f0;
}

/* Counter Widget */
.counter-widget {
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

[data-bs-theme="light"] .counter-widget {
  background: #f8f9fa;
  border-color: #dee2e6 !important;
}

[data-bs-theme="light"] .counter-display {
  color: #0f172a !important;
}

/* Text Visibility Fixes */
[data-bs-theme="dark"] .text-muted,
[data-bs-theme="blue-theme"] .text-muted {
  color: #cbd5e1 !important;
}

[data-bs-theme="dark"] .text-primary,
[data-bs-theme="blue-theme"] .text-primary {
  color: #ffb347 !important;
  /* Brand orange for better visibility on dark */
}

/* Ensure headings inherit color correctly */
.profile-card h1,
.profile-card h2,
.profile-card h3,
.profile-card h4,
.profile-card h5,
.profile-card h6 {
  color: inherit;
}

/* Order Total Box */
.order-total-box {
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

[data-bs-theme="light"] .order-total-box {
  background: rgba(13, 110, 253, 0.08);
  border-color: rgba(13, 110, 253, 0.2);
}

/* Counter Widget Light Theme */
[data-bs-theme="light"] .counter-widget {
  background: #f8f9fa;
  border-color: #dee2e6 !important;
}

[data-bs-theme="light"] .counter-widget .counter-display {
  color: #0f172a;
}

/* Mobile Responsive Fixes for Speekly Order Page */
@media (max-width: 991px) {
  /* Remove sticky positioning on mobile */
  .profile-card.sticky-top {
    position: relative !important;
    top: auto !important;
  }

  /* Ensure proper spacing on mobile */
  .profile-card.gradient-panel {
    margin-bottom: 1.5rem;
  }

  /* Stack order summary below content on mobile */
  .col-lg-4.col-12:has(.sticky-top) {
    order: 2;
  }

  .col-lg-8.col-12 {
    order: 1;
  }

  /* Adjust padding for mobile */
  .profile-card {
    padding: 24px 18px;
  }

  /* Make service cards stack better */
  .service-card {
    margin-bottom: 1rem;
  }

  /* Adjust counter widget for mobile */
  .counter-widget {
    max-width: 200px;
    margin: 0 auto;
  }
}

@media (max-width: 767px) {
  /* Further reduce padding on small mobile */
  .profile-card {
    padding: 20px 15px;
    margin-bottom: 30px;
  }

  /* Make hero title smaller */
  .hero-title {
    font-size: 1.75rem;
  }

  /* Adjust order option cards */
  .order-option-card {
    padding: 15px;
  }

  /* Stack video examples vertically */
  .video-container {
    margin-bottom: 1rem;
  }
}

/* Select Option Styling */
.form-select {
  color-scheme: dark;
}

.form-select option {
  background-color: #1e293b;
  /* Default Dark */
  color: #f1f5f9;
}

[data-bs-theme="light"] .form-select {
  color-scheme: light;
}

[data-bs-theme="light"] .form-select option {
  background-color: #ffffff;
  color: #0f172a;
}

[data-bs-theme="blue-theme"] .form-select {
  color-scheme: dark;
}

[data-bs-theme="blue-theme"] .form-select option {
  background-color: #060b28;
  color: #ffffff;
}

/* Slots Table Styles */
.black_row {
  margin-top: 20px !important;
  border: 1px solid #351b66;
  border-spacing: 10px !important;
  border-radius: 5px !important;
  padding: 20px;
}

.black_row td {
  background-color: #000;
  /* Default dark */
  border-top: 8px solid #351b66;
  border-bottom: 5px solid #351b66;
  border-right: 1px dotted #351b66;
  padding-top: 5px;
  color: #fff;
}

.black_row td:last-child {
  border-radius: 0px 10px 10px 0px;
  border-right: 0px dotted #351b66;
}

.black_row td:first-child {
  border-radius: 10px 0px 0px 10px;
}

.copy-btn2:hover {
  color: orange;
}

/* Theme overrides for Slots Table */
[data-bs-theme="blue-theme"] .black_row td {
  background-color: rgba(15, 23, 42, 0.6) !important;
  border-color: rgba(255, 255, 255, 0.1) !important;
  color: #fff;
}

[data-bs-theme="dark"] .black_row td {
  background-color: rgba(15, 23, 42, 0.6) !important;
  border-color: rgba(255, 255, 255, 0.1) !important;
  color: #fff;
}

[data-bs-theme="blue-theme"] .black_row {
  border-color: rgba(255, 255, 255, 0.1) !important;
}

[data-bs-theme="light"] .black_row td {
  background-color: #ffffff !important;
  border-color: #dfe3f5 !important;
  color: #0f172a;
}

[data-bs-theme="light"] .black_row {
  border-color: #dfe3f5 !important;
}

[data-bs-theme="bodered-theme"] .black_row td {
  background-color: #ffffff !important;
  border-color: #dfe3f5 !important;
  color: #0f172a;
}

[data-bs-theme="bodered-theme"] .black_row {
  border-color: #dfe3f5 !important;
}

/* =========================================
   Auth Page & Global Form Premium Styles
   ========================================= */

/* Logo Positioning */
.auth-logo {
  position: fixed;
  top: 25px;
  left: 40px;
  width: 220px;
  height: auto;
  z-index: 1000;
  border-radius: 16px;
  padding: 8px;
  background: rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(10px);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease;
}

.auth-logo:hover {
  transform: scale(1.05);
}

@media (max-width: 767px) {
  .auth-logo {
    position: absolute;
    top: 20px;
    left: 20px;
    width: auto;
    height: 48px;
    border-radius: 12px;
    padding: 6px;
  }
}

/* Premium Form Controls */
.form-control {
  background-color: rgba(255, 255, 255, 0.05) !important;
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
  color: #fff !important;
  height: 56px !important;
  border-radius: 12px !important;
  font-size: 1rem;
  padding-left: 20px;
  transition: all 0.3s ease;
  border-width: 1px !important;
  border-color: #ff6a00 !important;
}

.form-control:focus {
  background-color: rgba(255, 255, 255, 0.1) !important;
  border-color: #ff6a00 !important;
  box-shadow: 0 0 0 4px rgba(255, 106, 0, 0.1) !important;
}

.form-control::placeholder {
  color: rgba(255, 255, 255, 0.5) !important;
}

/* Input Group Handling (Password Eye) */
.input-group .form-control {
  border-right: none !important;
  border-top-right-radius: 0 !important;
  border-bottom-right-radius: 0 !important;
}

.input-group .input-group-text {
  background-color: rgba(255, 255, 255, 0.05);
  border: 1px solid #ff6a00 !important;
  border-left: none;
  color: #fff;
  border-radius: 0 12px 12px 0;
  height: 56px;
  cursor: pointer;
  transition: all 0.3s ease;
  padding-right: 20px;
}

.input-group .input-group-text:hover {
  background-color: rgba(255, 255, 255, 0.1);
  color: #ff6a00;
}

/* Primary Button */
.btn-primary {
  background: linear-gradient(135deg, #ff6a00 0%, #ff8c00 100%);
  border: none;
  height: 56px;
  border-radius: 12px;
  font-weight: 600;
  font-size: 1.1rem;
  letter-spacing: 0.5px;
  box-shadow: 0 10px 20px -10px rgba(255, 106, 0, 0.5);
  transition: all 0.3s ease;
  width: 100%;
  /* Ensure full width in grid */
}

.btn-primary:hover,
.btn-primary:focus {
  transform: translateY(-2px);
  box-shadow: 0 15px 30px -10px rgba(255, 106, 0, 0.6);
  background: linear-gradient(135deg, #ff8c00 0%, #ff6a00 100%);
  border: none;
}

/* Outline Primary Button */
.btn-outline-primary {
  background: transparent;
  border: 2px solid #ff6a00;
  color: #ff6a00;
  height: 56px;
  border-radius: 12px;
  font-weight: 600;
  font-size: 1.1rem;
  letter-spacing: 0.5px;
  transition: all 0.3s ease;
}

.btn-outline-primary:hover,
.btn-outline-primary:focus {
  background: linear-gradient(135deg, #ff6a00 0%, #ff8c00 100%);
  border-color: #ff6a00;
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 15px 30px -10px rgba(255, 106, 0, 0.6);
}

/* Global button fixes for better alignment and sizing */
.btn {
  display: inline-flex;
  align-items: center !important;
  justify-content: center !important;
  height: auto !important;
  min-height: 42px !important;
  padding: 10px 20px !important;
  line-height: 1.5 !important;
}

.btn-primary,
.btn-outline-primary {
  height: auto !important;
  min-height: 56px !important;
  padding: 10px 20px !important;
}

/* Smaller buttons in tables */
table .btn {
  min-height: 36px !important;
  padding: 6px 12px !important;
  font-size: 0.9rem !important;
}

/* Links */
a {
  color: #ff6a00;
  text-decoration: none;
  transition: color 0.2s;
}

a:hover {
  color: #ff9e4d;
}

/* Custom Language Switcher */
.custom_switcher {
  background: linear-gradient(135deg, #ff6a00 0%, #ff8c00 100%);
  color: #fff;
  border: 1px solid rgba(255, 106, 0, 0.3);
  padding: 10px 18px;
  border-radius: 10px;
  backdrop-filter: blur(10px);
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(255, 106, 0, 0.3);
  min-height: 48px;
}

.custom_switcher:hover {
  background: linear-gradient(135deg, #ff8c00 0%, #ff6a00 100%);
  border-color: rgba(255, 106, 0, 0.6);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255, 106, 0, 0.4);
}

.custom_switcher:focus {
  outline: none;
  border-color: #ff6a00;
  box-shadow: 0 0 0 3px rgba(255, 106, 0, 0.3);
}

.custom_switcher option {
  background-color: #1a1a1a;
  color: #fff;
  padding: 10px;
}

/* Utility Styles */
.custom-error {
  color: #ff4d4d;
  font-size: 0.875rem;
  margin-top: 5px;
  display: block;
}

.required_field {
  color: #ff6a00;
}

.captcha-container {
  text-align: center;
  margin-bottom: 1.5rem;
}

.g-recaptcha {
  display: inline-block;
}

/* Form Labels */
.form-label {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.9rem;
  margin-bottom: 8px;
  font-weight: 500;
  margin-left: 4px;
}

/* Language Switcher Position */
.lang-switcher-container {
  position: fixed;
  top: 30px;
  right: 40px;
  z-index: 1000;
}

@media (max-width: 767px) {
  .lang-switcher-container {
    position: absolute;
    top: 20px;
    right: 20px;
  }

  .custom_switcher {
    padding: 8px 12px;
    font-size: 13px;
    min-height: 48px;
    display: flex;
    align-items: center;
  }
}

/* Notification Badge */
.badge-notify {
  background-color: #ff6a00 !important;
  padding: 4px !important;
  font-size: 10px !important;
}

.dataTables_wrapper .dataTables_length select {
  background-color: var(--bs-body-bg);
  color: white;
}

/* Apps Dropdown Styling */
.dropdown-apps {
  min-width: 450px !important;
  max-width: 500px !important;
}

/* Responsive adjustments for mobile */
@media (max-width: 768px) {
  .dropdown-apps {
    min-width: auto !important;
    max-width: 95vw !important;
    width: 95vw !important;
  }
}

@media (max-width: 576px) {
  .dropdown-apps {
    min-width: auto !important;
    max-width: 100vw !important;
    width: calc(100vw - 20px) !important;
    left: 10px !important;
    right: 10px !important;
  }
}

.app-wrapper {
  padding: 15px 10px;
  transition: all 0.3s ease;
}

.app-wrapper:hover {
  background-color: rgba(255, 106, 0, 0.1);
}

.app-icon {
  font-size: 24px;
  margin-bottom: 5px;
}

.app-name {
  font-size: 13px;
  font-weight: 500;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.app-name p {
  margin: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Light theme - black text */
[data-bs-theme="light"] .app-name {
  color: #000000 !important;
}

/* Blue theme - white text */
[data-bs-theme="blue-theme"] .app-name {
  color: #ffffff !important;
}

/* Dark theme - white text */
[data-bs-theme="dark"] .app-name {
  color: #ffffff !important;
}

/* Semi-dark theme - white text */
[data-bs-theme="semi-dark"] .app-name {
  color: #ffffff !important;
}

/* Bordered theme - black text */
[data-bs-theme="bodered-theme"] .app-name {
  color: #000000 !important;
}

/* Global form-select and form-control styling for light theme */
[data-bs-theme="light"] .form-select,
[data-bs-theme="light"] .form-control {
  border: 1px solid #ff6a00 !important;
  background-color: rgba(255, 255, 255, 0.9) !important;
  color: #0f172a !important;
  min-height: 56px;
  padding: 0.75rem 1rem;
}

[data-bs-theme="light"] .form-select:focus,
[data-bs-theme="light"] .form-control:focus {
  border-color: #ff6a00 !important;
  box-shadow: 0 0 0 0.25rem rgba(255, 106, 0, 0.25) !important;
}

/* Blue theme styling */
[data-bs-theme="blue-theme"] .form-select,
[data-bs-theme="blue-theme"] .form-control {
  border: 1px solid #ff6a00 !important;
  min-height: 56px;
  padding: 0.75rem 1rem;
}

[data-bs-theme="blue-theme"] .form-select:focus,
[data-bs-theme="blue-theme"] .form-control:focus {
  border-color: #ff6a00 !important;
  box-shadow: 0 0 0 0.25rem rgba(255, 106, 0, 0.25) !important;
}

/* Dark theme styling */
[data-bs-theme="dark"] .form-select,
[data-bs-theme="dark"] .form-control {
  border: 1px solid #ff6a00 !important;
  min-height: 56px;
  padding: 0.75rem 1rem;
}

[data-bs-theme="dark"] .form-select:focus,
[data-bs-theme="dark"] .form-control:focus {
  border-color: #ff6a00 !important;
  box-shadow: 0 0 0 0.25rem rgba(255, 106, 0, 0.25) !important;
}

/* Semi-dark theme styling */
[data-bs-theme="semi-dark"] .form-select,
[data-bs-theme="semi-dark"] .form-control {
  border: 1px solid #ff6a00 !important;
  min-height: 56px;
  padding: 0.75rem 1rem;
}

[data-bs-theme="semi-dark"] .form-select:focus,
[data-bs-theme="semi-dark"] .form-control:focus {
  border-color: #ff6a00 !important;
  box-shadow: 0 0 0 0.25rem rgba(255, 106, 0, 0.25) !important;
}

/* Ensure bordered theme also has visible borders */
[data-bs-theme="bodered-theme"] .form-select,
[data-bs-theme="bodered-theme"] .form-control {
  border: 1px solid #ff6a00 !important;
  background-color: rgba(255, 255, 255, 0.9) !important;
  color: #0f172a !important;
  min-height: 56px;
  padding: 0.75rem 1rem;
}

[data-bs-theme="bodered-theme"] .form-select:focus,
[data-bs-theme="bodered-theme"] .form-control:focus {
  border-color: #ff6a00 !important;
  box-shadow: 0 0 0 0.25rem rgba(255, 106, 0, 0.25) !important;
}

/* Ensure consistent height across all themes */
.form-select,
.form-control {
  min-height: 56px;
  padding: 0.75rem 1rem;
  border-radius: 0.5rem;
}

/* Investment Card Styling */
.investment-card {
  padding-top: 20px;
  border: 3px dashed #ff6a00;
  background: linear-gradient(
    135deg,
    rgba(7, 12, 31, 0.95),
    rgba(16, 23, 58, 0.85)
  );
  display: flex;
  flex-direction: column;
}

.investment-card .card-body {
  flex-grow: 1;
}

.investment-card .list-group {
  flex-shrink: 0;
}

.investment-card .list-group-item {
  background-color: rgba(255, 106, 0, 0.2);
  color: #ffffff;
  border-color: rgba(255, 106, 0, 0.3);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.investment-card .orange {
  color: #ff6a00;
  font-weight: bold;
}

.investment-card h5 {
  font-weight: 600;
}

/* Light theme investment cards */
[data-bs-theme="light"] .investment-card {
  background: linear-gradient(135deg, #ffffff, #eff3ff);
  border-color: #ff6a00;
}

[data-bs-theme="light"] .investment-card .list-group-item {
  background-color: rgba(255, 106, 0, 0.1);
  color: #0f172a;
  border-color: rgba(255, 106, 0, 0.2);
}

[data-bs-theme="light"] .investment-card .card-title,
[data-bs-theme="light"] .investment-card .card-text {
  color: #0f172a;
}

/* Blue theme investment cards */
[data-bs-theme="blue-theme"] .investment-card {
  background: linear-gradient(
    135deg,
    rgba(6, 11, 40, 0.95),
    rgba(10, 14, 35, 0.85)
  );
}

[data-bs-theme="blue-theme"] .investment-card .list-group-item {
  background-color: rgba(255, 106, 0, 0.2);
  color: #ffffff;
}

/* Dark theme investment cards */
[data-bs-theme="dark"] .investment-card {
  background: linear-gradient(
    135deg,
    rgba(15, 23, 42, 0.95),
    rgba(30, 41, 59, 0.85)
  );
}

[data-bs-theme="dark"] .investment-card .list-group-item {
  background-color: rgba(255, 106, 0, 0.2);
  color: #ffffff;
}

/* Bordered theme investment cards */
[data-bs-theme="bodered-theme"] .investment-card {
  background: linear-gradient(135deg, #ffffff, #f8f9fc);
  border-color: #ff6a00;
}

[data-bs-theme="bodered-theme"] .investment-card .list-group-item {
  background-color: rgba(255, 106, 0, 0.1);
  color: #0f172a;
  border-color: rgba(255, 106, 0, 0.2);
}

[data-bs-theme="bodered-theme"] .investment-card .card-title,
[data-bs-theme="bodered-theme"] .investment-card .card-text {
  color: #0f172a;
}

/* jQuery UI Datepicker Styling for Light Theme */
[data-bs-theme="light"] .ui-datepicker {
  background-color: #ffffff !important;
  border: 1px solid #ff6a00 !important;
  color: #0f172a !important;
  z-index: 9999 !important;
}

[data-bs-theme="light"] .ui-datepicker-header {
  background-color: #ff6a00 !important;
  color: #ffffff !important;
}

[data-bs-theme="light"] .ui-datepicker-title {
  color: #ffffff !important;
}

[data-bs-theme="light"] .ui-datepicker th {
  color: #0f172a !important;
}

[data-bs-theme="light"] .ui-datepicker td a {
  color: #0f172a !important;
}

[data-bs-theme="light"] .ui-datepicker td a:hover {
  background-color: rgba(255, 106, 0, 0.2) !important;
  color: #ff6a00 !important;
}

[data-bs-theme="light"] .ui-state-active {
  background-color: #ff6a00 !important;
  color: #ffffff !important;
}

/* Datepicker for all themes */
.ui-datepicker {
  z-index: 9999 !important;
}

/* Date picker input styling for light theme */
[data-bs-theme="light"] #startDate,
[data-bs-theme="light"] #endDate {
  color: #0f172a !important;
}

[data-bs-theme="light"] #startDate::placeholder,
[data-bs-theme="light"] #endDate::placeholder {
  color: #64748b !important;
  opacity: 1 !important;
}

/* Table styling for light theme in cards */
[data-bs-theme="light"] .comments-form-card .table {
  color: #0f172a;
  --bs-table-color: #0f172a;
  --bs-table-bg: transparent;
}

[data-bs-theme="light"] .comments-form-card .table td,
[data-bs-theme="light"] .comments-form-card .table th {
  border-color: rgba(15, 23, 42, 0.1);
  color: #0f172a;
}

[data-bs-theme="light"] .comments-form-card .text-muted {
  color: #64748b !important;
}

/* Ensure text-primary is orange */
.text-primary {
  color: #ff6a00 !important;
}

/* Footer Styling */
.footer-content {
  background-color: transparent !important;
  color: #fff;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

[data-bs-theme="light"] .footer-content {
  background-color: #f8f9fa !important;
  color: #0f172a !important;
  border-top: 1px solid rgba(15, 23, 42, 0.1);
}

/* Back to Top Button Styling */
.back-to-top {
  display: none;
  width: 40px;
  height: 40px;
  /* Removed line-height and text-align in favor of flexbox */
  font-size: 24px;
  color: #fff;
  background-color: #ff6a00;
  border-radius: 50%;
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 999;
  transition: all 0.3s ease;
  box-shadow: 0 4px 14px rgba(255, 106, 0, 0.3);

  /* Flexbox for perfect centering */
  display: flex;
  /* This will be overridden by jQuery fadeIn/Out but is good for initial state if not hidden */
  align-items: center;
  justify-content: center;
}

/* Important: jQuery fadeIn sets display: block, which breaks flex centering. 
   We need to force display: flex when it's visible or use a wrapper. 
   However, a simpler fix for the icon is to ensure it has no extra margins/padding 
   and use flex on the anchor tag. 
   
   Since jQuery's fadeIn/fadeOut manipulates the display property (block/none), 
   we can add !important to display: flex, but that might break fadeOut.
   
   Better approach: Keep display: none initially (handled by JS logic or CSS), 
   and when JS sets it to block (via fadeIn), we override it to flex.
*/

.back-to-top[style*="display: block"] {
  display: flex !important;
}

.back-to-top:hover {
  background-color: #e65c00;
  color: #fff;
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(255, 106, 0, 0.4);
}

.back-to-top i {
  /* Reset line-height to normal or inherit to avoid offset */
  line-height: 1;
}

/* Media Buyer Plans Styling */
.mediabuyer-plan-card {
  background: var(--bs-body-bg);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  padding: 30px;
  height: 100%;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.mediabuyer-plan-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
  border-color: #ff6a00;
}

.mediabuyer-plan-card.recommended {
  border: 2px solid #ff6a00;
  box-shadow: 0 0 20px rgba(255, 106, 0, 0.2);
}

.mediabuyer-plan-card .icon-wrapper {
  width: 80px;
  height: 80px;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.mediabuyer-plan-card .icon-wrapper img {
  max-width: 100%;
  max-height: 100%;
}

.mediabuyer-plan-card h3 {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 10px;
  color: #fff;
}

.mediabuyer-plan-card .price {
  font-size: 36px;
  font-weight: 800;
  color: #ff6a00;
  margin-bottom: 20px;
  display: block;
}

.mediabuyer-plan-card .price span {
  font-size: 16px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.7);
}

.mediabuyer-plan-card .description {
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 25px;
  font-size: 15px;
  line-height: 1.6;
  flex-grow: 0;
}

.mediabuyer-plan-card .features-list {
  list-style: none;
  padding: 0;
  margin: 0 0 30px 0;
  flex-grow: 1;
}

.mediabuyer-plan-card .features-list li {
  margin-bottom: 12px;
  color: rgba(255, 255, 255, 0.9);
  display: flex;
  align-items: flex-start;
  font-size: 14px;
}

.mediabuyer-plan-card .features-list li i {
  color: #ff6a00;
  margin-right: 10px;
  font-size: 18px;
  margin-top: 2px;
  flex-shrink: 0;
}

.mediabuyer-plan-card .plan-objective {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 20px;
  padding-top: 15px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Fix button icon and text vertical alignment */
.mediabuyer-plan-card .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.mediabuyer-plan-card .btn i {
  display: inline-flex;
  align-items: center;
}

/* Light Theme Styling */
[data-bs-theme="light"] .mediabuyer-plan-card {
  background: var(--bs-body-bg);
  border: 1px solid rgba(0, 0, 0, 0.1);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

[data-bs-theme="light"] .mediabuyer-plan-card:hover {
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

[data-bs-theme="light"] .mediabuyer-plan-card h3 {
  color: #0f172a;
}

[data-bs-theme="light"] .mediabuyer-plan-card .price span {
  color: #64748b;
}

[data-bs-theme="light"] .mediabuyer-plan-card .description {
  color: #475569;
}

[data-bs-theme="light"] .mediabuyer-plan-card .features-list li {
  color: #334155;
}

[data-bs-theme="light"] .mediabuyer-plan-card .plan-objective {
  color: #64748b;
  border-top-color: rgba(0, 0, 0, 0.1);
}

/* Blue Theme Styling */
[data-bs-theme="blue-theme"] .mediabuyer-plan-card {
  background: var(--bs-body-bg);
}

/* Bordered Theme Styling */
[data-bs-theme="bodered-theme"] .mediabuyer-plan-card {
  background: #fff;
  border: 1px solid #e2e8f0;
}

[data-bs-theme="bodered-theme"] .mediabuyer-plan-card h3 {
  color: #0f172a;
}

/* ========================================
   SLOTS SCREEN SPECIFIC STYLING
   ======================================== */

/* Slots-specific button sizing */
.slots-order-card .btn-gradient,
.comments-screen .btn-gradient {
  padding: 8px 20px;
  font-size: 14px;
}

/* Slots table styling */
.slots-table-wrapper {
  width: 100%;
}

/* Theme-aware table row styling for slots */
.black_row {
  background-color: rgba(15, 23, 42, 0.4);
  color: #f8fafc;
}

[data-bs-theme="light"] .black_row {
  background-color: rgba(255, 255, 255, 0.9);
  color: #0f172a;
}

[data-bs-theme="blue-theme"] .black_row {
  background-color: rgba(6, 11, 40, 0.6);
  color: #f8fafc;
}

[data-bs-theme="dark"] .black_row {
  background-color: rgba(30, 41, 59, 0.4);
  color: #f8fafc;
}

/* Slots table button styling */
.black_row .btn-dark {
  background-color: rgba(15, 23, 42, 0.8);
  border-color: #ff6a00;
  color: #fff;
  padding: 6px 12px;
  font-size: 13px;
}

[data-bs-theme="light"] .black_row .btn-dark {
  background-color: rgba(255, 106, 0, 0.1);
  border-color: #ff6a00;
  color: #0f172a;
}

[data-bs-theme="blue-theme"] .black_row .btn-dark {
  background-color: rgba(6, 11, 40, 0.9);
  border-color: #ff6a00;
  color: #fff;
}

/* Theme-aware modal styling */
.dark-modal .modal-content {
  background-color: rgba(15, 23, 42, 0.98);
  color: #f8fafc;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

[data-bs-theme="light"] .dark-modal .modal-content {
  background-color: #ffffff;
  color: #0f172a;
  border: 1px solid rgba(15, 23, 42, 0.1);
}

[data-bs-theme="blue-theme"] .dark-modal .modal-content {
  background-color: rgba(6, 11, 40, 0.98);
  color: #f8fafc;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.dark-modal .modal-header,
.dark-modal .modal-footer {
  border-color: rgba(255, 255, 255, 0.1);
}

[data-bs-theme="light"] .dark-modal .modal-header,
[data-bs-theme="light"] .dark-modal .modal-footer {
  border-color: rgba(15, 23, 42, 0.1);
}

.dark-modal .modal-title {
  color: #f8fafc;
}

[data-bs-theme="light"] .dark-modal .modal-title {
  color: #0f172a;
}

/* Modal form labels */
.dark-modal .form-label {
  color: #ff6a00 !important;
  font-weight: bold;
  font-size: 16px;
}

[data-bs-theme="light"] .dark-modal .form-label {
  color: #ff6a00 !important;
}

/* Modal copy buttons */
.dark-modal .copy-btn {
  background-color: #ff6a00;
  border-color: #ff6a00;
  color: #fff;
  /* padding: 4px 12px; */
  font-size: 13px;
  height: auto;
}

.dark-modal .copy-btn:hover {
  background-color: #e65c00;
  border-color: #e65c00;
}

[data-bs-theme="light"] .dark-modal .copy-btn {
  background-color: #ff6a00;
  color: #fff;
}

/* Remove hardcoded bg-dark2 */
.bg-dark2 {
  background-color: rgba(15, 23, 42, 0.98) !important;
}

[data-bs-theme="light"] .bg-dark2 {
  background-color: #ffffff !important;
}

[data-bs-theme="blue-theme"] .bg-dark2 {
  background-color: rgba(6, 11, 40, 0.98) !important;
}

/* Close button styling */
.btn-close-white {
  filter: brightness(1);
}

[data-bs-theme="light"] .btn-close-white {
  filter: brightness(0);
}

/* Accordion button theme-aware styling */
.accordion-button:not(.collapsed) {
  background-color: #ff6a00 !important;
  color: #ffffff !important;
}

[data-bs-theme="light"] .accordion-button:not(.collapsed) {
  background-color: #ff6a00 !important;
  color: #ffffff !important;
}

[data-bs-theme="blue-theme"] .accordion-button:not(.collapsed) {
  background-color: #ff6a00 !important;
  color: #ffffff !important;
}

[data-bs-theme="dark"] .accordion-button:not(.collapsed) {
  background-color: #ff6a00 !important;
  color: #ffffff !important;
}

/* Global Accordion Arrow Icon Styles */
.accordion-button::after {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23cbd5e1'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
}

.accordion-button:not(.collapsed)::after {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23ffffff'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
}

[data-bs-theme="light"] .accordion-button::after {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%230f172a'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
}

[data-bs-theme="light"] .accordion-button:not(.collapsed)::after {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23ffffff'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
}

[data-bs-theme="blue-theme"] .accordion-button::after {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23e2e8f0'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
}

[data-bs-theme="blue-theme"] .accordion-button:not(.collapsed)::after {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23ffffff'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
}

[data-bs-theme="dark"] .accordion-button::after {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23cbd5e1'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
}

[data-bs-theme="dark"] .accordion-button:not(.collapsed)::after {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23ffffff'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
}

/* Nickname input styling */
.nickname-input {
  background-color: rgba(15, 23, 42, 0.6);
  border: 1px solid #ff6a00 !important;
  color: #f8fafc;
  padding: 6px 12px;
  border-radius: 6px;
  font-size: 14px;
  min-height: 36px;
}

.nickname-input:focus {
  outline: none;
  border-color: #ff6a00 !important;
  box-shadow: 0 0 0 0.2rem rgba(255, 106, 0, 0.25);
  background-color: rgba(15, 23, 42, 0.8);
}

[data-bs-theme="light"] .nickname-input {
  background-color: rgba(255, 255, 255, 0.9);
  color: #0f172a;
  border: 1px solid #ff6a00 !important;
}

[data-bs-theme="light"] .nickname-input:focus {
  background-color: #ffffff;
  border-color: #ff6a00 !important;
  box-shadow: 0 0 0 0.2rem rgba(255, 106, 0, 0.25);
}

[data-bs-theme="blue-theme"] .nickname-input {
  background-color: rgba(6, 11, 40, 0.6);
  color: #f8fafc;
}

[data-bs-theme="blue-theme"] .nickname-input:focus {
  background-color: rgba(6, 11, 40, 0.8);
}

/* Nickname display styling */
.nickname-display {
  color: #ff6a00;
  font-size: 16px;
  font-weight: 500;
}

[data-bs-theme="light"] .nickname-display {
  color: #ff6a00;
}

/* Edit and save button styling */
.edit-btn,
.save-btn {
  font-size: 18px;
  cursor: pointer;
  margin-left: 8px;
  transition: transform 0.2s ease;
}

.edit-btn:hover,
.save-btn:hover {
  transform: scale(1.2);
}

/* Slots table text colors */
[data-bs-theme="light"] .comment-main-container .table {
  color: #0f172a;
  --bs-table-color: #0f172a;
}

[data-bs-theme="light"] .comment-main-container .table td,
[data-bs-theme="light"] .comment-main-container .table th {
  color: #0f172a;
  border-color: rgba(15, 23, 42, 0.1);
}

/* Ensure wallet history tables span full width */
#table_id1,
#table_id1.dataTable {
  width: 100% !important;
}

.dataTables_wrapper,
.dataTables_scroll {
  width: 100% !important;
}

/* Wallet payment buttons: add spacing between icon and text */
.wallet-payment-card .btn i {
  margin-right: 6px;
}

/* Cloacker domain input stack for mobile */
/* Desktop layout */
.domain-input-dropdown {
  display: flex;
  align-items: center;
  gap: 12px;
}

.domain-input-dropdown .form-control {
  flex: 1;
  border-radius: 10px !important;
  border-right: 1px solid #ff6a00 !important;
}

.domain-input-dropdown .domain-dropdown {
  min-width: 140px;
  border-radius: 10px !important;
}

.domain-check-btn {
  margin-left: 12px;
  min-width: 140px;
}

/* Mobile adjustments */
@media (max-width: 575px) {
  .domain-input-dropdown {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
  }

  .domain-input-dropdown .form-control,
  .domain-input-dropdown .domain-dropdown {
    border-radius: 10px !important;
    border-right: 1px solid #ff6a00 !important;
    min-width: 100%;
  }

  .domain-check-btn {
    width: 100% !important;
    margin-left: 0;
    margin-top: 10px;
  }
}

/* Dashboard hero responsiveness */
.dashboard-hero-card {
  width: 100%;
}

.dashboard-hero-row {
  align-items: center;
}

.dashboard-hero-stats {
  gap: 24px;
}

@media (max-width: 991px) {
  .dashboard-hero-card .card-body {
    padding: 1.25rem 1.1rem;
  }

  .dashboard-hero-stats {
    flex-direction: column;
    align-items: center;
    gap: 18px;
  }

  .dashboard-hero-card .vr {
    display: none;
  }

  .dashboard-hero-illustration {
    text-align: center;
  }

  .dashboard-hero-illustration img {
    max-height: 140px;
  }
}

@media (max-width: 575px) {
  .dashboard-hero-card .card-body {
    padding: 1rem 0.9rem;
    text-align: center;
  }

  .dashboard-hero-card .d-flex.align-items-center.gap-3 {
    gap: 12px !important;
  }

  .dashboard-hero-card h4.fw-semibold {
    font-size: 1.3rem;
    margin-bottom: 0.35rem !important;
  }

  .dashboard-hero-card p.mb-3 {
    margin-bottom: 0.6rem !important;
    font-size: 0.95rem;
  }

  .dashboard-hero-card h4.mb-1 {
    font-size: 1.4rem;
  }

  .dashboard-hero-card .progress {
    width: 140px;
    margin: 0.35rem auto 0;
    height: 6px !important;
  }
}

/* Form select in slots table */
[data-bs-theme="light"] .black_row .form-select {
  background-color: rgba(255, 255, 255, 0.9);
  color: #0f172a;
  border-color: #ff6a00;
}

[data-bs-theme="blue-theme"] .black_row .form-select {
  background-color: rgba(6, 11, 40, 0.8);
  color: #f8fafc;
  border-color: #ff6a00;
}

[data-bs-theme="dark"] .black_row .form-select {
  background-color: rgba(30, 41, 59, 0.6);
  color: #f8fafc;
  border-color: #ff6a00;
}

/* Modal span text colors */
[data-bs-theme="light"] .dark-modal .modal-body span:not(.form-label) {
  color: #0f172a;
}

/* Ensure proper text visibility in light theme */
[data-bs-theme="light"] .comment-main-container h3 {
  color: #0f172a;
}

/* Notification Styles */
.noti-wrapper {
  transition: background-color 0.3s ease;
}

.noti-wrapper.unseen-notification {
  background-color: rgba(0, 0, 0, 0.05);
  /* Light Theme Default */
}

/* Blue Theme */
[data-bs-theme="blue-theme"] .noti-wrapper.unseen-notification {
  background-color: rgba(255, 255, 255, 0.1);
}

/* Dark Theme */
[data-bs-theme="dark"] .noti-wrapper.unseen-notification {
  background-color: rgba(255, 255, 255, 0.08);
}

/* Semi-Dark Theme */
[data-bs-theme="semi-dark"] .noti-wrapper.unseen-notification {
  background-color: rgba(255, 255, 255, 0.05);
}

/* ========================================
   DATATABLES PAGINATION - ORANGE THEME
   Override Bootstrap CSS Variables
   ======================================== */

/* Override Bootstrap pagination CSS variables */
.dataTables_wrapper .dataTables_paginate {
  --bs-pagination-active-bg: #ff6a00;
  --bs-pagination-active-border-color: #ff6a00;
  --bs-pagination-hover-bg: rgba(255, 106, 0, 0.15);
  --bs-pagination-hover-border-color: #ff6a00;
  --bs-pagination-focus-bg: rgba(255, 106, 0, 0.15);
  --bs-pagination-focus-border-color: #ff6a00;
  --bs-pagination-color: #ff6a00;
  --bs-pagination-border-color: #ff6a00;
  margin-top: 20px;
  margin-bottom: 20px;
}

/* All pagination buttons - base styling */
.dataTables_wrapper .dataTables_paginate .paginate_button,
.dataTables_wrapper .dataTables_paginate .page-item .page-link {
  color: #ff6a00 !important;
}

/* Hover state for all buttons */
.dataTables_wrapper .dataTables_paginate .paginate_button:not(.disabled):hover,
.dataTables_wrapper
  .dataTables_paginate
  .page-item:not(.disabled)
  .page-link:hover,
.dataTables_wrapper .dataTables_paginate .paginate_button:active,
.dataTables_wrapper .dataTables_paginate .paginate_button:focus {
  background: rgba(255, 106, 0, 0.15) !important;
  background-color: rgba(255, 106, 0, 0.15) !important;
  background-image: none !important;
  border: 1px solid #ff6a00 !important;
  color: #ff6a00 !important;
  box-shadow: none !important;
}

/* Active/Current page button - ORANGE BACKGROUND */
.dataTables_wrapper .dataTables_paginate .paginate_button.current,
.dataTables_wrapper .dataTables_paginate .paginate_button.current:hover,
.dataTables_wrapper .dataTables_paginate .paginate_button.current:active,
.dataTables_wrapper .dataTables_paginate .paginate_button.current:focus,
.dataTables_wrapper .dataTables_paginate .page-item.active .page-link,
.dataTables_wrapper .dataTables_paginate .page-item.active .page-link:hover,
.dataTables_wrapper .dataTables_paginate .page-item.active .page-link:focus {
  background: #ff6a00 !important;
  background-color: #ff6a00 !important;
  background-image: linear-gradient(
    135deg,
    #ff6a00 0%,
    #ff8c00 100%
  ) !important;
  border: 1px solid #ff6a00 !important;
  border-color: #ff6a00 !important;
  color: #ffffff !important;
  box-shadow: 0 4px 12px rgba(255, 106, 0, 0.3) !important;
}

/* Disabled buttons */
.dataTables_wrapper .dataTables_paginate .paginate_button.disabled,
.dataTables_wrapper .dataTables_paginate .paginate_button.disabled:hover,
.dataTables_wrapper .dataTables_paginate .paginate_button.disabled:active,
.dataTables_wrapper .dataTables_paginate .paginate_button.disabled:focus,
.dataTables_wrapper .dataTables_paginate .page-item.disabled .page-link {
  background: transparent !important;
  background-color: transparent !important;
  background-image: none !important;
  border: 1px solid rgba(255, 106, 0, 0.3) !important;
  color: rgba(255, 106, 0, 0.5) !important;
  cursor: not-allowed !important;
  box-shadow: none !important;
  opacity: 0.6 !important;
}

/* Previous and Next buttons */
.dataTables_wrapper .dataTables_paginate .paginate_button.previous,
.dataTables_wrapper .dataTables_paginate .paginate_button.next {
  font-weight: 600 !important;
}

/* Light theme adjustments */
[data-bs-theme="light"] .dataTables_wrapper .dataTables_paginate {
  --bs-pagination-active-bg: #ff6a00;
  --bs-pagination-active-border-color: #ff6a00;
  --bs-pagination-color: #ff6a00;
}

[data-bs-theme="light"]
  .dataTables_wrapper
  .dataTables_paginate
  .paginate_button {
  border-color: #ff6a00 !important;
  color: #ff6a00 !important;
}

[data-bs-theme="light"]
  .dataTables_wrapper
  .dataTables_paginate
  .paginate_button:hover {
  background: rgba(255, 106, 0, 0.2) !important;
  background-color: rgba(255, 106, 0, 0.2) !important;
}

[data-bs-theme="light"]
  .dataTables_wrapper
  .dataTables_paginate
  .paginate_button.current,
[data-bs-theme="light"]
  .dataTables_wrapper
  .dataTables_paginate
  .paginate_button.current:hover,
[data-bs-theme="light"]
  .dataTables_wrapper
  .dataTables_paginate
  .page-item.active
  .page-link {
  background: #ff6a00 !important;
  background-color: #ff6a00 !important;
  background-image: linear-gradient(
    135deg,
    #ff6a00 0%,
    #ff8c00 100%
  ) !important;
  color: #ffffff !important;
}

/* Blue theme adjustments */
[data-bs-theme="blue-theme"] .dataTables_wrapper .dataTables_paginate {
  --bs-pagination-active-bg: #ff6a00;
  --bs-pagination-active-border-color: #ff6a00;
  --bs-pagination-color: #ff8c00;
}

[data-bs-theme="blue-theme"]
  .dataTables_wrapper
  .dataTables_paginate
  .paginate_button {
  border-color: #ff8c00 !important;
  color: #ff8c00 !important;
}

[data-bs-theme="blue-theme"]
  .dataTables_wrapper
  .dataTables_paginate
  .paginate_button:hover {
  background: rgba(255, 106, 0, 0.15) !important;
  background-color: rgba(255, 106, 0, 0.15) !important;
}

[data-bs-theme="blue-theme"]
  .dataTables_wrapper
  .dataTables_paginate
  .paginate_button.current,
[data-bs-theme="blue-theme"]
  .dataTables_wrapper
  .dataTables_paginate
  .paginate_button.current:hover,
[data-bs-theme="blue-theme"]
  .dataTables_wrapper
  .dataTables_paginate
  .page-item.active
  .page-link {
  background: #ff6a00 !important;
  background-color: #ff6a00 !important;
  background-image: linear-gradient(
    135deg,
    #ff6a00 0%,
    #ff8c00 100%
  ) !important;
  color: #ffffff !important;
}

/* DataTables info text */
.dataTables_wrapper .dataTables_info {
  color: inherit;
  padding-top: 10px;
}

/* DataTables length (show entries) select */
.dataTables_wrapper .dataTables_length select {
  border: 1px solid rgba(255, 106, 0, 0.3);
  border-radius: 6px;
  padding: 6px 30px 6px 10px;
  color: inherit;
  background-color: transparent;
  min-width: 70px;
  width: auto;
}

.dataTables_wrapper .dataTables_length select:focus {
  border-color: #ff6a00;
  outline: none;
  box-shadow: 0 0 0 3px rgba(255, 106, 0, 0.1);
}

/* DataTables search input */
.dataTables_wrapper .dataTables_filter input {
  border: 1px solid rgba(255, 106, 0, 0.3);
  border-radius: 6px;
  padding: 6px 12px;
  color: inherit;
  background-color: transparent;
}

.dataTables_wrapper .dataTables_filter input:focus {
  border-color: #ff6a00;
  outline: none;
  box-shadow: 0 0 0 3px rgba(255, 106, 0, 0.1);
}

/* ========================================
   DataTable Responsive Control Column Styling
   ======================================== */

/* Style the plus/minus button */
table.dataTable.dtr-inline.collapsed > tbody > tr > td.dtr-control:before,
table.dataTable.dtr-inline.collapsed > tbody > tr > th.dtr-control:before {
  top: 50% !important;
  left: 50% !important;
  transform: translate(-50%, -50%) !important;
  height: 1.5em !important;
  width: 1.5em !important;
  margin: 0 !important;
  display: block;
  position: absolute;
  color: white;
  border: 0.15em solid #ff6a00 !important;
  border-radius: 1em;
  box-shadow: 0 0 0.2em #444;
  box-sizing: content-box;
  text-align: center;
  text-indent: 0 !important;
  font-family: "Courier New", Courier, monospace;
  line-height: 1.5em !important;
  content: "+";
  background-color: #ff6a00 !important;
  font-size: 14px !important;
}

/* Style the minus button when row is expanded */
table.dataTable.dtr-inline.collapsed
  > tbody
  > tr.parent
  > td.dtr-control:before,
table.dataTable.dtr-inline.collapsed
  > tbody
  > tr.parent
  > th.dtr-control:before {
  content: "-";
  background-color: #d9534f !important;
  border-color: #d9534f !important;
}

/* Control column cell styling */
table.dataTable > tbody > tr > td.dtr-control,
table.dataTable > thead > tr > th.dtr-control {
  position: relative;
  cursor: pointer;
  width: 30px !important;
  min-width: 30px !important;
  max-width: 30px !important;
  padding: 0.5em !important;
}

/* Hide control column when table is not collapsed (desktop view) */
table.dataTable:not(.collapsed) > tbody > tr > td.dtr-control,
table.dataTable:not(.collapsed) > thead > tr > th.dtr-control {
  display: none;
}

/* ========================================
   DataTable Mobile Responsive Fixes
   ======================================== */

/* Mobile responsive layout for DataTable controls */
@media screen and (max-width: 767px) {
  /* Stack length and filter controls vertically on mobile */
  .dataTables_wrapper .dataTables_length,
  .dataTables_wrapper .dataTables_filter {
    float: none !important;
    text-align: left !important;
    margin-bottom: 10px;
    width: 100%;
  }

  /* Make labels and inputs stack better */
  .dataTables_wrapper .dataTables_length label,
  .dataTables_wrapper .dataTables_filter label {
    display: flex;
    flex-direction: column;
    gap: 8px;
    width: 100%;
    font-size: 14px;
  }

  /* Full width inputs on mobile */
  .dataTables_wrapper .dataTables_filter input {
    width: 100% !important;
    margin-left: 0 !important;
    margin-top: 5px;
  }

  /* Adjust select dropdown on mobile */
  .dataTables_wrapper .dataTables_length select {
    width: 100% !important;
    max-width: 100%;
    margin-left: 0 !important;
    margin-top: 5px;
  }

  /* Better spacing for info and pagination on mobile */
  .dataTables_wrapper .dataTables_info {
    float: none !important;
    text-align: center !important;
    padding: 10px 0;
    font-size: 13px;
  }

  .dataTables_wrapper .dataTables_paginate {
    float: none !important;
    text-align: center !important;
    margin-top: 10px;
  }

  /* Improve column width distribution on mobile */
  table.dataTable.collapsed > tbody > tr > td:first-child,
  table.dataTable.collapsed > thead > tr > th:first-child {
    min-width: 40px !important;
    max-width: 40px !important;
  }

  /* Ensure visible columns don't take excessive width */
  table.dataTable.collapsed > tbody > tr > td:nth-child(2),
  table.dataTable.collapsed > thead > tr > th:nth-child(2) {
    width: auto !important;
    min-width: 80px;
    max-width: none;
  }

  /* Better table layout on mobile */
  .dataTables_wrapper {
    overflow-x: visible !important;
  }

  table.dataTable {
    width: 100% !important;
  }

  /* Reduce table header font size on mobile to show more columns */
  #table_id thead th,
  #table_id1 thead th,
  table.dataTable thead th {
    font-size: 12px !important;
    padding: 0.5rem 0.4rem !important;
    white-space: nowrap;
    line-height: 1.3 !important;
  }

  /* Reduce table cell font size and padding on mobile */
  #table_id tbody td,
  #table_id1 tbody td,
  table.dataTable tbody td {
    font-size: 12px !important;
    padding: 0.5rem 0.4rem !important;
    white-space: nowrap;
    line-height: 1.3 !important;
  }

  /* Optimize column widths for mobile - ensure 2-3 columns are visible */
  #table_id.collapsed thead th:nth-child(1),
  #table_id1.collapsed thead th:nth-child(1),
  #table_id.collapsed tbody td:nth-child(1),
  #table_id1.collapsed tbody td:nth-child(1) {
    width: 40px !important;
    min-width: 40px !important;
    max-width: 40px !important;
    padding: 0.4rem 0.3rem !important;
  }

  #table_id.collapsed thead th:nth-child(2),
  #table_id1.collapsed thead th:nth-child(2),
  #table_id.collapsed tbody td:nth-child(2),
  #table_id1.collapsed tbody td:nth-child(2) {
    width: auto !important;
    min-width: 70px !important;
    max-width: 120px !important;
    padding: 0.5rem 0.4rem !important;
  }

  #table_id.collapsed thead th:nth-child(3),
  #table_id1.collapsed thead th:nth-child(3),
  #table_id.collapsed tbody td:nth-child(3),
  #table_id1.collapsed tbody td:nth-child(3) {
    width: auto !important;
    min-width: 100px !important;
    max-width: 150px !important;
    padding: 0.5rem 0.4rem !important;
  }

  /* Ensure table doesn't overflow on mobile */
  #table_id,
  #table_id1 {
    font-size: 0.85rem;
  }

  /* Override the large header font size from dashboard.php on mobile */
  .comments-form-card th,
  .comments-form-card #table_id thead th,
  .comments-form-card #table_id1 thead th,
  .partner-commissions-card th,
  #table_id th,
  #table_id1 th {
    font-size: 12px !important;
  }

  /* Ensure table container doesn't cause overflow */
  .table-responsive {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  /* Make sure table fits within viewport */
  #table_id,
  #table_id1 {
    table-layout: auto;
    width: 100% !important;
    font-size: 0.85rem;
  }

  /* Ensure proper positioning of expand button on mobile */
  #table_id.dtr-inline.collapsed > tbody > tr > td:first-child:before,
  #table_id1.dtr-inline.collapsed > tbody > tr > td:first-child:before,
  #table_id.dtr-inline.collapsed > tbody > tr > th:first-child:before,
  #table_id1.dtr-inline.collapsed > tbody > tr > th:first-child:before {
    top: 50% !important;
  }

  /* fb_followers table: keep 2-3 columns visible on mobile */
  #fb_followers_table thead th,
  #fb_followers_table tbody td {
    font-size: 12px !important;
    padding: 0.5rem 0.4rem !important;
    white-space: nowrap;
    line-height: 1.3 !important;
  }
  #fb_followers_table.dtr-inline.collapsed > tbody > tr > td:first-child:before,
  #fb_followers_table.dtr-inline.collapsed
    > tbody
    > tr
    > th:first-child:before {
    top: 50% !important;
  }
  #fb_followers_table.collapsed thead th:nth-child(1),
  #fb_followers_table.collapsed tbody td:nth-child(1) {
    width: 40px !important;
    min-width: 40px !important;
    max-width: 40px !important;
    padding: 0.4rem 0.3rem !important;
  }
  #fb_followers_table.collapsed thead th:nth-child(2),
  #fb_followers_table.collapsed tbody td:nth-child(2) {
    min-width: 70px !important;
    max-width: 120px !important;
  }
  #fb_followers_table.collapsed thead th:nth-child(3),
  #fb_followers_table.collapsed tbody td:nth-child(3) {
    min-width: 100px !important;
    max-width: 160px !important;
  }
}

/* Additional mobile optimizations for smaller screens */
@media screen and (max-width: 480px) {
  /* Even smaller font sizes for very small screens */
  #table_id thead th,
  #table_id1 thead th,
  #table_id tbody td,
  #table_id1 tbody td {
    font-size: 11px !important;
    padding: 0.4rem 0.3rem !important;
  }

  /* Further optimize column widths */
  #table_id.collapsed thead th:nth-child(2),
  #table_id1.collapsed thead th:nth-child(2),
  #table_id.collapsed tbody td:nth-child(2),
  #table_id1.collapsed tbody td:nth-child(2) {
    min-width: 60px !important;
    max-width: 100px !important;
  }

  #table_id.collapsed thead th:nth-child(3),
  #table_id1.collapsed thead th:nth-child(3),
  #table_id.collapsed tbody td:nth-child(3),
  #table_id1.collapsed tbody td:nth-child(3) {
    min-width: 80px !important;
    max-width: 130px !important;
  }
}

/* Search Results Styling */
.search-list-item {
  padding: 10px;
  border-radius: 8px;
  transition: background-color 0.2s ease;
}

.search-list-item:hover {
  background-color: rgba(255, 106, 0, 0.1);
}

.search-list-item .list-icon {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #ff6a00 0%, #ff8c00 100%);
  border-radius: 8px;
  color: white;
  font-size: 18px;
}

.search-list-title {
  font-size: 14px;
  font-weight: 500;
  color: var(--bs-body-color);
}

#search-results-container {
  max-height: 400px;
  overflow-y: auto;
}

/* Quick Search Grid Layout - Display in rows (2 columns) */
.quick-search-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

/* For search results, display in column */
.search-results-column {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

/* Mobile responsive - single column on small screens */
@media (max-width: 576px) {
  .quick-search-grid {
    grid-template-columns: 1fr;
  }
}

/* Contact Links in Search Footer */
.contact-link {
  text-decoration: none;
  transition: transform 0.2s ease;
  display: inline-block;
}

.contact-link:hover {
  transform: scale(1.1);
}

.contact-icon {
  width: 45px;
  height: 45px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  font-size: 22px;
  color: white;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* WhatsApp - Green gradient */
.contact-link:nth-child(1) .contact-icon {
  background: linear-gradient(135deg, #25d366 0%, #128c7e 100%);
}

.contact-link:nth-child(1):hover .contact-icon {
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
}

/* Telegram - Blue gradient */
.contact-link:nth-child(2) .contact-icon {
  background: linear-gradient(135deg, #0088cc 0%, #005f8c 100%);
}

.contact-link:nth-child(2):hover .contact-icon {
  box-shadow: 0 6px 20px rgba(0, 136, 204, 0.4);
}

/* Telegram Group - Purple/Blue gradient */
.contact-icon.telegram-group {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.contact-link:nth-child(3):hover .contact-icon {
  box-shadow: 0 6px 20px rgba(102, 126, 234, 0.4);
}

/* Fix for double scroll bar */
.creators-list-card .dataTables_scrollBody::-webkit-scrollbar {
  height: 10px;
}

.creators-list-card .dataTables_scrollBody::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 5px;
}

.creators-list-card .dataTables_scrollBody::-webkit-scrollbar-thumb {
  background: rgba(255, 179, 71, 0.7);
  border-radius: 5px;
}

.creators-list-card .dataTables_scrollBody::-webkit-scrollbar-thumb:hover {
  background: rgba(255, 179, 71, 0.9);
}

/* Fix for alert styling in dark/blue themes */
[data-bs-theme="dark"] .alert-info,
[data-bs-theme="blue-theme"] .alert-info {
  background-color: rgba(255, 255, 255, 0.05);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

[data-bs-theme="dark"] .alert-info h5,
[data-bs-theme="blue-theme"] .alert-info h5 {
  color: #fff;
}

/* Discount Modal Styling */
#discountModal .modal-content {
  border: 2px solid transparent;
  background-clip: padding-box, border-box;
  background-origin: padding-box, border-box;
  /* Default light theme background */
  background-image: linear-gradient(#fff, #fff),
    linear-gradient(135deg, #ff6a00 0%, #ff8c00 100%);
}

[data-bs-theme="dark"] #discountModal .modal-content,
[data-bs-theme="blue-theme"] #discountModal .modal-content {
  /* Dark theme background */
  background-image: linear-gradient(#111, #111),
    linear-gradient(135deg, #ff6a00 0%, #ff8c00 100%);
  color: #fff;
}

[data-bs-theme="light"] #discountModal .modal-content {
  background-image: linear-gradient(#fff, #fff),
    linear-gradient(135deg, #ff6a00 0%, #ff8c00 100%);
  color: #000;
}

#discountModal .modal-header,
#discountModal .modal-footer {
  border-color: #ff6a00; /* Fallback/Inner divider color */
}

#discountModal .btn-orange {
  background: linear-gradient(135deg, #ff6a00 0%, #ff8c00 100%);
  color: white;
  border: none;
}

#discountModal .btn-orange:hover {
  background: linear-gradient(
    135deg,
    #e65c00 0%,
    #e67e00 100%
  ); /* Slightly darker gradient */
  color: white;
}

#discountModal .form-check-input:checked {
  background-color: #ff6a00;
  border-color: #ff6a00;
}

#discountModal .form-check-input {
  border-color: #ff6a00;
}

#discountModal .form-check-label {
  opacity: 0.8;
}

#discountModal .highlight {
  background: linear-gradient(135deg, #ff6a00 0%, #ff8c00 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  font-weight: bold;
}

/* Light Mode Logo Visibility Fix */
[data-bs-theme="light"] .sidebar-header {
  background: linear-gradient(135deg, #ff6a00 0%, #ff8c00 100%);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

[data-bs-theme="light"] .sidebar-header .logo-icon {
  background: transparent;
}

#discountModal .modal-body ul {
  padding-left: 1.2rem;
}

#discountModal .modal-body ul li::marker {
  color: #ff6a00;
}

/* TinyMCE Overrides */
.tox-tinymce {
  border-radius: 12px !important;
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
  overflow: hidden;
}

[data-bs-theme="light"] .tox-tinymce {
  border-color: #ff6a00 !important;
}
[data-bs-theme="blue-theme"] .tox-tinymce {
  border-color: #ff6a00 !important;
}
[data-bs-theme="dark"] .tox-tinymce {
  border-color: #ff6a00 !important;
}


/* Toolbar */
.tox-editor-header {
  background: rgba(0, 0, 0, 0.2) !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05) !important;
  z-index: 0 !important;
}

[data-bs-theme="light"] .tox-editor-header {
  background: rgba(255, 255, 255, 0.85) !important;
  border-bottom: 1px solid #ff6a00 !important;
}

/* Toolbar */
.tox .tox-toolbar,
.tox .tox-toolbar__primary,
.tox .tox-toolbar__overflow {
  background: transparent !important;
  border-bottom: none !important;
}

[data-bs-theme="light"] .tox .tox-toolbar,
[data-bs-theme="light"] .tox .tox-toolbar__primary,
[data-bs-theme="light"] .tox .tox-toolbar__overflow {
  /* background: #f8f9fa !important; */
  border-bottom: none !important;
}

/* Editor Area */
.tox .tox-edit-area__iframe {
  background: transparent !important;
}

/* TinyMCE Editor Body Background - Theme Aware */
/* TinyMCE Editor Body Background - Theme Aware */
.tox-tinymce iframe,
.mce-content-body {
  background-color: var(--bs-body-bg) !important;
  color: white !important;
}

[data-bs-theme=light] .tox-tinymce iframe,
[data-bs-theme=light] .mce-content-body,
.mce-content-body[data-bs-theme=light] {
  background-color: var(--bs-body-bg) !important;
  color: #0f172a !important;
}

[data-bs-theme=blue-theme] .tox-tinymce iframe,
[data-bs-theme=blue-theme] .mce-content-body,
.mce-content-body[data-bs-theme=blue-theme] {
  background-color: white !important;
  color: white !important;
}

[data-bs-theme=dark] .tox-tinymce iframe,
[data-bs-theme=dark] .mce-content-body,
[data-bs-theme=dark] .tox-editor-header,
[data-bs-theme=dark] .tox-statusbar,
.mce-content-body[data-bs-theme=dark] {
  background-color: white !important;
  color: white !important;
}

/* Icons & Text */
.tox .tox-tbtn {
  color: #cbd5e1 !important;
}

.tox .tox-tbtn:hover {
  background: var(--bs-body-bg) !important;
  color: #fff !important;
}

[data-bs-theme="light"] .tox .tox-tbtn {
  color: #64748b !important;
}

[data-bs-theme="light"] .tox .tox-tbtn:hover {
  background: #e2e8f0 !important;
  color: #0f172a !important;
}

/* Status Bar */
.tox .tox-statusbar {
  background: var(--bs-body-bg) !important;
  border-top: 1px solid rgba(255, 255, 255, 0.05) !important;
  color: #94a3b8 !important;
}

[data-bs-theme="light"] .tox .tox-statusbar {
  background: var(--bs-body-bg) !important;
  border-top: 1px solid #e2e8f0 !important;
  color: #64748b !important;
}

/* Fix for Floating Label Overlap */
.form-floating .tox-tinymce {
  margin-top: 0;
}

/* Position label above the editor on the border */
.form-floating:has(.tox-tinymce) label {
  transform: scale(0.85) translateY(-2.8rem) translateX(0.15rem);
  background: #1e293b;
  /* Match dark theme bg */
  padding: 0 5px;
  height: auto;
  width: auto;
  opacity: 1;
  z-index: 5;
  color: #94a3b8 !important;
  border-radius: 4px;
}

[data-bs-theme="light"] .form-floating:has(.tox-tinymce) label {
  background: #ffffff;
  color: #64748b !important;
}

[data-bs-theme="blue-theme"] .form-floating:has(.tox-tinymce) label {
  background: #151c2f;
  /* Match blue theme bg */
  color: #cbd5e1 !important;
}
