/* Reset and base styles */
:root {
    --primary: #2563eb;
    --primary-hover: #1d4ed8;
    --gray-50: #f9fafb;
    --gray-100: #f3f4f6;
    --gray-200: #e5e7eb;
    --gray-300: #d1d5db;
    --gray-400: #9ca3af;
    --gray-500: #6b7280;
    --gray-600: #4b5563;
    --gray-700: #374151;
    --gray-800: #1f2937;
    --gray-900: #111827;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    line-height: 1.5;
    color: var(--gray-900);
    background-color: var(--gray-50);
}

.contact-btn {
    background-color: var(--primary);
    color: white !important;
    padding: 0.5rem 1rem !important;
    border-radius: 0.375rem;
}

.contact-btn:hover {
    background-color: var(--primary-hover);
}

/* Main content */
.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 2rem 1rem;
    margin-top: 4rem;
}

.jobs-header {
    margin-bottom: 2rem;
}

.jobs-header h1 {
    font-size: 2rem;
    font-weight: bold;
    color: var(--gray-900);
    margin-bottom: 0.5rem;
}

.jobs-header p {
    font-size: 1.125rem;
    color: var(--gray-600);
}

/* Search and Filters */
.search-filters {
    background-color: white;
    border-radius: 0.5rem;
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1);
    padding: 1.5rem;
    margin-bottom: 2rem;
}

.search-bar {
    position: relative;
    margin-bottom: 1.5rem;
}

.search-bar svg {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--gray-400);
}

.search-bar input {
    width: 100%;
    padding: 0.75rem 1rem 0.75rem 3rem;
    border: 1px solid var(--gray-300);
    border-radius: 0.375rem;
    font-size: 1rem;
}

.search-bar input:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.filters-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.toggle-filters {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--primary);
    background: none;
    border: none;
    cursor: pointer;
    font-size: 0.875rem;
    font-weight: 500;
}

.filters-panel {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
    display: none;
}

.filters-panel.show {
    display: grid;
}

.filters-panel select {
    width: 100%;
    padding: 0.5rem;
    border: 1px solid var(--gray-300);
    border-radius: 0.375rem;
    background-color: white;
}

/* Job Cards */
.jobs-list {
    display: grid;
    gap: 1.5rem;
}

.job-card {
    background-color: white;
    border-radius: 0.5rem;
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1);
    padding: 1.5rem;
    transition: transform 0.2s;
}

.job-card:hover {
    transform: scale(1.02);
}

.job-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1rem;
}

.job-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--gray-900);
    margin-bottom: 0.5rem;
}

.job-title a {
    text-decoration: none;
    color: inherit;
}

.job-title a:hover {
    color: var(--primary);
}

.job-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    color: var(--gray-600);
    font-size: 0.875rem;
}

.job-meta-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.job-actions {
    display: flex;
    gap: 0.5rem;
}

.job-action-btn {
    padding: 0.5rem;
    border-radius: 9999px;
    border: none;
    background: none;
    cursor: pointer;
    color: var(--gray-600);
}

.job-action-btn:hover {
    background-color: var(--gray-100);
}

.btn-apply {
    background-color: var(--primary);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 0.375rem;
    border: none;
    font-weight: 500;
    cursor: pointer;
    text-decoration: none;
}

.btn-apply:hover {
    background-color: var(--primary-hover);
}

.load-more {
    text-align: center;
    margin-top: 2rem;
}

.btn-secondary {
    background-color: var(--gray-200);
    color: var(--gray-800);
    padding: 0.5rem 1rem;
    border-radius: 0.375rem;
    border: none;
    font-weight: 500;
    cursor: pointer;
}

.btn-secondary:hover {
    background-color: var(--gray-300);
}

.social-links {
    display: flex;
    gap: 1rem;
}

.no-results {
    text-align: center;
    padding: 50px;
    margin: 20px auto;
    border: 1px dashed #ccc;
    background-color: #f9f9f9;
    border-radius: 8px;
    max-width: 600px;
}

.no-results h3 {
    font-size: 24px;
    color: #333;
    margin-bottom: 10px;
}

.no-results p {
    font-size: 16px;
    color: #777;
}



/* Responsive Design */
@media (max-width: 768px) {

    .filters-panel {
        grid-template-columns: 1fr;
    }

    .job-header {
        flex-direction: column;
    }

    .job-actions {
        margin-top: 1rem;
    }
}