.university-job-main {
    background-color: #f5f7fa;
    min-height: calc(100vh - 200px);
}

.banner-section {
    align-items: center;
    background-color: #ffffff;
    display: flex;
    height: 200px;
    justify-content: center;
    margin-bottom: 2rem;
    width: 100%;
}

.banner-image {
    align-items: center;
    background-color: #e8f4fd;
    display: flex;
    height: 100%;
    justify-content: center;
    width: 100%;
}

.banner-placeholder {
    color: #0066cc;
    font-size: 2.6rem;
    font-weight: 700;
}

.content-wrapper {
    display: grid;
    gap: 1.5rem;
    grid-template-columns: 250px 1fr;
    margin-bottom: 2rem;
}

.sidebar {
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    height: fit-content;
    padding: 1.5rem;
}

.sidebar-nav h3 {
    border-bottom: 2px solid #0066cc;
    color: #333;
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
}

.sidebar-nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.sidebar-nav .nav-item {
    margin-bottom: 0.5rem;
}

.sidebar-nav .nav-item a {
    border-radius: 6px;
    color: #666;
    display: block;
    padding: 0.8rem 1rem;
    text-decoration: none;
    transition: all 0.2s ease;
}

.sidebar-nav .nav-item a:hover {
    background-color: #f0f8ff;
    color: #0066cc;
}

.sidebar-nav .nav-item.active a {
    background-color: #0066cc;
    color: #fff;
}

.job-content-area {
    min-width: 0;
}

.search-section {
    background-color: #f8f9fa;
    border-radius: 8px;
    margin-bottom: 1.25rem;
    padding: 1.25rem;
}

.search-box {
    display: flex;
    gap: 0.8rem;
    margin-bottom: 1rem;
}

.search-box input {
    border: 1px solid #ddd;
    border-radius: 4px;
    flex: 1;
    font-size: 0.95rem;
    padding: 0.8rem 1rem;
}

.search-box input:focus {
    border-color: #0066cc;
    outline: none;
}

.search-btn {
    background-color: #0066cc;
    border: none;
    border-radius: 4px;
    color: #fff;
    cursor: pointer;
    font-size: 0.95rem;
    padding: 0.8rem 1.4rem;
    transition: background-color 0.2s ease;
}

.search-btn:hover {
    background-color: #0052a3;
}

.search-btn.secondary {
    background-color: #3d7ecc;
    padding: 0.65rem 1.1rem;
}

.search-btn.secondary:hover {
    background-color: #2f69af;
}

.job-filter-grid {
    display: grid;
    gap: 0.75rem;
    grid-template-columns: repeat(4, minmax(160px, 1fr));
}

.filter-group {
    align-items: center;
    display: flex;
    gap: 0.45rem;
}

.filter-label {
    color: #666;
    flex-shrink: 0;
    font-size: 0.9rem;
    font-weight: 500;
    white-space: nowrap;
}

.filter-select {
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 4px;
    cursor: pointer;
    flex: 1;
    font-size: 0.9rem;
    min-width: 0;
    padding: 0.55rem 0.6rem;
}

.filter-select:focus {
    border-color: #0066cc;
    outline: none;
}

.major-filter-row {
    align-items: center;
    display: flex;
    gap: 0.6rem;
    margin-top: 0.9rem;
}

.major-input {
    border: 1px solid #ddd;
    border-radius: 4px;
    flex: 1;
    font-size: 0.9rem;
    min-width: 0;
    padding: 0.6rem 0.7rem;
}

.major-input:focus {
    border-color: #0066cc;
    outline: none;
}

.filter-section {
    align-items: center;
    border-bottom: 1px solid #e9ecef;
    color: #666;
    display: flex;
    font-size: 0.95rem;
    justify-content: space-between;
    margin-bottom: 1rem;
    padding-bottom: 0.75rem;
}

.clear-filter-link {
    color: #0066cc;
    text-decoration: none;
}

.clear-filter-link:hover {
    text-decoration: underline;
}

.job-list {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.job-item {
    background-color: #fff;
    border: 1px solid #e5edf5;
    border-left: 3px solid #0066cc;
    border-radius: 8px;
    padding: 1rem 1.1rem;
    transition: all 0.2s ease;
}

.job-item:hover {
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.08);
    transform: translateY(-1px);
}

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

.job-title {
    color: #333;
    font-size: 1.08rem;
    font-weight: 600;
    margin: 0;
}

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

.job-title a:hover {
    color: #0066cc;
}

.job-salary {
    color: #ff6b6b;
    font-size: 1.05rem;
    font-weight: 600;
    margin-left: 0.75rem;
}

.job-info {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    gap: 0.9rem;
}

.company-name {
    color: #2f3c4d;
    font-weight: 500;
    text-decoration: none;
}

.company-name:hover {
    color: #0066cc;
}

.job-location,
.meta-item {
    align-items: center;
    color: #666;
    display: inline-flex;
    font-size: 0.9rem;
    gap: 0.2rem;
}

.job-empty {
    background: #fff;
    border: 1px dashed #d9e0e8;
    border-radius: 8px;
    color: #888;
    padding: 2rem 1rem;
    text-align: center;
}

.pagination {
    align-items: center;
    border-top: 1px solid #e9ecef;
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    justify-content: center;
    margin-top: 1.5rem;
    padding-top: 1.2rem;
}

.page-btn {
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 4px;
    color: #333;
    cursor: pointer;
    display: inline-block;
    font-size: 0.9rem;
    padding: 0.5rem 0.9rem;
    text-decoration: none;
}

.page-btn:hover {
    background-color: #f0f8ff;
    border-color: #0066cc;
}

.page-btn.active {
    background-color: #0066cc;
    border-color: #0066cc;
    color: #fff;
}

.page-btn.disabled {
    background-color: #f5f5f5;
    color: #999;
    cursor: not-allowed;
}

.page-info {
    color: #666;
    font-size: 0.9rem;
    margin-left: 0.6rem;
}

@media (max-width: 1200px) {
    .job-filter-grid {
        grid-template-columns: repeat(2, minmax(180px, 1fr));
    }
}

@media (max-width: 768px) {
    .content-wrapper {
        grid-template-columns: 1fr;
    }

    .sidebar {
        display: none;
    }

    .banner-section {
        height: 150px;
    }

    .banner-placeholder {
        font-size: 2rem;
    }

    .search-box {
        flex-direction: column;
    }

    .job-filter-grid {
        grid-template-columns: 1fr;
    }

    .filter-group,
    .major-filter-row {
        align-items: stretch;
        flex-direction: column;
    }

    .filter-section {
        align-items: flex-start;
        flex-direction: column;
        gap: 0.5rem;
    }

    .job-header {
        align-items: flex-start;
        flex-direction: column;
        gap: 0.4rem;
    }
}
