section {
  scroll-margin-top: 92px;
}

html {
  scroll-behavior: smooth;
}

:root {
  --pro-app-primary: #2096f3;
  --pro-app-primary-hover: #0f78d4;
}

.btn-pro {
  background-color: var(--pro-app-primary);
  color: #fff;
  border: none;
}

.btn-pro:hover {
  background-color: var(--pro-app-primary-hover);
  color: #fff;
}

/* Chrome, Edge, Safari */
.scroll-thin::-webkit-scrollbar {
  width: 2px;
  /* thinner scrollbar */
  height: 2px;
  /* horizontal scrollbar */
}

.scroll-thin::-webkit-scrollbar-thumb {
  background-color: rgba(108, 117, 125, 0.5);
  /* slightly darker, semi-transparent */
  border-radius: 4px;
}

.scroll-thin::-webkit-scrollbar-track {
  background: transparent;
}

/* Firefox */
.scroll-thin {
  scrollbar-width: thin;
  /* makes scrollbar thinner */
  scrollbar-color: rgba(108, 117, 125, 0.5) transparent;
  /* thumb + track */
}


a.custom-hover {
  font-weight: 500;
  color: inherit;
  text-decoration: none;
  transition: font-weight 0.2s ease;
}

a.custom-hover:hover {
  font-weight: 500;
}


.short-text {
  max-height: 120px;
  /* Show only part of the text */
  overflow: hidden;
}

.expanded {
  max-height: none;
}


.rupee {
  font-family: Arial, sans-serif;
}

.choices__inner {
  background-color: transparent !important;
}

:root {
  --comment-border-color: #faeeef;
  /* muted gray for light theme */
  --comment-border-hover-color: #000000;
  /* hover/focus dark */
}

[data-bs-theme="dark"] {
  --comment-border-color: #495057;
  /* muted gray for dark theme */
  --comment-border-hover-color: #ffffff;
  /* hover/focus light */
}

.comment-input {
  border: 1px solid var(--comment-border-color) !important;
}

.comment-input:hover,
.comment-input:focus {
  border: 1px solid var(--comment-border-hover-color) !important;
  outline: none;
}


:root {
  --input-border-color: #6c757d;
  /* normal light theme */
  --input-border-hover-color: #000000;
  /* hover light theme */
}

[data-bs-theme="dark"] {
  --input-border-color: #adb5bd;
  /* normal dark theme */
  --input-border-hover-color: #ffffff;
  /* hover dark theme */
}

.form-control.bg-transparent:hover,
.form-control.bg-transparent:focus,
.form-select.bg-transparent:hover,
.form-select.bg-transparent:focus {
  border-color: var(--input-border-hover-color);
  outline: none;
}


/* Default font-size (mobile) */
.username-desktop {
  font-size: 16px;
}

/* Desktop font-size */
@media (min-width: 992px) {

  /* lg breakpoint in Bootstrap 5 */
  .username-desktop {
    font-size: 20px;
  }
}


.username {
  font-weight: 900 !important;
  color: #000;
}


@font-face {
  font-family: Lato2;
  font-style: normal;
  /* font-weight: 300 800; */
  src: url(/theme/fonts/lato-regular.woff2) format("woff2");
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD
}

.font-Lato2 {
  font-family: "Lato2";
}


.grecaptcha-badge {
  display: none !important;
}



@font-face {
  font-family: "Josefin2";
  font-style: normal;
  /* font-weight: 300 800; */
  src: url(/theme/fonts/inter-variable-latin.woff2) format("woff2");
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

.font-Josefin2 {
  font-family: "Josefin2";
  font-weight: 600;
}


.otp-box {
  width: 4rem;
  height: 4rem;
  font-size: 1.2rem;
}




/* Default */
.interest-option .icon-circle {
  background-color: transparent;
}

.interest-option .interest-name {
  color: inherit;
}

/* Active state */
.interest-option.active .icon-circle {
  background-color: #f2cdd4;
  border-color: #ff1744;
}

.interest-option.active i {
  color: #ff1744;
}

.interest-option.active .interest-name {
  color: #ff1744;
}

.bg-primary-subtle {

  background-color: #f2cdd4 !important;
}



/* Make bullets appear as short lines */
.swiper-pagination-bullet {
  width: 24px;
  /* line length */
  height: 6px;
  /* line thickness */
  border-radius: 4px;
  /* rounded line */
  background: #fff;
  /* default color */
  opacity: 0.5;
}

.swiper-pagination-bullet-active {
  background: #e91e47;
  /* active line color */
  opacity: 1;
}

/* Remove Bootstrap's default background error icon */
.form-control.is-invalid,
.was-validated .form-control:invalid {
  background-image: none !important;
  padding-right: .75rem;
  /* reset padding */
}



/* Make submenu appear on hover */
.dropdown-submenu {
  position: relative;
}

.dropdown-submenu .submenu-right {
  top: 0;
  left: 100%; 
  margin-left: 0.1rem;
  display: none;
}

.dropdown-submenu:hover .submenu-right {
  display: block;
}

/* Fix for dropdown closing issue */
.dropdown-menu > li:hover > .submenu-right {
  display: block;
}

.fadeout[readonly] {
    background-color: #f8f9fa; /* light gray */
    color: #6c757d; /* faded text */
    transition: all 0.5s ease;
    opacity: 0.7; /* slightly faded */
}
.fadeout[readonly]:focus {
    outline: none;
    box-shadow: none;
}
.color-purple {
    color: #8439bd !important;
}


/* ================================
   CKEditor – Full Dark Mode Support
   ================================ */

/* Editor editable area */
html[data-bs-theme="dark"] .ck.ck-editor__main > .ck-editor__editable {
    background-color: #111827;
    color: #e5e7eb;
    border-color: #374151;
}

/* Placeholder text */
html[data-bs-theme="dark"] .ck.ck-editor__editable.ck-placeholder::before {
    color: #9ca3af;
}

/* Toolbar */
html[data-bs-theme="dark"] .ck.ck-toolbar {
    background-color: #111827;
    border-color: #374151;
}

/* Toolbar buttons & icons */
html[data-bs-theme="dark"] .ck.ck-toolbar .ck-button,
html[data-bs-theme="dark"] .ck.ck-toolbar .ck-button svg {
    color: #e5e7eb;
    fill: #e5e7eb;
}

/* Toolbar hover & active */
html[data-bs-theme="dark"] .ck.ck-toolbar .ck-button:hover,
html[data-bs-theme="dark"] .ck.ck-toolbar .ck-button.ck-on {
    background-color: #1f2937;
}

/* Toolbar dropdown button */
html[data-bs-theme="dark"] .ck.ck-toolbar .ck-dropdown__button {
    background-color: transparent;
}

/* Dropdown panel (Heading / Font / etc) */
html[data-bs-theme="dark"] .ck.ck-dropdown__panel {
    background-color: #111827;
    border: 1px solid #374151;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.6);
}

/* Dropdown list */
html[data-bs-theme="dark"] .ck.ck-list {
    background-color: #111827;
}

/* Dropdown list items */
html[data-bs-theme="dark"] .ck.ck-list__item .ck-button {
    color: #e5e7eb;
    background-color: transparent;
}

/* Dropdown hover & active */
html[data-bs-theme="dark"] .ck.ck-list__item .ck-button:hover,
html[data-bs-theme="dark"] .ck.ck-list__item .ck-button.ck-on {
    background-color: #1f2937;
}

/* Disabled items (e.g. Heading 2 / 3 if disabled) */
html[data-bs-theme="dark"] .ck.ck-list__item .ck-button.ck-disabled {
    color: #6b7280;
}

/* Separators */
html[data-bs-theme="dark"] .ck.ck-toolbar__separator {
    background-color: #374151;
}

/* Blockquote */
html[data-bs-theme="dark"] .ck blockquote {
    border-left: 4px solid #4b5563;
    color: #d1d5db;
}

/* Code block */
html[data-bs-theme="dark"] .ck pre {
    background-color: #020617;
    color: #e5e7eb;
    border: 1px solid #374151;
}

/* Link popup */
html[data-bs-theme="dark"] .ck.ck-link-form {
    background-color: #111827;
    border-color: #374151;
}

/* Focus outline */
html[data-bs-theme="dark"] .ck.ck-editor__editable:focus {
    outline: none;
    box-shadow: 0 0 0 1px #2563eb;
}

.ck.ck-editor__editable {
    white-space: pre-wrap !important;
    word-break: break-word;
    line-height: 1.6;
}

/* event form loader */
.form-loader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.6);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
}


/* Stepper container */
.stepper {
  width: 100%;
  max-width: 720px;
  margin: 0 auto;
}

/* Step wrapper */
.step {
  flex-shrink: 0;
}

/* Step circle */
.step-circle {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid #ced4da;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: 14px;
  color: #6c757d;
  background: #fff;
}

/* Step label */
.step-label {
  font-size: 14px;
  font-weight: 600;
  color: #6c757d;
  white-space: nowrap;
}

/* Connector line */
.step-line {
  flex: 1;
  height: 1px;
  background-color: rgba(108, 117, 125, 0.4);
  min-width: 24px;
}

/* -------- Mobile Optimization -------- */
@media (max-width: 576px) {
  .stepper {
    gap: 10px;
  }

  .step-circle {
    width: 28px;
    height: 28px;
    font-size: 12px;
  }

  .step-label {
    font-size: 12px;
  }

  .step-line {
    min-width: 16px;
  }
}

@media (max-width: 360px) {
  .step-label {
    font-size: 10px;          /* smaller text */
    letter-spacing: -0.2px;  /* tighter */
  }

  .step-circle {
    width: 24px;
    height: 24px;
    font-size: 11px;
  }

  .step-line {
    margin: 0 2px;
  }
}




/* Small dropdown */
.dropdown-menu-sm {
  min-width: 120px;
  padding: 0.25rem 0;
  font-size: 0.85rem;
}

/* Small dropdown items */
.dropdown-menu-sm .dropdown-item {
  padding: 0.25rem 0.75rem;
}
