/* GIF Directory Feedback Theme
   Custom Fider theme for feedback.gif.directory
*/

/* ============================================================
   DESIGN TOKENS + FIDER LIGHT/DARK TOKEN REMAPPING
   ============================================================ */

:root,
html,
html[data-theme="light"],
html[data-theme="dark"],
body,
body[data-theme="light"],
body[data-theme="dark"] {
  --gd-bg: #080a10;
  --gd-bg-secondary: #0c0f17;
  --gd-surface: #10131d;
  --gd-surface-hover: #151925;
  --gd-surface-active: #191d2a;
  --gd-border: rgba(255, 255, 255, 0.08);
  --gd-border-hover: rgba(255, 255, 255, 0.14);
  --gd-text: #f5f5f7;
  --gd-text-secondary: #a1a6b3;
  --gd-text-muted: #6f7583;
  --gd-purple: #7c6df2;
  --gd-purple-hover: #8d7fff;
  --gd-purple-soft: rgba(124, 109, 242, 0.12);
  --gd-purple-border: rgba(124, 109, 242, 0.30);
  --gd-blue: #6d8cff;
  --gd-green: #4ade80;
  --gd-radius-sm: 8px;
  --gd-radius: 12px;
  --gd-radius-lg: 16px;

  --colors-gray-50: #0a0c12 !important;
  --colors-gray-100: #0d1018 !important;
  --colors-gray-200: #181c27 !important;
  --colors-gray-300: #242936 !important;
  --colors-gray-400: #464d5d !important;
  --colors-gray-500: #6f7686 !important;
  --colors-gray-600: #9299a8 !important;
  --colors-gray-700: #b0b5c1 !important;
  --colors-gray-800: #d5d8df !important;
  --colors-gray-900: #f5f5f7 !important;

  --colors-blue-50: #0d0d18 !important;
  --colors-blue-100: #17152b !important;
  --colors-blue-200: #242044 !important;
  --colors-blue-300: #40396f !important;
  --colors-blue-400: #6257b7 !important;
  --colors-blue-500: #7c6df2 !important;
  --colors-blue-600: #9184fa !important;
  --colors-blue-700: #a99fff !important;
  --colors-blue-800: #c6c0ff !important;
  --colors-blue-900: #e5e2ff !important;

  --colors-green-50: #07120d !important;
  --colors-green-100: #0b1c13 !important;
  --colors-green-200: #123120 !important;
  --colors-green-300: #1d5635 !important;
  --colors-green-400: #2f8a53 !important;
  --colors-green-500: #4ade80 !important;
  --colors-green-600: #6ee79a !important;
  --colors-green-700: #8ceeb0 !important;
  --colors-green-800: #b7f5cc !important;
  --colors-green-900: #dcfce7 !important;

  --colors-red-50: #16090c !important;
  --colors-red-100: #241015 !important;
  --colors-red-200: #3a1820 !important;
  --colors-red-300: #642735 !important;
  --colors-red-400: #a53d52 !important;
  --colors-red-500: #f05d78 !important;
  --colors-red-600: #fb7185 !important;
  --colors-red-700: #fb94a4 !important;
  --colors-red-800: #fec0ca !important;
  --colors-red-900: #ffe4e8 !important;

  --colors-yellow-50: #151106 !important;
  --colors-yellow-100: #211a08 !important;
  --colors-yellow-200: #392c0c !important;
  --colors-yellow-300: #604914 !important;
  --colors-yellow-400: #a77d1d !important;
  --colors-yellow-500: #eab83d !important;
  --colors-yellow-600: #f5ca60 !important;
  --colors-yellow-700: #f8d982 !important;
  --colors-yellow-800: #fbe7ad !important;
  --colors-yellow-900: #fef3c7 !important;

  color-scheme: dark !important;
}

/* ============================================================
   GLOBAL PAGE
   ============================================================ */

html,
body,
#root,
#root-modal,
#root-toastify {
  color-scheme: dark !important;
}

html,
body {
  background-color: #080a10 !important;
}

body {
  min-height: 100vh;
  color: var(--gd-text) !important;
  background:
    radial-gradient(900px 500px at 75% -100px, rgba(104, 82, 255, 0.10), transparent 65%),
    radial-gradient(700px 450px at 5% 20%, rgba(75, 92, 255, 0.055), transparent 70%),
    #080a10 !important;
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif !important;
  -webkit-font-smoothing: antialiased;
}

#root {
  min-height: 100vh;
}

/* Remove Fider page-level light backgrounds */
#p-roadmap,
#p-home {
  background-color: unset;
}

/* ============================================================
   HEADER
   ============================================================ */

#c-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(8, 10, 16, 0.82) !important;
  border-bottom: 1px solid var(--gd-border) !important;
  backdrop-filter: blur(20px) saturate(140%);
  -webkit-backdrop-filter: blur(20px) saturate(140%);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.18);
}

#c-header .c-menu {
  padding-top: 12px !important;
  padding-bottom: 12px !important;
}

.c-header__brand {
  text-decoration: none !important;
}

.c-header__brand img {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  box-shadow: 0 0 0 1px rgba(255,255,255,.06), 0 4px 12px rgba(0,0,0,.25);
}

.c-header__brand .text-header {
  color: var(--gd-text) !important;
  font-size: 15px !important;
  font-weight: 650 !important;
  letter-spacing: -0.02em;
}

.c-header__nav {
  gap: 6px !important;
}

.c-header__nav-link {
  padding: 7px 11px;
  border-radius: 8px;
  color: var(--gd-text-muted) !important;
  font-size: 13px;
  font-weight: 500;
  text-decoration: none !important;
  transition: color .15s ease, background .15s ease;
}

.c-header__nav-link:hover {
  color: var(--gd-text) !important;
  background: rgba(255,255,255,.045);
}

.c-header__nav-link--active {
  color: #fff !important;
  background: rgba(255,255,255,.065);
}

.c-header__actions {
  gap: 4px !important;
}

.c-themeswitcher,
.c-header__actions .c-dropdown__handle {
  width: 34px;
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 0 !important;
  border-radius: 8px;
  background: transparent !important;
  transition: background .15s ease, color .15s ease;
}

.c-themeswitcher:hover,
.c-header__actions .c-dropdown__handle:hover {
  background: rgba(255,255,255,.06) !important;
}

.c-header__actions svg {
  color: var(--gd-text-muted) !important;
}

.c-themeswitcher:hover svg,
.c-header__actions .c-dropdown__handle:hover svg {
  color: var(--gd-text) !important;
}

.c-menu-user .c-avatar {
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,.12);
  box-shadow: 0 0 0 2px #080a10;
}

/* Hide Fider theme switcher while retaining RSS button */
.c-header__actions > .c-themeswitcher:nth-of-type(2) {
  display: none !important;
}

/* ============================================================
   HOME
   ============================================================ */

#p-home {
  padding-top: 56px;
  padding-bottom: 80px;
}

.p-home__welcome-col {
  color: var(--gd-text-secondary);
}

.p-home__welcome-title {
  margin-bottom: 14px !important;
  color: var(--gd-text) !important;
  font-size: clamp(28px, 3vw, 40px) !important;
  line-height: 1.08;
  font-weight: 700 !important;
  letter-spacing: -0.045em;
}

.p-home__welcome-title span {
  color: inherit !important;
}

.p-home__welcome-title::before {
  content: "";
  display: block;
  width: 36px;
  height: 3px;
  margin-bottom: 20px;
  border-radius: 999px;
  background: linear-gradient(90deg, #7567ef, #9b75ff);
  box-shadow: 0 0 18px rgba(124,109,242,.35);
}

.p-home__welcome-body {
  max-width: 340px;
}

.p-home__welcome-body p {
  color: var(--gd-text-secondary) !important;
  font-size: 14px;
  line-height: 1.65;
}

.p-home__welcome-body .text-link {
  color: #a89dff !important;
  text-decoration: none !important;
}

.p-home__welcome-body .text-link:hover {
  color: #c0b8ff !important;
}

.c-powered {
  opacity: .4;
  transition: opacity .15s ease;
}

.c-powered:hover {
  opacity: .7;
}

.c-powered a {
  color: var(--gd-text-muted) !important;
  text-decoration: none !important;
}

/* Add suggestion */
.p-home__add-idea-btn {
  width: 100%;
  margin-bottom: 18px;
  padding: 17px 18px !important;
  color: var(--gd-text-secondary) !important;
  background: linear-gradient(180deg, rgba(20, 23, 35, .96), rgba(15, 18, 28, .96)) !important;
  border: 1px solid var(--gd-border) !important;
  border-radius: var(--gd-radius-lg) !important;
  box-shadow: 0 1px 0 rgba(255,255,255,.035) inset, 0 8px 30px rgba(0,0,0,.18);
  font-size: 14px;
  text-align: left;
  transition: border-color .18s ease, background .18s ease, transform .18s ease, box-shadow .18s ease;
}

.p-home__add-idea-btn:hover {
  color: var(--gd-text) !important;
  background: linear-gradient(180deg, #171b28, #121620) !important;
  border-color: var(--gd-purple-border) !important;
  box-shadow: 0 1px 0 rgba(255,255,255,.04) inset, 0 10px 35px rgba(0,0,0,.24), 0 0 0 3px rgba(124,109,242,.045);
  transform: translateY(-1px);
}

.p-home__add-idea-icon {
  width: 22px;
  height: 22px;
  color: #9387ff !important;
}

/* Posts */
.c-posts-container {
  overflow: hidden;
  background: rgba(14, 17, 26, .72);
  border: 1px solid var(--gd-border);
  border-radius: var(--gd-radius-lg);
  box-shadow: 0 1px 0 rgba(255,255,255,.025) inset, 0 16px 50px rgba(0,0,0,.18);
}

.c-posts-container__header {
  padding: 12px 14px !important;
  background: rgba(255,255,255,.018);
  border-bottom: 1px solid var(--gd-border) !important;
}

.c-post-filter-btn,
.c-post-sort-btn {
  min-height: 34px;
  padding: 7px 10px !important;
  color: var(--gd-text-secondary) !important;
  background: rgba(255,255,255,.035) !important;
  border: 1px solid var(--gd-border) !important;
  border-radius: 8px !important;
  font-size: 12px;
  transition: background .15s ease, border-color .15s ease, color .15s ease;
}

.c-post-filter-btn:hover,
.c-post-sort-btn:hover {
  color: var(--gd-text) !important;
  background: rgba(255,255,255,.06) !important;
  border-color: var(--gd-border-hover) !important;
}

.c-posts-container__search-col .c-form-field {
  margin: 0 !important;
}

#input-query {
  height: 36px;
  padding-left: 36px !important;
  color: var(--gd-text) !important;
  background: rgba(5, 7, 12, .55) !important;
  border: 1px solid var(--gd-border) !important;
  border-radius: 9px !important;
  box-shadow: none !important;
  font-size: 13px;
}

#input-query::placeholder {
  color: var(--gd-text-muted) !important;
}

#input-query:hover {
  border-color: var(--gd-border-hover) !important;
}

#input-query:focus {
  outline: none !important;
  border-color: rgba(124,109,242,.5) !important;
  box-shadow: 0 0 0 3px rgba(124,109,242,.09) !important;
}

.c-posts-container__search-col svg {
  color: var(--gd-text-muted) !important;
}

.c-posts-container__list {
  background: transparent !important;
}

.c-posts-container__post-link {
  display: block;
  color: inherit !important;
  text-decoration: none !important;
  border-bottom: 1px solid var(--gd-border);
  transition: background .16s ease;
}

.c-posts-container__post-link:last-child {
  border-bottom: 0;
}

.c-posts-container__post-link:hover {
  background: rgba(255,255,255,.027);
}

.c-posts-container__post {
  padding: 20px 22px !important;
  background: transparent !important;
  transition: transform .16s ease;
}

.c-posts-container__post-link:hover .c-posts-container__post {
  transform: translateX(2px);
}

.c-posts-container__post-title {
  margin: 0;
  color: var(--gd-text) !important;
  font-size: 15px !important;
  line-height: 1.35;
  font-weight: 620 !important;
  letter-spacing: -.015em;
  transition: color .15s ease;
}

.c-posts-container__post-link:hover .c-posts-container__post-title {
  color: #b6aeff !important;
}

.c-posts-container__postdescription {
  margin: 0 !important;
  color: var(--gd-text-secondary) !important;
  font-size: 13px !important;
  line-height: 1.55;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.c-posts-container__post-votes {
  display: inline-flex;
  align-items: center;
  color: var(--gd-text-muted);
}

.c-posts-container__post-votes .text-semibold.text-2xl {
  margin-right: 5px;
  color: var(--gd-text) !important;
  font-size: 15px !important;
  font-weight: 650 !important;
}

.c-posts-container__post-votes .text-gray-700 {
  color: var(--gd-text-muted) !important;
  font-size: 12px;
}

.c-posts-container__post-votes .text-blue-600 {
  margin-left: 10px !important;
  padding: 3px 7px;
  color: #aaa0ff !important;
  background: rgba(124,109,242,.09);
  border: 1px solid rgba(124,109,242,.16);
  border-radius: 999px;
  font-size: 10px !important;
}

.c-posts-container__post .bg-blue-100 {
  padding: 4px 9px !important;
  background: rgba(124,109,242,.09) !important;
  border: 1px solid rgba(124,109,242,.18) !important;
  border-radius: 999px !important;
  color: #aaa0ff !important;
}

.c-status-col--planned {
  color: #aaa0ff !important;
  font-size: 11px !important;
  font-weight: 550;
}

.c-status-col--started {
  color: #7da8ff !important;
  font-size: 11px !important;
  font-weight: 550;
}

.c-posts-container__post .bg-blue-100:has(.c-status-col--started) {
  background: rgba(76, 125, 255, .09) !important;
  border-color: rgba(90, 135, 255, .2) !important;
}

.c-status-col--completed {
  color: #6ee7a0 !important;
  font-size: 11px !important;
  font-weight: 550;
}

.c-posts-container__post div:has(> .c-status-col--completed) {
  background: rgba(74, 222, 128, .08) !important;
  border-color: rgba(74, 222, 128, .18) !important;
}

/* ============================================================
   GLOBAL FIDER FORM CONTROLS
   ============================================================ */

input,
textarea,
select {
  color: #f5f5f7 !important;
  background: #0c0f17 !important;
  border-color: rgba(255,255,255,.09) !important;
  caret-color: #9d93ff;
  color-scheme: dark !important;
}

input::placeholder,
textarea::placeholder {
  color: #626978 !important;
  opacity: 1 !important;
}

input:hover,
textarea:hover,
select:hover {
  border-color: rgba(255,255,255,.16) !important;
}

input:focus,
textarea:focus,
select:focus {
  outline: none !important;
  color: #fff !important;
  background: #0e111a !important;
  border-color: rgba(124,109,242,.58) !important;
  box-shadow: 0 0 0 3px rgba(124,109,242,.10) !important;
}

input:disabled,
textarea:disabled,
select:disabled {
  color: #555c6b !important;
  background: #0a0c12 !important;
  border-color: rgba(255,255,255,.05) !important;
  opacity: .7;
}

input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus,
textarea:-webkit-autofill,
select:-webkit-autofill {
  -webkit-text-fill-color: #f5f5f7 !important;
  -webkit-box-shadow: 0 0 0 1000px #0c0f17 inset !important;
  caret-color: #fff !important;
  transition: background-color 9999s ease-out 0s;
}

.c-input {
  color: #f5f5f7 !important;
  background: #0c0f17 !important;
  border: 1px solid rgba(255,255,255,.09) !important;
  border-radius: 9px !important;
  box-shadow: inset 0 1px 2px rgba(0,0,0,.16) !important;
}

.c-input:hover {
  border-color: rgba(255,255,255,.15) !important;
}

.c-input:focus {
  background: #0e111a !important;
  border-color: rgba(124,109,242,.58) !important;
  box-shadow: 0 0 0 3px rgba(124,109,242,.10) !important;
}

.c-form-field label,
.c-form-field__label,
label {
  color: #d5d8df !important;
}

.c-form-field small,
.c-form-field__help,
.c-form-field__hint {
  color: #6f7686 !important;
}

input[type="checkbox"],
input[type="radio"] {
  accent-color: #7c6df2;
  color-scheme: dark;
}

input[type="date"],
input[type="datetime-local"],
input[type="time"],
input[type="month"] {
  color-scheme: dark !important;
}

/* ============================================================
   BUTTONS
   ============================================================ */

button {
  color: #d5d8df;
}

.c-button {
  color: #d5d8df !important;
  background: #151925 !important;
  border: 1px solid rgba(255,255,255,.09) !important;
  border-radius: 9px !important;
  box-shadow: 0 1px 0 rgba(255,255,255,.025) inset !important;
}

.c-button:hover {
  color: #fff !important;
  background: #1a1f2d !important;
  border-color: rgba(255,255,255,.15) !important;
}

.c-button--primary,
button[type="submit"] {
  color: #fff !important;
  background: linear-gradient(135deg, #7062e9, #806ff5) !important;
  border: 1px solid rgba(167,155,255,.22) !important;
  box-shadow: 0 1px 0 rgba(255,255,255,.14) inset, 0 6px 18px rgba(90,72,210,.20) !important;
}

.c-button--primary:hover,
button[type="submit"]:hover {
  background: linear-gradient(135deg, #7d70f1, #8c7cff) !important;
  border-color: rgba(183,173,255,.32) !important;
}

.c-button--secondary {
  color: #c3c7d0 !important;
  background: rgba(255,255,255,.04) !important;
  border-color: rgba(255,255,255,.09) !important;
}

.c-button--secondary:hover {
  color: #fff !important;
  background: rgba(255,255,255,.07) !important;
}

/* ============================================================
   SHARE IDEA MODAL
   ============================================================ */

#root-modal {
  color: #f5f5f7 !important;
}

.c-modal-dimmer {
  background: rgba(3, 4, 8, 0.78) !important;
  backdrop-filter: blur(10px) saturate(110%);
  -webkit-backdrop-filter: blur(10px) saturate(110%);
}

.c-modal-scroller {
  color: #f5f5f7 !important;
}

.c-modal-window,
.c-modal-window.c-share-feedback {
  color: #f5f5f7 !important;
  background: linear-gradient(180deg, #11141e 0%, #0d1018 100%) !important;
  border: 1px solid rgba(255,255,255,.09) !important;
  border-radius: 18px !important;
  box-shadow: 0 30px 100px rgba(0,0,0,.65), 0 1px 0 rgba(255,255,255,.035) inset !important;
  overflow: hidden;
}

.c-modal-window--fullscreen {
  background: linear-gradient(180deg, #11141e, #0d1018) !important;
}

.c-modal-header {
  color: #f5f5f7 !important;
  background: transparent !important;
  border-color: rgba(255,255,255,.07) !important;
}

.c-modal-closeicon {
  box-sizing: border-box;
  padding: 6px;
  color: #747b8b !important;
  background: rgba(255,255,255,.035);
  border: 1px solid rgba(255,255,255,.055);
  border-radius: 8px;
  cursor: pointer;
  transition: color .15s ease, background .15s ease, border-color .15s ease, transform .15s ease;
}

.c-modal-closeicon:hover {
  color: #fff !important;
  background: rgba(255,255,255,.075);
  border-color: rgba(255,255,255,.10);
  transform: scale(1.03);
}

.c-modal-content,
.c-share-feedback__content {
  color: #f5f5f7 !important;
  background: transparent !important;
}

.c-share-feedback__content > h1,
.c-share-feedback .text-large {
  color: #f5f5f7 !important;
  font-size: 24px !important;
  line-height: 1.2;
  font-weight: 680 !important;
  letter-spacing: -0.035em;
}

.c-share-feedback__content > h1::before {
  content: "";
  display: block;
  width: 30px;
  height: 3px;
  margin-bottom: 14px;
  background: linear-gradient(90deg, #7567ef, #9b75ff);
  border-radius: 999px;
  box-shadow: 0 0 16px rgba(124,109,242,.35);
}

.c-share-feedback-form,
.c-share-feedback-form .c-form {
  color: #f5f5f7 !important;
  background: transparent !important;
}

/* Tiptap */
.fider-tiptap-editor {
  overflow: hidden;
  color: #f5f5f7 !important;
  background: #090c13 !important;
  border: 1px solid rgba(255,255,255,.09) !important;
  border-radius: 12px !important;
  box-shadow: inset 0 1px 2px rgba(0,0,0,.18);
  transition: border-color .16s ease, box-shadow .16s ease;
}

.fider-tiptap-editor:focus-within {
  border-color: rgba(124,109,242,.52) !important;
  box-shadow: 0 0 0 3px rgba(124,109,242,.085), inset 0 1px 2px rgba(0,0,0,.15) !important;
}

.c-editor-toolbar {
  padding: 7px 8px !important;
  color: #9299a8 !important;
  background: #11141e !important;
  border-bottom: 1px solid rgba(255,255,255,.075) !important;
}

.c-editor-button-group {
  gap: 2px;
}

.c-editor-button {
  width: 30px;
  height: 30px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 5px !important;
  color: #777e8e !important;
  background: transparent !important;
  border: 1px solid transparent !important;
  border-radius: 6px !important;
  box-shadow: none !important;
  transition: color .12s ease, background .12s ease, border-color .12s ease;
}

.c-editor-button svg {
  color: inherit !important;
}

.c-editor-button:hover {
  color: #f5f5f7 !important;
  background: rgba(255,255,255,.06) !important;
  border-color: rgba(255,255,255,.055) !important;
}

.c-editor-button.active,
.c-editor-button--active,
.c-editor-button[aria-pressed="true"] {
  color: #b2a9ff !important;
  background: rgba(124,109,242,.12) !important;
  border-color: rgba(124,109,242,.20) !important;
}

.c-editor-button:disabled {
  color: #424856 !important;
  opacity: .55;
}

.c-markdown-toggle {
  width: auto !important;
  padding: 5px 8px !important;
  color: #6f7686 !important;
  background: transparent !important;
  border: 0 !important;
  border-radius: 6px !important;
  font-size: 11px !important;
}

.c-markdown-toggle:hover {
  color: #aaa0ff !important;
  background: rgba(124,109,242,.075) !important;
}

.c-editor-button-text {
  color: inherit !important;
}

[data-testid="tiptap-editor"] {
  color: #f5f5f7 !important;
  background: #0b0e16 !important;
}

.tiptap.ProseMirror,
.ProseMirror[contenteditable="true"] {
  min-height: 180px;
  padding: 16px 17px !important;
  color: #d9dce3 !important;
  background: transparent !important;
  border: 0 !important;
  outline: 0 !important;
  box-shadow: none !important;
  caret-color: #a99fff;
  font-size: 14px;
  line-height: 1.65;
}

.ProseMirror p.is-empty:first-child::before,
.ProseMirror p.tiptap-is-empty:first-child::before,
.tiptap p[data-placeholder].is-empty::before {
  content: attr(data-placeholder);
  float: left;
  height: 0;
  color: #555d6e !important;
  pointer-events: none;
  font-style: normal;
}

.ProseMirror p { color: #c5c9d2 !important; }
.ProseMirror h2,
.ProseMirror h3 { color: #f5f5f7 !important; letter-spacing: -.025em; }
.ProseMirror strong { color: #f1f2f5 !important; }
.ProseMirror em { color: #d7dae1 !important; }
.ProseMirror a { color: #aaa0ff !important; }

.ProseMirror blockquote {
  margin-left: 0;
  padding-left: 14px;
  color: #9299a8 !important;
  border-left: 2px solid #6257b7 !important;
}

.ProseMirror code {
  padding: 2px 5px;
  color: #bdb6ff !important;
  background: rgba(124,109,242,.10) !important;
  border: 1px solid rgba(124,109,242,.13);
  border-radius: 5px;
}

.ProseMirror pre {
  padding: 13px;
  color: #d9dce3 !important;
  background: #06080e !important;
  border: 1px solid rgba(255,255,255,.075);
  border-radius: 9px;
}

/* Suggestion title */
.c-share-feedback .c-form-field {
  color: #d9dce3 !important;
}

.c-share-feedback .c-form-field label {
  display: block;
  margin-bottom: 7px;
  color: #c5c9d2 !important;
  font-size: 12px !important;
  font-weight: 550 !important;
}

.c-share-feedback #input-title,
.c-share-feedback .c-input {
  width: 100%;
  min-height: 42px;
  padding: 10px 12px !important;
  color: #f5f5f7 !important;
  background: #090c13 !important;
  border: 1px solid rgba(255,255,255,.09) !important;
  border-radius: 9px !important;
  box-shadow: inset 0 1px 2px rgba(0,0,0,.15) !important;
  caret-color: #aaa0ff;
}

.c-share-feedback #input-title::placeholder,
.c-share-feedback .c-input::placeholder {
  color: #555d6e !important;
  opacity: 1 !important;
}

.c-share-feedback #input-title:focus,
.c-share-feedback .c-input:focus {
  outline: none !important;
  background: #0c0f17 !important;
  border-color: rgba(124,109,242,.55) !important;
  box-shadow: 0 0 0 3px rgba(124,109,242,.09) !important;
}

.similar-posts-container {
  color: #a1a6b3 !important;
  background: transparent !important;
}

.similar-posts-container .text-gray-700 {
  color: #9299a8 !important;
  font-size: 13px;
}

.similar-posts-container:not(.similar-posts-hidden) {
  margin-top: 14px;
  padding: 14px;
  background: rgba(255,255,255,.025) !important;
  border: 1px solid rgba(255,255,255,.07);
  border-radius: 10px;
}

/* ============================================================
   DROPDOWNS / MENUS
   ============================================================ */

.c-dropdown__content,
.c-dropdown__menu,
[class*="dropdown-menu"],
[role="menu"],
[role="listbox"],
[role="tooltip"] {
  color: #d5d8df !important;
  background: #11141e !important;
  border: 1px solid rgba(255,255,255,.10) !important;
  border-radius: 10px !important;
  box-shadow: 0 18px 50px rgba(0,0,0,.5) !important;
}

.c-dropdown__content a,
.c-dropdown__content button,
.c-dropdown__menu a,
.c-dropdown__menu button,
[role="option"] {
  color: #b0b5c1 !important;
}

.c-dropdown__content a:hover,
.c-dropdown__content button:hover,
.c-dropdown__menu a:hover,
.c-dropdown__menu button:hover,
[role="option"]:hover,
[role="option"][aria-selected="true"] {
  color: #fff !important;
  background: rgba(124,109,242,.10) !important;
}

/* ============================================================
   MARKDOWN / LINKS / TABLES
   ============================================================ */

.c-markdown {
  color: #a1a6b3 !important;
}

.c-markdown h1,
.c-markdown h2,
.c-markdown h3,
.c-markdown h4,
.c-markdown h5,
.c-markdown h6 {
  color: #f5f5f7 !important;
}

.c-markdown strong {
  color: #e5e7eb !important;
}

.text-link,
.c-markdown a {
  color: #a99fff !important;
}

.text-link:hover,
.c-markdown a:hover {
  color: #c5beff !important;
}

table {
  color: #b0b5c1 !important;
  background: #10131d !important;
}

th {
  color: #d5d8df !important;
  background: rgba(255,255,255,.025) !important;
}

td,
th {
  border-color: rgba(255,255,255,.07) !important;
}

tr:hover td {
  background: rgba(255,255,255,.018) !important;
}

hr {
  border-color: rgba(255,255,255,.08) !important;
}

/* ============================================================
   LIGHT UTILITY OVERRIDES
   ============================================================ */

.bg-white,
#root-modal .bg-white,
#root-toastify .bg-white {
  background-color: #10131d !important;
}

.bg-gray-50 { background-color: #0a0c12 !important; }
.bg-gray-100 { background-color: #0d1018 !important; }
.bg-gray-200 { background-color: #181c27 !important; }
.bg-gray-300 { background-color: #242936 !important; }

.text-black,
.text-gray-900 { color: #f5f5f7 !important; }
.text-gray-800 { color: #d5d8df !important; }
.text-gray-700 { color: #b0b5c1 !important; }
.text-gray-600 { color: #9299a8 !important; }
.text-gray-500 { color: #6f7686 !important; }
.text-gray-400 { color: #555c6b !important; }
.text-gray-300 { color: #464d5d !important; }

.border-gray-100 { border-color: rgba(255,255,255,.045) !important; }
.border-gray-200 { border-color: rgba(255,255,255,.08) !important; }
.border-gray-300 { border-color: rgba(255,255,255,.12) !important; }
.border-gray-400 { border-color: rgba(255,255,255,.16) !important; }

.bg-blue-50 { background: rgba(124,109,242,.05) !important; }
.bg-blue-100 { background: rgba(124,109,242,.09) !important; }
.bg-blue-200 { background: rgba(124,109,242,.14) !important; }
.text-blue-500 { color: #8d80fa !important; }
.text-blue-600 { color: #9d93ff !important; }
.text-blue-700 { color: #aaa0ff !important; }
.text-blue-800 { color: #c6c0ff !important; }
.border-blue-300 { border-color: rgba(124,109,242,.20) !important; }
.border-blue-400 { border-color: rgba(124,109,242,.27) !important; }
.border-blue-500 { border-color: rgba(124,109,242,.38) !important; }

/* ============================================================
   TOASTS / SHADOWS / FOCUS / SCROLLBAR
   ============================================================ */

#root-toastify .Toastify__toast {
  color: #e5e7eb !important;
  background: #151925 !important;
  border: 1px solid rgba(255,255,255,.10);
  border-radius: 11px !important;
  box-shadow: 0 16px 45px rgba(0,0,0,.45) !important;
}

#root-toastify .Toastify__close-button {
  color: #9299a8 !important;
}

.shadow,
.shadow-sm {
  box-shadow: 0 5px 18px rgba(0,0,0,.22) !important;
}

.shadow-md {
  box-shadow: 0 10px 30px rgba(0,0,0,.3) !important;
}

.shadow-lg,
.shadow-xl {
  box-shadow: 0 20px 55px rgba(0,0,0,.45) !important;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible,
[tabindex]:focus-visible {
  outline: 2px solid rgba(145,132,250,.75) !important;
  outline-offset: 2px !important;
}

::selection {
  color: #fff;
  background: rgba(124,109,242,.45);
}

* {
  scrollbar-width: thin;
  scrollbar-color: #303441 #080a10;
}

::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: #080a10;
}

::-webkit-scrollbar-thumb {
  background: #303441;
  border-radius: 999px;
  border: 2px solid #080a10;
}

::-webkit-scrollbar-thumb:hover {
  background: #414655;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */

@media (max-width: 768px) {
  #p-home {
    padding-top: 30px;
  }

  .p-home__welcome-title {
    font-size: 30px !important;
  }

  .p-home__welcome-title::before {
    margin-bottom: 16px;
  }

  .p-home__add-idea-btn,
  .c-posts-container {
    border-radius: 13px !important;
  }

  .c-posts-container__post {
    padding: 17px 16px !important;
  }

  .c-modal-dimmer {
    background: #080a10 !important;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }

  .c-modal-window.c-share-feedback,
  .c-modal-window--fullscreen {
    min-height: 100vh;
    background: #0d1018 !important;
    border: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
  }

  .c-share-feedback__content > h1,
  .c-share-feedback .text-large {
    font-size: 22px !important;
  }

  .c-editor-toolbar {
    overflow-x: auto;
    scrollbar-width: none;
  }

  .c-editor-toolbar::-webkit-scrollbar {
    display: none;
  }

  .c-editor-button {
    flex: 0 0 30px;
  }

  .tiptap.ProseMirror {
    min-height: 210px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    transition-duration: .01ms !important;
    animation-duration: .01ms !important;
  }
}