/**
 * Icon Info Process Widget Styles
 */

.icon-info-process-widget {
    width: 100%;
}

.process-container {
    display: flex;
    flex-wrap: nowrap;
    align-items: flex-start;
    justify-content: center;
    gap: 30px;
}

.process-item-wrapper {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    flex: 1;
    position: relative;
}

.process-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    text-align: center;
    width: 100%;
    min-width: 0;
}

.process-icon-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    min-height: 100px;
    width: 100%;
}

.process-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
}

.process-icon svg,
.process-icon img,
.process-icon i {
    width: 50px;
    height: 50px;
    object-fit: contain;
    font-size: 50px;
    line-height: 1;
    transition: fill 0.3s ease, color 0.3s ease;
}

.process-icon.has-bg {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background-color: #b8860b;
    transition: background-color 0.3s ease;
    cursor: pointer;
}

.process-item:hover .process-icon.has-bg {
    background-color: #9a7209;
}

.process-icon.has-bg svg,
.process-icon.has-bg i {
    fill: #ffffff;
    color: #ffffff;
}

.process-title {
    font-weight: 600;
    font-size: 16px;
    margin-bottom: 10px;
}

.process-description {
    font-size: 14px;
    line-height: 1.6;
    color: #666666;
}

.process-arrow {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    position: absolute;
    right: -15px;
    top: 50px; /* 圆形背景高度100px的一半，使箭头相对于图标圆形背景垂直居中 */
    transform: translateY(-50%);
    z-index: 1;
    width: 30px;
    height: 30px;
}

.process-arrow svg,
.process-arrow i {
    width: 20px;
    height: 20px;
    font-size: 20px;
    line-height: 1;
}

/* 响应式布局 */
@media (max-width: 992px) {
    .process-container {
        flex-wrap: wrap;
    }
    
    .process-item-wrapper {
        flex-basis: 50%;
        margin-bottom: 30px;
    }
    
    .process-arrow {
        display: none;
    }
}

@media (max-width: 576px) {
    .process-container {
        gap: 15px;
    }
    
    .process-item-wrapper {
        flex-basis: calc(50% - 10px);
    }
    
    .process-icon-wrapper {
        min-height: 60px;
    }
    
    .process-icon.has-bg {
        width: 60px;
        height: 60px;
    }
    
    .process-icon svg,
    .process-icon img,
    .process-icon i {
        width: 30px;
        height: 30px;
        font-size: 30px;
    }
    
    .process-title {
        font-size: 14px;
    }
    
    .process-description {
        font-size: 12px;
    }
}
