/* Search Component Styles */

.job-card-active {
  border-color: #2563eb !important; /* blue-600 */
  background-color: #f0f7ff !important; /* blue-50 */
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06) !important;
}

/* Global Card Hover Animation - Applies to Light, Dark, and High Contrast */
#job-grid a.block, 
#job-list article {
  transition: transform 0.2s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.2s ease !important;
}

#job-grid a.block:hover, 
#job-list article:hover {
  transform: translateY(-6px) !important;
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04) !important;
}

/* List View Specific Hover */
#job-grid.flex-col a.block:hover {
    transform: translateX(4px) !important;
}

/* Custom Select Styling */
.custom-select {
    appearance: none !important;
    -webkit-appearance: none !important;
    -moz-appearance: none !important;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%236b7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='M6 8l4 4 4-4'/%3e%3c/svg%3e") !important;
    background-position: right 0.5rem center !important;
    background-repeat: no-repeat !important;
    background-size: 1.5em 1.5em !important;
    padding-right: 2.5rem !important;
    vertical-align: middle !important;
    min-width: 65px !important;
}

/* Skeleton Animation Override for High Contrast */
body.high-contrast .animate-pulse {
  animation: none !important;
  background: #ffffff !important;
  border: 1px dashed #000000 !important;
}

/* Dark Mode Overrides for Search */
body.dark .job-card-active {
  background-color: #1e293b !important;
  border-color: #3b82f6 !important;
}

body.dark article[role="button"]:hover,
body.dark #job-grid a.block:hover {
  border-color: #3b82f6 !important;
}

/* High Contrast Adjustments are handled primarily in theme-switcher.css */
