:root {
  --color-emerald-500: oklch(28.2% 0.091 267.935);
}

/* === Prothom-Alo Official Font Stack (Local "Shurjo" + Fallbacks) === */
@font-face {
  font-family: "Shurjo";
  font-display: swap;
  font-style: normal;
  font-weight: 400;
  src: url('../fonts/ShurjoWeb_400_v5_1.woff2') format('woff2'),
    url('../fonts/ShurjoWeb_400_v5_1.woff') format('woff');
}

@font-face {
  font-family: "Shurjo";
  font-display: swap;
  font-style: normal;
  font-weight: 700;
  src: url('../fonts/ShurjoWeb_700_v5_1.woff2') format('woff2'),
    url('../fonts/ShurjoWeb_400_v5_1.woff2') format('woff2');
}

body,
input,
textarea,
button,
select {
  font-family: "Shurjo", "Siyam Rupali", "Roboto", "Arial", "Helvetica", "Monospace", sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

/* === Preloader Styles (shared) === */
#preloader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #ffffff;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  transition:
    opacity 0.8s cubic-bezier(0.65, 0, 0.35, 1),
    visibility 0.8s;
}

.preloader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #ffffff;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  transition:
    opacity 0.8s cubic-bezier(0.65, 0, 0.35, 1),
    visibility 0.8s;
}

.bird-container {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 200px;
  height: 200px;
}

.bird-icon {
  width: 100%;
  height: 100%;
  color: #10b981;
  animation: birdGracefulFly 4s ease-in-out infinite;
  filter: drop-shadow(0 20px 30px rgba(16, 185, 129, 0.2));
  will-change: transform;
}

@keyframes birdGracefulFly {

  0%,
  100% {
    transform: translateY(0) rotate(0deg) scale(1);
  }

  33% {
    transform: translateY(-30px) rotate(-4deg) scale(1.03);
  }

  66% {
    transform: translateY(15px) rotate(3deg) scale(0.97);
  }
}

.bird-pulse {
  position: absolute;
  width: 100%;
  height: 100%;
  background-color: rgba(16, 185, 129, 0.1);
  border-radius: 50%;
  animation: birdElegantPulse 4s ease-out infinite;
  z-index: -1;
}

@keyframes birdElegantPulse {
  0% {
    transform: scale(0.6);
    opacity: 0.9;
  }

  100% {
    transform: scale(2.8);
    opacity: 0;
  }
}

html {
  scrollbar-width: none;
  /* Firefox */
  -ms-overflow-style: none;
  /* IE and Edge */
}

html::-webkit-scrollbar {
  display: none;
  /* Chrome, Safari, and Opera */
}

/* Share Modal Styles (X.com Style) */
#share-modal-overlay {
  transition: opacity 0.3s ease;
}

#share-modal-content {
  transition:
    transform 0.3s ease,
    opacity 0.3s ease;
}

.share-option {
  cursor: pointer;
  transition: background-color 0.2s ease;
}

.share-option:hover {
  background-color: rgba(0, 0, 0, 0.05);
}

.dark .share-option:hover {
  background-color: rgba(255, 255, 255, 0.05);
}

#copy-toast {
  transition:
    transform 0.3s ease,
    opacity 0.3s ease;
}

/* Navigation Links Styling */
.nav-link {
  font-weight: 700 !important;
}

/* Active desktop navigation indicator */
.nav-link.active-nav-item {
  position: relative;
}

.nav-link.active-nav-item::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0.25rem;
  width: 95%;
  height: 4px;
  background: var(--color-emerald-500);
  border-radius: 9999px;
}

.dark .nav-link.active-nav-item::after {
  background: #10b981;
  /* Dark theme color */
}

/* Explore tab searchbox underline indicator */
.tab-indicator {
  background-color: var(--color-emerald-500);
}

.dark .tab-indicator {
  background-color: #10b981;
}



/* Facebook-style Independent Scrolling */
.independent-scroll {
  overflow-y: auto !important;
  overscroll-behavior: contain;
  scrollbar-width: none;
  /* Firefox */
  -ms-overflow-style: none;
  /* IE/Edge */
}

.independent-scroll::-webkit-scrollbar {
  width: 6px;
}

.independent-scroll::-webkit-scrollbar-thumb {
  background: transparent;
  border-radius: 10px;
}

.independent-scroll:hover {
  scrollbar-width: thin;
  /* Firefox */
}

.independent-scroll:hover::-webkit-scrollbar-thumb {
  background: rgba(136, 136, 136, 0.4);
}

.independent-scroll::-webkit-scrollbar-thumb:hover {
  background: rgba(85, 85, 85, 0.6);
}




/* Hamburger Animation Styles */
.hamburger-line {
  transform-origin: center;
  transition:
    transform 0.3s ease,
    opacity 0.3s ease;
}

/* Active hamburger state - transforms to X */
#mobile-menu-button.menu-open .hamburger-line:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

#mobile-menu-button.menu-open .hamburger-line:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

#mobile-menu-button.menu-open .hamburger-line:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

#mobile-menu {
  -ms-overflow-style: none;
  scrollbar-width: none;
}

.profile-btn {
  background-color: #10b981;
}

.profile-btn:hover {
  background-color: #57ab8f;
}

select {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
}

select::-ms-expand {
  display: none;
  /* for old IE/Edge */
}

/* Custom Modal Sizing overrides */
@media (min-width: 640px) {
  #create-post-modal-content {
    min-height: 550px !important;
  }

  #post-details-modal-content {
    height: 85vh !important;
  }
}

#post-editor {
  min-height: 280px !important;
}

/* Dark theme system background override */
html.dark body,
html.dark main {
  background-color: #1E1F22 !important;
}

#theme-toggle i,
#profile-dropdown-trigger i {
  font-size: 25px !important;
  /* Sets icon size to exactly 25px */
}

#theme-toggle+#profile-dropdown-container {
  margin-left: 8px !important;
  /* Increases the space between them */
}

/* Auth Modal Refinements (Soothing Design) */
#auth-modal {
  transition: opacity 0.3s ease, visibility 0.3s ease;
  padding: 8px !important;
}

#auth-modal-content {
  width: 95% !important;
  max-width: 440px !important;
  margin: auto;
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.3s ease;
}

#auth-modal label[for="signin-remember"] {
  white-space: nowrap;
}

#auth-modal form .flex.items-center.justify-between {
  gap: 8px;
}

#auth-modal form .flex.items-center.justify-between a {
  white-space: nowrap;
}

@media (max-width: 480px) {
  #auth-modal-content {
    width: 96% !important;
    max-width: 100% !important;
  }

  #auth-modal-content>div:last-child {
    padding: 16px 14px !important;
  }
}

#auth-modal input[type="email"],
#auth-modal input[type="password"],
#auth-modal input[type="text"] {
  border-width: 1px;
  outline: none;
}

#auth-modal input[type="checkbox"] {
  accent-color: #10b981;
}

/* Dark mode specific backdrop blur refinement */
html.dark #auth-modal {
  backdrop-filter: blur(16px) !important;
  background-color: rgba(0, 0, 0, 0.75) !important;
}

/* Custom Sweet Message Toast */
.sweet-toast {
  position: fixed;
  top: 24px;
  left: 50%;
  transform: translate(-50%, -20px);
  background-color: var(--color-emerald-500, #10b981) !important;
  color: #ffffff !important;
  padding: 10px 18px;
  border-radius: 10px;
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.2), 0 8px 10px -6px rgba(0, 0, 0, 0.15);
  font-weight: 700;
  font-size: 0.9375rem;
  display: flex;
  align-items: center;
  gap: 8px;
  max-width: 90vw;
  white-space: normal;
  text-align: center;
  justify-content: center;
  opacity: 0;
  transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275), opacity 0.3s ease;
  z-index: 99999 !important;
}

/* Dark Mode Toast Styling */
html.dark .sweet-toast {
  background-color: #16181c !important;
  color: #ffffff !important;
  border: 1px solid rgba(16, 185, 129, 0.4) !important;
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.5), 0 0 15px rgba(16, 185, 129, 0.15);
}

.sweet-toast.show {
  transform: translate(-50%, 0);
  opacity: 1;
}

/* Mobile Responsive Toast Adjustments */
@media (max-width: 639px) {
  .sweet-toast {
    top: 14px;
    left: 10px !important;
    right: 10px !important;
    width: calc(100% - 20px) !important;
    max-width: calc(100vw - 20px) !important;
    transform: translateY(-20px);
    padding: 10px 16px;
    font-size: 0.85rem;
    border-radius: 10px;
    gap: 8px;
    justify-content: center;
    box-sizing: border-box;
  }

  .sweet-toast.show {
    transform: translateY(0) !important;
    opacity: 1;
  }
}

/* Prevent underline on hover for post content links */
article a,
article a:hover,
article a h4,
article a p {
  text-decoration: none !important;
}

/* Add space between post title and content description */
#first-post-title {
  margin-bottom: 12px !important;
}

#first-post-desc {
  margin-top: 12px !important;
}

/* Make post menu dropdown closer to the ellipsis icon */
.post-menu {
  margin-top: 2px !important;
}

/* Post Menu Buttons Hover Effect */
.post-menu button,
div[class*="absolute right-0 mt-2"] button {
  transition: transform 0.2s ease !important;
}

.post-menu button:hover,
div[class*="absolute right-0 mt-2"] button:hover {
  transform: translateX(4px) !important;
}

/* Scrollable Categories & Football Updates Sidebar Cards - Ultra-Sleek Auto-Hide Scrollbar */
#sidebar-categories-list {
  max-height: 400px;
  overflow-y: auto;
  overscroll-behavior-y: contain;
  scrollbar-width: thin;
  scrollbar-color: transparent transparent;
  transition: scrollbar-color 0.25s ease;
}

#sidebar-categories-list:hover {
  scrollbar-color: rgba(156, 163, 175, 0.35) transparent;
}

html.dark #sidebar-categories-list:hover {
  scrollbar-color: rgba(255, 255, 255, 0.25) transparent;
}

#sidebar-categories-list::-webkit-scrollbar {
  width: 3px;
}

#sidebar-categories-list::-webkit-scrollbar-track {
  background: transparent !important;
}

#sidebar-categories-list::-webkit-scrollbar-thumb {
  background-color: transparent;
  border-radius: 9999px;
  transition: background-color 0.25s ease;
}

#sidebar-categories-list:hover::-webkit-scrollbar-thumb {
  background-color: rgba(156, 163, 175, 0.35);
}

html.dark #sidebar-categories-list:hover::-webkit-scrollbar-thumb {
  background-color: rgba(255, 255, 255, 0.25);
}

#sidebar-categories-list::-webkit-scrollbar-thumb:hover {
  background-color: #10b981 !important;
}

/* Hide scrollbar utility class */
.no-scrollbar::-webkit-scrollbar {
  display: none !important;
}

.no-scrollbar {
  -ms-overflow-style: none !important;
  scrollbar-width: none !important;
}

/* Independent Column Scrolling on Desktop Layout */
@media (min-width: 1024px) {
  body {
    overflow-y: auto !important;
    height: auto !important;
  }

  /* Default sidebar style (for pages without header, e.g. single_page.html) */
  main aside {
    position: sticky !important;
    height: calc(100vh - 16px) !important;
    overflow-y: auto !important;
    overscroll-behavior: contain !important;
  }

  /* Sidebar style for pages with a header (e.g. index.html) */
  header~main aside {
    top: 50px !important;
    height: calc(100vh - 56px) !important;
  }

  /* Let center feed column scroll naturally with the window scrollbar */
  main section {
    height: auto !important;
    overflow-y: visible !important;
  }
}

/* Ensure the sticky header has a solid background color matching the theme to prevent content overlap on scroll */
.feed-sticky-header {
  background-color: #ffffff !important;
  transition: top 0.25s cubic-bezier(0.4, 0, 0.2, 1), padding 0.25s cubic-bezier(0.4, 0, 0.2, 1), border-color 0.25s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

html.dark .feed-sticky-header {
  background-color: #1E1F22 !important;
}

/* Scrolled down state (hidden borders, extra padding, sticky at top 0px) */
.feed-sticky-header.scrolled-down {
  top: 0px !important;
  border-bottom-color: transparent !important;
  border-left-color: transparent !important;
  border-right-color: transparent !important;
}

/* Scrolled up state (borders visible, default padding, sticky at top 45px on desktop, 0px on mobile) */
.feed-sticky-header.scrolled-up {
  top: 0px !important;
  padding-top: 0px !important;
  padding-bottom: 0px !important;
}

@media (min-width: 1024px) {
  .feed-sticky-header.scrolled-up {
    top: 45px !important;
  }
}

/* Scrollable Menu Categories & Trending List - Dynamic Viewport Height Layout */
aside:has(#menu-categories-list),
aside:has(#menu-trending-list) {
  height: calc(100vh - 60px) !important;
  max-height: calc(100vh - 60px) !important;
  padding-bottom: 0 !important;
  overflow: hidden !important;
}

aside:has(#menu-categories-list)>div,
aside:has(#menu-trending-list)>div {
  display: flex !important;
  flex-direction: column !important;
  height: 100% !important;
  max-height: 100% !important;
}

aside:has(#menu-categories-list)>div>div:has(#menu-categories-list),
aside:has(#menu-trending-list)>div>div:has(#menu-trending-list) {
  display: flex !important;
  flex-direction: column !important;
  flex: 1 1 0% !important;
  min-height: 0 !important;
  overflow: hidden !important;
}

#menu-categories-list,
#menu-trending-list {
  flex: 1 1 0% !important;
  min-height: 0 !important;
  max-height: none !important;
  overflow-y: auto;
  overscroll-behavior-y: contain;
  scrollbar-width: thin;
  scrollbar-color: transparent transparent;
  transition: scrollbar-color 0.25s ease;
}

#mobile-menu-categories-list,
#mobile-menu-trending-list,
.custom-menu-nav {
  max-height: 240px;
  overflow-y: auto;
  overscroll-behavior-y: contain;
  scrollbar-width: thin;
  scrollbar-color: transparent transparent;
  transition: scrollbar-color 0.25s ease;
}

#menu-categories-list:hover,
#menu-trending-list:hover,
#mobile-menu-categories-list:hover,
#mobile-menu-trending-list:hover,
.custom-menu-nav:hover {
  scrollbar-color: rgba(156, 163, 175, 0.35) transparent;
}

html.dark #menu-categories-list:hover,
html.dark #menu-trending-list:hover,
html.dark #mobile-menu-categories-list:hover,
html.dark #mobile-menu-trending-list:hover,
html.dark .custom-menu-nav:hover {
  scrollbar-color: rgba(255, 255, 255, 0.25) transparent;
}

#menu-categories-list::-webkit-scrollbar,
#menu-trending-list::-webkit-scrollbar,
#mobile-menu-categories-list::-webkit-scrollbar,
#mobile-menu-trending-list::-webkit-scrollbar,
.custom-menu-nav::-webkit-scrollbar {
  width: 3px;
}

#menu-categories-list::-webkit-scrollbar-track,
#menu-trending-list::-webkit-scrollbar-track,
#mobile-menu-categories-list::-webkit-scrollbar-track,
#mobile-menu-trending-list::-webkit-scrollbar-track,
.custom-menu-nav::-webkit-scrollbar-track {
  background: transparent !important;
}

#menu-categories-list::-webkit-scrollbar-thumb,
#menu-trending-list::-webkit-scrollbar-thumb,
#mobile-menu-categories-list::-webkit-scrollbar-thumb,
#mobile-menu-trending-list::-webkit-scrollbar-thumb,
.custom-menu-nav::-webkit-scrollbar-thumb {
  background-color: transparent;
  border-radius: 9999px;
  transition: background-color 0.25s ease;
}

#menu-categories-list:hover::-webkit-scrollbar-thumb,
#menu-trending-list:hover::-webkit-scrollbar-thumb,
#mobile-menu-categories-list:hover::-webkit-scrollbar-thumb,
#mobile-menu-trending-list:hover::-webkit-scrollbar-thumb,
.custom-menu-nav:hover::-webkit-scrollbar-thumb {
  background-color: rgba(156, 163, 175, 0.35);
}

html.dark #menu-categories-list:hover::-webkit-scrollbar-thumb,
html.dark #menu-trending-list:hover::-webkit-scrollbar-thumb,
html.dark #mobile-menu-categories-list:hover::-webkit-scrollbar-thumb,
html.dark #mobile-menu-trending-list:hover::-webkit-scrollbar-thumb,
html.dark .custom-menu-nav:hover::-webkit-scrollbar-thumb {
  background-color: rgba(255, 255, 255, 0.25);
}

#menu-categories-list::-webkit-scrollbar-thumb:hover,
#menu-trending-list::-webkit-scrollbar-thumb:hover,
#mobile-menu-categories-list::-webkit-scrollbar-thumb:hover,
#mobile-menu-trending-list::-webkit-scrollbar-thumb:hover,
.custom-menu-nav::-webkit-scrollbar-thumb:hover {
  background-color: #10b981 !important;
}

/* Donation Modal Theme Support */
.donation-wallet-bkash {
  background-color: rgba(251, 233, 240, 0.5) !important;
  border-color: rgba(244, 114, 182, 0.3) !important;
}

html.dark .donation-wallet-bkash {
  background-color: rgba(157, 23, 77, 0.2) !important;
  border-color: rgba(190, 24, 74, 0.3) !important;
}

.donation-wallet-nagad {
  background-color: rgba(255, 247, 237, 0.5) !important;
  border-color: rgba(251, 146, 60, 0.3) !important;
}

html.dark .donation-wallet-nagad {
  background-color: rgba(124, 45, 18, 0.2) !important;
  border-color: rgba(154, 52, 18, 0.3) !important;
}

.donation-wallet-rocket {
  background-color: rgba(243, 232, 255, 0.5) !important;
  border-color: rgba(192, 132, 252, 0.3) !important;
}

html.dark .donation-wallet-rocket {
  background-color: rgba(88, 28, 135, 0.2) !important;
  border-color: rgba(107, 33, 168, 0.3) !important;
}

.donation-bank-card {
  background-color: #f9fafb !important;
  border-color: #f3f4f6 !important;
}

html.dark .donation-bank-card {
  background-color: #16181c !important;
  border-color: #2f3336 !important;
}

/* Donation Modal — Responsive Sizing */
/* Mobile (default): near full-width, centered */
#donation-modal-content {
  width: 95%;
  max-width: 440px;
  margin: 0 auto;
}

/* Tablet (768px+): slightly wider, centered */
@media (min-width: 768px) {
  #donation-modal-content {
    width: 60%;
    max-width: 500px;
    margin: 0 auto;
  }
}

/* Desktop (1024px+): 42% width, offset left as requested */
@media (min-width: 1024px) {
  #donation-modal-content {
    width: 42%;
    max-width: none;
    margin-left: 29%;
    margin-right: auto;
  }
}

/* Ensure pointer cursor for react (like) and share buttons, as well as general buttons */
button,
.btn-like-story,
.btn-share-story,
.btn-share {
  cursor: pointer !important;
}

/* Transitions for mobile scroll hide/show feature */
.feed-sticky-header {
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), top 0.25s cubic-bezier(0.4, 0, 0.2, 1), background-color 0.25s cubic-bezier(0.4, 0, 0.2, 1), border-color 0.25s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

nav.lg\:hidden {
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), background-color 0.2s ease !important;
}

/* Scroll Hide states on mobile */
@media (max-width: 1023px) {
  .mobile-header-hide {
    transform: translateY(-100%) !important;
  }

  .mobile-nav-hide {
    transform: translateY(100%) !important;
  }
}

/* Active style refinements for the mobile top category links */
.feed-mobile-nav .nav-link {
  position: relative;
}

.feed-mobile-nav .nav-link.active-nav-item::after {
  content: "";
  position: absolute;
  left: 15%;
  right: 15%;
  bottom: 0px;
  width: 74%;
  height: 3px;
  background: var(--color-emerald-500) !important;
  border-radius: 9999px;
}

.dark .feed-mobile-nav .nav-link.active-nav-item::after {
  background: #10b981 !important;
}

/* Skeleton Loader ("Konkal") Utilities */
.skeleton-bg {
  background-color: #e5e7eb !important;
}

.dark .skeleton-bg {
  background-color: #202327 !important;
}

@keyframes skeleton-shimmer {
  0% {
    opacity: 0.5;
  }

  50% {
    opacity: 1;
  }

  100% {
    opacity: 0.5;
  }
}

.skeleton-pulse {
  animation: skeleton-shimmer 1.5s ease-in-out infinite;
}

/* Post text content theme support */
.post-text-content {
  color: #111827;
}

html.dark .post-text-content,
.dark .post-text-content {
  color: #f3f4f6 !important;
}

/* Dark mode sidebar cards & global text/icon defaults */
html.dark aside .bg-white,
.dark aside .bg-white,
html.dark aside,
.dark aside {
  color: #e5e7eb;
}

html.dark aside h2,
html.dark aside h3,
html.dark aside h4,
.dark aside h2,
.dark aside h3,
.dark aside h4 {
  color: #f9fafb;
}

html.dark aside p,
.dark aside p {
  color: #d1d5db;
}

html.dark aside i,
.dark aside i {
  color: inherit;
}

/* System Background Color for light and dark theme */
body {
  background-color: #f4f4f4;
}

html.dark body,
.dark body {
  background-color: #0d0d0d;
}

/* Searchbox focus border for light and dark theme */
#header-search:focus,
.search-input:focus {
  border-color: var(--color-emerald-500) !important;
}

html.dark #header-search:focus,
html.dark .search-input:focus,
.dark #header-search:focus,
.dark .search-input:focus {
  border-color: #10b981 !important;
}

/* Search icon focus color for light and dark theme */
.relative.group:focus-within>div:first-child {
  color: var(--color-emerald-500) !important;
}

html.dark .relative.group:focus-within>div:first-child,
.dark .relative.group:focus-within>div:first-child {
  color: #10b981 !important;
}

/* Cute & Subtle Hover Scrollbar for Categories */
.custom-scrollbar::-webkit-scrollbar {
  width: 4px;
}

.custom-scrollbar::-webkit-scrollbar-track {
  background: transparent;
}

.custom-scrollbar::-webkit-scrollbar-thumb {
  background: rgba(156, 163, 175, 0.4);
  border-radius: 9999px;
}

.custom-scrollbar:hover::-webkit-scrollbar-thumb {
  background: rgba(16, 185, 129, 0.8);
}

.dark .custom-scrollbar::-webkit-scrollbar-thumb {
  background: rgba(75, 85, 99, 0.4);
}

.dark .custom-scrollbar:hover::-webkit-scrollbar-thumb {
  background: rgba(16, 185, 129, 0.8);
}

.custom-scrollbar {
  scrollbar-width: thin;
  scrollbar-color: rgba(156, 163, 175, 0.4) transparent;
}

/* Table Pagination Button Centering & Active State Styling */
.pag-btn {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  line-height: 1 !important;
}

.pag-btn.active {
  background-color: #daece4e7 !important;
  color: #111827 !important;
  font-weight: 700 !important;
}

html.dark .pag-btn.active,
.dark .pag-btn.active {
  background-color: rgba(16, 185, 129, 0.2) !important;
  color: #ffffff !important;
}

/* Form Input Padding & Placeholder Spacing Fix */
input[type="text"],
input[type="email"],
input[type="password"],
input[type="url"],
input[type="search"],
input[type="date"],
select,
textarea {
  padding-left: 1.25rem !important;
  padding-right: 1rem !important;
}

#edit-user-modal-content input::placeholder,
#edit-user-modal-content textarea::placeholder {
  color: #9ca3af !important;
}

/* === Theme Button Utility Classes === */
.btn-emerald-primary {
  background-color: var(--color-emerald-500) !important;
  color: #ffffff !important;
  border: 1px solid transparent !important;
  transition: all 0.2s ease-in-out !important;
}
.btn-emerald-primary:hover {
  background-color: var(--color-emerald-500) !important;
  opacity: 0.9 !important;
  color: #ffffff !important;
}

html.dark .btn-emerald-primary,
.dark .btn-emerald-primary {
  background-color: #10b981 !important;
  color: #ffffff !important;
}
html.dark .btn-emerald-primary:hover,
.dark .btn-emerald-primary:hover {
  background-color: #059669 !important;
  color: #ffffff !important;
}

.btn-danger-action {
  background-color: #ef4444 !important;
  color: #ffffff !important;
  border: 1px solid transparent !important;
  transition: all 0.2s ease-in-out !important;
}
.btn-danger-action:hover {
  background-color: #dc2626 !important;
  color: #ffffff !important;
}

html.dark .btn-danger-action,
.dark .btn-danger-action {
  background-color: #dc2626 !important;
  color: #ffffff !important;
}