.jobs-search-page {
    background-color: transparent !important;
    padding-top: 80px;
    min-height: 80vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    font-family: 'Rubik', sans-serif;
}

.jobs-search-wrapper {
    width: 100%;
    max-width: 850px;
    margin: 0 auto 40px auto; /* Reduced from 80px */
    position: relative;
    padding: 0 20px;
}

.jobs-search-engine-centered {
    width: 100%;
    background: #ffffff;
    border-radius: 40px;
    box-shadow: 0 20px 60px rgba(29, 52, 105, 0.08), 0 5px 15px rgba(0, 0, 0, 0.02);
    padding: 10px;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    border: 1px solid rgba(29, 52, 105, 0.04);
}

.jobs-search-engine-centered:hover {
    box-shadow: 0 30px 80px rgba(29, 52, 105, 0.12), 0 10px 25px rgba(0, 0, 0, 0.04);
    transform: translateY(-2px);
}

.jobs-search-engine-centered form {
    display: flex;
    flex-direction: column;
    width: 100%;
}

/* Main Search Input Container */
.search-main-container {
    padding: 10px 25px;
    border-bottom: 1px solid #f1f5f9;
}

.search-main-field {
    display: flex;
    align-items: center;
    gap: 15px;
    width: 100%;
}

.search-icon {
    font-size: 24px;
    color: #94a3b8;
    transition: color 0.3s ease;
}

.search-main-field input {
    flex: 1;
    border: none !important;
    background: transparent !important;
    padding: 15px 0;
    font-size: 1.25em;
    color: #1e293b;
    font-weight: 500;
    outline: none !important;
    box-shadow: none !important;
}

.search-main-field input::placeholder {
    color: #cbd5e1;
    font-weight: 400;
}

/* Filter Bar Container */
.search-filters-container {
    display: flex;
    align-items: center;
    padding: 5px 15px;
}

.filter-item {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 15px;
    position: relative;
}

.filter-icon {
    font-size: 18px;
    color: #94a3b8;
}

.filter-item select {
    flex: 1;
    border: none !important;
    background: transparent !important;
    color: #475569;
    font-size: 0.95em;
    font-weight: 500;
    cursor: pointer;
    outline: none !important;
    box-shadow: none !important;
    appearance: none;
    padding-right: 25px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='%2394a3b8' viewBox='0 0 16 16'%3E%3Cpath d='M7.247 11.14 2.451 5.658C1.885 5.013 2.345 4 3.204 4h9.592a1 1 0 0 1 .753 1.659l-4.796 5.48a1 1 0 0 1-1.506 0z'/%3E%3C/svg%3E") !important;
    background-repeat: no-repeat !important;
    background-position: right center !important;
}

.filter-separator {
    width: 1px;
    height: 30px;
    background: #f1f5f9;
}

/* Focus States */
.search-main-field input:focus ~ .search-icon {
    color: var(--jobs-primary-color);
}

.filter-item:focus-within .filter-icon {
    color: var(--jobs-primary-color);
}

/* Status Indicator */
.jobs-status-indicator {
    text-align: center;
    margin-top: 30px;
    animation: fadeIn 0.5s ease;
}

.indicator-spinner {
    width: 32px;
    height: 32px;
    border: 3px solid #f1f5f9;
    border-top: 3px solid var(--jobs-primary-color);
    border-radius: 50%;
    display: inline-block;
    animation: spin 1s linear infinite;
    margin-bottom: 12px;
}

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

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

.jobs-status-indicator p {
    font-size: 1em;
    color: #64748b;
    font-weight: 500;
    margin: 0;
}

/* Results Layout */
#jobs-search-results-wrapper {
    width: 100%;
    max-width: 1200px;
    margin: -10px auto 0 auto; /* Negative margin to pull results closer to search bar */
}

.jobs-results-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 35px;
    padding: 20px;
}

/* Responsive Overrides */
@media (max-width: 850px) {
    .search-filters-container {
        flex-direction: column;
        padding: 10px;
    }
    .filter-separator {
        display: none;
    }
    .filter-item {
        width: 100%;
        border-bottom: 1px solid #f8fafc;
    }
    .filter-item:last-child {
        border-bottom: none;
    }
    .jobs-search-engine-centered {
        border-radius: 24px;
    }
}

@media (max-width: 768px) {
    .jobs-search-page {
        padding-top: 40px;
    }
    .search-main-field input {
        font-size: 1.1em;
    }
    .jobs-main-logo {
        max-height: 100px;
    }
}

/* No Results Section */
.jobs-no-results {
    text-align: center;
    padding: 80px 20px;
    color: #1d3469;
}

.jobs-no-results h3 {
    font-size: 2em;
    font-weight: 700;
    margin-bottom: 20px;
}

.search-suggestions {
    display: inline-block;
    text-align: left;
    background: #f8fafc;
    padding: 35px;
    border-radius: 24px;
    margin-top: 20px;
    border: 1px solid #e2e8f0;
}

.jobs-google-header {
    margin-bottom: 50px;
}

.jobs-main-logo {
    width: var(--logo-custom-width, 180px);
    max-width: 100%;
    height: auto;
    max-height: 120px;
    transition: all 0.3s ease;
}

@media (max-width: 768px) {
    .jobs-main-logo {
        width: calc(var(--logo-custom-width, 180px) * 0.75);
        max-height: 80px;
    }
}

@media (max-width: 480px) {
    .jobs-main-logo {
        width: calc(var(--logo-custom-width, 180px) * 0.6);
        max-height: 60px;
    }
}

.jobs-main-logo:hover {
    transform: scale(1.02);
}
