
       
        
        /* 主弹窗样式 */
        .modal-overlay {
            position: fixed;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: rgba(0, 0, 0, 0.5);
            display: none;
            justify-content: center;
            align-items: center;
            z-index: 1000;
        }
        
        .main-modal {
            background: white;
            border-radius: 10px;
            width: 90%;
            max-width: 400px;
            padding: 25px;
            box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
            position: relative;
            animation: fadeInUp 0.3s ease-out;
        }
        
        /* 供应商表单模态框 */
        .supplier-modal {
            background: white;
            border-radius: 10px;
            width: 90%;
            max-width: 400px;
            padding: 25px;
            box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
            position: relative;
            animation: fadeInUp 0.3s ease-out;
        }
        
        .close-btn {
            position: absolute;
            top: 15px;
            right: 15px;
            background: none;
            border: none;
            font-size: 20px;
            color: #999;
            cursor: pointer;
            width: 24px;
            height: 24px;
            line-height: 1;
            display: flex;
            align-items: center;
            justify-content: center;
        }
        
        .close-btn:hover {
            color: #333;
        }
        
        .modal-title {
            font-size: 20px;
            color: #1a6fb0;
            margin-bottom: 15px;
            font-weight: bold;
            text-align: center;
        }
        
        .modal-subtitle {
            font-size: 16px;
            color: #666;
            margin-bottom: 20px;
            text-align: center;
        }
        
        .btn-group {
            display: flex;
            flex-direction: column;
            gap: 12px;
            margin-top: 20px;
        }
        
        .role-btn {
            padding: 14px 20px;
            border: none;
            border-radius: 6px;
            font-size: 16px;
            cursor: pointer;
            transition: all 0.3s;
            font-weight: 500;
        }
        
        .buyer-btn {
            background-color: #f5f7fa;
            color: #333;
            border: 1px solid #ddd;
        }
        
        .buyer-btn:hover {
            background-color: #e8e8e8;
        }
        
        .supplier-btn {
            background: linear-gradient(135deg, #1a6fb0 0%, #2c9cd4 100%);
            color: white;
        }
        
        .supplier-btn:hover {
            opacity: 0.9;
        }
        
        /* 供应商表单样式 */
        .form-group {
            margin-bottom: 20px;
        }
        
        .form-label {
            display: block;
            margin-bottom: 8px;
            font-weight: 500;
        }
        
        .required::after {
            content: " *";
            color: #ff4757;
        }
        
        .form-input {
            width: 100%;
            padding: 12px 15px;
            border: 1px solid #ddd;
            border-radius: 6px;
            font-size: 15px;
            transition: border 0.3s;
        }
        
        .form-input:focus {
            border-color: #1a6fb0;
            outline: none;
        }
        
        .submit-btn {
            background: linear-gradient(135deg, #ff9800 0%, #f57c00 100%);
            color: white;
            border: none;
            padding: 14px 20px;
            width: 100%;
            border-radius: 6px;
            font-size: 16px;
            font-weight: 500;
            cursor: pointer;
            transition: opacity 0.3s;
        }
        
        .submit-btn:hover {
            opacity: 0.9;
        }
        
        .form-note {
            font-size: 12px;
            color: #888;
            margin-top: 8px;
        }
        
        /* 复选框样式 */
        .checkbox-group {
            display: flex;
            align-items: center;
        }
        
        .form-checkbox {
            margin-right: 8px;
        }
        
        .checkbox-label {
            margin: 0;
            font-size: 14px;
            color: #333;
        }
        
        /* 成功提示 */
        .success-message {
            text-align: center;
            padding: 20px 0;
        }
        
        .success-icon {
            font-size: 40px;
            color: #4CAF50;
            margin-bottom: 15px;
        }
        
        .success-text {
            font-size: 16px;
            color: #333;
            margin-bottom: 10px;
        }
        
        /* 动画 */
        @keyframes fadeInUp {
            from {
                opacity: 0;
                transform: translateY(20px);
            }
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }
        
        /* 示例内容 */
        .example-content {
            background: white;
            border-radius: 8px;
            padding: 30px;
            margin-top: 30px;
            box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
        }
        
        .example-content h2 {
            color: #1a6fb0;
            margin-bottom: 20px;
        }
        
        .code-block {
            background: #2c3e50;
            color: #ecf0f1;
            padding: 20px;
            border-radius: 6px;
            overflow-x: auto;
            font-family: 'Courier New', monospace;
            font-size: 14px;
            margin: 20px 0;
        }
        
        .instruction {
            background: #f0f8ff;
            border-left: 4px solid #1a6fb0;
            padding: 15px;
            margin: 20px 0;
            border-radius: 0 8px 8px 0;
        }