/* ===== CSS CUSTOM PROPERTIES (DESIGN SYSTEM) ===== */
:root {
  /* Light Mode Colors */
  --background: oklch(.985 0 0);
  --foreground: oklch(.145 0 0);
  --card: oklch(1 0 0);
  --card-foreground: oklch(.145 0 0);
  --popover: oklch(1 0 0);
  --popover-foreground: oklch(.145 0 0);
  --primary: oklch(.145 0 0);
  --primary-foreground: oklch(.985 0 0);
  --secondary: oklch(.96 0 0);
  --secondary-foreground: oklch(.145 0 0);
  --muted: oklch(.96 0 0);
  --muted-foreground: oklch(.45 0 0);
  --accent: oklch(.96 0 0);
  --accent-foreground: oklch(.145 0 0);
  --destructive: oklch(.704 .191 22.216);
  --border: oklch(.89 0 0);
  --input: oklch(.96 0 0);
  --ring: oklch(.556 0 0);
  --sidebar: oklch(1 0 0);
  --sidebar-foreground: oklch(.145 0 0);
  --sidebar-primary: oklch(.488 .243 264.376);
  --sidebar-primary-foreground: oklch(.985 0 0);
  --sidebar-accent: oklch(.96 0 0);
  --sidebar-accent-foreground: oklch(.145 0 0);
  --sidebar-border: oklch(.89 0 0);
  --sidebar-ring: oklch(.556 0 0);
  --surface: oklch(.98 0 0);
  --surface-foreground: oklch(.45 0 0);
  --code: var(--surface);
  --code-foreground: var(--surface-foreground);
  --code-highlight: oklch(.94 0 0);
  --code-number: oklch(.45 0 0);
  --selection: oklch(.145 0 0);
  --selection-foreground: oklch(.985 0 0);
}

[data-theme="dark"] {
  /* Dark Mode Colors */
  --background: oklch(.145 0 0);
  --foreground: oklch(.985 0 0);
  --card: oklch(.205 0 0);
  --card-foreground: oklch(.985 0 0);
  --popover: oklch(.269 0 0);
  --popover-foreground: oklch(.985 0 0);
  --primary: oklch(.922 0 0);
  --primary-foreground: oklch(.205 0 0);
  --secondary: oklch(.269 0 0);
  --secondary-foreground: oklch(.985 0 0);
  --muted: oklch(.269 0 0);
  --muted-foreground: oklch(.708 0 0);
  --accent: oklch(.371 0 0);
  --accent-foreground: oklch(.985 0 0);
  --destructive: oklch(.704 .191 22.216);
  --border: oklch(1 0 0 / 10%);
  --input: oklch(1 0 0 / 15%);
  --ring: oklch(.556 0 0);
  --sidebar: oklch(.205 0 0);
  --sidebar-foreground: oklch(.985 0 0);
  --sidebar-primary: oklch(.488 .243 264.376);
  --sidebar-primary-foreground: oklch(.985 0 0);
  --sidebar-accent: oklch(.269 0 0);
  --sidebar-accent-foreground: oklch(.985 0 0);
  --sidebar-border: oklch(1 0 0 / 10%);
  --sidebar-ring: oklch(.439 0 0);
  --surface: oklch(.2 0 0);
  --surface-foreground: oklch(.708 0 0);
  --code: var(--surface);
  --code-foreground: var(--surface-foreground);
  --code-highlight: oklch(.27 0 0);
  --code-number: oklch(.72 0 0);
  --selection: oklch(.922 0 0);
  --selection-foreground: oklch(.205 0 0);
}

/* ===== RESET & BASE STYLES ===== */
*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    padding: 20px;
  background: var(--background);
  color: var(--foreground);
  transition: background-color 0.3s ease, color 0.3s ease;
  }
  
  h1 {
    margin-bottom: 35px;
    font-weight: 700;
    letter-spacing: -1px;
  }

  h2 {
    font-size: 22px;
    font-weight: 700;
    letter-spacing: -0.px;
  }

  .item {
  border: 1px solid var(--border);
  border-radius: 12px;
  background-color: var(--card);
  color: var(--card-foreground);
  margin-bottom: 15px;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.08);
  padding: 10px 20px 10px 20px;
  height: 140px;
  display: flex;
  align-items: center;
  transition: background-color 0.3s ease, border-color 0.3s ease;
}

.item:hover {
  background: var(--accent);
  color: var(--accent-foreground);
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.05);
}

.business-item-content {
  display: flex;
  gap: 15px;
  align-items: center;
  height: 120px;
  padding: 10px 0;
}

.item .business-item-content .business-item-image {
  width: 100px !important;
  height: 100px !important;
  object-fit: cover;
  border-radius: 8px;
  flex-shrink: 0;
  margin-right: 15px;
}

.business-item-details {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 6px;
  justify-content: center;
}

.business-name {
  font-size: 16px;
  font-weight: 600;
  letter-spacing: -0.3px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.business-website {
  font-size: 14px;
  color: var(--muted-foreground);
  text-align: left;
  margin-bottom: 12px;
  transition: color 0.3s ease;
}

.business-category {
  font-size: 14px;
  color: var(--muted-foreground);
  text-align: left;
  margin-bottom: 12px;
  font-weight: 500;
  transition: color 0.3s ease;
}

.business-description {
  color: var(--muted-foreground);
  font-size: 14px;
  line-height: 1.4;
  margin: 0;
  transition: color 0.3s ease;
  }

  #loading {
    font-style: italic;
    color: #888;
    margin-bottom: 10px;
  }

  .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
  }

  a {
    text-decoration: none;
    color: #666;
  }

  .search-wrapper {
    display: flex;
    align-items: center;
    border-radius: 12px;
    overflow: hidden;
  background: var(--card);
  border: 1px solid var(--border);
    margin-bottom: 15px;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.08);
  padding: 5px;
  transition: background-color 0.3s ease, border-color 0.3s ease;
  }
  
  #search {
    flex: 1;
    display: block;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    padding: 10px 16px;
    font-size: 1rem;
    border: none;
    outline: none;
    border-radius: 0;
  background: var(--input);
  color: var(--foreground);
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  transition: background-color 0.3s ease, color 0.3s ease;
}
    
  #search-button {
  background-color: var(--primary);
  color: var(--primary-foreground);
    border: none; 
  width: 50px;
  padding: 10px;
  border-radius: 12px;
  margin-left: 6px;
  display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    margin-right: 1px;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  transition: background-color 0.3s ease, color 0.3s ease;
}

#search-button:hover {
  background-color: var(--primary-foreground);
  color: var(--primary);
  }

  #search-button img {
    width: 16px;
    height: 16px;
    display: block;
  }

/* Removed hover effect from search button */

  .tag {
    font-size: 0.65rem;
    font-weight: 600;
  padding: 3px 6px 2px 6px;
    border-radius: 6px;
  margin-left: 0px;
    text-transform: uppercase;
    display: inline-block;
    vertical-align: middle;
    line-height: 1;
    position: relative;
    top: -1px;
  }
  
  .verified {
    background: #0c0;
    color: white;
  }
  
  .rating.excellent {
    background: #007bff;
    color: white;
  }
  
  .rating.good {
    background: #28a745;
    color: white;
  }
  
  .rating.poor {
    background: #ffc107;
    color: black;
  }
  
  .rating.fail {
    background: #dc3545;
    color: white;
  }

  .page {
    display: flex;
    gap: 20px;
    align-items: flex-start;
  }
  
/* Sidebar heading styles */
.sidebar h2 {
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 12px;
  color: #333;
  }
  
  .container {
    flex: 1;
  }

  .page {
    display: flex;
    gap: 20px;
    align-items: flex-start;
  }
  
  .sidebar {
    width: 200px;
    padding: 12px;
  border: none;
    border-radius: 12px;
  background: var(--sidebar);
  color: var(--sidebar-foreground);
  box-shadow: none;
  transition: background-color 0.3s ease, border-color 0.3s ease;
  }
  
  .filter-group {
    margin-bottom: 16px;
  }
  
  .container {
    flex: 1;
  }

  .content-area {
    gap: 20px;
    align-items: flex-start;
  }
  
  .sidebar {
    width: 180px;
    flex-shrink: 0;
    padding: 12px;
  border: none;
  background: var(--sidebar);
  color: var(--sidebar-foreground);
  box-shadow: none;
  transition: background-color 0.3s ease, border-color 0.3s ease;
  }
  
  .main-content {
    flex: 1;
  }

  input[type="checkbox"] {
    width: 16px;
    height: 16px;
  accent-color: #00b37e;
    cursor: pointer;
  }

  #filter-rating {
    padding: 6px 8px;
    border-radius: 6px;
  border: 1px solid var(--border);
    font-size: 14px;
    cursor: pointer;
  background: var(--input);
  color: var(--foreground);
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  transition: background-color 0.3s ease, border-color 0.3s ease, color 0.3s ease;
  }

  input[type="text"]:hover,
  select:hover {
  border-color: #ccc;
  }

  .filter-group.checkbox label {
    display: flex;
    align-items: center;
  gap: 8px;
  font-size: 14px;
  }

  /* Targets the label specifically */
label[for="filter-rating"] {
  font-size: 14px;
  margin-bottom: 6px;
  display: inline-block;
  }

  .icon {
  width: 16px;
    height: 16px;
  object-fit: contain;
    display: block;
  }

  #featured {
  margin-bottom: 30px;
  }
  
  #featured h2 {
  font-size: 22px;
  margin-bottom: 12px;
  font-weight: 700;
  }
  
  .featured-row {
    display: flex;
    gap: 20px;
  overflow-x: auto;
  justify-content: flex-start;
    width: 100%;
  flex-wrap: nowrap;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.featured-row::-webkit-scrollbar {
  display: none;
  }

  .featured-item {
  flex: 0 0 calc(20% - 16px);
  min-width: 200px;
  max-width: calc(20% - 16px);
}

/* Responsive breakpoints for featured cards */
@media (max-width: 1200px) {
  .featured-item {
    flex: 0 0 calc(25% - 15px);
    max-width: calc(25% - 15px);
  }
}

@media (max-width: 900px) {
  .featured-item {
    flex: 0 0 calc(33.333% - 14px);
    max-width: calc(33.333% - 14px);
  }
}

@media (max-width: 600px) {
  .featured-item {
    flex: 0 0 calc(50% - 10px);
    max-width: calc(50% - 10px);
  }
}

@media (max-width: 400px) {
  .featured-item {
    flex: 0 0 100%;
    max-width: 100%;
  }
    }
  
  .featured-item img {
  width: 100%;
    height: 150px;
  object-fit: cover;
    border-radius: 12px;
    margin-bottom: 8px;
  }
  
  .featured-item h4 {
    font-size: 15px;
    margin-top: 0px;
    margin-bottom: 4px;
    text-align: left;
  }
  
  .featured-item a {
  font-size: 14px;
    color: #555;
    text-decoration: none;
  margin-bottom: 8px;
  display: block;
}

.featured-tags {
  display: flex;
  gap: 6px;
  align-items: center;
  }

  /* header */

  .hero {
    position: relative;
    width: 100%;
  min-height: 400px;
  background: url('images/Star-background.jpg') no-repeat center center / cover;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 0 60px 0;
    overflow: visible;
  }
  
  .overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to right, rgba(98, 40, 108, 0.95), rgba(98, 40, 108, 0.952) 50%, rgba(98, 40, 108, 0.95));
    z-index: 1;
  }
  
  .hero-text {
    position: relative;
    z-index: 2;
    text-align: center;
    color: white;
    max-width: 950px;
  }
  
  .hero-text h1 {
    font-size: 3rem;
    line-height: 1.4;
  margin: 0.25rem 0 0;
    font-weight: 700;
    letter-spacing: -1.5px;
  }

  .hero-text p {
    font-size: 19px;
    font-weight: 300;
    line-height: 1.4;
  }

  .star-rating {
  width: 330px;
  height: auto;
  display: block;
  margin-left: auto;
  margin: 0 auto 0 auto;
    margin-right: auto;
  }

  body, html {
    margin: 0;
    padding: 0;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  }

  * {
    box-sizing: border-box;
  }

  .underlined-org, .underlined-ind {
    position: relative;
    display: inline-block;
    z-index: 1;
  }
  
  .underlined-org::after {
    content: '';
    position: absolute;
    bottom: -0.3em;
    left: -19px;
    width: 265px;
    height: 25px;
  background: url('images/brush-stroke.jpg') no-repeat center bottom;
    background-size: 100% 100%;
    z-index: -1;
  }
  
  .underlined-ind::after {
    content: '';
    position: absolute;
    bottom: -0.3em;
    left: -19px;
    width: 340px;
    height: 25px;
  background: url('images/brush-stroke.jpg') no-repeat center bottom;
    background-size: 100% 100%;
    z-index: -1;
  }

  .navbar {
  background-color: var(--primary);
  color: var(--primary-foreground);
    width: 100%;
  height: 75px;
    display: flex;
    align-items: center;
  transition: background-color 0.3s ease;
  }
  
  .header-container {
    max-width: 1500px;
    margin: 0 auto;
  padding: 0 32px;
    display: flex;
    justify-content: space-between;
    align-items: center;
  }
  
  .logo-img {
  height: auto;
    width: auto;
  max-width: 180px;
  }
  
  .nav {
    display: flex;
    gap: 24px;
  align-items: center;
  }
  
  .nav a {
  color: var(--primary-foreground);
    text-decoration: none;
    font-weight: 400;
  font-size: 14px;
  transition: color 0.3s ease;
  }
  
  .nav a:hover {
    text-decoration: underline;
  color: var(--primary-foreground);
}

/* Dark Mode Toggle */
.theme-toggle {
  background: none;
  border: 2px solid var(--primary-foreground);
  color: var(--primary-foreground);
  padding: 8px;
  border-radius: 8px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  margin-left: 12px;
}

.theme-toggle:hover {
  background: var(--primary-foreground);
  color: var(--primary);
}

.theme-toggle svg {
  transition: opacity 0.3s ease;
}

[data-theme="dark"] .theme-toggle .sun-icon {
  display: none;
}

[data-theme="dark"] .theme-toggle .moon-icon {
  display: block !important;
  }

/* User Profile Dropdown */
.user-profile-container {
  position: relative;
}

.user-profile {
  display: flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
  padding: 8px 12px;
  border-radius: 8px;
  transition: background-color 0.2s ease;
}

.user-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid rgba(255, 255, 255, 0.2);
}

.user-info {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-width: 0;
}

.user-name {
  color: white;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.2;
  white-space: nowrap;
}

.user-occupation {
  color: rgba(255, 255, 255, 0.7);
  font-size: 13px;
  font-weight: 400;
  line-height: 1.2;
  white-space: nowrap;
}

.user-dropdown {
  position: absolute;
  top: 100%;
  right: 0;
  background: white;
  border-radius: 12px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
  border: 1px solid rgba(0, 0, 0, 0.1);
  min-width: 200px;
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all 0.2s ease;
  margin-top: 8px;
}

.user-dropdown.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  color: #333 !important;
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  transition: background-color 0.2s ease;
  border-radius: 8px;
  margin: 4px 8px;
}

.dropdown-item:hover {
  background-color: #f5f5f5 !important;
  color: #333 !important;
  text-decoration: none !important;
}

.dropdown-item svg {
  color: #666 !important;
  flex-shrink: 0;
}

.dropdown-item:hover svg {
  color: #666 !important;
}

  .topbar {
  background-color: #ffffff;
  color: #000000;
    font-size: 14px;
    font-weight: 600;
  border-bottom: 1px solid #e6e9ef;
    height: 40px;
    display: flex;
  align-items: center;
  }
  
  .topbar-container {
    max-width: 1500px;
    margin: 0 auto;
  padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
  height: 100%;
  }
  
  .topbar-left a,
  .topbar-right a {
  color: #000000;
  font-size: 14px;
    text-decoration: none;
  padding: 6px 12px;
  transition: opacity 0.2s ease;
  }
  
  .topbar-right a:last-child {
    margin-right: 0;
  }
  
  .topbar-left,
  .topbar-right {
    display: flex;
  }

  .tag {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    letter-spacing: 0.1px;
  font-size: 12px;
    font-weight: 500;
  padding: 3px 7px;
    border-radius: 5px;
    color: black;
    vertical-align: middle;
    margin-left: 6px;
    display: inline-block;
    text-transform: uppercase;
  line-height: 1;
  white-space: nowrap;
  }
  
  .new-tag {
    background-color: white;
    color: black;
  box-shadow: 0 0 2px rgba(0,0,0,0.2);
  }
  
  .top-tag {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    background-color: black;
    color: white;
    font-weight: 500;
    font-size: 10px;
  padding: 4px 9px;
    border-radius: 5px;
    line-height: 1;
    white-space: nowrap;
  }

  .item img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 8px;
}

/* Business Detail Page Styles */
.business-detail-page {
  padding: 20px 0;
}

.breadcrumb {
  margin-bottom: 30px;
}

.breadcrumb a {
  color: #666;
  text-decoration: none;
  font-size: 14px;
  transition: color 0.2s ease;
}

.breadcrumb a:hover {
  color: #333;
}

.business-detail-card {
  background: #fff;
  border-radius: 16px;
  padding: 30px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  border: 1px solid #eee;
}

.business-detail-header {
  display: flex;
  gap: 30px;
  margin-bottom: 30px;
  align-items: flex-start;
}

.business-detail-image {
  width: 200px;
  height: 150px;
  object-fit: cover;
  border-radius: 12px;
  flex-shrink: 0;
}

.business-detail-info {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 150px;
}

.business-detail-name {
  font-size: 32px;
  font-weight: 700;
  margin: 0;
  color: #333;
  letter-spacing: -1px;
}

.business-detail-tags {
  margin: 0;
}

.business-detail-industry {
  margin: 12px 0;
  font-size: 15px;
  color: #333;
  font-weight: 600;
}

.business-detail-category {
  margin: 12px 0;
  font-size: 14px;
  color: #666;
  font-weight: 500;
}

.business-detail-website {
  margin: 0;
}

.business-detail-website-link {
  font-size: 16px;
  color: #007bff;
  text-decoration: none;
  font-weight: 500;
}

.business-detail-website-link:hover {
  text-decoration: underline;
}

.business-detail-description {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  line-height: 1.6;
  color: #444;
  margin: 0;
}

.business-detail-description p {
  margin: 0;
}

/* Responsive design for business detail page */
@media (max-width: 768px) {
  .business-detail-header {
    flex-direction: column;
    gap: 20px;
  }

  .business-detail-image {
    width: 100%;
    height: 200px;
  }

  .business-detail-name {
    font-size: 24px;
  }

  .business-detail-card {
    padding: 20px;
  }
}



/* Footer Styles */
.footer {
  background-color: var(--primary);
  color: var(--primary-foreground);
  padding: 30px 0;
  margin-top: 60px;
  min-height: 100px;
  display: flex;
  align-items: center;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.footer-container {
  max-width: 1500px;
  margin: 0 auto;
  padding: 0 32px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}

.footer-left {
  display: flex;
  align-items: center;
}

.social-icons {
  display: flex;
  gap: 40px;
  align-items: center;
}

.social-icon {
  color: var(--primary-foreground);
  text-decoration: none;
  transition: opacity 0.2s ease, color 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
}

.social-icon:hover {
  opacity: 0.7;
}

/* YouTube icon specific styling */
.social-icon:last-child {
  color: #cc0000;
}

.footer-right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 15px;
}

.footer-links {
  display: flex;
  gap: 24px;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  font-size: 13px;
}

.footer-links a {
  color: var(--primary-foreground);
  text-decoration: none;
  transition: opacity 0.2s ease, color 0.3s ease;
}

.footer-links a:hover {
  opacity: 0.7;
}

.footer-copyright {
  color: var(--primary-foreground);
  font-size: 13px;
  font-weight: 400;
  transition: color 0.3s ease;
}

/* Responsive footer */
@media (max-width: 900px) {
  .footer-container {
    flex-direction: column;
    gap: 30px;
    text-align: center;
  }

  .footer-right {
    align-items: center;
  }

  .footer-links {
    gap: 20px;
    justify-content: center;
    flex-wrap: nowrap;
  }

  .social-icons {
    gap: 30px;
  }
}

@media (max-width: 480px) {
  .footer-links {
    gap: 15px;
    flex-direction: column;
    align-items: center;
  }
  
  .social-icons {
    gap: 25px;
  }
  
  /* User profile responsive adjustments */
  .user-profile {
    padding: 6px 8px;
  }
  
  .user-avatar {
    width: 32px;
    height: 32px;
  }
  
  .user-name {
    font-size: 14px;
  }
  
  .user-occupation {
    font-size: 12px;
  }
  
  .user-dropdown {
    right: -8px;
    min-width: 180px;
  }
  }

/* --- REVERT GLOBAL DARK MODE OVERRIDES --- */
[data-theme="dark"] body,
[data-theme="dark"] h1,
[data-theme="dark"] h2,
[data-theme="dark"] h3,
[data-theme="dark"] h4,
[data-theme="dark"] h5,
[data-theme="dark"] h6,
[data-theme="dark"] label,
[data-theme="dark"] p {
  color: #fff !important;
}


[data-theme="dark"] input[type="text"]::placeholder,
[data-theme="dark"] .search-input::placeholder,
[data-theme="dark"] input[type="search"]::placeholder {
  color: #bbb !important;
  opacity: 1;
}

[data-theme="dark"] .btn-primary,
[data-theme="dark"] .btn-black,
[data-theme="dark"] button.btn-black {
  background: none !important;
  color: #fff !important;
  border: 1px solid #444 !important;
  border-radius: 8px !important;
  box-shadow: none !important;
}
[data-theme="dark"] .btn-primary:hover,
[data-theme="dark"] .btn-black:hover {
  background: #ffffff !important;
  color: #000 !important;
  box-shadow: inset 0 0 0 1000px rgba(0, 0, 0, 0.02) !important;
}

[data-theme="dark"] .logo-img {
  content: url('images/NI9-logo.png');
}
[data-theme="light"] .logo-img {
  content: url('images/NI9-logo2.png');
}

/* Logo switching for all pages */
.light-logo { display: inline; }
.dark-logo { display: none; }
body[data-theme="dark"] .light-logo { display: none !important; }
body[data-theme="dark"] .dark-logo { display: inline !important; }

/* Sidebar text in dark mode */
body[data-theme="dark"] .sidebar,
body[data-theme="dark"] .sidebar-nav,
body[data-theme="dark"] .nav-item,
body[data-theme="dark"] .nav-section-title,
body[data-theme="dark"] .sidebar-title {
  color: #fff !important;
}

/* Inputs and selects in dark mode */
body[data-theme="dark"] .form-input,
body[data-theme="dark"] .form-select,
body[data-theme="dark"] .form-input-kanban,
body[data-theme="dark"] .priority-select,
body[data-theme="dark"] input,
body[data-theme="dark"] select,
body[data-theme="dark"] textarea {
  background: none !important;
  color: #fff !important;
  border: 1px solid #444 !important;
  border-radius: 8px !important;
  box-shadow: none !important;
}

body[data-theme="dark"] input::placeholder,
body[data-theme="dark"] textarea::placeholder,
body[data-theme="dark"] .form-input::placeholder,
body[data-theme="dark"] .search-input::placeholder {
  color: #bbb !important;
  opacity: 1;
}

/* Dark mode dropdown and theme toggle hover styles */
[data-theme="dark"] .dropdown-item:hover {
  background-color: rgba(255, 255, 255, 0.03) !important;
  color: #fff !important;
}

[data-theme="dark"] .dropdown-item:hover svg {
  color: #fff !important;
}

[data-theme="dark"] .theme-toggle:hover {
  background: rgba(255, 255, 255, 0.03) !important;
  color: #fff !important;
}