.search-container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: .5rem;
    max-width: 800px;
    margin: 0 auto;
}

.search-box {
    display: flex;
    align-items: center;
    border: 1px solid #d8dadd;
    padding: 7px 15px;
    border-radius: 5px 5px 5px 5px;
    flex: 1;
    min-width: 350px;
}

.search-box input {
    border: none;
    background: none;
    width: 100%;
    outline: none;
    font-size: 15px;
}

.dropdown-box {
    /* background-color: #f1f3f6; */
    border: 1px solid #d8dadd;
    border-top: 1px solid #d8dadd;
    border-bottom: 1px solid #d8dadd;
    border-radius: 5px 5px 5px 5px;
    padding: 7px 15px;
    font-size: 15px;
}

.dropdown-box select {
    border: none;
    background: none;
    outline: none;
    font-size: 15px;
    width:250px;
}

.location-box {
    display: flex;
    align-items: center;
    /* background-color: #f1f3f6; */
    border: 1px solid #d8dadd;
    border-radius: 5px 5px 5px 5px;
    padding: 7px 15px;
    flex: 1;
    min-width: 350px;
}
.location-box input {
    border: none;
    background: none;
    width: 100%;
    outline: none;
    font-size: 15px;
}

.btn-manual-search{
    background-color:#5D6B98;
    color: #fff;
}

.btn-manual-search:hover{
    /* Light grey */
    background-color: #434a5c ;
    color: #fff;
}

.icons-right {
    margin-left: 10px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    font-size: 18px;
    color: #000;
}

.bottom-nav a{
    text-decoration: none;
    font-weight: 500;
    padding-bottom: .5rem;
}

.bottom-nav a.active{
    color: #175df3 !important;
    border-bottom:1px solid #175df3;
    font-weight: bold;
}

.blue-filter {
    filter: brightness(0) saturate(100%) invert(25%) sepia(98%) saturate(745%) hue-rotate(204deg) brightness(98%) contrast(101%);
}

.upload-box{
    background-color: #f5f7ff;
    color: #175df3;
    border: none;
}

.easy-apply-box{
    max-width: 120px;
    background: #EFF8FF;
    color: #155EEF;
}

.card-job-madie{
    background-color: #fbfaff !important;
    border: 2px solid #bd94fa;
}

/* AI Sparkle / Magic Loading State */
.ai-sparkle-container {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 3px 8px;
    min-width: 90px;
    height: 24px;
    background: #F4F3FF;
    border-radius: 4px;
    overflow: visible;
}

.ai-sparkle-container .sparkle {
    position: absolute;
    width: 6px;
    height: 6px;
    pointer-events: none;
}

.ai-sparkle-container .sparkle::before,
.ai-sparkle-container .sparkle::after {
    content: '';
    position: absolute;
    background: #7A5AF8;
    border-radius: 1px;
}

.ai-sparkle-container .sparkle::before {
    width: 100%;
    height: 2px;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
}

.ai-sparkle-container .sparkle::after {
    width: 2px;
    height: 100%;
    left: 50%;
    top: 0;
    transform: translateX(-50%);
}

.ai-sparkle-container .sparkle:nth-child(1) {
    top: -2px; left: 2px; animation: ai-sparkle-pop 1.6s 0s ease-in-out infinite;
}
.ai-sparkle-container .sparkle:nth-child(2) {
    top: 16px; left: 22px; width: 5px; height: 5px; animation: ai-sparkle-pop 1.6s 0.3s ease-in-out infinite;
}
.ai-sparkle-container .sparkle:nth-child(3) {
    top: -3px; left: 50px; width: 4px; height: 4px; animation: ai-sparkle-pop 1.6s 0.7s ease-in-out infinite;
}
.ai-sparkle-container .sparkle:nth-child(4) {
    top: 18px; left: 68px; width: 5px; height: 5px; animation: ai-sparkle-pop 1.6s 1.0s ease-in-out infinite;
}
.ai-sparkle-container .sparkle:nth-child(5) {
    top: -1px; left: 82px; width: 3px; height: 3px; animation: ai-sparkle-pop 1.6s 0.5s ease-in-out infinite;
}

.ai-sparkle-container .sparkle-star {
    animation: ai-star-twinkle 2s ease-in-out infinite;
    position: relative;
    z-index: 1;
}

.ai-sparkle-container .sparkle-text {
    font-size: 11px;
    font-weight: 600;
    background: linear-gradient(90deg, #7A5AF8, #A78BFA, #7A5AF8);
    background-size: 200% 100%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: ai-text-shimmer 2.4s ease-in-out infinite;
    position: relative;
    z-index: 1;
}

@keyframes ai-sparkle-pop {
    0%, 100% { opacity: 0; transform: scale(0) rotate(0deg); }
    15%      { opacity: 1; transform: scale(1.2) rotate(25deg); }
    30%      { opacity: 1; transform: scale(0.9) rotate(45deg); }
    50%      { opacity: 0; transform: scale(0) rotate(90deg); }
}

@keyframes ai-star-twinkle {
    0%, 100% { opacity: 0.4; transform: scale(0.8); }
    25%      { opacity: 1;   transform: scale(1.2); }
    50%      { opacity: 0.5; transform: scale(0.9); }
    75%      { opacity: 1;   transform: scale(1.1); }
}

@keyframes ai-text-shimmer {
    0%   { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

/* Match Panel Tabs */
.match-panel-tabs {
    padding-bottom: 0;
}

.match-panel-tab {
    background: #fff;
    border: 1.5px solid #D0D5DD;
    padding: 7px 18px;
    border-radius: 20px;
    font-size: 13px;
    color: #344054;
    cursor: pointer;
    transition: all 0.2s ease;
}

.match-panel-tab:hover {
    background: #F2F4F7;
}

.match-panel-tab.active {
    background: #344054;
    border-color: #344054;
    color: #fff;
}

.match-panel-tab.active:hover {
    background: #1D2939;
    border-color: #1D2939;
}

/* AI Match Score Badge */
.ai-score-badge {
    background: #F4F3FF;
    border-radius: 4px;
    padding: 3px 8px;
    min-width: 70px;
    cursor: default;
}

.ai-score-badge label {
    color: #7A5AF8;
    font-size: 12px;
    line-height: 1.2;
    cursor: default;
}

/* Maddie recommended gradient border */
.card-job.maddie-recommended {
    border: 2px solid transparent !important;
    background-image: linear-gradient(white, white), linear-gradient(135deg, #7A5AF8 0%, #3B82F6 50%, #EC4899 100%) !important;
    background-origin: border-box !important;
    background-clip: padding-box, border-box !important;
    box-shadow:
        0 0 12px 2px rgba(122, 90, 248, 0.15),
        0 0 30px 4px rgba(122, 90, 248, 0.08) !important;
    animation: maddie-glow-pulse 3s ease-in-out infinite;
}

.card-job.maddie-recommended:hover {
    background-image: linear-gradient(#f5f8ff, #f5f8ff), linear-gradient(135deg, #7A5AF8 0%, #3B82F6 50%, #EC4899 100%) !important;
    background-origin: border-box !important;
    background-clip: padding-box, border-box !important;
    box-shadow:
        0 0 20px 5px rgba(122, 90, 248, 0.28),
        0 0 40px 8px rgba(236, 72, 153, 0.12) !important;
    animation: maddie-glow-pulse 3s ease-in-out infinite;
}

.card-job.maddie-recommended:active,
.card-job.maddie-recommended.active {
    background-image: linear-gradient(#F5F8FF, #F5F8FF), linear-gradient(135deg, #7A5AF8 0%, #155EEF 50%, #EC4899 100%) !important;
    background-origin: border-box !important;
    background-clip: padding-box, border-box !important;
    border: 2px solid transparent !important;
    box-shadow:
        0 0 20px 5px rgba(122, 90, 248, 0.30),
        0 0 44px 10px rgba(236, 72, 153, 0.14) !important;
    animation: none;
}

@keyframes maddie-glow-pulse {
    0%, 100% {
        box-shadow:
            0 0 12px 2px rgba(122, 90, 248, 0.15),
            0 0 30px 4px rgba(122, 90, 248, 0.08);
    }
    50% {
        box-shadow:
            0 0 22px 6px rgba(122, 90, 248, 0.28),
            0 0 44px 10px rgba(236, 72, 153, 0.14);
    }
}

.card-job.maddie-good-match {
    border: 2px solid transparent;
    background-image: linear-gradient(white, white), linear-gradient(135deg, #a78bfa 0%, #93c5fd 100%);
    background-origin: border-box;
    background-clip: padding-box, border-box;
}

.card-job.maddie-good-match:hover {
    background-image: linear-gradient(#f5f8ff, #f5f8ff), linear-gradient(135deg, #a78bfa 0%, #93c5fd 100%);
    background-origin: border-box;
    background-clip: padding-box, border-box;
}

.card-job.maddie-good-match.active {
    background-image: linear-gradient(#F5F8FF, #F5F8FF), linear-gradient(135deg, #a78bfa 0%, #60a5fa 100%);
    background-origin: border-box;
    background-clip: padding-box, border-box;
    box-shadow: 0 4px 16px 0 rgba(122, 90, 248, 0.18) !important;
}

/* ── Maddie AI Matching Loader ── */
.maddie-matching-loader {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 64px 24px 48px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.maddie-matching-orb {
    position: relative;
    width: 96px;
    height: 96px;
    margin-bottom: 28px;
}

.maddie-matching-orb .orb-aura {
    position: absolute;
    inset: -12px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(122,90,248,0.20) 0%, rgba(59,130,246,0.08) 50%, transparent 70%);
    animation: maddie-aura-breathe 2.4s ease-in-out infinite;
}

.maddie-matching-orb .orb-aura-outer {
    position: absolute;
    inset: -24px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(167,139,250,0.10) 0%, transparent 60%);
    animation: maddie-aura-breathe 3s 0.6s ease-in-out infinite;
}

.maddie-matching-orb .orb-icon {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: maddie-icon-float 2.8s ease-in-out infinite;
}

.maddie-matching-orb .orb-icon img {
    width: 40px;
    height: 40px;
    filter: drop-shadow(0 0 12px rgba(122,90,248,0.45));
}

@keyframes maddie-aura-breathe {
    0%, 100% { opacity: 0.4; transform: scale(0.85); }
    50%      { opacity: 1;   transform: scale(1.1); }
}

@keyframes maddie-icon-float {
    0%, 100% { transform: translateY(3px) scale(1); }
    50%      { transform: translateY(-5px) scale(1.06); }
}

.maddie-matching-title {
    font-size: 17px;
    font-weight: 700;
    background: linear-gradient(135deg, #7A5AF8, #3B82F6, #EC4899);
    background-size: 200% 200%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: maddie-title-shift 3s ease-in-out infinite;
    margin-bottom: 8px;
}

@keyframes maddie-title-shift {
    0%, 100% { background-position: 0% 50%; }
    50%      { background-position: 100% 50%; }
}

.maddie-matching-subtitle {
    font-size: 13px;
    color: #7D89B0;
    font-weight: 500;
    margin-bottom: 32px;
}

/* Sparkle dots */
.maddie-matching-sparkles {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
}

.maddie-matching-sparkles .sparkle-dot {
    position: absolute;
    border-radius: 50%;
    background: #7A5AF8;
    box-shadow: 0 0 6px 2px rgba(122,90,248,0.4);
}

.maddie-matching-sparkles .sparkle-dot:nth-child(1) {
    width: 5px; height: 5px; top: 10%; left: 18%;
    animation: maddie-sparkle-twinkle 2.2s 0s ease-in-out infinite;
}
.maddie-matching-sparkles .sparkle-dot:nth-child(2) {
    width: 4px; height: 4px; top: 18%; right: 15%;
    background: #3B82F6;
    box-shadow: 0 0 6px 2px rgba(59,130,246,0.4);
    animation: maddie-sparkle-twinkle 2.6s 0.4s ease-in-out infinite;
}
.maddie-matching-sparkles .sparkle-dot:nth-child(3) {
    width: 3px; height: 3px; top: 40%; left: 10%;
    background: #EC4899;
    box-shadow: 0 0 5px 2px rgba(236,72,153,0.35);
    animation: maddie-sparkle-twinkle 2s 0.9s ease-in-out infinite;
}
.maddie-matching-sparkles .sparkle-dot:nth-child(4) {
    width: 5px; height: 5px; bottom: 28%; right: 12%;
    background: #A78BFA;
    box-shadow: 0 0 6px 2px rgba(167,139,250,0.4);
    animation: maddie-sparkle-twinkle 2.4s 0.6s ease-in-out infinite;
}
.maddie-matching-sparkles .sparkle-dot:nth-child(5) {
    width: 3px; height: 3px; bottom: 35%; left: 24%;
    animation: maddie-sparkle-twinkle 2.8s 1.2s ease-in-out infinite;
}
.maddie-matching-sparkles .sparkle-dot:nth-child(6) {
    width: 4px; height: 4px; top: 30%; right: 22%;
    background: #3B82F6;
    box-shadow: 0 0 5px 2px rgba(59,130,246,0.35);
    animation: maddie-sparkle-twinkle 2.2s 1.5s ease-in-out infinite;
}
.maddie-matching-sparkles .sparkle-dot:nth-child(7) {
    width: 3px; height: 3px; top: 55%; right: 8%;
    background: #EC4899;
    box-shadow: 0 0 5px 2px rgba(236,72,153,0.3);
    animation: maddie-sparkle-twinkle 2.6s 0.2s ease-in-out infinite;
}
.maddie-matching-sparkles .sparkle-dot:nth-child(8) {
    width: 4px; height: 4px; bottom: 20%; left: 14%;
    background: #A78BFA;
    box-shadow: 0 0 5px 2px rgba(167,139,250,0.35);
    animation: maddie-sparkle-twinkle 2s 0.8s ease-in-out infinite;
}

@keyframes maddie-sparkle-twinkle {
    0%, 100% { opacity: 0; transform: scale(0); }
    30%      { opacity: 1; transform: scale(1.3); }
    50%      { opacity: 0.8; transform: scale(0.9); }
    70%      { opacity: 1; transform: scale(1.1); }
    85%      { opacity: 0; transform: scale(0.2); }
}

.maddie-skeleton-cards {
    width: 100%;
}

.maddie-skeleton-card {
    background: #fff;
    border: 2px solid transparent;
    background-image: linear-gradient(#fff, #fff), linear-gradient(135deg, rgba(122,90,248,0.25) 0%, rgba(59,130,246,0.15) 50%, rgba(236,72,153,0.1) 100%);
    background-origin: border-box;
    background-clip: padding-box, border-box;
    border-radius: 20px;
    padding: 16px;
    margin-bottom: 12px;
    position: relative;
    overflow: hidden;
}

.maddie-skeleton-card::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, transparent, rgba(122,90,248,0.06), transparent);
    animation: maddie-card-sweep 2s ease-in-out infinite;
}

@keyframes maddie-card-sweep {
    0%   { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

.maddie-skel-line {
    height: 14px;
    border-radius: 6px;
    background: linear-gradient(90deg, #EEEAF9 0px, #F7F5FD 40px, #EEEAF9 80px);
    background-size: 400px;
    animation: shimmer 1.6s infinite linear;
}

.maddie-skel-badge {
    width: 80px;
    height: 26px;
    border-radius: 6px;
    background: linear-gradient(90deg, #EEEAF9 0px, #F7F5FD 40px, #EEEAF9 80px);
    background-size: 400px;
    animation: shimmer 1.6s infinite linear;
}

.card-job{
    border: 2px solid #e9eaec;
    border-radius: 20px;;
}

.card-job:hover{
    background-color: #f5f8ff !important;
    border: 2px solid #84ADFF;
}

.card-job:active,
.card-job.active{
    cursor: pointer;
    border-radius: 16px;
    border: 2px solid #155EEF;
    background: #F5F8FF !important;
    box-shadow: 0 4px 16px 0 rgba(52, 111, 248, 0.32) !important;
}

/* Hide posted-date in recommendation mode */
.recommendation-mode .job-posted-date {
    display: none !important;
}

.card-job h4{
  font-size: 20px;
}

.card-job.active h4{
  color: #0040C1 !important;
}

.bookmark-inactive{
    color: #B9C0D4;
    font-weight: 900;
    text-shadow: -0.5px -0.5px 0 currentColor,
                 0.5px -0.5px 0 currentColor,
                 -0.5px 0.5px 0 currentColor,
                 0.5px 0.5px 0 currentColor;
}

.bookmark-inactive:focus-visible{
    outline: none;
    color: #175df3 !important;
}

.bookmark-section:active{
    color: unset !important;
    background-color: unset !important;
    border: none !important;
}

.bi-bookmark-fill{
    color: #155EEF;
}

/* Buttons */
.filter-bar {
  display: flex;
  gap: 0.75rem;
  align-items: center;
  flex-wrap: wrap;
}

.custom-rounded{
    border-radius: 50px;
}

.btn-easy-apply {
    background-color: #0061ff;
    color: #fff;
    padding: 0.5rem 1.25rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 0.4rem;
    border: none;
}

.btn-easy-apply:hover{
    background-color: #3280FF;
}

.btn-filter {
  background-color: #f8f9fa;
  border: none;
  border-radius: 50px;
  padding: 0.5rem 1.25rem;
  font-weight: 500;
  color: #30374F;
  cursor: pointer;
  position: relative;
}

.btn-filter i.fa-chevron-down,
.btn-filter i.fa-chevron-up {
  transition: transform 0.2s ease;
  font-size: 0.75rem;
}

.btn-filter:hover {
  background-color: #e9ecef;
}

.btn-filter.active-filter {
  background-color: #e5e9f4;
  color: #004eec;
}

.clear-all-btn {
  color: #5D6B98;
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
  cursor: pointer;
  padding: 0.5rem 1.25rem;
}

.clear-all-btn:hover {
  text-decoration: underline;
}

/* Dropdown styles */

.filter-dropdown {
  position: absolute;
  top: 110%;
  left: 0;
  min-width: 300px;
  background: #fff;
  border: 1px solid #84ADFF;
  border-radius: 12px;
  padding: 1.25rem;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.15);
  z-index: 999999;
  display: none;
  animation: dropdownFade 0.2s ease;
}

@keyframes dropdownFade {
  from { opacity: 0; transform: translateY(-5px); }
  to { opacity: 1; transform: translateY(0); }
}

.filter-dropdown label {
  display: block;
  margin-bottom: 0.5rem;
  font-size: 0.95rem;
  cursor: pointer;
}

.filter-dropdown label.filter-option {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.5rem 0.75rem;
  border-radius: 6px;
  transition: background-color 0.2s ease;
}

.filter-dropdown label.filter-option:hover {
  background-color: #f8f9fa;
}

.filter-dropdown input[type="checkbox"],
.filter-dropdown input[type="radio"] {
  display: none;
}

.filter-dropdown .option-text {
  flex: 1;
}

.filter-dropdown .checkmark {
  color: #007bff;
  font-weight: bold;
  font-size: 1.2rem;
  visibility: hidden;
  opacity: 0;
  transition: opacity 0.2s ease;
}

.filter-dropdown input[type="checkbox"]:checked ~ .checkmark,
.filter-dropdown input[type="radio"]:checked ~ .checkmark {
  visibility: visible;
  opacity: 1;
}

.filter-dropdown.active {
  display: block;
}

.dropdown-title {
  font-weight: 600;
  border-bottom: 1px solid #dee2e6;
  padding-bottom: 0.25rem;
  margin-bottom: 0.75rem;
}

.icon-bolt {
    font-size: 1rem;
}

/* Sort Dropdown Styles */
.sort-container {
  display: flex;
  align-items: center;
}

.sort-filter {
  position: relative;
  display: inline-block;
}

.btn-sort {
  background-color: #f8f9fa;
  border: none;
  padding: 0.5rem 1rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  transition: all 0.2s ease;
  color: #30374F !important;
}

.btn-sort:hover {
  border-color: #84ADFF;
  background-color: #f8f9fa;
}

.btn-sort i {
  font-size: 0.75rem;
  transition: transform 0.2s ease;
}

.sort-filter.active .btn-sort i {
  transform: rotate(180deg);
}

.sort-dropdown {
  position: absolute;
  top: 110%;
  right: 0;
  min-width: 220px;
  background: #fff;
  border: 1px solid #84ADFF;
  border-radius: 12px;
  padding: 0.5rem 0;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.15);
  z-index: 999999;
  display: none;
  animation: dropdownFade 0.2s ease;
}

.sort-dropdown.active {
  display: block;
}

.sort-dropdown .sort-option {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.65rem 1rem;
  cursor: pointer;
  transition: background-color 0.2s ease;
  margin-bottom: 0;
}

.sort-dropdown .sort-option:hover {
  background-color: #f8f9fa;
}

.sort-dropdown input[type="radio"] {
  display: none;
}

.sort-dropdown .option-text {
  flex: 1;
  font-size: 0.95rem;
  color: #333;
}

.sort-dropdown .checkmark {
  color: #007bff;
  font-weight: bold;
  font-size: 1rem;
  visibility: hidden;
  opacity: 0;
  transition: opacity 0.2s ease;
}

.sort-dropdown input[type="radio"]:checked ~ .checkmark {
  visibility: visible;
  opacity: 1;
}

/* .job-salary{
    color: #008c66;
} */

.company-logo{
    height: 30px;
    width: 30px;
    object-fit: contain;
}

/* Resume Match Section */
.match-box {
    background-color: #fbfaff;
    padding: 16px 20px;
    border-top: 1px solid #c99cfb;
    border-bottom: 1px solid #c99cfb;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.upload-btn {
    background: linear-gradient(90deg, #D6C4FF 0%, #6B3BFF 100%);
    border: none;
    color: white;
    font-weight: 500;
    padding: 8px 16px;
    border-radius: 6px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.upload-btn:hover {
    background-color: #009146;
}

.text--success{
    color: #34a171;
}

.text--primary{
    color: #2daad9;
}

.text-gray{
    color: #425466;
}

/* Job Details */
.job-description {
    /* max-height: 150px; */
    overflow: hidden;
    /* position: relative; */
    transition: max-height 0.4s ease;
}

/* .job-description::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 40px;
    background: linear-gradient(to bottom, rgba(255,255,255,0), white 90%);
    pointer-events: none;
} */

.job-description.expanded {
    max-height: none;
}

.job-description.expanded::after {
    display: none;
}

.btn-bookmark-unfill{
    background-color: #FFFFFF;
    color: #5D6B98;
    font-weight: 900;
    text-shadow: -0.5px -0.5px 0 currentColor,
                 0.5px -0.5px 0 currentColor,
                 -0.5px 0.5px 0 currentColor,
                 0.5px 0.5px 0 currentColor;
    border: 1.22px solid #B9C0D4;
}

.btn-bookmark-fill{
    background-color: #D1E0FF;
    color: #004fec;
    font-weight: 900;
    text-shadow: -0.5px -0.5px 0 currentColor,
                 0.5px -0.5px 0 currentColor,
                 -0.5px 0.5px 0 currentColor,
                 0.5px 0.5px 0 currentColor;
    border: 1.22px solid #84ADFF;
}


.btn-bookmark:hover{
        /* lighter than 004fec */
        background-color: #d0e2ff;
        color: #004fec;
}

/* Bookmark */
/* .bookmark-section:hover{
    cursor: pointer;
    background-color: #f2f3f7;
} */

.skill-section2{
    border: 1px solid #0b9250;
}

.text-green-700{
    color: #087443;
}

.text-green-500{
    color: #16b465 !important;
}

.text-purple-600{
  color: #623ae2;
}

.text-purple-700{
    color: #6a38ef;
}

#suggestion-header{
    background-color:#f5f3ff;
    border-radius: 50px;
}

.reportJobListing{
    cursor: pointer;
}


/* Skeleton load */
.skeleton {
    background: linear-gradient(90deg, #e9e9e9 0px, #f5f5f5 40px, #e9e9e9 80px);
    background-size: 600px;
    animation: shimmer 1.6s infinite linear;
    border-radius: 6px;
}

.skeleton-circle {
    border-radius: 50%;
}

.skeleton-box {
    border-radius: 8px;
}

.skeleton-text {
    height: 16px;
}

.skeleton-badge {
    width: 90px;
    height: 28px;
    border-radius: 6px;
}

.skeleton-card {
    border-radius: 10px;
    height: 120px;
}

.skeleton-multiline {
    height: 80px;
    width: 100%;
    border-radius: 8px;
}

@keyframes shimmer {
    0% { background-position: -600px 0; }
    100% { background-position: 600px 0; }
}


#label-location,
#label-title {
    color: #175df3;
    font-weight: bold;
}

/* Desktop - Hide header */
.job-details-header {
    display: none;
}

.page-content{
    padding: 0;
}

/* Location Autocomplete Dropdown Styles */
.location-autocomplete-dropdown {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-top: none;
    border-radius: 0 0 8px 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    z-index: 1000;
    max-height: 320px;
    overflow-y: auto;
}

.location-autocomplete-dropdown.show {
    display: block;
}

.location-dropdown-item {
    display: flex;
    align-items: center;
    padding: 12px 16px;
    cursor: pointer;
    transition: background-color 0.15s ease;
    border-bottom: 1px solid #f3f4f6;
}

.location-dropdown-item:last-child {
    border-bottom: none;
}

.location-dropdown-item:hover,
.location-dropdown-item.highlighted {
    background-color: #f3f4f6;
}

.location-dropdown-item .location-icon {
    color: #6b7280;
    margin-right: 12px;
    font-size: 16px;
    flex-shrink: 0;
}

.location-dropdown-item .location-text {
    font-size: 14px;
    color: #1f2937;
    font-weight: 500;
}

.location-dropdown-item .location-text .highlight {
    font-weight: 700;
}

.location-dropdown-empty {
    padding: 16px;
    text-align: center;
    color: #6b7280;
    font-size: 14px;
}

.location-dropdown-loading {
    padding: 16px;
    text-align: center;
    color: #6b7280;
    font-size: 14px;
}

.location-dropdown-loading .spin {
    display: inline-block;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.location-box {
    position: relative;
}

.location-box.dropdown-open input {
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
}

.inactive-ai, 
.inactive-menu{
    color: #7D89B0 !important;
}

.active-ai{
   background: linear-gradient(90deg, #7873F5 0%, #EC77AB 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    border-bottom: 2px solid;
    border-image: linear-gradient(90deg, #7873F5 0%, #EC77AB 100%) 1;
}

/* Tags */
.tag-new{
    background-color: #FDF2FA;
    color:#EE46BC;
    border-radius: 4px;
}

.tag-responds-immediate{
    background-color: #F0FDF9;
    color:#0E9384;
    border-radius: 4px;
}

.tag-urgently-hiring{
    background-color: #F4F3FF;
    color:#7A5AF8;
    border-radius: 4px;
}

/* Filters */
.filter-title-display{
    color:#404968;
}

.filter-display{
    /* background-color:#F9F9FB; */
    border-radius: 12px;
}

#btn-clear-all{
    background-color: #FFFFFF;
    border: 2px solid #DCDFEA;
    cursor: pointer !important;
}

#btn-clear-all label{
    cursor: pointer !important;
}

.btn-report{
    background-color: transparent;
    border: 1.22px solid #FDA29B;
}

.btn-report:hover{
    background-color: #FEE4E2;
}

.btn-clear-search{
    background-color: transparent;
    border: none;
    color: #5D6B98;
    font-weight: 500;
    cursor: pointer !important;
}

.btn-clear-search:hover{
    color: #5D6B98;
}

/* Buttons */
.btn-external{
    padding: 10px 20px;
    background-color: #EFF4FF;
    border: 1px solid #2970FF;
    color: #2970FF;
    text-decoration: none;
}

.btn-external:hover{
    background-color: #2970FF;
    color: #EFF4FF;
}

.btn-internal{
    padding: 10px 20px;
    background-color: #155EEF;
    color: #FFFFFF;
    text-decoration: none;
}

.btn-internal:hover{
    background-color: #0D47A1;
    color: #FFFFFF;
}

.bg-tags{
    background-color: #F8F9FC;
    border: 1px solid #D5D9EB;
    color: #363F72;
}

.bookmark-inactive:hover{
    color: #175df3 !important;
}

.btn-share-job {
    background: none;
    border: 1px solid #d5d9eb;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #404968;
    transition: background-color 0.15s;
}

.btn-share-job:hover {
    background-color: #f0f2f5;
}

.share-job-menu a:hover {
    background-color: #f5f5f5;
}

#job-detail-container{
    border: 2px solid #DCDFEA;
    border-radius: 16px;
    margin-bottom: 1rem;
}

#reportJobModal{
    z-index: 9999;
}

.j-title{
    max-width: 500px;
}

.j-title-l{
    max-width: 600px;
}

/* gradient text */
.gradient-text{
    background: linear-gradient(90deg, #7873F5 0%, #EC77AB 100%);
    -webkit-background-clip: text;
    background-clip: text;

    color: transparent;
    -webkit-text-fill-color: transparent;
}

.btn-google {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;

    width: 100%;
    max-width: 420px;
    padding: 14px 20px;

    /* background-color: #f5f5f5; */
    background: #F9F9FB;
    border: 1px solid #dcdcdc;
    border-radius: 8px;

    font-size: 16px;
    font-weight: 500;
    color: #3c4043;

    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-google img {
    width: 20px;
    height: 20px;
}

.or-divider {
    display: flex;
    align-items: center;
    text-align: center;
    color: #aaa;
    margin: 20px 0;
}

.or-divider::before,
.or-divider::after {
    content: "";
    flex: 1;
    border-bottom: 1px solid #ddd;
}

.or-divider:not(:empty)::before {
    margin-right: 0.75em;
}

.or-divider:not(:empty)::after {
    margin-left: 0.75em;
}

@media (max-width: 1280px) {
    .j-title{
        max-width: 400px;
    }

    .j-title-l{
        max-width: 500px;
    }
}

@media (max-width: 500px) {

    .bookmark-container{
        position: unset !important;
    }
    .cta-title{
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

    .cta-title div{
        position: unset !important;
    }

    #frmSearhManual{
        flex-wrap: wrap !important;
    }

    .file-search-container > img{
        width: 100% !important;
        height: auto !important;
    }

    .search-button-box,
    .btn-manual-search{
        width: 100%;
    }

    #date-dropdown{
        right: 0;
        left: unset;
    }

    #remote-dropdown{
        left: unset;
    }

    .location-autocomplete-dropdown {
        max-height: 250px;
    }
}

/* Mobile Job Details Slide-in Panel */
@media (max-width: 500px) {
    .job-details-header {
        position: sticky;
        top: 0;
        display: flex;
        justify-content: space-between;
        align-items: center;
        background: white;
        padding: 1rem;
        border-bottom: 1px solid #e9eaec;
        z-index: 1001;
    }

    .job-details-header h5 {
        font-weight: 600;
        color: #212529;
        margin-bottom: 0;
    }

    .job-detail-close-btn {
        background: none;
        border: none;
        padding: 0.5rem;
        font-size: 1.5rem;
        cursor: pointer;
        color: #212529;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .job-detail-close-btn:hover {
        color: #0d6efd;
    }

    #job-detail-container,
    #job-detail-skeleton {
        padding: 1rem;
    }

    .easy-apply-text{
        display: none;
    }

    #remote-dropdown{
        left: -135%;
    }

    /* Job details mobile responsive styles */
    .job-details-panel {
        position: fixed;
        top: 0;
        right: 0;
        width: 100%;
        height: 100vh;
        z-index: 1000;
        background: white;
        transform: translateX(100%);
        transition: transform 0.3s ease-in-out;
        overflow-y: auto;
        padding: 0;
        margin: 0;
    }

    .job-details-panel.active {
        transform: translateX(0);
    }

    /* Single-job URL (?jobId=&source=): full page, not slide-over panel */
    .job-deep-link-focus .job-details-panel {
        position: relative;
        transform: none;
        height: auto;
        min-height: unset;
        z-index: 1;
        width: 100%;
    }

    .job-deep-link-focus .job-details-panel.active {
        transform: none;
    }

    .job-listings-section {
        position: relative;
        z-index: 999;
    }

    /* Display easy apply button mobile */
    .m-easy-apply-section,
    .m-easy-apply-section .btn-easy-apply,
    .m-easy-apply-section .easy-apply-text{
        display: flex !important;
        justify-content: center;
    }

    /* Hide fast apply tag */
    .btn-easy-apply{
        display: none;
    }

    .btn-clear-search label{
        display: none !important;
    }
    
    .sort-dropdown{
        right: -80px;
    }

    .job-details-panel{
        z-index: 9999;
    }
}