/* =========================================================
   SCHOOLORBIT FEEDBACK
   Enterprise UI — Native Fider Layout Preserved
   ========================================================= */


/* ---------- Base ---------- */

body {
  background: #f8fafc !important;
  color: #0f172a !important;
}


/* ---------- Header ---------- */

#c-header {
  background: #ffffff !important;
  border-bottom: 1px solid #e2e8f0 !important;
  box-shadow: none !important;
}

#c-header .c-menu {
  background: #ffffff !important;
  box-shadow: none !important;
}

#c-header .text-title {
  color: #0f172a !important;
  font-weight: 650 !important;
  letter-spacing: -0.015em !important;
}

#c-header .c-notification-indicator svg {
  color: #64748b !important;
}

#c-header .c-avatar {
  border-radius: 50% !important;
}


/* ---------- Welcome / Sidebar ---------- */

#p-home .p-home__welcome-col {
  color: #475569 !important;
}

#p-home .p-home__welcome-col .c-markdown {
  color: #475569 !important;
  font-size: 14px !important;
  line-height: 1.7 !important;
}


/* Main welcome statement */

#p-home .p-home__welcome-col .c-markdown p:first-child {
  color: #0f172a !important;
  font-size: 18px !important;
  line-height: 1.4 !important;
  font-weight: 650 !important;
  letter-spacing: -0.015em !important;
}


/* Secondary text */

#p-home .p-home__welcome-col .c-markdown p:nth-child(2) {
  color: #64748b !important;
}


/* ---------- Feedback Input ---------- */

#p-home #input-title {
  background: #ffffff !important;
  border: 1px solid #d9e2ec !important;
  border-radius: 8px !important;
  color: #0f172a !important;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.03) !important;
  transition:
    border-color 0.15s ease,
    box-shadow 0.15s ease !important;
}

#p-home #input-title::placeholder {
  color: #94a3b8 !important;
}

#p-home #input-title:hover {
  border-color: #cbd5e1 !important;
}

#p-home #input-title:focus {
  outline: none !important;
  border-color: #2563eb !important;
  box-shadow:
    0 0 0 3px rgba(37, 99, 235, 0.08) !important;
}


/* ---------- View / Trending ---------- */

#p-home .c-posts-container__filter-col .text-category {
  color: #64748b !important;
  font-size: 11px !important;
  font-weight: 600 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.05em !important;
}

#p-home .c-posts-container__filter-col .text-medium {
  background: #f1f5f9 !important;
  color: #334155 !important;
  border-radius: 6px !important;
  font-weight: 600 !important;
}

#p-home .c-posts-container__filter-col .c-dropdown__handle:hover .text-medium {
  background: #e2e8f0 !important;
}


/* ---------- Search ---------- */

#p-home #input-query {
  background: #ffffff !important;
  border: 1px solid #d9e2ec !important;
  border-radius: 8px !important;
  color: #0f172a !important;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.02) !important;
}

#p-home #input-query::placeholder {
  color: #94a3b8 !important;
}

#p-home #input-query:hover {
  border-color: #cbd5e1 !important;
}

#p-home #input-query:focus {
  outline: none !important;
  border-color: #2563eb !important;
  box-shadow:
    0 0 0 3px rgba(37, 99, 235, 0.08) !important;
}

#p-home .c-input--icon + svg {
  color: #64748b !important;
}


/* ---------- Posts ---------- */

#p-home .c-posts-container a.text-title {
  color: #0f172a !important;
  font-weight: 650 !important;
  letter-spacing: -0.01em !important;
  transition: color 0.15s ease !important;
}

#p-home .c-posts-container a.text-title:hover {
  color: #2563eb !important;
}


/* Descriptions */

#p-home .c-posts-container .c-markdown {
  color: #64748b !important;
  font-size: 14px !important;
  line-height: 1.65 !important;
}


/* ---------- Post separators ---------- */

#p-home .c-posts-container > .flex--divide-4 > .flex {
  border-bottom-color: #e2e8f0 !important;
}


/* ---------- Vote ---------- */

#p-home .c-vote-counter__button {
  border-radius: 7px !important;
  transition:
    background 0.15s ease,
    color 0.15s ease !important;
}

#p-home .c-vote-counter__button:hover {
  background: #eff6ff !important;
  color: #2563eb !important;
}

#p-home .c-vote-counter__button--voted {
  background: #eff6ff !important;
  color: #2563eb !important;
}


/* ---------- User menu ---------- */

#c-header .c-dropdown__handle {
  border-radius: 50% !important;
}


/* ---------- Fider branding ---------- */

#p-home .c-powered {
  opacity: 0.75 !important;
}

#p-home .c-powered a {
  color: #94a3b8 !important;
  text-decoration: none !important;
}


/* ---------- General interaction polish ---------- */

button,
input {
  transition:
    border-color 0.15s ease,
    background-color 0.15s ease,
    box-shadow 0.15s ease !important;
}


/* ---------- Mobile ---------- */

@media (max-width: 600px) {

  #p-home .p-home__welcome-col .c-markdown p:first-child {
    font-size: 17px !important;
  }

  #p-home .c-posts-container a.text-title {
    font-size: 15px !important;
  }

  #p-home .c-posts-container .c-markdown {
    font-size: 13px !important;
  }
}