/* ==========================================================================
   UNO.TEAM Original Webflow Color Scheme & Enhancements
   Safe Thinking Space • 1000 Thoughts
   ========================================================================== */

:root {
  --black: #171717;
  --black-70: #171717b3;
  --black-50: #17171780;
  --red: #f7798e;
  --header-button-20: #69b6f533;
  --purple-12: #9452eb1f;
  --light-purple-35: #dbc0ff59;
  --purple-hover: #9452eb;
  --light-orange-bg: #fff2ee;
  --ligh-blue-bg: #f7f2ff;
  --pink-15-bg: #f7d5db;
  --light-pink: #fccef0;
  --blue-20-bg: #c5e6f7;
  --purple-50: #9452eb80;
  --blue-divider: #e9e1f5;
  --purple-25: #9452eb40;
}

/* Ensure smooth scrolling and font rendering */
html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
}

body {
  margin: 0;
  background-color: #ffffff;
  color: var(--black);
  font-family: Poppins, Arial, sans-serif;
}

/* Custom horizontal scrollbar for filter chips */
.list-filter {
  scrollbar-width: thin;
  scrollbar-color: var(--purple-hover) transparent;
}
.list-filter::-webkit-scrollbar {
  height: 4px;
}
.list-filter::-webkit-scrollbar-track {
  background: transparent;
}
.list-filter::-webkit-scrollbar-thumb {
  background: var(--purple-hover);
  border-radius: 20px;
}
.list-filter::-webkit-scrollbar-thumb:hover {
  background: #7f3ed4;
}

/* Checkbox & Chip Active States */
.w-checkbox {
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease;
  user-select: none;
}
.w-checkbox.active,
.w-checkbox:has(input[type="checkbox"]:checked) {
  background-color: var(--purple-hover) !important;
  color: #ffffff !important;
}
.w-checkbox.active .checkbox-label,
.w-checkbox:has(input[type="checkbox"]:checked) .checkbox-label {
  color: #ffffff !important;
}

/* Card hover and random selection glow */
.card-link-overlay.random-active,
.card--ms.thought.random-active {
  border: 2px solid var(--purple-hover) !important;
  box-shadow: 0 0 25px rgba(148, 82, 235, 0.4) !important;
}

/* Dropdown Accordion */
.dropdown-thoughts {
  width: 100%;
}
.dropdown-thoughts-click-area {
  cursor: pointer;
  outline: 1px solid transparent;
  outline-offset: 0px;
  transition: outline-color 0.2s ease, border-color 0.2s ease;
}
.dropdown-thoughts-click-area:hover,
.dropdown-thoughts.open .dropdown-thoughts-click-area {
  outline-color: var(--purple-hover);
  border-color: var(--purple-hover);
}
.dropdown-content {
  display: none;
}
.dropdown-thoughts.open .dropdown-content {
  display: block;
}
.chevron-arrow {
  transition: transform 0.25s ease;
}
.dropdown-thoughts.open .chevron-arrow {
  transform: rotate(90deg);
}

/* Search Box matching the original style */
.search-wrapper-original {
  margin: 1.5rem 0 1.25rem;
  position: relative;
  max-width: 740px;
}
.search-input-original {
  width: 100%;
  padding: 14px 20px 14px 48px;
  background-color: #ffffff;
  border: 2px solid var(--purple-12);
  border-radius: 16px;
  font-family: Poppins, Arial, sans-serif;
  font-size: 16px;
  color: var(--black);
  outline: none;
  box-sizing: border-box;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.search-input-original:focus {
  border-color: var(--purple-hover);
  box-shadow: 0 0 0 3px var(--purple-25);
}
.search-icon-original {
  position: absolute;
  left: 18px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--black-50);
  font-size: 18px;
  pointer-events: none;
}
.search-clear-original {
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: var(--black-50);
  cursor: pointer;
  font-size: 18px;
  display: none;
}
.search-clear-original.visible {
  display: block;
}

/* Reset filter link */
.reset-filter-original {
  color: var(--purple-hover);
  font-size: 14px;
  font-weight: 600;
  text-decoration: underline;
  background: none;
  border: none;
  cursor: pointer;
  margin-left: 1rem;
  display: none;
}
.reset-filter-original.visible {
  display: inline;
}

/* Toast Notification in original purple */
.toast-original {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  background-color: var(--purple-hover);
  color: #ffffff;
  padding: 12px 22px;
  border-radius: 100px;
  font-family: Poppins, Arial, sans-serif;
  font-size: 14px;
  font-weight: 600;
  box-shadow: 0 10px 25px rgba(148, 82, 235, 0.4);
  transform: translateY(100px);
  opacity: 0;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 9999;
}
.toast-original.show {
  transform: translateY(0);
  opacity: 1;
}

/* Language switch active link */
.locale-link.w--current {
  color: var(--purple-hover) !important;
  font-weight: 700;
}

/* ==========================================================================
   Hero Action Buttons & Related Thoughts Component
   ========================================================================== */
.hero-action-buttons {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 28px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

@media screen and (max-width: 767px) {
  .hero-action-buttons {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
    width: 100%;
  }
  .hero-action-buttons .button_purple,
  .hero-action-buttons .button_light_purple {
    width: 100% !important;
    justify-content: center !important;
    text-align: center;
    box-sizing: border-box;
  }
}

.button_purple:hover {
  background-color: #7e3dd6;
  transform: translateY(-1px);
}
.button_light_purple:hover {
  background-color: #dbc0ff80;
  transform: translateY(-1px);
}

/* Related Thoughts Section */
.section-related-thoughts {
  width: 100%;
  position: relative;
  border-top: 1px solid var(--blue-divider);
  background: radial-gradient(circle at 50% 0%, rgba(148, 82, 235, 0.05) 0%, transparent 70%);
}
