:root {
    --primary: #3b82f6;
    --primary-light: #93c5fd;
    --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: 'Inter', sans-serif;
    background-color: var(--gray-100);
    color: var(--gray-800);
    line-height: 1.5;
}

.container {
    display: flex;
    min-height: 100vh;
}

/* Sidebar Styles */
.sidebar {
    width: 300px;
    background-color: white;
    padding: 1.5rem;
    border-right: 1px solid var(--gray-200);
    height: 100vh;
    position: sticky;
    top: 0;
    overflow-y: hidden;
}

.search-filters {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.search-filters h2 {
    color: var(--gray-900);
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.filter-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-bottom: 10px;
}

.filter-group label {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--gray-700);
    display: flex;
    align-items: center;
    gap: 0px 8px;
    font-weight: 1000;
    font-size: 16px;
}

.filter-input {
    width: 100%;
    padding: 0.5rem;
    border: 1px solid var(--gray-300);
    border-radius: 0.375rem;
    font-size: 0.875rem;
    color: var(--gray-800);
    transition: all 0.2s;
  cursor: pointer;
}

.filter-input:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 2px var(--primary-light);
}

option {cursor: pointer;}
select {cursor: pointer;}

/* Radio Button Styles */
.radio-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    padding: 0.25rem 0;
}

.radio-label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    padding: 0.25rem;
    border-radius: 0.5rem;
    transition: all 0.2s;
    min-height: 24px;
}

.radio-label:hover {
    background-color: var(--primary-light);
}

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

.radio-custom {
    width: 16px;
    height: 16px;
    border: 2px solid var(--gray-300);
    border-radius: 50%;
    display: inline-block;
    position: relative;
    transition: all 0.2s;
    flex-shrink: 0;
}

.radio-custom::after {
    content: '';
    width: 8px;
    height: 8px;
    background: var(--primary);
    border-radius: 50%;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0);
    transition: transform 0.2s;
}

.radio-label input[type="radio"]:checked + .radio-custom {
    border-color: var(--primary);
    background-color: white;
}

.radio-label input[type="radio"]:checked + .radio-custom::after {
    transform: translate(-50%, -50%) scale(1);
}

.radio-text {
    font-size: 0.9rem;
    color: var(--gray-700);
    transition: color 0.2s;
    font-weight: 500;
    line-height: 1;
}

/* Main Content Styles */
.main-content {
    flex: 1;
    padding: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

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

.results-header h1 {
    font-size: 1.875rem;
    font-weight: 600;
    color: var(--gray-900);
    margin-bottom: 0.5rem;
}

.results-count {
    color: var(--gray-600);
    font-size: 0.875rem;
}

/* Jobs Grid */
.jobs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

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

.job-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

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

.company-name {
    color: #9C27B0;
    font-size: 0.875rem;
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.job-location {
    color: var(--gray-500);
    font-size: 0.875rem;
    margin-bottom: 1rem;
}

.job-description {
    color: var(--gray-600);
    font-size: 0.875rem;
    margin-bottom: 1rem;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.tag {
    background-color: var(--gray-100);
    color: var(--gray-700);
    padding: 0.25rem 0.75rem;
    border-radius: 9999px;
    font-size: 0.75rem;
    font-weight: 500;
}

.apply-btn {
    display: inline-block;
    background-color: var(--primary);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 0.375rem;
    text-decoration: none;
    font-size: 0.875rem;
    font-weight: 500;
    transition: background-color 0.2s;
}

.apply-btn:hover {
    background-color: #2e71e0;
}

.load-more-btn {
    display: block;
    width: 100%;
    max-width: 200px;
    margin: 2rem auto;
    padding: 0.75rem 1.5rem;
    background-color: white;
    border: 1px solid var(--gray-300);
    border-radius: 0.375rem;
    color: var(--gray-700);
    font-size: 0.875rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
}

.load-more-btn:hover {
    background-color: var(--gray-50);
    border-color: var(--gray-400);
}

.loading {
    text-align: center;
    padding: 2rem;
    color: var(--gray-600);
}

.error-message {
    background-color: #fee2e2;
    border: 1px solid #ef4444;
    color: #991b1b;
    padding: 1rem;
    border-radius: 0.375rem;
    margin-bottom: 1rem;
    text-align: center;
}

.no-results {
    text-align: center;
    padding: 2rem;
    color: var(--gray-600);
    font-size: 0.875rem;
}


.linkjoby {
font-size: 1.125rem;
font-weight: 600;
color: var(--gray-900);
margin-bottom: 0.5rem;
text-decoration: none;
display: block;
}


/* Responsive Design */
@media (max-width: 768px) {
    .container {
        flex-direction: column;
    }

    .sidebar {
        width: 100%;
        height: auto;
        position: static;
        border-right: none;
        border-bottom: 1px solid var(--gray-200);
    }

    .main-content {
        padding: 1rem;
    }

    .jobs-grid {
        grid-template-columns: 1fr;
    }
}