.jobs-widget-container {
    max-width: 100%;
    margin: 0 auto;
}

.job-item {
    background: #f8f9fa;
    border-radius: 8px;
    margin-bottom: 16px;
    overflow: hidden;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.job-header {
    display: flex;
    align-items: center;
    padding: 20px;
    cursor: pointer;
    transition: background-color 0.2s ease;
    position: relative;
}

.job-header:hover {
    background: #e9ecef;
}

.job-expand-arrow {
    display: flex;
    align-items: center;
    flex: 1;
    position: relative;
}

.arrow-icon {
    color: #6c757d;
    font-size: 16px;
    margin-right: 16px;
    transition: transform 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}

.arrow-icon i {
    display: flex;
    align-items: center;
    justify-content: center;
    transition: inherit;
    line-height: 1;
}

.arrow-icon svg {
    display: block;
    transition: inherit;
    line-height: 1;
}

.arrow-icon img {
    display: block;
    max-width: 100%;
    height: auto;
    transition: inherit;
    margin: 0 auto;
}

.job-header.expanded .arrow-icon {
    transform: rotate(90deg);
}

.job-position {
    color: #333;
    font-size: 16px;
    font-weight: 600;
    flex: 1;
}

.job-apply-btn {
    background: #4F7EFF;
    color: white;
    padding: 10px 24px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 500;
    font-size: 14px;
    transition: background-color 0.2s ease;
    margin-left: auto;
}

.job-apply-btn:hover {
    background: #3d6ae6;
    color: white;
    text-decoration: none;
}

.job-description {
    display: none;
    padding: 20px;
    background: #ffffff;
    border-top: 1px solid #e9ecef;
    animation: slideDown 0.3s ease-out;
}

.job-description.show {
    display: block;
}

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

.job-description-content p {
    margin-bottom: 12px;
}

.job-description-content p:last-child {
    margin-bottom: 0;
}

@keyframes slideDown {
    from {
        opacity: 0;
        max-height: 0;
    }
    to {
        opacity: 1;
        max-height: 500px;
    }
}

@media (max-width: 768px) {
    .job-header {
        padding: 16px;
    }

    .job-description {
        padding: 16px;
    }

    .job-apply-btn {
        position: absolute;
        right: 16px;
        top: 50%;
        transform: translateY(-50%);
        padding: 8px 16px;
        font-size: 13px;
    }
}