
/* Employment Hero Jobs Plugin Styles */
.eh-jobs-container {
    margin: 20px 0;
    width: 100%;
}

.eh-jobs-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    padding: 10px 0;
}

@media (max-width: 900px) {
    .eh-jobs-grid {
        grid-template-columns: 1fr;
    }
}

.eh-job-card {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 24px;
    transition: all 0.3s ease;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    position: relative;
}

.eh-job-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.15);
    border-color: #d1d5db;
    z-index: 10;
}

.eh-job-header {
    margin-bottom: 16px;
    padding-bottom: 16px;
    border-bottom: 1px solid #f3f4f6;
}

.eh-job-title {
    margin: 0 0 8px 0;
    font-size: 20px;
    font-weight: 600;
    color: #1f2937;
    line-height: 1.3;
}

.eh-job-department {
    display: inline-block;
    background: #f3f4f6;
    color: #6b7280;
    padding: 4px 12px;
    border-radius: 16px;
    font-size: 14px;
    font-weight: 500;
}

.eh-job-details {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 16px;
}

.eh-job-location,
.eh-job-type,
.eh-job-salary,
.eh-job-experience,
.eh-job-remote,
.eh-job-industry,
.eh-job-date {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: #6b7280;
}

.eh-job-location svg,
.eh-job-type svg,
.eh-job-salary svg,
.eh-job-experience svg,
.eh-job-remote svg,
.eh-job-industry svg,
.eh-job-date svg {
    flex-shrink: 0;
    color: #9ca3af;
}

.eh-job-description {
    color: #4b5563;
    font-size: 15px;
    line-height: 1.6;
    margin-bottom: 12px;
    flex-grow: 1;
}

.eh-job-footer {
    margin-top: auto;
    padding-top: 12px;
    border-top: 1px solid #f3f4f6;
}

.eh-job-apply-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #3b82f6;
    color: #ffffff;
    padding: 10px 20px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 500;
    font-size: 15px;
    transition: all 0.2s ease;
}

.eh-job-apply-btn:hover {
    background: #2563eb;
    color: #ffffff;
    transform: translateX(2px);
}

.eh-job-apply-btn svg {
    transition: transform 0.2s ease;
}

.eh-job-apply-btn:hover svg {
    transform: translate(2px, -2px);
}

.eh-jobs-error {
    background: #fee2e2;
    color: #dc2626;
    padding: 16px;
    border-radius: 8px;
    text-align: center;
    margin: 20px 0;
}

.eh-jobs-empty {
    background: #f6f9fb;
    color: #18304b;
    padding: 18px;
    border-radius: 8px;
    text-align: center;
    margin: 24px 0;
    font-size: 1.1em;
}

/* Responsive Design */
@media (max-width: 768px) {
    .eh-jobs-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .eh-job-card {
        padding: 20px;
    }
}
