.slider-cloud {
    appearance: none;
    width: 100%;
    height: 14px;
    background: transparent;
    cursor: pointer;
    margin: 0; /* Remove default margin */
    padding: 0; /* Remove default padding */
    display: block;
}
.slider-cloud::-webkit-slider-thumb {
    appearance: none;
    width: 36px;
    height: 36px;
    background: linear-gradient(135deg, #a5b4fc 0%, #f0abfc 100%);
    border-radius: 50%;
    box-shadow: 0 2px 8px 0 rgba(100, 100, 255, 0.15);
    border: 2px solid #fff;
    transition: background 0.2s;
    margin-top: -11px; /* Center thumb vertically on track (14px track, 36px thumb) */
}
.slider-cloud:focus::-webkit-slider-thumb {
    outline: 2px solid #6366f1;
}
.slider-cloud::-webkit-slider-runnable-track {
    height: 14px;
    border-radius: 9999px;
    background: linear-gradient(90deg, #a5b4fc 0%, #f0abfc 100%);
}
.slider-cloud::-moz-range-thumb {
    width: 36px;
    height: 36px;
    background: linear-gradient(135deg, #a5b4fc 0%, #f0abfc 100%);
    border-radius: 50%;
    border: 2px solid #fff;
    box-shadow: 0 2px 8px 0 rgba(100, 100, 255, 0.15);
}
.slider-cloud::-moz-range-track {
    height: 14px;
    border-radius: 9999px;
    background: linear-gradient(90deg, #a5b4fc 0%, #f0abfc 100%);
}
.slider-cloud::-ms-thumb {
    width: 36px;
    height: 36px;
    background: linear-gradient(135deg, #a5b4fc 0%, #f0abfc 100%);
    border-radius: 50%;
    border: 2px solid #fff;
    box-shadow: 0 2px 8px 0 rgba(100, 100, 255, 0.15);
}
.slider-cloud:focus {
    outline: none;
}
.slider-cloud::-ms-tooltip {
    display: none;
}
.slider-bubble {
    position: absolute;
    top: -1.7rem; /* or adjust as needed */
    left: 0;
    min-width: 2.5rem;
    text-align: center;
    z-index: 10;
    background: white;
    color: #6366f1;
    padding: 0.25rem 0.5rem;
    border-radius: 0.5rem;
    box-shadow: 0 2px 8px 0 rgba(100, 100, 255, 0.15);
    font-weight: bold;
    pointer-events: none;
    transition: left 0.1s;
    font-size: 1rem;
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(0.95); }
    100% { transform: scale(1); }
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.searching {
    animation: pulse 1s infinite;
    pointer-events: none;
    opacity: 0.8;
}

.job-card {
    animation: fadeIn 0.3s ease-out;
}

.loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.8);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.loading-overlay.active {
    opacity: 1;
    pointer-events: all;
}

.loading-spinner {
    width: 50px;
    height: 50px;
    border: 3px solid #f3f3f3;
    border-top: 3px solid #6366f1;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.job-card.applied {
    border-left: 4px solid #3B82F6;
}

.job-card.applied .apply-button {
    background-color: #10B981;
    cursor: not-allowed;
}

.job-card.applied .apply-button:hover {
    background-color: #059669;
}

#mobileNav {
    transition: all 0.2s ease-out;
}

#navToggle {
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 0.375rem;
}

#navToggle:hover {
    background-color: rgba(59, 130, 246, 0.1);
}

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

.animate-fadeIn {
    animation: fadeIn 0.2s ease-out;
}