/* Job Feed Styles */
.job-feed-area {
    min-height: 60vh;
}

/* Job Card Styles */
.job-card {
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 20px;
    transition: all 0.3s ease;
    position: relative;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

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

.job-card.recommended {
    border-left: 4px solid #ffc107;
}

.recommended-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: #ffc107;
    color: #000;
    padding: 5px 10px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
}

.job-card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 15px;
}

.job-card-company {
    display: flex;
    align-items: center;
    gap: 12px;
}

.company-logo {
    width: 50px;
    height: 50px;
    border-radius: 8px;
    object-fit: cover;
}

.company-logo-placeholder {
    width: 50px;
    height: 50px;
    border-radius: 8px;
    background: #f0f0f0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #999;
    font-size: 20px;
}

.company-info {
    flex: 1;
}

.company-name {
    font-size: 14px;
    color: #666;
    margin-bottom: 5px;
}

.company-name a {
    color: #333;
    text-decoration: none;
    font-weight: 600;
}

.company-name a:hover {
    color: #dc2626;
}

.job-posted-date {
    font-size: 12px;
    color: #999;
}

.job-card-actions {
    display: flex;
    gap: 10px;
}

.btn-save-job {
    background: transparent;
    border: 1px solid #ddd;
    border-radius: 6px;
    padding: 8px 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    color: #666;
}

.btn-save-job:hover {
    background: #f5f5f5;
    border-color: #dc2626;
    color: #dc2626;
}

.btn-save-job.saved {
    background: #dc2626;
    border-color: #dc2626;
    color: #fff;
}

.job-card-body {
    margin-bottom: 15px;
}

.job-title {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 10px;
}

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

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

.job-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 10px;
}

.job-badge {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 500;
    background: #f0f0f0;
    color: #666;
}

.job-type-badge {
    background: #e3f2fd;
    color: #1976d2;
}

.remote-type-badge {
    background: #f3e5f5;
    color: #7b1fa2;
}

.job-location {
    font-size: 13px;
    color: #666;
}

.job-salary {
    font-size: 14px;
    font-weight: 600;
    color: #28a745;
    margin-bottom: 10px;
}

.job-description {
    font-size: 14px;
    color: #666;
    line-height: 1.6;
    margin-bottom: 15px;
}

.job-skills {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.skill-tag {
    display: inline-block;
    padding: 4px 10px;
    background: #f5f5f5;
    border-radius: 4px;
    font-size: 12px;
    color: #666;
}

.job-card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 15px;
    border-top: 1px solid #f0f0f0;
}

.job-stats {
    display: flex;
    gap: 15px;
    font-size: 12px;
    color: #999;
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 5px;
}

.job-actions {
    display: flex;
    gap: 10px;
}

/* Filters Sidebar */
.job-filters-sidebar {
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 12px;
    padding: 20px;
    position: sticky;
    top: 20px;
}

.filters-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid #f0f0f0;
}

.filters-header h5 {
    margin: 0;
    font-size: 18px;
    font-weight: 600;
}

.btn-reset-filters {
    background: transparent;
    border: none;
    color: #dc2626;
    font-size: 12px;
    cursor: pointer;
    padding: 5px 10px;
}

.btn-reset-filters:hover {
    text-decoration: underline;
}

.filter-group {
    margin-bottom: 20px;
}

.filter-label {
    display: block;
    font-weight: 600;
    margin-bottom: 10px;
    font-size: 14px;
    color: #333;
}

.filter-checkboxes {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.filter-checkbox {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    font-size: 14px;
}

.filter-checkbox input[type="radio"] {
    cursor: pointer;
}

.salary-range-inputs {
    display: flex;
    align-items: center;
    gap: 10px;
}

.salary-range-inputs input {
    flex: 1;
}

.salary-separator {
    color: #999;
}

/* Job Details Page */
.job-details-card {
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 12px;
    padding: 30px;
    margin-bottom: 20px;
}

.job-details-header {
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid #f0f0f0;
}

.company-header {
    display: flex;
    gap: 20px;
}

.company-logo-large {
    width: 80px;
    height: 80px;
    border-radius: 12px;
    object-fit: cover;
}

.company-header-info h4 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 10px;
}

.job-meta-info {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 10px;
}

.job-details-body h5 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 15px;
}

.job-description-content {
    font-size: 15px;
    line-height: 1.8;
    color: #555;
}

.job-skills-section {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid #f0f0f0;
}

.job-details-sidebar {
    position: sticky;
    top: 20px;
}

.sidebar-card {
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 20px;
}

.sidebar-card h6 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 15px;
}

.job-info-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.job-info-list li {
    padding: 10px 0;
    border-bottom: 1px solid #f0f0f0;
    font-size: 14px;
}

.job-info-list li:last-child {
    border-bottom: none;
}

.job-info-list strong {
    color: #333;
    margin-right: 8px;
}

.related-jobs-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.related-job-item a {
    font-weight: 600;
    color: #333;
    text-decoration: none;
    display: block;
    margin-bottom: 5px;
}

.related-job-item a:hover {
    color: #dc2626;
}

.related-job-item small {
    color: #999;
    font-size: 12px;
}

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

    .job-card-footer {
        flex-direction: column;
        gap: 15px;
    }

    .job-actions {
        width: 100%;
    }

    .job-actions .btn {
        flex: 1;
    }

    .job-filters-sidebar {
        position: relative;
        margin-bottom: 20px;
    }
}

