/* 表单容器样式 */
.form-container {
    background-color: #fff;
    border-radius: 8px;
    box-shadow: var(--shadow);
    padding: 20px;
    margin: 16px 0;
}

.form-header {
    text-align: center;
    margin-bottom: 24px;
}

.form-title {
    font-size: 20px;
    font-weight: bold;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.form-subtitle {
    font-size: 14px;
    color: var(--text-secondary);
}

/* 表单部分样式 */
.form-section {
    margin-bottom: 24px;
    padding-bottom: 24px;
    border-bottom: 1px solid var(--border-color);
}

.form-section:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.section-title {
    font-size: 16px;
    font-weight: bold;
    color: var(--text-primary);
    margin-bottom: 16px;
}

.required {
    color: var(--primary-color);
}

/* 合作类型选择样式 */
.cooperation-types {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 12px;
    margin-top: 8px;
}

.cooperation-type-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 16px 12px;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
}

.cooperation-type-item:hover {
    border-color: var(--primary-color);
    background-color: rgba(75, 177, 63, 0.05);
    transform: translateY(-2px);
}

.cooperation-type-item.selected {
    border-color: var(--primary-color);
    background-color: rgba(75, 177, 63, 0.1);
    box-shadow: 0 2px 8px rgba(75, 177, 63, 0.2);
}

.type-icon {
    font-size: 24px;
    margin-bottom: 8px;
}

.type-name {
    font-size: 14px;
    font-weight: 500;
    color: var(--text-primary);
}

/* 表单操作区 */
.form-actions {
    margin-top: 24px;
}

/* 确保按钮文字上下居中 */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    vertical-align: middle;
}

.btn-block {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.btn-icon {
    margin-right: 8px;
    font-size: 16px;
}

/* 合作介绍样式 */
.cooperation-info {
    background-color: #fff;
    border-radius: 8px;
    box-shadow: var(--shadow);
    padding: 16px;
    margin: 16px 0;
}

.info-title {
    font-size: 16px;
    font-weight: bold;
    color: var(--text-primary);
    margin-bottom: 16px;
}

.info-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.info-item {
    display: flex;
    gap: 12px;
    align-items: center;
}

.info-icon {
    font-size: 32px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.info-content {
    flex: 1;
}

.info-title-text {
    font-size: 14px;
    font-weight: bold;
    color: var(--text-primary);
    margin-bottom: 4px;
}

.info-desc {
    font-size: 13px;
    color: var(--text-secondary);
    line-height: 1.5;
}

/* 联系方式样式 */
.contact-section {
    background-color: #fff;
    border-radius: 8px;
    box-shadow: var(--shadow);
    padding: 16px;
    margin: 16px 0 80px 0;
}

.contact-title {
    font-size: 16px;
    font-weight: bold;
    color: var(--text-primary);
    margin-bottom: 16px;
}

.contact-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.contact-item {
    display: flex;
    justify-content: space-between;
    padding: 12px;
    background-color: var(--background-color);
    border-radius: 4px;
}

.contact-label {
    font-size: 14px;
    color: var(--text-secondary);
    font-weight: 500;
}

.contact-value {
    font-size: 14px;
    color: var(--text-primary);
    font-weight: bold;
}

/* 成功弹窗样式 */
.success-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0,0,0,0.5);
    z-index: 2000;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.success-modal.active {
    display: flex;
}

.success-content {
    background-color: #fff;
    border-radius: 12px;
    padding: 40px 20px;
    text-align: center;
    max-width: 320px;
    width: 100%;
    animation: slideUp 0.3s ease;
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.success-icon {
    font-size: 64px;
    margin-bottom: 16px;
}

.success-title {
    font-size: 18px;
    font-weight: bold;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.success-text {
    font-size: 14px;
    color: var(--text-secondary);
    margin-bottom: 24px;
    line-height: 1.6;
}

/* 响应式设计 */
@media (max-width: 480px) {
    .form-container {
        padding: 16px;
    }

    .form-title {
        font-size: 18px;
    }

    .contact-item {
        flex-direction: column;
        gap: 8px;
    }

    .info-icon {
        font-size: 28px;
    }
}