.job-card {
    width: 100%;
    border-radius: 12px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
    direction: rtl;
    background: white;
    overflow: hidden;
    border: 1px solid #eaeaea;
    display: flex;
    flex-direction: column;
    position: relative;
}

.job-header {
    display: flex;
    padding: var(--space-2xs);
    gap: 20px;
    border-bottom: 1px solid #f0f0f0;
}

.job-image {
    flex-shrink: 0;
}

.job-image img {
    width: 120px;
    height: 120px;
    object-fit: cover;
    border-radius: 8px;
    border: 1px solid #f0f0f0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.job-info {
    flex: 1;
}

.job-title {
    font-size: var(--text-2xl);
    font-weight: 600;
    color: #1a1a1a;
}

.company-details {
    display: flex;
    align-items: stretch;
    justify-content: start;
}

.company-name {
    font-size: 15px;
    color: #4a5568;
    font-weight: 500;
}

.company-name a {
    color: #3b82f6;
    text-decoration: none;
}

.company-name a:hover {
    text-decoration: underline;
}

.job-location {
    font-size: 14px;
    color: #718096;
    display: flex;
    align-items: center;
    gap: 6px;
}

.job-location i {
    color: #a0aec0;
}

.meta-items {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
}

.meta-item {
    align-items: center;
    padding: var(--space-sm);
    font-size: var(--text-base);
    color: #4a5568;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

.meta-item i {
    color: #718096;
}

.meta-item.highlight {
    background: #f1f5f9;
    color: #334155;
    font-weight: 500;
}

.job-description {
    padding: var(--space-2xs);
}

.description-section {
    margin-bottom: auto;
}

.section-title {
    font-size: 18px;
    font-weight: 600;
    color: #1a1a1a;
    position: relative;
}

.section-title:after {
    content: "";
    position: absolute;
    right: 0;
    bottom: -9px;
    width: 160px;
    height: 2px;
    background: #3b82f6;
}

.description-content {
    font-size: 15px;
    line-height: 1.7;
    color: #4a5568;
    white-space: normal;
}

.job-action {
    background: #f8fafc;
    border-top: 1px solid #e2e8f0;
    padding: 20px 24px;
}

.action-content {
    display: flex;
    gap: 16px;
    align-items: center;
    justify-content: space-between;
}

.action-notice {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #4a5568;
    font-size: 14px;
    text-align: center;
    flex: 1;
}

.action-notice i {
    color: #718096;
    font-size: 16px;
    flex-shrink: 0;
}

.notice-text{
    font-size: var(--text-sm);
}

.provider-name {
    font-weight: 600;
    color: #2d3748;
}

.action-btn-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: #3b82f6;
    color: white;
    padding: var(--space-2xs);
    border-radius: 8px;
    text-decoration: none;
    font-size: var(--text-sm);
    font-weight: 500;
    transition: all 0.2s ease;
    border: none;
    cursor: pointer;
    box-shadow: 0 2px 4px rgba(59, 130, 246, 0.3);
    white-space: nowrap;
}

.action-btn:hover {
    background: #2563eb;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(59, 130, 246, 0.4);
}

.action-btn i {
    font-size: 14px;
}

/* Reactions Section */
.reactions-section {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 24px;
    border-top: 1px solid #eaeaea;
    background: #fafafa;
    margin-top: auto;
}

.view-count {
    display: flex;
    align-items: center;
    gap: 6px;
    color: #718096;
    font-size: 14px;
}

.reaction-buttons {
    display: flex;
    gap: 16px;
}

.reaction-item {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 12px;
    border-radius: 20px;
    cursor: pointer;
    transition: all 0.2s ease;
    color: #718096;
    background: #fff;
    border: 1px solid #e2e8f0;
}

.reaction-item:hover {
    background: #f7f7f7;
}

.reaction-item.active {
    color: #3b82f6;
    border-color: #3b82f6;
}

.reaction-item.dislike-btn.active {
    color: var(--danger-color);
    border-color: #ef4444;
}

.reaction-item .count {
    font-size: 14px;
    font-weight: 500;
}

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

    .job-image {
        display: flex;
    }

    .job-image img {
        width: 100%;
        height: 120px;

    }

    .job-header {
        flex-direction: column;
        text-align: right;
        padding: 20px 16px;
        gap: 16px;
    }
    
    .job-title {
        font-size: 19px;
        text-align: right;
    }

    .notice-text{
        font-size: var(--text-xs);
    }
    
    .meta-items {
        flex-direction: column;
        gap: 0;
    }
    
    .meta-item {
        width: 100%;
        justify-content: flex-start;
        font-size: var(--text-sm);
    }
    
    .job-description {
        padding: var(--space-sm);
    }

    .description-content{
        font-size: var(--text-sm);
        line-height: var(--leading-normal);
    }
    
    .job-action {
        padding: 16px;
    }
    
    .action-content {
        flex-direction: column;
        text-align: center;
        gap: 12px;
    }
    
    .action-notice {
        flex-direction: row;
        justify-content: center;
        text-align: right;
        font-size: var(--text-sm);
    }
    
    .action-btn {
        width: 100%;
    }
    
    .reactions-section {
        padding: var(--space-sm);
        flex-direction: column;
        justify-content: space-evenly;
    }
    
    .reaction-buttons {
        width: 100%;
        justify-content: space-around;
    }
}

@media (max-width: 480px) {
    .reaction-buttons {
        gap: 8px;
    }
    
    .reaction-item {
        padding: 6px 10px;
        font-size: 14px;
    }
}